yeehaw :)

This commit is contained in:
Hatterhat
2021-03-23 18:55:00 -05:00
parent 6bac90f8de
commit 30a9ad5059
7 changed files with 31 additions and 3 deletions
+6 -1
View File
@@ -8,6 +8,7 @@
var/obj/item/ammo_box/magazine/magazine
var/casing_ejector = TRUE //whether the gun ejects the chambered casing
var/magazine_wording = "magazine"
var/sawn_item_state = "gun"
/obj/item/gun/ballistic/Initialize()
. = ..()
@@ -198,13 +199,17 @@
name = "sawn-off [src.name]"
desc = sawn_desc
w_class = WEIGHT_CLASS_NORMAL
item_state = "gun"
item_state = sawn_item_state
slot_flags &= ~ITEM_SLOT_BACK //you can't sling it on your back
slot_flags |= ITEM_SLOT_BELT //but you can wear it on your belt (poorly concealed under a trenchcoat, ideally)
sawn_off = TRUE
update_icon()
return 1
/// is something supposed to happen here?
/obj/item/gun/ballistic/proc/on_sawoff(mob/user)
return
// Sawing guns related proc
/obj/item/gun/ballistic/proc/blow_up(mob/user)
. = 0