Files
Batrachophreno b3b4f4b9c6 INDRA, general nuclear fusion update (#21285)
Fixes https://github.com/Aurorastation/Aurora.3/issues/18951
Fixes https://github.com/Aurorastation/Aurora.3/issues/19447
Fixes https://github.com/Aurorastation/Aurora.3/issues/20283
Fixes https://github.com/Aurorastation/Aurora.3/issues/21395

Overhauls a wide variety of INDRA behaviors and related gas/material
properties.
changes:
- balance: "Fusion reaction modifications. Higher radiation and
temperature output, comparable power output."
- balance: "Increased rad resistance modifier of Borosilicate Windows
from 1 -> 4 and (closed) Blast Doors from 1 -> 6."
- balance: "INDRA Field Strength minima/maxima changed from 1-100 ->
20-120. Power costs increased significantly."
- balance: "INDRA instability increase per tick now limited, similar to
Supermatter (prevents sudden instability spike from instantly nuking
it)."
  - balance: "APC cell charge rate increased 10x."
  - balance: "Rebalanced contents of INDRA hard storage compartment."
  - balance: "SMES coils capacities halved, throughputs doubled."
  - balance: "SMES unit maximum coil capacity increased from 6 -> 8."
- balance: "TEG maximum power output increased from 500000 -> 2500000."
- balance: "Power wasted from exceeding TEG maximum power output
decreased from 50% to 33%."
- balance: "Portable generators of all types have had their power
generation capacity doubled."
- rscadd: "New 'Fusion Codex' app added for all crew with ACCESS_ENGINE
that details all available nuclear fusion chains."
- rscadd: "Boron added as a singleton/reagent. Poisonous to vaurca,
still usable in nuclear fusion as fuel assembly rods."
- rscadd: "INDRA Field Strength now scales plasma temperature entropy,
power output from temperature multiplier, and instability increase per
tick."
- refactor: "'Boron' gas renamed to 'Helium-3'. Boron is not a gas. Deal
with it."
  - refactor: "'Steam' gas renamed to 'Water Vapor'."
  - code_imp: "Descriptions added to gas singletons for future use."
  - qol: "Minor remap of INDRA control room for usability."
  - qol: "Standardized gas canister naming conventions."
- qol: "INDRA and APC TGUI interfaces now use use kW, MW abbreviations
for high wattages."
- bugfix: "INDRA Kinetic Harvester no longer rapidly deselects materials
for harvest when too many are being generated at once."
- bugfix: "INDRA EM Field effect no longer considers the camera within
its reactor chamber a destabilizing influence."
  - bugfix: "INDRA reactor core now produces radiation as intended."
- bugfix: "Deuterium and Tritium canisters no longer contain 50%
standard hydrogen (inheritance issue)."

---------

Signed-off-by: Batrachophreno <Batrochophreno@gmail.com>
Co-authored-by: Matt Atlas <mattiathebest2000@hotmail.it>
Co-authored-by: Geeves <22774890+Geevies@users.noreply.github.com>
2025-10-05 20:13:06 +00:00

113 lines
2.5 KiB
Plaintext

/datum/export/material
cost = 5 // Cost per MINERAL_MATERIAL_AMOUNT, which is 2000cm3 as of April 2016.
k_elasticity = 0
message = "cm3 of developer's tears. Please, report this on github"
var/material_id = null
export_types = list(/obj/item/stack/material/)
// Yes, it's a base type containing export_types.
// But it has no material_id, so any applies_to check will return false, and these types reduce amount of copypasta a lot
/datum/export/material/get_amount(obj/O)
if(!material_id)
return 0
var/obj/item/stack/material/M = O
if(!M || M.material.name != material_id)
return 0
return M.amount
// Materials. As of writing in 2024, this list was small, and most everything was effected by price elasticity. Now, it's been rebalanced. Price elasticity was removed,
// and more materials now have values. These materials are mainly concerend with mining.
/datum/export/material/diamond
cost = 20
material_id = "diamond"
message = "diamond sheets"
/datum/export/material/phoron
cost = 175
material_id = "phoron"
message = "phoron sheets"
/datum/export/material/uranium
cost = 8
material_id = "uranium"
message = "uranium sheets"
/datum/export/material/gold
cost = 12
material_id = "gold"
message = "gold sheets"
/datum/export/material/silver
cost = 8
material_id = "silver"
message = "silver sheets"
/datum/export/material/platinum
cost = 12
material_id = "platinum"
message = "platinum sheets"
/datum/export/material/osmium
cost = 24
material_id = "osmium"
message = "osmium bars"
/datum/export/material/metal
cost = 2
material_id = "metal"
message = "metal sheets"
/datum/export/material/steel
cost = 1
material_id = "steel"
message = "steel sheets"
/datum/export/material/plasteel
cost = 20
material_id = "plasteel"
message = "plasteel sheets"
/datum/export/material/iron
cost = 1
material_id = "iron"
message = "iron ingots"
/datum/export/material/plastic
cost = 1
material_id = "plastic"
message = "plastic sheets"
/datum/export/material/graphite
cost = 2
material_id = "graphite"
message = "graphite bars"
/datum/export/material/glass
cost = 1
material_id = "glass"
message = "glass sheets"
/datum/export/material/tritium
cost = 5
material_id = "tritium"
message = "tritium ingots"
/datum/export/material/mhydrogen
cost = 10
material_id = "metallic hydrogen"
message = "metallic hydrogen sheets"
/datum/export/material/aluminium
cost = 3
material_id = "aluminium"
message = "aluminium sheets"
/datum/export/material/lead
cost = 3
material_id = "lead"
message = "lead sheets"