Skip to content

Commit

Permalink
knucklebuster proof of concept
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Dec 31, 2024
1 parent f168675 commit 91dd36c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions code/game/objects/items/melee/blunt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,25 @@
desc = "spikey."
sharpness = IS_SHARP

/obj/item/gun/ballistic/automatic/pistol/disposable/buster
default_ammo_type = /obj/item/ammo_box/magazine/internal/shot/dual/lethal
allowed_ammo_types = list(
/obj/item/ammo_box/magazine/internal/shot/dual/lethal,
)

/obj/item/melee/brass_knuckles/busters
name = "knucklebusters"
force = 10
var/obj/item/gun/stored_gun

/obj/item/melee/brass_knuckles/busters/Initialize()
. = ..()
stored_gun = new /obj/item/gun/ballistic/automatic/pistol/disposable/buster()

/obj/item/melee/brass_knuckles/busters/attack(mob/living/M, mob/living/user)
. = ..()
stored_gun.afterattack(M, user)

/obj/item/melee/sledgehammer
name = "sledgehammer"
icon_state = "sledgehammer"
Expand Down

0 comments on commit 91dd36c

Please sign in to comment.