Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
9dab187
printable-guns
genessee-forgot-his-password-again Jul 8, 2023
95b9a3f
Add files via upload
genessee-forgot-his-password-again Jul 8, 2023
22c4280
Delete mods/persistence/modules/fabrication/designs/protolathe/weapon…
genessee-forgot-his-password-again Jul 8, 2023
1782e39
Add files via upload
genessee-forgot-his-password-again Jul 8, 2023
895a734
Add files via upload
genessee-forgot-his-password-again Jul 8, 2023
1b4fb9e
Update lasrifle.dm
genessee-forgot-his-password-again Jul 8, 2023
2aa7f84
Update laspistol.dm
genessee-forgot-his-password-again Jul 8, 2023
af5f66b
Update lasrifle.dm
genessee-forgot-his-password-again Jul 8, 2023
efb6ce8
Update lasrifle.dm
genessee-forgot-his-password-again Jul 8, 2023
5d03215
Update boltaction.dm
genessee-forgot-his-password-again Jul 8, 2023
cb5b46d
Update revolver.dm
genessee-forgot-his-password-again Jul 8, 2023
71df64f
Update shotgun.dm
genessee-forgot-his-password-again Jul 8, 2023
bee4116
Update boltaction.dm
genessee-forgot-his-password-again Jul 8, 2023
f5eb2a6
Update pistol.dm
genessee-forgot-his-password-again Jul 8, 2023
6ded0fb
Update pistol_gold.dm
genessee-forgot-his-password-again Jul 8, 2023
ea89562
Update revolver.dm
genessee-forgot-his-password-again Jul 8, 2023
aa1af12
Update shotgun_db.dm
genessee-forgot-his-password-again Jul 8, 2023
5c4bdff
Update shotgun_db.dm
genessee-forgot-his-password-again Jul 8, 2023
a6ed059
Update shotgun_pump.dm
genessee-forgot-his-password-again Jul 8, 2023
db20836
Create overrides.dm
genessee-forgot-his-password-again Jul 8, 2023
f317209
updates Stuff
genessee-forgot-his-password-again Jul 8, 2023
0de76cb
Update boltaction.dm
genessee-forgot-his-password-again Jul 10, 2023
2463bbd
Update revolver.dm
genessee-forgot-his-password-again Jul 10, 2023
eff7476
Update shotgun.dm
genessee-forgot-his-password-again Jul 10, 2023
6935a1e
Update boltaction.dm
genessee-forgot-his-password-again Jul 10, 2023
d606e08
Update pistol.dm
genessee-forgot-his-password-again Jul 10, 2023
4a150d8
Update pistol_gold.dm
genessee-forgot-his-password-again Jul 10, 2023
02e7aad
Update pistol_gold.dm
genessee-forgot-his-password-again Jul 10, 2023
05c38d6
Update revolver.dm
genessee-forgot-his-password-again Jul 10, 2023
d281f47
Update shotgun_db.dm
genessee-forgot-his-password-again Jul 10, 2023
f248641
Update shotgun_pump.dm
genessee-forgot-his-password-again Jul 10, 2023
7db2021
Update lasrifle.dm
genessee-forgot-his-password-again Jul 10, 2023
e668046
Update laspistol.dm
genessee-forgot-his-password-again Jul 10, 2023
78aeac1
Update lasrifle.dm
genessee-forgot-his-password-again Jul 10, 2023
4052e00
Update lasrifle.dm
genessee-forgot-his-password-again Jul 10, 2023
4b2f322
Update laspistol.dm
genessee-forgot-his-password-again Jul 10, 2023
561e3dc
Update lasrifle.dm
genessee-forgot-his-password-again Jul 10, 2023
2d195ef
replace origin tech overrides to research exclusions
genessee-forgot-his-password-again Jul 18, 2023
6950f2d
Merge branch 'PersistentSS13:dev' into printable-guns-new
genessee-forgot-his-password-again Jul 18, 2023
ba2f0d5
delete unnecessary file
genessee-forgot-his-password-again Jul 18, 2023
1b11987
Update _persistence.dme
genessee-forgot-his-password-again Jul 18, 2023
e9e60c7
remove anti-photon grenade from overrides
genessee-forgot-his-password-again Jul 18, 2023
6673b5d
fix overrides from using item paths to recipe datums
genessee-forgot-his-password-again Jul 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mods/persistence/_persistence.dme
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
#include "modules\fabrication\fabricator_build.dm"
#include "modules\fabrication\fabricator_intake.dm"
#include "modules\fabrication\designs\textile\space.dm"
#include "modules\fabrication\designs\protolathe\designs_weapons.dm"
#include "modules\hydroponics\grown.dm"
#include "modules\hydroponics\grown_indedible.dm"
#include "modules\hydroponics\seed_machines.dm"
Expand Down Expand Up @@ -234,6 +235,7 @@
#include "modules\projectiles\guns\projectile\tier1\revolver.dm"
#include "modules\projectiles\guns\projectile\tier1\shotgun_db.dm"
#include "modules\projectiles\guns\projectile\tier1\shotgun_pump.dm"
#include "modules\projectiles\overrides.dm"
#include "modules\reagents\Chemistry-Holder.dm"
#include "modules\reagents\chems\chems.dm"
#include "modules\reagents\chems\recipes.dm"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/datum/fabricator_recipe/protolathe/weapon/tier0/bolt_action
path = /obj/item/gun/projectile/bolt_action/handmade/empty

