mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-13 00:47:31 +01:00
1c8c0c2221
Fixes several runtimes from the past few weeks, some additional material repath regressions, and the fact that if I shoot you with a stream of ionized deuterium particles, it doesn't riddle you with cancer. changes: - bugfix: "Fixes emergency shields runtiming when hit by thrown objects." - bugfix: "Fixes several stale global list runtimes." - bugfix: "Fixes several health percentage checks that could use unset initial health values." - bugfix: "Fixes additional materials regressions in INDRA code." - bugfix: "Fixes invalid fuel injector depletion math." - bugfix: "Makes accelerated particles apply radiation damage to living mobs they pass through."
37 lines
840 B
Plaintext
37 lines
840 B
Plaintext
/// MATERIALS-REWORK-TODO
|
|
/// /// Alloys that contain subsets of each other's ingredients must be ordered in the desired sequence
|
|
/// eg. steel comes after plasteel because plasteel's ingredients contain the ingredients for steel and
|
|
/// it would be impossible to produce.
|
|
|
|
/datum/alloy
|
|
var/list/requires
|
|
var/product_mod = 1
|
|
var/product
|
|
var/metaltag
|
|
|
|
/datum/alloy/plasteel
|
|
metaltag = "plasteel"
|
|
requires = list(
|
|
ORE_PLATINUM = 1,
|
|
ORE_COAL = 2,
|
|
ORE_IRON = 2
|
|
)
|
|
product_mod = 0.3
|
|
product = /obj/item/stack/material/plasteel
|
|
|
|
/datum/alloy/steel
|
|
metaltag = "steel"
|
|
requires = list(
|
|
ORE_COAL = 1,
|
|
ORE_IRON = 1
|
|
)
|
|
product = /obj/item/stack/material/steel
|
|
|
|
/datum/alloy/borosilicate
|
|
metaltag = "borosilicate glass"
|
|
requires = list(
|
|
ORE_PLATINUM = 1,
|
|
ORE_SAND = 2
|
|
)
|
|
product = /obj/item/stack/material/glass/phoronglass
|