03-23-2016, 06:21 AM
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.
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.