Merge branch 'R74nCom:main' into main

This commit is contained in:
Nekonico 2025-03-15 12:18:08 -07:00 committed by GitHub
commit 41364c1a5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 490 additions and 439 deletions

View File

@ -287,6 +287,7 @@
<!----><tr><td class="modCat" colspan="3">Life & Nature</td></tr><!---->
<tr><td>apioforms_pre.js</td><td>An incomplete implementation of elements from the <a href="https://osmarks.net/apioform/">Apioform Game</a></td><td>Alice</td></tr>
<tr><td>baby.js</td><td>Adds various babies</td><td>Suss</td></tr>
<tr><td>bacteria_mod.js</td><td>Adds content from the <a href="https://www.curseforge.com/minecraft/mc-mods/bacterium">Bacterium Mod</a>: (Bacteria, Replacer B., Jammer Block)</td><td>Alice</td></tr>
<tr><td>bananas.js</td><td>Adds bananas and banana plants</td><td>Alice</td></tr>
<tr><td>biology.js</td><td>Adds various elements and functions that let you build your own organism.</td><td>Nekonico</td></tr>

View File

@ -3,7 +3,6 @@
runAfterLoad(function() {
console.log("Thanks for using aChefsDream2.js! -sqec")
console.log("You may find the prequel at aChefsDream.js")
})
var mods_to_include = ["mods/aChefsDream.js"]
@ -248,6 +247,8 @@ elements.saffron = {
stateHigh: ["ash", "smoke"],
}
// sugarcane
elements.sugarcane_plant = {
color: ["#fbc852","#dfad54"],
behavior: [
@ -324,4 +325,69 @@ elements.tea_leaves = {
state: "solid",
density: 1400,
isFood: true,
}
}
elements.cinnamon = {
color: "#986544",
reactions: {
"stench": { elem2:null, chance:0.25 },
"steam": { elem2:"fragrance", chance:0.1 },
"flea": { elem2:null, chance:0.01 },
"termite": { elem2:null, chance:0.01 },
"fly": { elem2:null, chance:0.01 },
"ant": { elem2:null, chance:0.01 },
"stink_bug": { elem2:null, chance:0.01 },
},
behavior: behaviors.STURDYPOWDER,
tempHigh: 300,
stateHigh: ["fire","smoke","smoke","smoke","ash"],
burn:10,
burnTime:300,
burnInto: ["fire","smoke","smoke","smoke","fragrance"],
category:"food",
state: "solid",
density: 1400,
isFood: true,
breakInto: "cinnamon_powder"
}
elements.cinnamon_powder = {
color: "#D2691E",
reactions: {
"stench": { elem2:null, chance:0.25 },
"steam": { elem2:"fragrance", chance:0.1 },
"flea": { elem2:null, chance:0.01 },
"termite": { elem2:null, chance:0.01 },
"fly": { elem2:null, chance:0.01 },
"ant": { elem2:null, chance:0.01 },
"stink_bug": { elem2:null, chance:0.01 },
},
behavior: behaviors.POWDER,
tempHigh: 300,
stateHigh: ["fire","smoke","smoke","smoke","ash"],
burn:10,
burnTime:300,
burnInto: ["fire","smoke","smoke","smoke","smoke","smoke","smoke","fragrance"],
category:"food",
state: "solid",
density: 1400,
isFood: true,
}
elements.cola_syrup = {
color: "#4f0e0e",
behavior: behaviors.LIQUID,
tempHigh: 170,
stateHigh: ["sugar","smoke","smoke"],
tempLow: -15,
category:"liquids",
state: "liquid",
viscosity: 15,
hidden: true,
density: 1400,
reactions: {
"seltzer": { elem1: ["cola_syrup", "cola_syrup", "foam"], elem2:"soda"},
"soda": { elem1: "foam", chance:0.001},
},
}
if (!elements.sugar_water.reactions) elements.sugar_water.reactions = {};
elements.sugar_water.reactions.lemon_juice = { elem1: "sugar_water", elem2: null, color1: "#fff7ba" }
if (!elements.sugar_water.reactions) elements.sugar_water.reactions = {};
elements.sugar_water.reactions.cinnamon_powder = { elem1: "cola_syrup", elem2: null }

View File

@ -1,14 +1,8 @@
//Hello, this is are a science mod, we're made several things that related to science, examples like...electron, particle accelerator, and of course, carbon monoxide! :D
//We made some things not scientific, so this mod is not too boring. ;)
//we're normal people, who is not as smart as a real scientist. so if you have suggestion, feedback, or criticism, please let us know, so we can make this mod being more accurate. ><
// discord account |
// |
// |
// v
// creator,leader,supervisor,coder,uploader = @carbon_monoxides6
// co-creator,co-coder,assistant,debugger = @salmonfishy (has exited from this mod project)
//Main version
//reminder for creator: human code is on index.html line 3242.
elements.carbon_monoxide = {
color: "#b5b5b5",
color: ["#b5b5b5", "#404040", "#2b2b2b",],
behavior: behaviors.GAS,
behaviorOn: [
"XX|XX|XX",
@ -24,16 +18,35 @@ elements.carbon_monoxide = {
tempLow: -192,
stateLow: "liquid_carbon_monoxide",
burntime: 5,
fireColor: ["#ff8833", "#ffad33", "#ffbe26", "#26baff", "#26e9ff", ],
burnInto: "carbon_dioxide", chance: 0.3,
darkText: true,
fireColor: "#ebba34",
reactions: {
"head": { elem2:"rotten_meat", chance:0.5 },
"body": { elem2:"rotten_meat", chance:0.5 },
"human": { elem2:"rotten_meat", chance:0.5 },
}
"head": { elem2: "rotten_meat", chance: 0.5, },
"body": { elem2:"rotten_meat", chance:0.5 },
"human": { elem2:"rotten_meat", chance:0.5 },
"worm": { elem2: "rotten_meat", chance:0.5 },
"bee": { elem2: "dead_bug", chance: 0.5 },
"ant": { elem2: "dead_bug", chance: 0.5 },
"flea": { elem2: "dead_bug", chance: 0.5 },
"spider": { elem2: "dead_bug", chance: 0.5 },
"fly": { elem2: "dead_bug", chance: 0.5 },
"stink_bug": { elem2: "dead_bug", chance: 0.5 },
"bird": { elem2: "rotten_meat", chance: 0.5 },
"frog": { elem2: "slime", chance: 0.5 },
"rat": { elem2: ["rotten_meat", "plague"], chance: 0.5 },
"fish": { elem2: "rotten_meat", chance: 0.5 },
"tadpole" : { elem2: "rotten_meat", chance: 0.5 },
"slug": { elem2: "slime", chance: 0.5 },
"snail": { elem2: "slime", chance: 0.5 },
"grass": { elem2: "dead_plant", chance: 0.5 },
"plant": { elem2: "dead_plant", chance: 0.5 },
"cactus": { elem2: "dead_plant", chance: 0.5 },
"petal": { elem2: "dead_plant", chance: 0.5 },
}
};
elements.liquid_carbon_monoxide = {
color: "#b5b5b5",
color: ["#b5b5b5", "#404040", "#2b2b2b",],
behavior: behaviors.LIQUID,
category: "liquids",
state: "liquid",
@ -47,7 +60,7 @@ elements.liquid_carbon_monoxide = {
stateHigh: "carbon_monoxide",
};
elements.ice_carbon_monoxide = {
color: "#b5b5b5",
color: ["#b5b5b5", "#404040", "#2b2b2b",],
behavior: behaviors.WALL,
category: "solids",
state: "solid",
@ -59,8 +72,7 @@ elements.ice_carbon_monoxide = {
};
elements.carbon_monoxide_detector = {
behavior: behaviors.WALL,
desc: "give red light and electric when found Carbon Monoxide touch",
color: "#ffffff",
color: [ "#ffffff", "#e0e0e0", "#cccbca", ],
reactions: {
"carbon_monoxide": {"charge1":1},
},
@ -75,144 +87,131 @@ elements.carbon_monoxide_detector = {
darkText: true,
hardness: 1,
};
elements.electrons = {
color: "#b80606",
behavior: [
"XX|SH|XX", // shocks (adds charge)
"SH|DL%0.25|SH",
"XX|SH|XX",
],
tick: behaviors.BOUNCY,
temp: 20,
category: "energy",
state: "gas",
density: 0.000003,
ignoreAir: true,
};
elements.gelatin = {
behavior: behaviors.SOLID,
category: "food",
state: "solid",
color: "#faf8ca",
state: "powder",
density: 1.2,
color: ["#ffe7b8","#fce2ac","#fcf2dc"],
breakInto: "gelatin_powder",
ignoreAir: true,
isFood: true,
reactions: {
"water": { elem2: "jelly", },
"pool_water": { elem2: "jelly", },
"salt_water": { elem2: "jelly", }
}
};
elements.gelatin_powder = {
behavior: behaviors.POWDER,
category: "food",
state: "powder",
density: 1.2,
state: ["#ffe7b8","#fce2ac","#fcf2dc"],
color: "#edeb9f",
hidden: true,
ignoreAir: true,
isFood: true,
};
elements.blueberries = {
behavior: behaviors.POWDER,
category: "food",
state: "solid",
color: ["#464196","#2e2b64"],
breakInto: "blueberries_juice",
ignoreAir: true,
isFood: true,
reactions: {
"sugar": { elem1: "blueberries_jam" },
},
};
elements.blueberries_juice = {
behavior: behaviors.LIQUID,
category: "food",
state: "liquid",
color: "#1f1c42",
hidden: true,
tempHigh: 170,
stateHigh: ["steam","sugar"],
reactions: {
ignoreAir: true,
isFood: true,
"gelatin": { elem1: "blueberries_jelly", elem2: null },
"gelatin_powder": { elem1: "blueberries_jelly", elem2: null },
},
};
elements.blueberries_jam = {
behavior: behaviors.LIQUID,
category: "food",
viscosity: 5000,
state: "liquid",
tempHigh: 200,
stateHigh: ["smoke","sugar"],
color: "#080629",
hidden: true,
ignoreAir: true,
isFood: true,
};
elements.blueberries_jelly = {
behavior: behaviors.LIQUID,
category: "food",
viscosity: 200000,
state: "liquid",
color: "#59559e",
hidden: true,
tempHigh: 200,
stateHigh: ["smoke","sugar"],
tempLow: -5,
stateLow: ["sugar_ice","sugar_ice","juice_ice"],
ignoreAir: true,
isFood: true,
};
reactions: {
"water": { elem2: "jelly", },
"pool_water": { elem2: "jelly", },
"salt_water": { elem2: "jelly", }
}
};
elements.fallout_drum = {
behavior: behaviors.WALL,
behavior: [
["XX","CR:radiation%25","XX"],
["CR:radiation%25","XX","CR:radiation%25"],
["XX","CR:radiation%25","XX"]
],
category: "radiated",
state: "solid",
density: 9000,
color: "#e3cc34",
conduct: 1,
tempHigh: 2500,
stateHigh: ["aluminum","radiated_water","radiated_water","fallout"],
breakInto: ["fallout","fallout"],
reactions: {
"water": { elem1:"fallout_drum", elem2:"radiated_water" },
"water": { elem1:"fallout_drum", elem2:"radiated_water" },
"dna": { elem2: "cancer", },
"cell": { elem2: "cancer", },
}
};
elements.radiated_water = {
behavior: behaviors.LIQUID,
behavior: [
"XX|CR:radiation%2.5|XX",
"M2 AND CR:radiation%2.5|CH:radiation%0.2|M2 AND CR:radiation%2.5",
"M1|M1|M1",
],
category: "radiated",
state:"liquid",
density :1300,
color: ["#23d959","#29d65d"],
hidden: true,
tempHigh: 140,
stateHigh: "polluted_air",
conduct: 1,
stateHigh: "radiated_air",
tempLow: -6,
stateLow: "rad_ice",
reactions: {
"human": { elem2:"rotten_meat" },
"body": { elem2:"rotten_meat" },
"head": { elem2:"ash" },
"bird": { elem2:"rotten_meat"},
"cell": { elem2:"cancer"},
"worm": { elem2:"rotten_meat"},
"head": { elem2: ["rotten_meat","ash","plague"], },
"body": { elem2:"rotten_meat", },
"human": { elem2:"rotten_meat", },
"worm": { elem2: "rotten_meat", },
"bee": { elem2: "dead_bug", },
"ant": { elem2: "dead_bug", },
"flea": { elem2: "dead_bug", },
"spider": { elem2: "dead_bug", },
"fly": { elem2: "dead_bug", },
"stink_bug": { elem2: "dead_bug", },
"bird": { elem2: "rotten_meat", },
"frog": { elem2: "slime", },
"rat": { elem2: ["rotten_meat", "plague"], },
"fish": { elem2: "rotten_meat", },
"tadpole" : { elem2: "rotten_meat", },
"slug": { elem2: "slime", },
"snail": { elem2: "slime", },
"grass": { elem2: "dead_plant", },
"plant": { elem2: "dead_plant", },
"cactus": { elem2: "dead_plant", },
"petal": { elem2: "dead_plant", },
"cell": { elem2: "cancer", },
"dna": { elem2: null, },
}
};
elements.polluted_air = {
elements.radiated_air = {
behavior: behaviors.DGAS,
category: "radiated",
state:"gas",
density :10,
color: ["#60f53b","#65ba50"],
reactions: {
"body": { elem2:"rotten_meat" },
"head": { elem2:"rotten_meat" },
"human": { elem2:"rotten_meat" },
"bird": { elem2:"rotten_meat" },
"cell": { elem2:"cancer" },
"water": { elem1: null, elem2: "radiated_water" },
"worm": { elem2: ["ash","cancer"] },
"flea": { elem2: "ash" },
"seed": {elem2: "dead_plant" },
"plant": {elem1: null, chance:0.5, elem2: "dead_plant", chance:0.5 },
"head": { elem2: ["rotten_meat","ash","plague"], },
"body": { elem2:"rotten_meat", },
"human": { elem2:"rotten_meat", },
"worm": { elem2: "rotten_meat", },
"bee": { elem2: "dead_bug", },
"ant": { elem2: "dead_bug", },
"flea": { elem2: "dead_bug", },
"spider": { elem2: "dead_bug", },
"fly": { elem2: "dead_bug", },
"stink_bug": { elem2: "dead_bug", },
"bird": { elem2: "rotten_meat", },
"frog": { elem2: "slime", },
"rat": { elem2: ["rotten_meat", "plague"], },
"fish": { elem2: "rotten_meat", },
"tadpole" : { elem2: "rotten_meat", },
"slug": { elem2: "slime", },
"snail": { elem2: "slime", },
"grass": { elem2: "dead_plant", },
"plant": { elem2: "dead_plant", },
"cactus": { elem2: "dead_plant", },
"petal": { elem2: "dead_plant", },
"cell": { elem2: "cancer", },
"dna": { elem2: null, },
},
};
@ -226,7 +225,7 @@ color: "#808080",
reactions: {
"fallout": {"charge1":1},
"radiated_water": {"charge1":1},
"polluted_air": {"charge1":1},
"radiated_air": {"charge1":1},
"radiation": {"charge1":1},
"rad_snow": {"charge1":1},
"rad_rock": {"charge1":1},
@ -234,10 +233,15 @@ reactions: {
};
elements.radiated_metal = {
behavior: behaviors.WALL,
behavior: [
["XX","CR:radiation%25","XX"],
["CR:radiation%25","XX","CR:radiation%25"],
["XX","CR:radiation%25","XX"]
],
category: "radiated",
state:"solid",
density :2045,
conduct: 1,
color: ["#5e705a","#83ab7b","#474747"],
tempHigh: 1440,
stateHigh: ["molten_nickel","molten_iron","molten_tin","fallout"],
@ -248,7 +252,11 @@ reactions: {
};
elements.rad_ice = {
behavior: behaviors.WALL,
behavior: [
["XX","CR:radiation%25","XX"],
["CR:radiation%25","XX","CR:radiation%25"],
["XX","CR:radiation%25","XX"]
],
category: "radiated",
state:"solid",
density: 1905,
@ -264,7 +272,10 @@ reactions: {
}
elements.rad_snow = {
behavior: behaviors.POWDER,
behavior: [
"XX|CR:radiation%2|XX",
"CR:radiation%2|XX|CR:radiation%2",
"M2|M1|M2", ],
category: "radiated",
state:"powder",
density: 1500,
@ -275,7 +286,10 @@ stateHigh: "radiated_water",
};
elements.rad_rock = {
behavior: behaviors.POWDER,
behavior: [
"XX|CR:radiation%2|XX",
"CR:radiation%2|XX|CR:radiation%2",
"M2|M1|M2", ],
category: "land",
state: "powder",
density: 2790,
@ -312,267 +326,14 @@ tempHigh: 1250,
stateHigh: ["fallout","molten_plastic","steam"],
reactions: {
"radiated_water": {elem2:"water" },
"polluted_air": {elem2: "oxygen"},
"radiated_air": {elem2: "oxygen"},
"rad_snow": {elem2: "snow"},
"rad_rock": {elem2: "rock"},
"radiated_metal": {elem2: ["nickel","tin","iron"], },
"fallout": {elem2: "rock", },
"radiation": { elem2: null, },
}
};
elements.rad_meat = {
behavior: behaviors.STURDYPOWDER,
category: "food",
state: "solid",
density: 1500,
color: ["#e8fc03","#f0b446","#92f046"],
tempHigh: 120,
stateHigh: ["rotten_meat","fallout"],
tempLow:-12,
stateLow: ["frozen_meat","radiation"],
reactions: {
"water": {elem2: "radiated_water", chance:0.4},
"salt_water": { elem2: "radiated_water" },
}
};
elements.lemon = {
behavior: behaviors.POWDER,
category: "food",
state: "powder",
density: 800,
color: ["#f9f934", "#f1ee20",],
tempHigh: 90,
stateHigh: "hot_lemon",
tempLow: -2,
stateLow: "wrinkled_lemon",
burn: 120,
burntime: 600,
burnInto: "ash",
breakInto: [ "lemon_water", "lemon_zest", ],
reactions: {
"water": { elem2: "lemon_water", chance:0.2},
"salt_water": { elem2: [ "lemon_water", "water",] },
"dirty_water": { elem1: "rotten_lemon", },
"soda": { elem2: "lemon_soda", },
"head": { elem1: "saliva", chance:0.75},
"milk": { elem2: "lemon_milk", },
"tea": { elem2: "lemon_tea", },
"poison": { elem2: "rotten_lemon", },
}
};
elements.hot_lemon = {
behavior: behaviors.POWDER,
state: "powder",
category: "food",
hidden: true,
density: 820,
color: ["#8a6d1e","#70661a",],
hidden: true,
temp: 90,
tempHigh: 200,
stateHigh: "fire",
tempLow: 30,
stateLow: "wrinkled_lemon",
burn: 120,
burntime: 600,
burnInto: "ash",
reactions: {
"water": { elem2: "lemon_water", },
}
};
elements.wrinkled_lemon = {
behavior: behaviors.POWDER,
color: ["#999543","#a6a03a",],
state: "powder",
category: "food",
tempHigh: 90,
stateHigh: "hot_lemon",
hidden: true,
burn: 120,
burntime: 600,
burnInto: "ash",
reactions: {
"water": { elem2: "lemon_water", chance: 0.2,
}
}
};
elements.coolant = {
color: "#0eebeb",
behavior: [
"XX|CO:4|XX",
"CO:4|HT:1|CO:4",
"XX|CO:4|XX",
],
category: "liquids",
state: "liquid",
insulate: true,
density: 1000,
darkText: false,
tempHigh: 500,
hidden: true,
stateHigh: "steam",
};
elements.arkycite = {
color: "#46ab63",
behavior: behaviors.LIQUID,
category: "liquids",
state: "liquid",
density: 997,
darkText: false,
tempHigh: 400,
hidden: true,
burn: 40,
stateHigh: "fire",
burntime: 500,
};
elements.lemon_water = {
color: ["#faec52","#faee69",],
behavior: behaviors.LIQUID,
category: "liquids",
state: "liquid",
density: 900,
tempHigh: 100,
stateHigh: ["steam","fragrance",],
hidden: true,
tempLow: -10,
stateLow: "lemon_ice",
reactions: {
"balloon": { elem2: "helium", chance: 0.5, },
"head": { elem1: "saliva", chance: 0.2, },
}
};
elements.lemon_zest = {
color: ["#ded254","#ccc03d",],
behavior: behaviors.POWDER,
category: "trashes",
state: "powder",
density: 1000,
hidden: true,
tempHigh: 350,
stateHigh: "fire",
breakInto: "lemon_water",
burn: 60,
burntime: 200,
burnInto: "smoke"
};
elements.saliva = {
color: ["#a6f5f0","#b6f0ec",],
behavior: behaviors.LIQUID,
category: "liquids",
state: "liquid",
density: 1280,
tempHigh: 105,
stateHigh: ["steam","fragrance"],
tempLow: -5,
stateHigh: "saliva_ice",
reactions: {
"water": { elem1: null, chance: 0.5, elem2: "dirty_water", chance: 0.5,
}
}
};
elements.lemon_milk = {
color: ["#f5f2c4","#f7f4b2",],
behavior: behaviors.LIQUID,
category: "liquids",
state: "liquid",
density: 1002,
tempHigh: 500,
stateHigh: "smoke",
tempLow: -2,
stateLow: "frozen_yogurt",
stateLowColor: ["#f5f3cb","#f7f5bc"],
reactions: {
"cell": { elem1: "yogurt", },
}
};
elements.lemon_soda = {
color: ["#f5c842","#edcc68",],
behavior: behaviors.LIQUID,
category: "liquids",
state: "liquid",
density: 1240,
tempHigh: 140,
stateHigh: ["carbon_dioxide", "smoke",],
reactions: {
"poison": { elem1: null, }
}
};
elements.saliva_ice = {
color: ["#97fcfb","#bcf7f6",],
behavior: behaviors.SOLID,
category: "states",
state: "solid",
density: 1300,
tempHigh: 5,
stateHigh: "saliva",
};
elements.lemon_tea = {
color: ["#dec85b","#edd351",],
behavior: behaviors.LIQUID,
category: "liquids",
state: "liquid",
density: 1580,
tempHigh: 280,
stateHigh: ["fragrance","smoke","smoke",],
tempLow: -2,
stateLowColor: ["#e8cf8b","#f0dca5",],
stateLow: "tea_ice",
reactions: {
"sugar": { elem2: null, },
}
};
elements.rotten_lemon = {
color: ["#e3f283","#cdcf6b"],
behavior: behaviors.POWDER,
category: "food",
state: "powder",
density: 1890,
tempHigh: 200,
stateHigh: ["stench","ash",],
reactions: {
"water": { elem2: "dirty_water" },
}
};
elements.cow = {
color: ["#d9d9d9","#616161",],
behavior: [
"XX|XX|XX",
"XX|FX%5.0|M2%5.0 AND BO",
"XX|M1|XX",],
category: "life",
state: "powder",
density: 2800,
tempHigh: 250,
stateHigh: "cooked_meat",
tempLow: -10,
stateLow: "frozen_meat",
reactions: {
"water": { elem2: null, chance: 0.2,},
"milk": { elem2: null, chance: 0.1, },
"alcohol": { elem2: null, chance: 0.21, },
"poison": { elem1: "rotten_meat", elem2: null, },
"grass": { elem2: null, },
"plague": { elem1: "rotten_meat", chance: 0.3, },
"worm": { elem2: null, },
"flea": { elem2: null, },
}
};
elements.hazmat_head = {
color: ["#404040","#1a1a1a","#737373"],
category: "life",
@ -581,7 +342,7 @@ elements.hazmat_head = {
state: "solid",
conduct: .05,
temp: 39,
tempHigh: 6500,
tempHigh: 3500,
stateHigh: ["ash","iron",],
tempLow: -180,
stateLow: "frozen_meat",
@ -701,7 +462,7 @@ elements.hazmat_body = {
state: "solid",
conduct: .25,
temp: 39,
tempHigh: 6500,
tempHigh: 3500,
stateHigh: ["metal_scrap","ash"],
tempLow: -180,
stateLow: "frozen_meat",
@ -721,7 +482,6 @@ elements.hazmat_body = {
"grass_seed": { elem2:null, chance:0.05 },
"gold_coin": { elem2:null, chance:0.05 },
"diamond": { elem2:null, chance:0.05 },
"sun": { elem1:"molten_tin", },
},
properties: {
dead: false,
@ -1092,9 +852,9 @@ elements.particle_accelerator_right = {
elements.accelerated_matter_left = {
color: ["#c0ecf0","#a8f8ff",],
behavior: [
"M2|XX|XX",
"M1 AND XX|XX|XX",
"M2|XX|XX",
"M2|EX:10|XX",
"M1 AND EX:10|XX|EX:10",
"M2|EX:10|XX",
],
hidden: true,
state: "gas",
@ -1110,9 +870,9 @@ elements.accelerated_matter_left = {
elements.accelerated_matter_right = {
color: ["#c0ecf0","#a8f8ff",],
behavior: [
"XX|XX|M2",
"XX|XX|M1 AND XX",
"XX|XX|M2",
"XX|EX:10|M2",
"EX:10|XX|M1 AND EX:10",
"XX|EX:10|M2",
],
hidden: true,
state: "gas",
@ -1126,3 +886,79 @@ elements.accelerated_matter_right = {
}
};
elements.phosgene = {
color: ["#dbdbdb","#f2f2f2","#c2c2c2", ],
behavior: behaviors.GAS,
state: "gas",
category: "gases",
density: 4.25,
tempLow: 7,
stateLow: "liquid_phosgene",
tempHigh: 300,
stateHigh: ["carbon_monoxide","chlorine",],
reactions: {
"head": { elem2: "rotten_meat", chance: 0.5, },
"body": { elem2:"rotten_meat", chance:0.5 },
"human": { elem2:"rotten_meat", chance:0.5 },
"worm": { elem2: "rotten_meat", chance:0.5 },
"bee": { elem2: "dead_bug", chance: 0.5 },
"ant": { elem2: "dead_bug", chance: 0.5 },
"flea": { elem2: "dead_bug", chance: 0.5 },
"spider": { elem2: "dead_bug", chance: 0.5 },
"fly": { elem2: "dead_bug", chance: 0.5 },
"stink_bug": { elem2: "dead_bug", chance: 0.5 },
"bird": { elem2: "rotten_meat", chance: 0.5 },
"frog": { elem2: "slime", chance: 0.5 },
"rat": { elem2: ["rotten_meat", "plague"], chance: 0.5 },
"fish": { elem2: "rotten_meat", chance: 0.5 },
"tadpole" : { elem2: "rotten_meat", chance: 0.5 },
"slug": { elem2: "slime", chance: 0.5 },
"snail": { elem2: "slime", chance: 0.5 },
"grass": { elem2: "dead_plant", chance: 0.5 },
"plant": { elem2: "dead_plant", chance: 0.5 },
"cactus": { elem2: "dead_plant", chance: 0.5 },
"petal": { elem2: "dead_plant", chance: 0.5 },
"water": { elem2: ["acid", "carbon_dioxide",] },
"salt_water": { elem2: ["acid", "carbon_dioxide",] },
}
}
elements.liquid_phosgene = {
color: ["#dbdbdb","#f2f2f2","#c2c2c2", ],
behavior: behaviors.LIQUID,
state: "liquid",
category: "states",
density: 7.50,
tempLow: -118,
temp: -10,
stateLow: "solid_phosgene",
tempHigh: 8,
stateHigh: "phosgene",
}
elements.solid_phosgene = {
color: ["#dbdbdb","#f2f2f2","#c2c2c2", ],
behavior: behaviors.WALL,
state: "solid",
category: "states",
density: 12.45,
temp: -150,
tempHigh: -117,
stateHigh: "liquid_phosgene",
}
elements.chlorophyll = {
color: ["#208556","#2fa16b"],
behavior: behaviors.POWDER,
state: "powder",
category: "powders",
density: 1.1,
tempHigh: 250,
stateHigh: "carbon_dioxide",
burn: 10,
burnTime: 500,
burnInto: "carbon_dioxide",
tempLow: -114,
stateLow: "dead_plant",
reactions: {
"light": { elem1: null, chance: 0.2, elem2: null, chance: 0.2, },
"acid": { elem1: ["magnesium"], }
}
}

65
mods/baby.js Normal file
View File

@ -0,0 +1,65 @@
// mod by suss
// this took me a tiny bit to make
// also, why are you even reading the comments unless youre viewing the pr or smth
// guh
elements.baby = {
color: ["#f3e7db","#f7ead0","#eadaba","#d7bd96","#a07e56","#825c43","#604134","#3a312a"],
behavior: [
"XX|XX|XX",
"M2%3|XX|M2%3",
"XX|M1|XX",
],
category: "life",
breakInto: ["meat", "meat", "blood"],
state: "solid",
tempHigh: 120,
tempLow: -20,
stateHigh: "ash_baby",
stateLow: "frozen_meat",
density: 1050,
reactions: {
"infection": {func: function(pixel1, pixel2){pixel2.element = "coughing_baby"}},
"cancer": {func: function(pixel1, pixel2){pixel2.element = "coughing_baby"}},
"plague": {func: function(pixel1, pixel2){pixel2.element = "coughing_baby"}},
"magical_growth_stuff_that_sometimes_also_changes_the_humans_race": { "elem1":null, "elem2":"human" },
"milk": { "elem2":null }
}
};
// hydrogen bomb versus coughing baby
elements.coughing_baby = {
color: ["#f3e7db","#f7ead0","#eadaba","#d7bd96","#a07e56","#825c43","#604134","#3a312a"],
behavior: [
"XX|XX|XX",
"M2%3|EX:10>infection,plague,cancer%0.1|M2%3",
"XX|M1|XX",
],
category: "life",
breakInto: ["meat", "blood", "blood", "meat", "meat", "infection", "plague", "cancer"],
state: "solid",
density: 1050,
hidden: true,
reactions: {
"antibody": {func: function(pixel1, pixel2){pixel2.element = "baby"}},
"magical_growth_stuff_that_sometimes_also_changes_the_humans_race": { "elem1":null, "elem2":"explosion" }
}
};
elements.magical_growth_stuff_that_sometimes_also_changes_the_humans_race = {
color: ["#b5ffe1","#93e5ab","#65b981","d8f3dc"],
behavior: behaviors.POWDER,
category: "life",
density: 6969,
state: "solid",
};
// peak
elements.ash_baby = {
color: "#333333",
behavior: behaviors.POWDER,
state: "solid",
tempHigh: 121,
stateHigh: "ash",
category: "life",
density: 1050,
hidden: true,
};

View File

@ -8,43 +8,57 @@ elements.mars_gunk = {
stain: 0.7
}
elements.mars_dust = {
color: ["#ab2a20","#c53227"],
behavior: behaviors.POWDER,
category: "mars",
state: "solid",
density: 1602,
tempHigh: 500,
hardness: 0.975,
stateHigh: "molten_mars",
tempLow: -170,
stateLow: "mars_rock",
color: ["#ab2a20", "#c53227"],
behavior: behaviors.POWDER,
category: "mars",
state: "solid",
density: 1602,
tempHigh: 500,
hardness: 0.975,
stateHigh: "molten_mars",
tempLow: -170,
stateLow: "mars_rock",
extraInfo: "Dust Samples from mars. Can freeze into Mars Rock.",
hardness: 0.991,
breakInto: "mars_debris"
}
elements.mars_basalt = {
color: ["#1C1B1C", "#CECECE", "#70703d", "#828282"],
behavior: behaviors.POWDER,
category: "mars",
state: "solid",
density: 5000,
extraInfo: "Woah",
tempHigh: "molten_mars",
stateHigh: "600",
hardness: 0.7,
breakInto: ["mars_dust", "mars_rock", "mars_rock", "mars_rock", "molten_mars", "mars_debris", "mars_debris", "gunk", "mars_rock_wall"]
}
elements.molten_mars = {
color: "#ffc338",
behavior: behaviors.MOLTEN,
category: "mars",
state: "liquid",
hidden: "true",
color: "#ffc338",
behavior: behaviors.MOLTEN,
category: "mars",
state: "liquid",
hidden: "true",
extraInfo: "The Result of Burnt-up mars stuff. Some turn into this faster more than others.",
temp: 2500,
density: 1150
density: 1150,
tempLow: -50,
stateLow: "mars_basalt"
}
elements.mars_rock = {
color: ["#a51002","#bd1102"],
behavior: behaviors.STURDYPOWDER,
category: "mars",
state: "solid",
density: 1605,
tempHigh: 800,
hardness: 0.75,
stateHigh: "molten_mars",
breakInto: "mars_dust",
tempLow: -273,
stateLow: "mars_rock_wall",
extraInfo: "The Freezing of Mars Dust. Can be used for normal land."
color: ["#a51002", "#bd1102"],
behavior: behaviors.STURDYPOWDER,
category: "mars",
state: "solid",
density: 1605,
tempHigh: 800,
hardness: 0.75,
stateHigh: "molten_mars",
breakInto: "mars_dust",
tempLow: -273,
stateLow: "mars_rock_wall",
extraInfo: "The Freezing of Mars Dust. Can be used for normal land."
}
elements.mars_debris = {
color: "#ff9999",
@ -54,32 +68,34 @@ elements.mars_debris = {
density: 1605,
burn: 94,
burnTime: 45,
burnInto: "ash"
burnInto: "ash",
tempHigh: 0,
stateHigh: "fire"
}
elements.support_mars_rock = {
color: ["#a51002","#bd1102"],
behavior: behaviors.SUPPORTPOWDER,
category: "mars",
state: "solid",
density: 800,
tempHigh: 150,
hardness: 0.9,
stateHigh: "molten_mars",
breakInto: "mars_rock",
hidden: "true",
extraInfo: "Mars Rock but Support Powder."
color: ["#a51002", "#bd1102"],
behavior: behaviors.SUPPORTPOWDER,
category: "mars",
state: "solid",
density: 800,
tempHigh: 150,
hardness: 0.9,
stateHigh: "molten_mars",
breakInto: "mars_rock",
hidden: "true",
extraInfo: "Mars Rock but Support Powder."
}
elements.mars_rock_wall = {
color: ["#591813","#bd1102"],
behavior: behaviors.WALL,
category: "mars",
state: "solid",
density: 20,
tempHigh: 2500,
hardness: 0.35,
stateHigh: "mars_dust",
breakInto: "mars_rock",
extraInfo: "The Freezing of Mars Rock. A wall that keeps the Earthlings Away!"
color: ["#591813", "#bd1102"],
behavior: behaviors.WALL,
category: "mars",
state: "solid",
density: 20,
tempHigh: 2500,
hardness: 0.35,
stateHigh: "mars_dust",
breakInto: "mars_rock",
extraInfo: "The Freezing of Mars Rock. A wall that keeps the Earthlings Away!"
}
elements.mars_ironheart_ore = {
color: ["#e8e8e8", "#bd1102"],
@ -108,11 +124,11 @@ elements.mars_ironheart = {
reactions: {
"mars_furnace": { elem1: "ironheart", elem2: "ironheart" },
"nosmoker": { elem1: "ironheart", elem2: "ironheart" },
"ironheart": { elem1: "ironheart", elem2: "ironheart" , chance:0.1 }
},
"ironheart": { elem1: "ironheart", elem2: "ironheart", chance: 0.1 }
},
}
elements.mars_furnace = {
color: ["#870002","#870507"],
color: ["#870002", "#870507"],
behavior: [
"XX|CR:mars_gunk%8|XX",
"XX|XX|XX",
@ -195,7 +211,31 @@ elements.mars_water = {
behavior: behaviors.LIQUID,
category: "mars",
state: "liquid",
density: 997
density: 997,
tempLow: -30,
stateLow: "mars_ice",
stain: 0.05
}
elements.mars_ice = {
color: "#f2b5c0",
behavior: behaviors.WALL,
category: "mars",
state: "solid",
density: 997,
tempHigh: 35,
stateHigh: "mars_water",
hardness: 0.5,
breakInto: "mars_water",
extraInfo: "its rock solid!"
}
elements.mars_steam = {
color: "#ffffff",
behavior: behaviors.DGAS,
category: "mars",
state: "gas",
tempLow: -100,
stateLow: "mars_water",
extraInfo: "choo choo"
}
elements.testy = {
color: "#FFFFFF",
@ -217,8 +257,7 @@ elements.o2_tank = {
stateHigh: "molten_copper",
breakInto: ["copper", "oxygen"]
}
// 1.7.12
// 1.9.15
// most elements done :D
// iron heart ore
// iron heart
@ -239,3 +278,10 @@ elements.o2_tank = {
// O2 BE YOU
// mars water
// removed legacy liquid mars dust
// mars water 2
// so like a week ago i made smelting ironheart easier
// basalt and stuff
// wow! mars ice
// and steam
// also mars_debris got updated
// they burn a lot

37
mods/stainless_steel.js Normal file
View File

@ -0,0 +1,37 @@
// obtaining chromium (makes chrome)
elements.magma.stateLow = ["rock", "basalt", "basalt", "basalt", "chromite"];
// chrome
elements.chromite = {
color: ["#372d38", "#6e6e6e"],
behavior: behaviors.POWDER,
state: "solid",
category: "powders",
tempHigh: 2180,
stateHigh: "magma",
};
// stainless steel
elements.stainless_steel = {
color: "#454545",
behavior: behaviors.WALL,
state: "solid",
category: "solids",
tempHigh: 1510,
};
// chrome
elements.chrome = {
color: "#c4c4c4",
behavior: behaviors.WALL,
state: "solid",
category: "solids",
tempHigh: 1900,
reactions: {
"molten_steel": { elem2:"molten_stainless_steel", tempMin:1800, tempMax:2000 }
},
alias: "chromium",
};
// obtaining chrome (makes stainless steel)
elements.molten_aluminum.reactions.chromite = { elem2:"chrome", tempMin:1000, tempMax:1200, chance:0.1 };