for-the-strength-from-which-he-gives-is-unerring

This commit is contained in:
Fox McCloud
2019-10-05 02:08:11 -04:00
parent 5170f3fbae
commit 67dc33ac3f
141 changed files with 722 additions and 542 deletions
+3 -4
View File
@@ -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!