Renamed Test to Testium, removed toxin and dead.

This commit is contained in:
StellarX20 2023-07-20 12:48:54 -04:00 committed by GitHub
parent 1c944031d6
commit 8190d24e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 47 deletions

View File

@ -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",