Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[QoL] Inhand Sprites for Variant Medkits
#5
Just in case you don't see my pings on IRC about this:

https://github.com/goonstation/goonstati...e6fabbaR18
This line doesn't work.  As presented it would need to be:
item_state = "firstaid-[icon_state]"
However burn, oxy and brain kits would still be broken since their icon_states and item_states are named differently: burn/ointment, O2/o2 (capitalization definitely matters) and brain/red.

I'm renaming the item_states to be the same as the icon_states and keeping the line as:
item_state = icon_state

Just a reminder to thoroughly test your patches, even if they're small like this!  I have to test them anyway and it helps me out a lot for things to work first try, so I can spend more time adding patches and less fixing them.
Reply


Messages In This Thread
RE: [QoL] Inhand Sprites for Variant Medkits - by Haine - 03-23-2016, 06:21 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)