Skip to content

Commit

Permalink
Updated bere.js
Browse files Browse the repository at this point in the history
Corrected errors
  • Loading branch information
KeshaEnakentiivich authored Nov 9, 2024
1 parent 3a2461b commit e1fc558
Showing 1 changed file with 69 additions and 11 deletions.
80 changes: 69 additions & 11 deletions mods/bere.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,83 @@
console.log("Welcome!")

elements.electron = {
color: "#faffa1",
behavior: behaviors.GAS,
category: "energy",
state: "solid",
state: "gas",
reactions: {
"ash": { elem1: "acid_gas", elem2: "neutron" }
"battery": { elem1: "bomb", elem2: "neutron" }
"greek_fire": { elem1: "fire", elem2: "neutron" }
"wire": { elem1: "steel", elem2: "neutron" }
"vine": { elem1: "plant", elem2: "neutron" }
"wood": { elem1: "acid_gas", elem2: "neutron" }
"glass": { elem1: "potassium", elem2: "neutron" }
"stained_glass": { elem1: "potassium", elem2: "glass" }
"ash": { "elem1": "acid_gas" }
"battery": { "elem1": "bomb" }
"greek_fire": { elem1: "fire" }
"wire": { "elem1": "steel" }
"vine": { "elem1": "plant" }
"wood": { "elem1": "acid_gas" }
"glass": { "elem1": "potassium" }
"stained_glass": { "elem1": "potassium" }
},
};

elements.iodum = {
color: "#4d4218",
color: ["#4d4218","#ffca00"],
behavior: behaviors.LIQUID,
category: "liquids",
state: "solid",
tempHigh: 94.1,
stateHigh: "iodum_gas",
reactions: {
"concrete": { "elem1": "ash", "chance": 0.6 }
},
};

elements.iodum_gas = {
color: ["#4d4218","#ffca00"],
behavior: behaviors.GAS,
category: "states",
state: "gas",
tempLow: 21,
stateLow: "iodum",
reactions: {
"ash": { "elem1": "steam" }
"cloud": { "elem1": "ozone" }
"rain_cloud": { "elem1": "oxygen" }
},
};

elements.salvador_powder = {
color: ["#484742","#3b3b3b","#cfccc0","#56544d","#ffe994"],
behavior: behaviors.POWDER,
category: "powders",
state: "solid",
burn: 5,
burnTime: 30,
burnInto: ["bless"],
tempHigh: 53.6,
stateHigh: "salvador_water",
tempLow: -7,
stateLow: "god_ray",
reactions: {
"rad_cloud": { "elem1": "bless" }
"cloud": { "elem1": "ozone", "chance": 0.2 }
"radiation": { "elem1": "water" }
"dirt": { "elem1": "mud" }
"basalt": { "elem1": "gravel", "chance": 0.4 }
},
};

elements.salvador_water = {
color: ["#2986cc","#16537e","#0086ff","#9da0f7","#54aeff"],
behavior: behaviors.SUPERFLUID,
category: "liquids",
state: "solid",
tempLow: 53.5,
stateLow: "salvador_powder",
density: 26,
reactions: {
"concrete": { elem1: "ash", elem2: null }
"rad_cloud": { "elem1": "bless" }
"cloud": { "elem1": "ozone", "chance": 0.2 }
"radiation": { "elem1": "water" }
"dirt": { "elem1": "mud" }
"basalt": { "elem1": "gravel", "chance": 0.4 }
"plague": { "elem1": "water" }
},
};

0 comments on commit e1fc558

Please sign in to comment.