diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index 203d2424824..7645ad0673d 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -98,6 +98,8 @@ var/sel_mode = 1 //index of the currently selected mode var/list/firemodes = list() + var/markings = 0 // for marking kills with a knife + //wielding information var/fire_delay_wielded = 0 var/recoil_wielded = 0 @@ -614,6 +616,8 @@ ..() if(get_dist(src, user) > 1) return + if(markings) + to_chat(user, SPAN_NOTICE("It has [markings] [markings == 1 ? "notch" : "notches"] carved into the stock.")) if(needspin) if(pin) to_chat(user, "\The [pin] is installed in the trigger mechanism.") @@ -920,6 +924,12 @@ qdel(pin) pin = null return + + if(is_sharp(I)) + user.visible_message("[user] carves a notched mark into \the [src].", SPAN_NOTICE("You carve a notched mark into \the [src].")) + markings++ + return + return ..() /obj/item/gun/proc/get_ammo() diff --git a/html/changelogs/geeves-gun_markings.yml b/html/changelogs/geeves-gun_markings.yml new file mode 100644 index 00000000000..b7ddc64ba06 --- /dev/null +++ b/html/changelogs/geeves-gun_markings.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - rscadd: "You can now carve notches into gun stocks by using any sort of sharp tool on them." \ No newline at end of file