add trait for 'gunpoint,' swap guns over to new trait. (#23494)

add pointy banana, among other non-gun pointies.

Co-authored-by: Scribble-Sheep <15377810-AlyxisDrayko@users.noreply.gitlab.com>
This commit is contained in:
Sheep
2023-12-12 20:29:04 +00:00
committed by GitHub
co-authored by Scribble-Sheep
parent 0291675051
commit ec85e888e6
6 changed files with 14 additions and 1 deletions
@@ -19,6 +19,10 @@
possible_transfer_amounts = null
var/delay = CLICK_CD_RANGE * 2
/obj/item/reagent_containers/spray/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_CAN_POINT_WITH, ROUNDSTART_TRAIT)
/obj/item/reagent_containers/spray/afterattack(atom/A, mob/user)
if(isstorage(A) || istype(A, /obj/structure/table) || istype(A, /obj/structure/rack) || istype(A, /obj/structure/closet) \
|| istype(A, /obj/item/reagent_containers) || istype(A, /obj/structure/sink) || istype(A, /obj/structure/janitorialcart) || istype(A, /obj/machinery/hydroponics))