From 4a300954137bd06c77d8feb6f130002a4ab18456 Mon Sep 17 00:00:00 2001 From: MicaelNotUsed Date: Fri, 14 Mar 2025 21:25:10 -0300 Subject: [PATCH] Stainless steel Adds a stainless steel element and a way to get it. --- mods/stainless_steel.js | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 mods/stainless_steel.js diff --git a/mods/stainless_steel.js b/mods/stainless_steel.js new file mode 100644 index 00000000..d91bb64c --- /dev/null +++ b/mods/stainless_steel.js @@ -0,0 +1,37 @@ +// obtaining chromium (makes chrome) +elements.magma.stateLow = ["rock", "basalt", "basalt", "basalt", "chromite"]; + +// chrome +elements.chromite = { + color: ["#372d38", "#6e6e6e"], + behavior: behaviors.POWDER, + state: "solid", + category: "powders", + tempHigh: 2180, + stateHigh: "magma", +}; + +// stainless steel +elements.stainless_steel = { + color: "#454545", + behavior: behaviors.WALL, + state: "solid", + category: "solids", + tempHigh: 1510, +}; + +// chrome +elements.chrome = { + color: "#c4c4c4", + behavior: behaviors.WALL, + state: "solid", + category: "solids", + tempHigh: 1900, + reactions: { + "molten_steel": { elem2:"molten_stainless_steel", tempMin:1800, tempMax:2000 } + }, + alias: "chromium", +}; + +// obtaining chrome (makes stainless steel) +elements.molten_aluminum.reactions.chromite = { elem2:"chrome", tempMin:1000, tempMax:1200, chance:0.1 }; \ No newline at end of file