Reversions and fixes (#7889)

Co-authored-by: Selis <selis@xynolabs.com>
This commit is contained in:
Raeschen
2024-03-06 18:20:29 +01:00
committed by GitHub
parent c277710a50
commit e29b9d4d35
37 changed files with 254 additions and 203 deletions

View File

@@ -58,10 +58,16 @@
species_restricted = null
/obj/item/clothing/shoes/none/Initialize()
..()
if(istype(loc, /mob))
. = ..()
if(istype(loc, /mob)) // are we in a mob?
var/mob/m = loc
m.drop_from_inventory(src, get_turf(m))
m.update_inv_shoes()
moveToNullspace()
return INITIALIZE_HINT_QDEL //Fuck them shoes
if(contents.len) // spill out contents (e.g. microholders)
for(var/atom/movable/thing in contents)
thing.loc = get_turf(src)
moveToNullspace() // go to nullspace
spawn(1)
qdel(src) // die
/obj/item/clothing/shoes/none/make_worn_icon(body_type, slot_name, inhands, default_icon, default_layer, icon/clip_mask) // override this to ensure that no worn icon is generated
return