mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Removes All Weapons
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
/obj/structure/kitchenspike_frame/attackby(obj/item/I, mob/user, params)
|
||||
add_fingerprint(user)
|
||||
if(istype(I, /obj/item/weapon/wrench))
|
||||
if(istype(I, /obj/item/wrench))
|
||||
if(anchored)
|
||||
to_chat(user, "<span class='notice'>You unwrench [src] from the floor.</span>")
|
||||
anchored = 0
|
||||
@@ -40,8 +40,8 @@
|
||||
|
||||
|
||||
|
||||
/obj/structure/kitchenspike/attackby(obj/item/weapon/grab/G as obj, mob/user as mob)
|
||||
if(istype(G, /obj/item/weapon/crowbar))
|
||||
/obj/structure/kitchenspike/attackby(obj/item/grab/G as obj, mob/user as mob)
|
||||
if(istype(G, /obj/item/crowbar))
|
||||
if(!buckled_mob)
|
||||
playsound(loc, G.usesound, 100, 1)
|
||||
if(do_after(user, 20 * G.toolspeed, target = src))
|
||||
@@ -53,7 +53,7 @@
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You can't do that while something's on the spike!</span>")
|
||||
return
|
||||
if(!istype(G, /obj/item/weapon/grab) || !G.affecting)
|
||||
if(!istype(G, /obj/item/grab) || !G.affecting)
|
||||
return
|
||||
if(buckled_mob)
|
||||
to_chat(user, "<span class = 'danger'>The spike already has something on it, finish collecting its meat first!</span>")
|
||||
|
||||
Reference in New Issue
Block a user