From 9cc737172cf9dfb84114b2bedd2253af68fa7df6 Mon Sep 17 00:00:00 2001 From: O-01-67 <68935009+O-01-67@users.noreply.github.com> Date: Mon, 23 May 2022 11:27:06 -0400 Subject: [PATCH] fire slime I am fire Burn those who dare to care for me And my fuel are memories Fuel are memories of you They perish with the heat Perish with the heat So I can move on Flower of iron Shrivelled up to hide the imposter in me (sus) --- mods/fire_slime.js | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 mods/fire_slime.js diff --git a/mods/fire_slime.js b/mods/fire_slime.js new file mode 100644 index 00000000..3d0913da --- /dev/null +++ b/mods/fire_slime.js @@ -0,0 +1,68 @@ +elements.fire_slime = { + color: ["#e6683e", "#e37636", "#e38f3b", "#e3b039"], + behavior: [ + "XX|CR:fire%5|XX", + "M2|XX|M2", + "M1%1 AND M2|M1|M1%1 AND M2" + ], + reactions: { + "bomb": { "elem2":"sticky_bomb", "elem2":null }, + }, + tick: function(pixel) { + if(Math.random() < 0.01) { + pixel.temp++; + pixelTempCheck(pixel); + }; + if(pixel.temp < 700) { + if(Math.random() < 0.02) { + pixel.temp++; + pixelTempCheck(pixel); + }; + }; + }, + viscosity: 3000, + temp: 700, + tempHigh: 6000, + stateHigh: "plasma", + tempLow: -13, + stateLow: "suppressed_fire_slime", + category: "liquids", + state: "liquid", + burning: true, + burnTime: Number.MAX_SAFE_INTEGER, + burn: 85, + burnInto: "fire_slime", + density: 1400, + stain: 0.05 +} + +elements.suppressed_fire_slime = { + color: "#bf6a4e", + behavior: [ + "XX|CR:smoke%1|XX", + "M2|XX|M2", + "M1%0.5 AND M2|M1|M1%0.5 AND M2" + ], + reactions: { + "bomb": { "elem2":"sticky_bomb", "elem2":null }, + }, + tick: function(pixel) { + if(Math.random() < 0.001) { + pixel.temp++; + pixelTempCheck(pixel); + }; + }, + viscosity: 4000, + temp: -20, + tempHigh: -13, + stateHigh: "fire_slime", + category: "liquids", + state: "liquid", + burning: false, + burnTime: 1000, + burn: 1, + burnInto: "fire_slime", + density: 1550, + stain: 0.04, + hidden: true +} \ No newline at end of file