mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Magboot refdrop (#17197)
* Atomization * cl --------- Co-authored-by: FluffyGhost <FluffyGhost>
This commit is contained in:
co-authored by
FluffyGhost <FluffyGhost>
parent
460ebb3e1d
commit
6684b709fb
@@ -16,13 +16,18 @@
|
||||
drop_sound = 'sound/items/drop/toolbox.ogg'
|
||||
pickup_sound = 'sound/items/pickup/toolbox.ogg'
|
||||
|
||||
/obj/item/clothing/shoes/magboots/Destroy()
|
||||
. = ..()
|
||||
src.shoes = null
|
||||
src.wearer = null
|
||||
|
||||
/obj/item/clothing/shoes/magboots/proc/set_slowdown()
|
||||
slowdown = shoes? max(0, shoes.slowdown): 0 //So you can't put on magboots to make you walk faster.
|
||||
if (magpulse)
|
||||
slowdown += 3
|
||||
|
||||
/obj/item/clothing/shoes/magboots/proc/update_wearer()
|
||||
if(!wearer)
|
||||
if(QDELETED(wearer))
|
||||
return
|
||||
|
||||
var/mob/living/carbon/human/H = wearer
|
||||
|
||||
Reference in New Issue
Block a user