Goonstation Forums
[QoL] Inhand Sprites for Variant Medkits - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30)
+---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31)
+---- Thread: [QoL] Inhand Sprites for Variant Medkits (/showthread.php?tid=6144)



[QoL] Inhand Sprites for Variant Medkits - ZeWaka - 03-21-2016

I added in the code for this to work and spirited every single variation of the medkit's appropriate inhand sprite.

Every. Single. Variation.
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
[Image: 42Q.png]

[Image: sbV.png]Compare[Image: sbV.png]
(Yeah this one is kinda messed up because there is also variations for my doctor's bag)


RE: [QoL] Inhand Sprites for Variant Medkits - medsal15 - 03-21-2016

Is that a black medkit? And is this one purple?


RE: [QoL] Inhand Sprites for Variant Medkits - ZeWaka - 03-22-2016

(03-21-2016, 11:22 PM)medsal15 Wrote: Is that a black medkit? And is this one purple?

That's the 'old' or 'dusty' medkit. You can find it in the other Z-Levels with bruisepacks, ointment, lexorin, and synaptizine.


RE: [QoL] Inhand Sprites for Variant Medkits - Mageziya - 03-22-2016

Mother of god.

That's a lot of sprites. Even if they're simple setting them all up is annoying as hell.


RE: [QoL] Inhand Sprites for Variant Medkits - Haine - 03-23-2016

Just in case you don't see my pings on IRC about this:

https://github.com/goonstation/goonstation-2016/compare/goonstation-2016-byond510...wakafanykai123:medicons#diff-7abff1ea5c1f9d2e512e40df1e6fabbaR18
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.