Skip to content

Commit

Permalink
adds upgraded fuel tanks to the research biomass machine (#6415)
Browse files Browse the repository at this point in the history
# About the pull request
adds new upgraded smoke and normal fuel tanks printable by the biomass
machine
upgraded smoke tank has a 200 unit capacity instead of 100
upgraded custom tank has 60 max intensity and 50 duration, 7 tile range
and 200 unit capacity (you still have to make a flamer fuel that reaches
these caps)
i will be severely impressed if anyone manages to make a chem that even
goes above 50 intensity

# Explain why it's good for the game
lets research reach the full potential of custom flamer chems while
still putting it behind a reasonable paywall

# Testing Photographs and Procedure
it works

# Changelog
:cl:
add: Added new upgraded incinerator fuel tanks printable by the biomass
analyzer.
/:cl:

---------

Co-authored-by: Drathek <[email protected]>
  • Loading branch information
iloveloopers and Drulikar authored Jun 19, 2024
1 parent 3aa0fee commit 29c06e4
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
#define MATRIX_NVG 1
#define MATRIX_WIDE 2

#define RESEARCH_UPGRADE_NULL null
#define RESEARCH_UPGRADE_EXCLUDE_BUY -2
#define RESEARCH_UPGRADE_CATEGORY -1 //lord forgive me
#define RESEARCH_UPGRADE_TIER_1 1
Expand Down
23 changes: 23 additions & 0 deletions code/datums/research_upgrade_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -111,6 +112,28 @@
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 = 300
clearance_req = 1
change_purchase = 100
minimum_price = 100
maximum_price = 1000
item_reference = /obj/item/ammo_magazine/flamer_tank/custom/upgraded
behavior = RESEARCH_UPGRADE_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 = 50
minimum_price = 100
maximum_price = 500

/datum/research_upgrades/armor
name = "Armor"
behavior = RESEARCH_UPGRADE_CATEGORY
Expand Down
21 changes: 21 additions & 0 deletions code/modules/projectiles/magazines/flamer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 60
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 = 150

0 comments on commit 29c06e4

Please sign in to comment.