French Crossbow Ammo Restriction

Prevents arrows and rods being used in a french-powered crossbow.  Also
added preventative measure for cell installation.

Requested by Fox.
This commit is contained in:
Bone White
2014-10-24 14:11:55 +01:00
parent a836e10013
commit fff6f2a264
@@ -206,8 +206,19 @@
icon_state = "crossbow-nocked"
return
else
..()
else if (istype(W,/obj/item/weapon/arrow))
user.visible_message("\The [src] only takes baguettes.")
return
else if(istype(W,/obj/item/stack/rods))
user.visible_message("\The [src] only takes baguettes.")
return
if(istype(W, /obj/item/weapon/cell))
user.visible_message("The [src] is too simple be adapted with a cell.")
return
else
..()
/obj/item/weapon/gun/launcher/crossbow/french/increase_tension(var/mob/user as mob)