powered crossbow fixes (#20256)

This commit is contained in:
GDN
2023-01-20 18:18:21 -06:00
committed by GitHub
parent c20ab9ae91
commit 50a73339b2
@@ -118,6 +118,15 @@
to_chat(user, "<span class='notice'>You jimmy [cell] out of [src] with [I].</span>")
cell = null
/obj/item/gun/throw/crossbow/notify_ammo_count()
if(get_ammocount() >= 1)
return "<span class='notice'>[src] is loaded.</span>"
return "<span class='notice'>[src] is not loaded.</span>"
/obj/item/gun/throw/crossbow/Destroy()
. = ..()
QDEL_NULL(cell)
/obj/item/gun/throw/crossbow/verb/set_tension()
set name = "Adjust Tension"
set category = "Object"