mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 09:35:30 +01:00
Dynamic Human Icon Generation For Simple/Basic Mobs (& Cardboard Cutouts) (#72517)
## About The Pull Request revive of #68760 this time a proc, not an element this time supports cardboard cutouts this time supports mob corpses  ## Why It's Good For The Game prevents these icons ever being outdated, they'll always look what they are supposed to, saves spriting work ## Changelog 🆑 Fikou, a hood by Viro refactor: humanoid mobs and cardboard cutouts automatically generate their sprites, they no longer will be outdated /🆑 Co-authored-by: Time-Green <timkoster1@hotmail.com>
This commit is contained in:
@@ -417,9 +417,11 @@
|
||||
if(wearer.stat < UNCONSCIOUS && prob(10))
|
||||
wearer.emote("scream")
|
||||
|
||||
/obj/item/mod/control/visual_equipped(mob/user, slot, initial = FALSE)
|
||||
if(slot & slot_flags)
|
||||
set_wearer(user)
|
||||
|
||||
/obj/item/mod/control/on_outfit_equip(mob/living/carbon/human/outfit_wearer, visuals_only, item_slot)
|
||||
if(visuals_only)
|
||||
set_wearer(outfit_wearer) //we need to set wearer manually since it doesnt call equipped
|
||||
quick_activation()
|
||||
|
||||
/obj/item/mod/control/doStrip(mob/stripper, mob/owner)
|
||||
|
||||
Reference in New Issue
Block a user