/datum/fabricator_recipe/protolathe/weapon/tier0/revolver
path = /obj/item/gun/projectile/revolver/handmade/empty

/datum/fabricator_recipe/protolathe/weapon/tier0/shotgun
path = /obj/item/gun/projectile/shotgun/handmade/empty

/datum/fabricator_recipe/protolathe/weapon/tier0/laser_rifle
path = /obj/item/gun/energy/laser/rifle/handmade

/datum/fabricator_recipe/protolathe/weapon/tier1/bolt_action
path = /obj/item/gun/projectile/bolt_action/simple/empty

/datum/fabricator_recipe/protolathe/weapon/tier1/pistol
path = /obj/item/gun/projectile/pistol/simple/empty

/datum/fabricator_recipe/protolathe/weapon/tier1/pistol_golden
path = /obj/item/gun/projectile/pistol/simple/golden/empty

/datum/fabricator_recipe/protolathe/weapon/tier1/revolver
path = /obj/item/gun/projectile/revolver/simple/empty

/datum/fabricator_recipe/protolathe/weapon/tier1/shotgun_double
path = /obj/item/gun/projectile/shotgun/simple/empty

/datum/fabricator_recipe/protolathe/weapon/tier1/shotgun_pump
path = /obj/item/gun/projectile/shotgun/pump/simple/empty

/datum/fabricator_recipe/protolathe/weapon/tier1/laser_rifle
path = /obj/item/gun/energy/laser/rifle/simple

