Skip to content

Commit

Permalink
feat(custom items): add KeepMan's custom item
Browse files Browse the repository at this point in the history
  • Loading branch information
keepm4n authored Oct 7, 2023
1 parent dd4ea7e commit 537495e
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 0 deletions.
15 changes: 15 additions & 0 deletions code/game/objects/items/devices/modkit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,18 @@
parts[1] = 1
original[1] = /obj/item/gun/energy/gun
finished[1] = /obj/item/gun/energy/gun/nuclear

/obj/item/device/modkit/assault_shield
name = "riot shield modkit"
desc = "A kit containing all the needed tools and parts to modify a riot shield into an assault shield."
icon_state = "modkit"

/obj/item/device/modkit/assault_shield/New()
..()
parts = new /list(1)
original = new /list(1)
finished = new /list(1)
parts[1] = 1
original[1] = /obj/item/shield/riot
finished[1] = /obj/item/shield/riot/assault

6 changes: 6 additions & 0 deletions code/game/objects/items/weapons/shields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@
else
..()

/obj/item/shield/riot/assault
name = "assault shield"
desc = "An assault composite shield, looks like one of the old Nova-Magnitka models."
icon_state = "assault"
item_state = "assault"

/obj/item/shield/buckler
name = "buckler"
desc = "A wooden buckler used to block sharp things from entering your body back in the day.."
Expand Down
Binary file modified icons/inv_slots/back/mob.dmi
Binary file not shown.
Binary file modified icons/inv_slots/back/mob_fat.dmi
Binary file not shown.
Binary file modified icons/inv_slots/back/mob_slim.dmi
Binary file not shown.
Binary file modified icons/inv_slots/back/mob_slim_m.dmi
Binary file not shown.
Binary file modified icons/mob/onmob/items/lefthand.dmi
Binary file not shown.
Binary file modified icons/mob/onmob/items/lefthand_slim.dmi
Binary file not shown.
Binary file modified icons/mob/onmob/items/righthand.dmi
Binary file not shown.
Binary file modified icons/mob/onmob/items/righthand_slim.dmi
Binary file not shown.
Binary file modified icons/obj/weapons.dmi
Binary file not shown.

0 comments on commit 537495e

Please sign in to comment.