mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
for-the-strength-from-which-he-gives-is-unerring
This commit is contained in:
@@ -24,10 +24,7 @@
|
||||
|
||||
/obj/structure/target_stake/attackby(obj/item/W, mob/user, params)
|
||||
// Putting objects on the stake. Most importantly, targets
|
||||
if(pinned_target)
|
||||
return // get rid of that pinned target first!
|
||||
|
||||
if(istype(W, /obj/item/target))
|
||||
if(istype(W, /obj/item/target) && !pinned_target)
|
||||
density = 0
|
||||
W.density = 1
|
||||
user.drop_item(src)
|
||||
@@ -35,6 +32,8 @@
|
||||
W.layer = 3.1
|
||||
pinned_target = W
|
||||
to_chat(user, "You slide the target into the stake.")
|
||||
return
|
||||
return ..()
|
||||
|
||||
/obj/structure/target_stake/attack_hand(mob/user)
|
||||
// taking pinned targets off!
|
||||
|
||||
Reference in New Issue
Block a user