/datum/fabricator_recipe/protolathe/weapon/tier1/laser_pistol
path = /obj/item/gun/energy/laser/pistol/simple
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/gun/energy/laser/rifle/handmade
name = "HM LR 'Tagger'"
desc = "A cobbled-together mass of electronic components, duct tape, and hope. However, unlike most laser rifles, this model is small enough to wear around the waist. Sports dreadful ammo capacity compared to ballistic weapons but its ease of recharging makes it favored among the poor."
name = "Laser 'Tagger' EG"
desc = "Laser rifle of dubious origin. Shoddy craftsmanship results in low charge capacity and weak output. Fires Alpha-type laser beams."
icon = 'mods/persistence/icons/obj/guns/tier0/lasrifle.dmi'
slot_flags = SLOT_LOWER_BODY|SLOT_BACK
w_class = ITEM_SIZE_LARGE
Expand All @@ -10,3 +10,8 @@
fire_delay = 15
origin_tech = "{'combat':2,'magnets':1,'engineering':1,'materials':2}"
projectile_type = /obj/item/projectile/beam/smalllaser
material = /decl/material/solid/metal/steel
matter = list(
/decl/material/solid/glass = MATTER_AMOUNT_REINFORCEMENT,
/decl/material/solid/metal/silver = MATTER_AMOUNT_TRACE
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/gun/energy/laser/pistol/simple
name = "ZSS LP 'Settler'"
desc = "The Settler model is one of the first ever mass-produced laser weapons intended for civilian use. It has an impressive capacity for its low cost and is small enough to be slung around the belt. Its low stopping power didn't deter most civilians from purchasing the pistol en masse."
name = "Laser 'Settler' EG"
desc = "Laser pistol used by modern spacers. Compact, but suffers from low charge capacity because of this. Fires Alpha-type laser beams."
icon = 'mods/persistence/icons/obj/guns/tier1/laspistol.dmi'
slot_flags = SLOT_LOWER_BODY
w_class = ITEM_SIZE_NORMAL
Expand All @@ -9,4 +9,10 @@
fire_delay = 5
force = 3 // made of light-ish plastics rather than wood and metal
origin_tech = "{'combat':3,'magnets':2,'engineering':2,'materials':3}"
projectile_type = /obj/item/projectile/beam/smalllaser
projectile_type = /obj/item/projectile/beam/smalllaser
material = /decl/material/solid/metal/aluminium
matter = list(
/decl/material/solid/glass = MATTER_AMOUNT_REINFORCEMENT,
/decl/material/solid/metal/silver = MATTER_AMOUNT_TRACE,
/decl/material/solid/metal/steel = MATTER_AMOUNT_TRACE
)
14 changes: 10 additions & 4 deletions mods/persistence/modules/projectiles/guns/energy/tier1/lasrifle.dm
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
/obj/item/gun/energy/laser/rifle/simple
name = "ZSS LR 'Marine'"
desc = "The Marine model is one of the more ubiquitous energy weapon designs. While its capacity leaves something to be desired, it is incredibly easy to mass-produce and has great beam strength for its low manufacturing cost. It is often seen in the hands of corporate space marines, hence the name."
name = "Laser 'Marine' EG"
desc = "Laser rifle used by modern spacers. Powerful, but bulky and suffers from low charge capacity. Fires Beta-type laser beams."
icon = 'mods/persistence/icons/obj/guns/tier1/lasrifle.dmi'
slot_flags = SLOT_BACK
w_class = ITEM_SIZE_LARGE
w_class = ITEM_SIZE_HUGE
one_hand_penalty = 3
max_shots = 5
fire_delay = 12
force = 10
origin_tech = "{'combat':3,'magnets':2,'engineering':2,'materials':3}"
projectile_type = /obj/item/projectile/beam/midlaser
projectile_type = /obj/item/projectile/beam/midlaser
material = /decl/material/solid/metal/aluminium
matter = list(
/decl/material/solid/glass = MATTER_AMOUNT_REINFORCEMENT,
/decl/material/solid/metal/silver = MATTER_AMOUNT_TRACE,
/decl/material/solid/metal/steel = MATTER_AMOUNT_REINFORCEMENT
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/gun/projectile/bolt_action/handmade
name = "HM BA 'Minuteman'"
desc = "A homemade bolt-action rifle of dubious quality. While it can chamber high-damage ammunition, it's difficult to load and rather inaccurate for a rifle. It's still favored by colonists for being effective for its low cost. Chambered in 5.56mm rounds."
name = "5.56 'Minuteman' BA"
desc = "Bolt-action rifle of dubious origin. Shoddy craftsmanship results in extremely low ammo capacity. Chambered in 5.56."
icon = 'mods/persistence/icons/obj/guns/tier0/boltaction.dmi'
force = 10
slot_flags = SLOT_BACK
Expand All @@ -13,6 +13,10 @@
one_hand_penalty = 20
fire_delay = 20
accuracy = -1
material = /decl/material/solid/wood
matter = list(
/decl/material/solid/metal/steel = MATTER_AMOUNT_REINFORCEMENT
)

/obj/item/gun/projectile/bolt_action/handmade/empty
starts_loaded = FALSE
starts_loaded = FALSE
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
/obj/item/gun/projectile/revolver/handmade
name = "HM R 'Underdog'"
desc = "A jury-rigged weapon fashioned not too dissimilarly to a revolver. While usable one-handed, it doesn't lend itself to it. Chambered in 10mm rounds."
name = "10mm 'Underdog' RV"
desc = "Revolver of dubious origin. Shoddy craftsmanship results in low ammo capacity and high recoil. Chambered in 10mm."
icon = 'mods/persistence/icons/obj/guns/tier0/revolver.dmi'
origin_tech = "{'combat':2,'engineering':1,'materials':1}"
caliber = CALIBER_PISTOL
ammo_type = /obj/item/ammo_casing/pistol
max_shells = 3
w_class = ITEM_SIZE_NORMAL
fire_delay = 12
accuracy = -1
one_hand_penalty = 2
force = 5
material = /decl/material/solid/metal/steel
matter = list(
/decl/material/solid/wood = MATTER_AMOUNT_REINFORCEMENT
)

/obj/item/gun/projectile/revolver/handmade/empty
starts_loaded = FALSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/gun/projectile/shotgun/handmade
name = "HM SG 'Slider'"
desc = "A simple single-barrel shotgun made from a pipe and some spare parts. Inaccurate and sports nigh-unmanageable recoil. Chambered in 12g shells."
name = "12g 'Slider' SG"
desc = "Break-action shotgun of dubious origin. Shoddy craftsmanship results in extremely low ammo capacity and high recoil. Chambered in 12 gauge."
icon = 'mods/persistence/icons/obj/guns/tier0/shotgun.dmi'
load_method = SINGLE_CASING
handle_casings = HOLD_CASINGS
Expand All @@ -14,6 +14,10 @@
screen_shake = 2
accuracy = -1
one_hand_penalty = 10
material = /decl/material/solid/wood
matter = list(
/decl/material/solid/metal/steel = MATTER_AMOUNT_REINFORCEMENT
)

/obj/item/gun/projectile/shotgun/handmade/empty
starts_loaded = FALSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/gun/projectile/bolt_action/simple
name = "ZSS BA 'Mosin'"
desc = "The Mosin model is a particularly ancient design. Very little is known about its origins, but in the modern day Mosin models are mostly produced for hunting purposes. However, due to its ease of production and decent loading capacity, many colonist and rebel groups use Mosin rifles in their armies. Chambered in 5.56mm rounds."
name = "5.56 'Mosin' BA"
desc = "Bolt-action rifle of ancient design. Reliable, but slow-firing. Chambered in 5.56."
icon = 'mods/persistence/icons/obj/guns/tier1/boltaction.dmi'
force = 10
slot_flags = SLOT_BACK
Expand All @@ -9,10 +9,16 @@
handle_casings = HOLD_CASINGS
load_method = SINGLE_CASING
max_shells = 5
w_class = ITEM_SIZE_HUGE
ammo_type = /obj/item/ammo_casing/rifle
one_hand_penalty = 10
fire_delay = 12
accuracy = 0
material = /decl/material/solid/wood
matter = list(
/decl/material/solid/metal/steel = MATTER_AMOUNT_REINFORCEMENT,
/decl/material/solid/metal/aluminium = MATTER_AMOUNT_TRACE
)

/obj/item/gun/projectile/bolt_action/simple/empty
starts_loaded = FALSE
starts_loaded = FALSE
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
/obj/item/gun/projectile/pistol/simple
name = "ZSS HG 'Colt'"
desc = "Nobody knows who 'Colt' actually was, but historians generally believe he was a master gunsmith from the ancient past. The 'Colt' pistol is one of his most well-known designs. Because the design to make this model was cracked decades ago, many groups have made their own bastardized versions of the firearm. This one in particular is chambered in 10mm rounds."
name = "10mm 'Colt' HG"
desc = "Pistol of ancient design. Reliable, but struggles against armored targets. Chambered in 10mm."
icon = 'mods/persistence/icons/obj/guns/tier1/pistol.dmi'
fire_delay = 5
force = 5
accuracy = 1
one_hand_penalty = 0
origin_tech = "{'combat':3,'engineering':2,'materials':2}"
ammo_indicator = FALSE
w_class = ITEM_SIZE_NORMAL
material = /decl/material/solid/metal/steel
matter = list(
/decl/material/solid/wood = MATTER_AMOUNT_REINFORCEMENT,
/decl/material/solid/metal/aluminium = MATTER_AMOUNT_TRACE
)

/obj/item/gun/projectile/pistol/simple/empty
starts_loaded = FALSE
starts_loaded = FALSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
/obj/item/gun/projectile/pistol/simple/golden
name = "ZSS HG 'Midas'"
desc = "This particular 'Colt' handgun has been made using an alloy of gold and an unknown material. It's been handmade by an expert artisan who has been lost to time. This gun isn't so much a weapon as it is a piece of art. This one in particular is chambered in 10mm rounds and is functionally identical to a normal 'Colt' handgun."
name = "10mm 'Colt-M' HG"
desc = "Luxurious pistol of ancient design. Reliable and fabulous, but struggles against armored targets. Chambered in 10mm."
icon = 'mods/persistence/icons/obj/guns/tier1/pistol_gold.dmi'
origin_tech = "{'combat':3,'engineering':2,'materials':10}" // very high material tech because it has rare components inside
origin_tech = "{'combat':3,'engineering':2,'materials':5}"
material = /decl/material/solid/metal/steel
matter = list(
/decl/material/solid/wood = MATTER_AMOUNT_REINFORCEMENT,
/decl/material/solid/metal/aluminium = MATTER_AMOUNT_TRACE,
/decl/material/solid/metal/gold = MATTER_AMOUNT_REINFORCEMENT
)

/obj/item/gun/projectile/pistol/simple/golden/empty
starts_loaded = FALSE
starts_loaded = FALSE
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
/obj/item/gun/projectile/revolver/simple
name = "ZSS R 'Chief'"
desc = "A pocket revolver of ancient design intended for use by ground police forces and for civilian self-defense. The Chief model is known as a reliable weapon galaxy-wide, though its use of pistol rounds leaves it lacking in stopping power. Chambered in 10mm rounds."
name = "10mm 'Chief' RV"
desc = "Revolver of ancient design. Reliable, but struggles against armored targets. Chambered in 10mm."
icon = 'mods/persistence/icons/obj/guns/tier1/revolver.dmi'
origin_tech = "{'combat':3,'engineering':2,'materials':2}"
caliber = CALIBER_PISTOL
ammo_type = /obj/item/ammo_casing/pistol
max_shells = 5
w_class = ITEM_SIZE_NORMAL
fire_delay = 10
accuracy = 0
one_hand_penalty = 0
force = 5
material = /decl/material/solid/metal/steel
matter = list(
/decl/material/solid/wood = MATTER_AMOUNT_REINFORCEMENT,
/decl/material/solid/metal/aluminium = MATTER_AMOUNT_TRACE
)

/obj/item/gun/projectile/revolver/simple/empty
starts_loaded = FALSE
starts_loaded = FALSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/gun/projectile/shotgun/simple
name = "ZSS SG 'Bouncer'"
desc = "The Bouncer, also known simply as 'the Double-Barrel', is essentially a rifle butt with two pipes attached to it. Somehow, this proved to be an immensely effective, powerful, and decidedly badass weapon. This model can be configured to fire one or both barrels at a time, and cannot be sawn off due to sporting reinforced barrels. It's often used by angry barkeeps and deranged space marines. Chambered in 12g shells."
name = "12g 'Bouncer' SG"
desc = "Break-action shotgun of ancient design. Powerful, but struggles in prolonged engagements due to low ammo capacity. Can fire one or both chambers at a time. Chambered in 12 gauge."
icon = 'mods/persistence/icons/obj/guns/tier1/shotgun_db.dmi'
load_method = SINGLE_CASING
handle_casings = HOLD_CASINGS
Expand All @@ -13,13 +13,17 @@
ammo_type = /obj/item/ammo_casing/shotgun/beanbag
screen_shake = 1
accuracy = 0
one_hand_penalty = 10 // doesnt improve over handmade shotgun penalty because you really should not be one-handing a shotgun

one_hand_penalty = 10
material = /decl/material/solid/metal/steel
matter = list(
/decl/material/solid/wood = MATTER_AMOUNT_REINFORCEMENT,
/decl/material/solid/metal/aluminium = MATTER_AMOUNT_TRACE
)
burst_delay = 0
firemodes = list(
list(mode_name="fire one barrel at a time", burst=1),
list(mode_name="fire both barrels at once", burst=2),
)
list(mode_name="fire both barrels at once", burst=2)
)

/obj/item/gun/projectile/shotgun/simple/empty
starts_loaded = FALSE
starts_loaded = FALSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/gun/projectile/shotgun/pump/simple
name = "ZSS SG 'Teufort'"
desc = "A straightforward pump-action shotgun intended for hunting medium-sized game. The Teufort isn't one of the first or best pump shotguns to exist, but its fairly cheap for how effective it is. Chambered in 12g shells."
name = "12g 'Teufort' SG"
desc = "Pump-action shotgun of ancient design. Powerful, but fires slowly due to pump-action mechanism and high recoil. Chambered in 12 gauge."
icon = 'mods/persistence/icons/obj/guns/tier1/shotgun_pump.dmi'
max_shells = 5
fire_delay = 12
Expand All @@ -13,6 +13,11 @@
ammo_type = /obj/item/ammo_casing/shotgun/beanbag
handle_casings = HOLD_CASINGS
one_hand_penalty = 10
material = /decl/material/solid/metal/steel
matter = list(
/decl/material/solid/wood = MATTER_AMOUNT_TRACE,
/decl/material/solid/metal/titanium = MATTER_AMOUNT_TRACE
)

/obj/item/gun/projectile/shotgun/pump/simple/empty
starts_loaded = FALSE
35 changes: 35 additions & 0 deletions mods/persistence/modules/projectiles/overrides.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/datum/fabricator_recipe/protolathe/weapon/rapidsyringe
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/temp_gun
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/confuseray
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/nuclear_gun
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/lasercannon
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/xrayrifle
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/grenadelauncher
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/flechette
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/radpistol
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/decloner
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/wt550
research_excluded = TRUE

/datum/fabricator_recipe/protolathe/weapon/bullpup
research_excluded = TRUE