From 8190d24e52001433e383db50741077d6ff434eec Mon Sep 17 00:00:00 2001 From: StellarX20 <97905447+StellarX20@users.noreply.github.com> Date: Thu, 20 Jul 2023 12:48:54 -0400 Subject: [PATCH 1/2] Renamed Test to Testium, removed toxin and dead. --- mods/Neutronium Mod.js | 48 +----------------------------------------- 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/mods/Neutronium Mod.js b/mods/Neutronium Mod.js index 65993299..de8ab3ab 100644 --- a/mods/Neutronium Mod.js +++ b/mods/Neutronium Mod.js @@ -6,6 +6,7 @@ let rPOWDER = behaviors.POWDER console.log("Welcome to the console."); console.log(rPOWDER); elements.test = { + name: "Testium", color: "#ff0000", behavior: behaviors.POWDER, category: "land", @@ -972,46 +973,6 @@ tempLow: 1668, temp: 2000, viscosity: 10000 }; -elements.toxin = { -color: "#07f71b", -category: "liquids", -state: "liquid", -behavior: behaviors.LIQUID, -stateLow: "toxic_ice", -tempLow: -10, -stateHigh: "toxic_gas", -tempHigh: 115, -reactions: { - "water": { "elem1":null, "elem2":"toxic_water" }, -}, -}; -lifeArray = ["plant", "dead_plant", "frozen_plant", "grass", "algae", "cell", "cancer", "flea", "termite", "ant", "worm", "fly", "firefly", "bee", "human", "body", "head", "rat", "frog", "frozen_frog", "fish", "slug", "snail", "bone_marrow", "sapling", "seeds", "grass_seed", "wheat_seed", "wheat", "pollen", "flower_seed", "pistil", "petal", "vine", "bamboo", "bamboo_plant", "mushroom_spore", "mushroom_stalk", "mushroom_gills", "mushroom_cap", "hyphae", "lichen", "cellulose", "corn_seed", "potato_seed", "root", "berry_seed", "old_berry_leaf", "berry_leaf", "berry", "slime", "blood", "antibody", "infection", "meat", "rotten_meat", "frozen_meat", "yeast"] -if(!elements.toxin.reactions) { - elements.toxin.reactions = {} -} -for(i = 0; i < lifeArray.length; i++) { - elements.toxin.reactions[lifeArray[i]] = { "elem1":null, "elem2":"dead" } -}; -/* -// (Ignore this comment if it's not in another comment anymore) this whole area is a comment only because I don't want the game to try using useless code and (possibly) error out. -if(!elements.toxic_gas.reactions) { - elements.toxic_gas.reactions = {} -} -for(i = 0; i < lifeArray.length; i++) { - elements.toxic_gas.reactions[lifeArray[i]] = { "elem1":null, "elem2":"dead" } -}; -if(!elements.toxic_ice.reactions) { - elements.toxic_ice.reactions = {} -} -for(i = 0; i < lifeArray.length; i++) { - elements.toxic_ice.reactions[lifeArray[i]] = { "elem1":null, "elem2":"dead" } -}; -if(!elements.toxic_water.reactions) { - elements.toxic_water.reactions = {} -} -for(i = 0; i < lifeArray.length; i++) { - elements.toxic_water.reactions[lifeArray[i]] = { "elem1":null, "elem2":"dead" } -}; */ elements.laser_emitter = { color: "#8a8886", category: "machines", @@ -1032,13 +993,6 @@ behavior: behaviors.WALL, behaviorOn: behaviors.LASEREMITTER, conduct: 1, }; -elements.dead = { -color: "#a5a683", -category: "life", -state: "solid", -behavior: behaviors.POWDER, -density: 10, -}; elements.ilitium = { color: "#97baa7", category: "solids", From 7f74dda200bebf0324dba279ec4039cfeb589a76 Mon Sep 17 00:00:00 2001 From: StellarX20 <97905447+StellarX20@users.noreply.github.com> Date: Thu, 20 Jul 2023 13:14:51 -0400 Subject: [PATCH 2/2] Added more to testium --- mods/Neutronium Mod.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/mods/Neutronium Mod.js b/mods/Neutronium Mod.js index de8ab3ab..ffe8d9be 100644 --- a/mods/Neutronium Mod.js +++ b/mods/Neutronium Mod.js @@ -11,7 +11,46 @@ elements.test = { behavior: behaviors.POWDER, category: "land", state: "solid", + density: 15, + temp: 22, + tempHigh: 35, + stateHigh: "molten_testium", + reactions: { + "ilitium": { "elem1":"tralphium", "elem2":null }, + "nickel": { "elem1":"iron", "elem2":null }, + } +}; +elements.molten_testium = { + name:"Liquid Testium", + color:"#0000ff", + behavior: behaviors.LIQUID, + category: "liquids", + state: "liquid", density: 10, + temp: 50, + tempHigh: 450, + stateHigh: "testium_gas", + tempLow: 35, + stateLow: "test", + reactions: { + "ilitium": { "elem1":"tralphium", "elem2":null }, + "molten_nickel": { "elem1":"molten_iron", "elem2":null }, + }, +}; + +elements.testium_gas = { + name:"Liquid Testium", + color:"#00ff00", + behavior: behaviors.GAS, + category: "gases", + state: "gas", + density: 5, + temp: 525, + tempLow: 450, + stateLow: "molten_testium", + reactions: { + "ilitium": { "elem1":"helium", "elem2":null }, + }, }; elements.neutronium = { name: "Neutronium",