From 95361e84deacfdba04b098bc2f20917ca7bcb241 Mon Sep 17 00:00:00 2001 From: PumpkinPriest <104536541+PumpkinPriest@users.noreply.github.com> Date: Mon, 15 May 2023 18:59:38 -0400 Subject: [PATCH] Update legend_element.js --- mods/legend_element.js | 72 +++++++++++++++--------------------------- 1 file changed, 26 insertions(+), 46 deletions(-) diff --git a/mods/legend_element.js b/mods/legend_element.js index bea73e7e..22304670 100644 --- a/mods/legend_element.js +++ b/mods/legend_element.js @@ -1,61 +1,41 @@ elements.liquid_legend = { +color: "#13d644", +behavior: [ +"XX|XX|XX", +"M2|EX:15>radon,radon,radon,liquid_legend%0.4 AND DL%0.2|M2", +"M1|M1|M1", - color: "#13d644", + ], - behavior: behaviors.LIQUID, + temp: 300, - category: "energyliquids", + category: "energy liquids", - viscosity: 43, + state: "liquid", - state: "liquid", + density: 2000, - density: 720, - -}; - -behaviors.liquid_legend.tick = function(pixel) { - - if (tryMove(pixel, pixel.x, pixel.y+1)) { - - console.log("Moved!"); + excludeRandom: true, + +reactions: { + "magma": { "elem1": "armageddon", "elem2": null }, + "void": { "elem1": "light", "elm2": null }, } +runAfterLoad(function() { + if(enabledMods.includes("banana.js")) { + elements.banana_juice = { + color: "#e0f542", + temp: 800, - else { + category: "food", - console.log("Couldn't move!") + state: "liquid", - } + density: 200, -}; - -if (!elements.liquid_legend.reactions) { - - elements.liquid_legend.reactions = {} - -} - -elements.liquid_legend.reactions.magma = { "elem1":null, "elem2":"armageddon" } - -elements.liquid_legend.reactions.radiation = { "elem1":null, "elem2":"fallout" } - -AfterLoad(function() { - - 6766 - - console.log("Hello World!"); + excludeRandom: true, + } + }); - -if (enabledMods.includes("test.js")) { - - runAfterLoad(function() { - - 6766 - - console.log("Hello World!"); - - }); - -}