This commit is contained in:
Geeves
2021-06-05 17:00:43 +02:00
committed by GitHub
parent eee0514400
commit 0bc337e3bc
14 changed files with 305 additions and 24 deletions
+1 -2
View File
@@ -38,8 +38,7 @@
//This is an UNSAFE proc. It merely handles the actual job of equipping. All the checks on whether you can or can't eqip need to be done before! Use mob_can_equip() for that task.
//In most cases you will want to use equip_to_slot_if_possible()
/mob/proc/equip_to_slot(obj/item/W, slot, redraw_mob, assisted_equip)
W.on_slotmove(src)
return
W.on_slotmove(src, slot)
//This is just a commonly used configuration for the equip_to_slot_if_possible() proc, used to equip people when the rounds tarts and when events happen and such.
/mob/proc/equip_to_slot_or_del(obj/item/W as obj, slot)