[MIRROR] Moves destroy_on_drop to TG style and adds signal (#11640)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-14 05:41:28 -04:00
committed by GitHub
co-authored by Will Cameron Lennox
parent e62583c5c4
commit e97dd3d6e2
17 changed files with 40 additions and 72 deletions
+12 -4
View File
@@ -115,14 +115,22 @@ var/list/slot_equipment_priority = list( \
//Puts the item into your l_hand if possible and calls all necessary triggers/updates. returns 1 on success.
/mob/proc/put_in_l_hand(var/obj/item/W)
if(!istype(W))
return 0
return 1
return FALSE
if(QDELETED(W))
if(!(W.item_flags & DROPDEL))
log_runtime("[src] tried to pick up a qdeleted object [W]")
return FALSE
return TRUE
//Puts the item into your r_hand if possible and calls all necessary triggers/updates. returns 1 on success.
/mob/proc/put_in_r_hand(var/obj/item/W)
if(!istype(W))
return 0
return 1
return FALSE
if(QDELETED(W))
if(!(W.item_flags & DROPDEL))
log_runtime("[src] tried to pick up a qdeleted object [W]")
return FALSE
return TRUE
//Puts the item into our active hand if possible. returns 1 on success.
/mob/proc/put_in_active_hand(var/obj/item/W)