Skip to content

Commit

Permalink
Disposable gun: ... Svalinn! (#8139)
Browse files Browse the repository at this point in the history
* disposable svalinn
  • Loading branch information
TheLeopold authored Sep 24, 2024
1 parent 48a83c5 commit 854591a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions code/datums/autolathe/guns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@
/datum/design/autolathe/gun/nt_svalinn
name = "NT LP \"Svalinn\""
build_path = /obj/item/gun/energy/nt_svalinn
materials = list(MATERIAL_BIOMATTER = 5)
factions = list(FACTION_NEOTHEOLOGY)

// Energy general
Expand Down
3 changes: 1 addition & 2 deletions code/game/objects/items/weapons/design_disks/NeoTheology.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
disk_name = "NeoTheology Armory - NT LP \"Svalinn\""
license = -1
designs = list(
/datum/design/autolathe/gun/nt_svalinn,
/datum/design/bioprinter/nt_cells/small
/datum/design/autolathe/gun/nt_svalinn
)

// Javelins & bucklers, speed upgrade TODO: light armor
Expand Down
11 changes: 6 additions & 5 deletions code/modules/projectiles/guns/energy/nt_svalinn.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/gun/energy/nt_svalinn
name = "NT LP \"Svalinn\""
desc = "\"NeoTheology\" brand laser pistol. Small and easily concealable, it's still a reasonable punch for a laser weapon."
desc = "\"NeoTheology\" brand disposable laser pistol. Small and easily concealable, it's still a reasonable punch for a laser weapon."
icon = 'icons/obj/guns/energy/nt_svalinn.dmi'
icon_state = "nt_svalinn"
item_state = "nt_svalinn"
Expand All @@ -14,15 +14,16 @@
can_dual = TRUE
zoom_factors = list()
damage_multiplier = 1
matter = list(MATERIAL_PLASTEEL = 8, MATERIAL_WOOD = 4, MATERIAL_SILVER = 2)
price_tag = 1000
matter = list(MATERIAL_STEEL = 8, MATERIAL_BIOMATTER = 8) //Cost of the cell is added automatically
disposable = TRUE
price_tag = 200
init_firemodes = list(
WEAPON_NORMAL,
WEAPON_CHARGE
)
twohanded = FALSE
suitable_cell = /obj/item/cell/small
cell_type = /obj/item/cell/small
suitable_cell = /obj/item/cell/small/neotheology
cell_type = /obj/item/cell/small/neotheology
init_recoil = HANDGUN_RECOIL(1)
serial_type = "NT"

0 comments on commit 854591a

Please sign in to comment.