mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
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:
@@ -272,7 +272,7 @@
|
||||
var/pointed_object = "\the [A]"
|
||||
if(A.loc in src)
|
||||
pointed_object += " inside [A.loc]"
|
||||
if(istype(hand_item, /obj/item/gun) && A != hand_item)
|
||||
if(HAS_TRAIT(hand_item, TRAIT_CAN_POINT_WITH) && A != hand_item)
|
||||
if(a_intent == INTENT_HELP || !ismob(A))
|
||||
visible_message("<b>[src]</b> points to [pointed_object] with [hand_item]")
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user