From 9517bfb594d2b43de2baeb1f2a57e8324d9d1d3d Mon Sep 17 00:00:00 2001 From: iloveloopers Date: Sun, 9 Jun 2024 13:40:48 -0400 Subject: [PATCH] upgrades people, upgrades --- code/datums/research_upgrade_datum.dm | 21 ++++++++++++++++++++ code/modules/projectiles/magazines/flamer.dm | 21 ++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/code/datums/research_upgrade_datum.dm b/code/datums/research_upgrade_datum.dm index 1620543f6604..88cea640b2bc 100644 --- a/code/datums/research_upgrade_datum.dm +++ b/code/datums/research_upgrade_datum.dm @@ -100,6 +100,7 @@ behavior = RESEARCH_UPGRADE_TIER_1 upgrade_type = ITEM_ACCESSORY_UPGRADE clearance_req = 4 + /datum/research_upgrades/item/nanosplints name = "Reinforced Fiber Splints" desc = "A set of splints made from durable carbon fiber sheets reinforced with flexible titanium lattice, comes in a stack of five." @@ -111,6 +112,26 @@ behavior = RESEARCH_UPGRADE_TIER_5 //adjust this to change amount of nanosplints in a stack, cant be higher than five, go change max_amount in the nanosplint itself, then change it. upgrade_type = ITEM_ACCESSORY_UPGRADE +/datum/research_upgrades/item/flamer_tank + name = "Upgraded Incinerator Tank" + desc = "An upgraded incinerator tank, with larger capacity and able to handle stronger fuels." + value_upgrade = 500 + clearance_req = 1 + change_purchase = -100 + minimum_price = 100 + item_reference = /obj/item/ammo_magazine/flamer_tank/custom/upgraded + behavior = null + upgrade_type = ITEM_ACCESSORY_UPGRADE + +/datum/research_upgrades/item/flamer_tank/smoke + name = "Upgraded Incinerator Smoke Tank" + desc = "An upgraded incinerator smoke tank with a larger capacity." + value_upgrade = 100 //not useful enough to be expensive + clearance_req = 1 + item_reference = /obj/item/ammo_magazine/flamer_tank/smoke/upgraded + change_purchase = 0 + minimum_price = 0 + /datum/research_upgrades/armor name = "Armor" behavior = RESEARCH_UPGRADE_CATEGORY diff --git a/code/modules/projectiles/magazines/flamer.dm b/code/modules/projectiles/magazines/flamer.dm index feaaf7bc0a79..7ad35ddaa039 100644 --- a/code/modules/projectiles/magazines/flamer.dm +++ b/code/modules/projectiles/magazines/flamer.dm @@ -249,3 +249,24 @@ matter = list("metal" = 3750) flamer_chem = null custom = TRUE + +//tanks printable by the research biomass machine +/obj/item/ammo_magazine/flamer_tank/custom/upgraded + name = "Upgraded custom incinerator tank" + desc = "A fuel tank used to store fuel for use in the M240 incinerator unit. This one has been modified with a larger and more sophisticated internal propellant tank, allowing for bigger capacity and stronger fuels." + matter = list("metal" = 50) // no free metal + flamer_chem = null + max_rounds = 200 + max_range = 7 + fuel_pressure = 1 + max_duration = 50 + max_intensity = 50 + custom = TRUE + +/obj/item/ammo_magazine/flamer_tank/smoke/upgraded + name = "Large custom incinerator smoke tank" + desc = "A tank holding powdered smoke that expands when exposed to an open flame and carries any chemicals along with it. This one has been outfitted with an upgraded internal compressor, allowing for bigger capacity." + matter = list("metal" = 50) //no free metal + flamer_chem = null + custom = TRUE + max_rounds = 200