mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user