mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Fixes Issue #230 - Void suit body sprites not visible.
Cause is somewhat complicated: * Custom vore code in update_icons will use 'item_state' as the icon state if icon_override is set on a suit. * Suit refit machines will set icon_override on suits if the sprite_sheet_refits variable matches. * However icon_override is not actually used anymore because of the species sprite sheets. * Therefore it breaks. By making this change we ensure that icon_override is not set, so the custom vore code does not apply, and the item_state is not allowed to overrule the icon_state.
This commit is contained in:
@@ -22,4 +22,9 @@
|
||||
"Sergal" = 'icons/mob/species/sergal/suit_vr.dmi',
|
||||
"Flatland Zorren" = 'icons/mob/species/fennec/suit_vr.dmi',
|
||||
"Highlander Zorren" = 'icons/mob/species/fox/suit_vr.dmi'
|
||||
)
|
||||
)
|
||||
// This is a hack to prevent the item_state variable on the suits from taking effect
|
||||
// when the item is equipped in outer clothing slot.
|
||||
// This variable is normally used to set the icon_override when the suit is refitted,
|
||||
// however the species spritesheet now means we no longer need that anyway!
|
||||
sprite_sheets_refit = list()
|
||||
|
||||
Reference in New Issue
Block a user