mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Initial
This commit is contained in:
11
code/modules/organs/organ_icon_ch.dm
Normal file
11
code/modules/organs/organ_icon_ch.dm
Normal file
@@ -0,0 +1,11 @@
|
||||
// override the organ icon getting proc
|
||||
// if species.digitigrade is set, inject the sprites for digitigrade for appropriate organs
|
||||
|
||||
/obj/item/organ/external/get_icon(var/skeletal)
|
||||
if( species.digitigrade && ( istype(src,/obj/item/organ/external/leg) || istype(src,/obj/item/organ/external/foot) ) )
|
||||
var/IB = species.icobase
|
||||
species.icobase = species.icodigi
|
||||
. = ..()
|
||||
species.icobase = IB
|
||||
else
|
||||
. = ..()
|
||||
Reference in New Issue
Block a user