mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 12:13:06 +00:00
A few items were missing sprites for teshari, and for my first PR I decided to give a few of the miscellaneous items that were already in the game proper sprites to fit teshari. https://i.imgur.com/ihCMzVM.png Though with the emotional mask, there was only sprites fitting for humans and shadekin, no sprites for the other species IE: Vulpakin, Unathi, etcetc This is my first code go easy on me, and I'm still not sure if this is how the modular system works. Code compiled and all that.
7 lines
292 B
Plaintext
7 lines
292 B
Plaintext
/obj/item/clothing/head/cone/New()
|
|
. = ..()
|
|
var/shtfound = sprite_sheets.Find(SPECIES_TESHARI)
|
|
if(shtfound)
|
|
sprite_sheets[SPECIES_TESHARI] = 'modular_chomp/icons/inventory/head/mob_teshari.dmi'
|
|
else
|
|
sprite_sheets[SPECIES_TESHARI] = 'modular_chomp/icons/inventory/head/mob_teshari.dmi' |