Some gang stuff

This commit is contained in:
Xhuis
2015-10-04 00:26:26 -04:00
parent 16c8eac8e3
commit 1211ec4102
5 changed files with 34 additions and 6 deletions
@@ -73,6 +73,9 @@
/obj/item/weapon/pneumatic_cannon/afterattack(atom/target as mob|obj|turf, mob/living/carbon/human/user as mob|obj, flag, params)
if(user.a_intent == "harm" || !ishuman(user))
return ..()
if(is_in_gang(user, "Sleeping Carp"))
user << "<span class='warning'>Use of ranged weaponry would bring dishonor to the clan.</span>"
return
if(!loadedItems || !loadedWeightClass)
user << "<span class='warning'>\The [src] has nothing loaded.</span>"
return