From 5f91b8518e1c42039c3eb064f8a32e4d1644334b Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Fri, 17 Mar 2023 19:56:35 -0400 Subject: [PATCH] Version 1.8 - Cooking Update --- changelog.txt | 47 +- index.html | 1317 ++++++++++++++++++++++++++++++------------------- style.css | 1 + 3 files changed, 855 insertions(+), 510 deletions(-) diff --git a/changelog.txt b/changelog.txt index cd035eea..3c345ea5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,7 +3,52 @@ + Baking Update + More plans / suggestions at https://docs.google.com/document/u/4/d/1R8xljj_J-K5oU-9y4louwplQmM-ZBvUfXmhbgj5LYdk/edit -[Version 1.7.1 - January 8, 2022] +[Version 1.8 - March 17, 2023 - Cooking Update] + + Updated Donator list + + Butter + + Setting to disable reset warnings + + EWall, conductive wall + + Rock Wall + + Sodium Gas + [Dough and Batter] + + Batter, made from Flour and Yolk (Hidden) + + Can be mixed with any food to create a unique dough/batter + + Baked Batter (Hidden) + [Changes] + + Bones can break into Bone Marrow + + Acid dissolves Rocks into Sand + + Pyrocumulus forms in Rad Clouds + + Poison can kill Tree Branches + + Different cheese colors from milk variants + + Bleach and Yeast reaction + ~ Plasma no longer charged by default + ~ Sun, Stained Glass, Wires, Flash, and Explosions won't mix unless Shift is held + ~ Unhid Yolk + ~ Hid Cellulose + ~ Reordered Food category + ~ Tweaked Flour color + ~ Sodium has a bright yellow flame + ~ Sulfur Gas burns quickly + ~ Poison can kill Mushrooms + ~ Oxygen no longer flammable, but can be destroyed by fire + ~ Hydrogen and Oxygen now need heat to combine + ~ Milk from Udders comes out warm + - Removed Controls button as it is no longer needed + + Added link to Reddit + [Bug Fixes] + ~ Fixed: Heating trees causes odd growth patterns + ~ Fixed: Sodium freezing point too low + ~ Fixed: Molten Sodium missing reactions + ~ Fixed: Melted Wax default temperature too low + ~ Fixed: Inaccurate Mercury gas density + ~ Fixed: Humans superconductive + ~ Fixed: Canvas overflows on the right on mobile + [Technical] + + onMix element attribute function(pixel1,pixel2) + + isFood element attribute for dough/batter mixing + + stateHighColorMultiplier element attribute for batter + +[Version 1.7.1 - January 8, 2023] + Walls and Glass aren't affected by Mix unless holding Shift + Beans + Sodium Acetate can melt diff --git a/index.html b/index.html index faa87b39..bc949ffa 100644 --- a/index.html +++ b/index.html @@ -396,7 +396,7 @@ } eLists = { "ANIMAL": ["flea","ant","fly","firefly","bee","frog","fish","worm","termite","rat","slug","snail"], - "CLEANANIMAL": ["ant","firefly","bee","frog","fish"], + "CLEANANIMAL": ["ant","firefly","bee","frog","fish"] } airDensity = 1.225; // kg/m^3 @@ -437,7 +437,7 @@ ], temp: 2, category: "tools", - insulate:true, + insulate:true }, "cool": { //hard-coded color: "#0000ff", @@ -448,7 +448,7 @@ ], temp: -2, category: "tools", - insulate:true, + insulate:true }, "erase": { //hard-coded color: "#fdb5ff", @@ -457,7 +457,7 @@ "DL|DL|DL", "DL|DL|DL", ], - category: "tools", + category: "tools" }, "pick": { //hard-coded color: ["#fa9b9b","#fae99b","#9bfab7","#9b9dfa"], @@ -466,7 +466,7 @@ "CF|DL%5|CF", "CF|CF|CF", ], - category: "tools", + category: "tools" }, "mix": { //hard-coded color: ["#fff4b5","#a6a6a6"], @@ -475,12 +475,12 @@ "SW|DL%5|SW", "SW|SW|SW", ], - category: "tools", + category: "tools" }, "lookup": { //hard-coded color: ["#919c9c","#72abab","#919c9c"], behavior: behaviors.WALL, - category: "tools", + category: "tools" }, "shock": { //hard-coded color: "#ffff00", @@ -489,7 +489,7 @@ "SH|DL%5|SH", "SH|SH|SH", ], - category: "tools", + category: "tools" }, "paint": { color: ["#c27070","#c29c70","#c2c270","#70c270","#70c2c2","#7070c2","#c270c2"], @@ -507,7 +507,7 @@ } }, customColor: true, - category: "tools", + category: "tools" }, "unpaint": { color: ["#ffffff","#000000"], @@ -517,7 +517,7 @@ } }, ignore: ["color_sand","stained_glass"], - category: "tools", + category: "tools" }, "sand": { color: "#e6d577", @@ -541,7 +541,7 @@ state: "solid", density: 1602, hidden: true, - category: "land", + category: "land" }, "tick_wood": { color: "#a0522d", @@ -559,12 +559,12 @@ hardness: 0.15, breakInto: "sawdust", hidden: true, - category: "solids", + category: "solids" }, "tick_wall": { color: "#808080", category: "solids", - hidden: true, + hidden: true }, "tick_props": { color: "#ffffff", @@ -579,10 +579,10 @@ }, properties: { // Default properties to set when the pixel is created: "moves": 0, - "age": 0, + "age": 0 }, category: "powders", - hidden: true, + hidden: true }, */ "water": { @@ -599,23 +599,23 @@ "elem1": null, // First element transforms into; in this case, water deletes itself "elem2": "mud", // Second element transforms into; in this case, dirt turns to mud }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" }, "salt": { "elem1": "salt_water", "elem2": null }, - "sugar": { "elem1": "sugar_water", "elem2": null, }, - "dust": { "elem1": "dirty_water", "elem2": null, }, - "ash": { "elem1": "dirty_water", "elem2": null, }, - "cyanide": { "elem1": "dirty_water", "elem2": null, }, + "sugar": { "elem1": "sugar_water", "elem2": null }, + "dust": { "elem1": "dirty_water", "elem2": null }, + "ash": { "elem1": "dirty_water", "elem2": null }, + "cyanide": { "elem1": "dirty_water", "elem2": null }, "carbon_dioxide": { "elem1": "seltzer", "elem2": null, "oneway":true }, - "sulfur": { "elem1": "dirty_water", "elem2": null, }, + "sulfur": { "elem1": "dirty_water", "elem2": null }, "rat": { "elem1": "dirty_water", chance:0.005 }, - "plague": { "elem1": "dirty_water", "elem2": null, }, + "plague": { "elem1": "dirty_water", "elem2": null }, "rust": { "elem1": "dirty_water", chance:0.005 }, "fallout": { "elem1": "dirty_water", chance:0.25 }, "radiation": { "elem1": "dirty_water", chance:0.25 }, "uranium": { "elem1": "dirty_water", chance:0.25 }, "rotten_meat": { "elem1": "dirty_water", chance:0.25 }, "cancer": { "elem1": "dirty_water", chance:0.25 }, - "quicklime": { "elem1": null, "elem2": "slaked_lime", }, + "quicklime": { "elem1": null, "elem2": "slaked_lime" }, "rock": { "elem2": "wet_sand", "chance": 0.00035 }, "ruins": { "elem2": "rock", "chance": 0.00035 }, "mudstone": { "elem2": "mud", "chance": 0.00035 }, @@ -625,11 +625,23 @@ "firefly": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, "bee": { "elem2":"dead_bug", "chance":0.05, "oneway":true }, "stink_bug": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, + // electrolysis: + "aluminum": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.0025 }, + "zinc": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.015 }, + "steel": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.0125 }, + "iron": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.0125 }, + "tin": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.01 }, + "lead": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.01 }, + "brass": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.001 }, + "bronze": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.001 }, + "copper": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.0075 }, + "silver": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.0075 }, + "gold": { "elem1":["hydrogen","hydrogen","oxygen"], "charged":true, "chance":0.0075 }, }, state: "liquid", density: 997, conduct: 0.02, - stain: -0.5, + stain: -0.5 }, "salt_water": { color: "#4d85ff", @@ -641,29 +653,41 @@ category: "liquids", reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, - "dust": { "elem1": "dirty_water", "elem2": null, }, - "ash": { "elem1": "dirty_water", "elem2": null, }, - "carbon_dioxide": { "elem1": "dirty_water", "elem2": null, }, - "sulfur": { "elem1": "dirty_water", "elem2": null, }, + "sand": { "elem1": null, "elem2": "wet_sand" }, + "dust": { "elem1": "dirty_water", "elem2": null }, + "ash": { "elem1": "dirty_water", "elem2": null }, + "carbon_dioxide": { "elem1": "dirty_water", "elem2": null }, + "sulfur": { "elem1": "dirty_water", "elem2": null }, "charcoal": { "elem1": "dirty_water", chance:0.005 }, "rat": { "elem1": "dirty_water", chance:0.005 }, - "plague": { "elem1": "dirty_water", "elem2": null, }, + "plague": { "elem1": "dirty_water", "elem2": null }, "fallout": { "elem1": "dirty_water", chance:0.25 }, "radiation": { "elem1": "dirty_water", chance:0.25 }, "rust": { "elem1": "dirty_water", chance:0.005 }, - "quicklime": { "elem1": null, "elem2": "slaked_lime", }, + "quicklime": { "elem1": null, "elem2": "slaked_lime" }, "rock": { "elem2": "wet_sand", "chance": 0.0005 }, "fly": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, "firefly": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, "bee": { "elem2":"dead_bug", "chance":0.05, "oneway":true }, "stink_bug": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, "cancer": { "elem1": "dirty_water", chance:0.25 }, + // electrolysis: + "aluminum": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.0025 }, + "zinc": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.015 }, + "steel": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.0125 }, + "iron": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.0125 }, + "tin": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.01 }, + "lead": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.01 }, + "brass": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.001 }, + "bronze": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.001 }, + "copper": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.0075 }, + "silver": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.0075 }, + "gold": { "elem1":["hydrogen","hydrogen","oxygen","salt"], "charged":true, "chance":0.0075 }, }, state: "liquid", density: 1026, conduct: 0.1, - stain: -0.66, + stain: -0.66 }, "sugar_water": { color: "#8eaae6", @@ -675,14 +699,14 @@ category: "liquids", reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, - "dust": { "elem1": "dirty_water", "elem2": null, }, - "ash": { "elem1": "dirty_water", "elem2": null, }, - "carbon_dioxide": { "elem1": "soda", "elem2": null, }, - "sulfur": { "elem1": "dirty_water", "elem2": null, }, + "sand": { "elem1": null, "elem2": "wet_sand" }, + "dust": { "elem1": "dirty_water", "elem2": null }, + "ash": { "elem1": "dirty_water", "elem2": null }, + "carbon_dioxide": { "elem1": "soda", "elem2": null }, + "sulfur": { "elem1": "dirty_water", "elem2": null }, "charcoal": { "elem1": "dirty_water", chance:0.005 }, "rat": { "elem1": "dirty_water", chance:0.005 }, - "plague": { "elem1": "dirty_water", "elem2": null, }, + "plague": { "elem1": "dirty_water", "elem2": null }, "fallout": { "elem1": "dirty_water", chance:0.25 }, "radiation": { "elem1": "dirty_water", chance:0.25 }, "rust": { "elem1": "dirty_water", chance:0.005 }, @@ -691,12 +715,24 @@ "firefly": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, "bee": { "elem2":"dead_bug", "chance":0.05, "oneway":true }, "stink_bug": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, + // electrolysis: + "aluminum": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.0025 }, + "zinc": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.015 }, + "steel": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.0125 }, + "iron": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.0125 }, + "tin": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.01 }, + "lead": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.01 }, + "brass": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.001 }, + "bronze": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.001 }, + "copper": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.0075 }, + "silver": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.0075 }, + "gold": { "elem1":["hydrogen","hydrogen","oxygen","sugar"], "charged":true, "chance":0.0075 }, }, hidden: true, state: "liquid", density: 1026, conduct: 0.05, - stain: -0.45, + stain: -0.45 }, "seltzer": { color: ["#8eaae6","#82a4ed","#b5c5e8","#8eaae6","#82a4ed"], @@ -712,7 +748,7 @@ category: "liquids", reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" }, "rock": { "elem2": "wet_sand", "chance": 0.0004 }, "sugar": { "elem1": "soda", "elem2": "foam" }, "sugar_water": { "elem1": "soda", "elem2": "foam" }, @@ -720,12 +756,24 @@ "firefly": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, "bee": { "elem2":"dead_bug", "chance":0.05, "oneway":true }, "stink_bug": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, + // electrolysis: + "aluminum": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.0025 }, + "zinc": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.015 }, + "steel": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.0125 }, + "iron": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.0125 }, + "tin": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.01 }, + "lead": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.01 }, + "brass": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.001 }, + "bronze": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.001 }, + "copper": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.0075 }, + "silver": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.0075 }, + "gold": { "elem1":["hydrogen","hydrogen","oxygen","carbon_dioxide"], "charged":true, "chance":0.0075 }, }, hidden: true, state: "liquid", density: 1026.91, conduct: 0.05, - stain: -0.45, + stain: -0.45 }, "dirty_water": { color: ["#0e824e","#07755a","#0c6934"], @@ -738,7 +786,7 @@ category: "liquids", reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" }, "rock": { "elem2": "wet_sand", "chance": 0.0004 }, "plant": { "elem1":"water", "chance":0.05 }, "algae": { "elem1":"water", "chance":0.05 }, @@ -747,13 +795,13 @@ "fly": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, "firefly": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, "bee": { "elem2":"dead_bug", "chance":0.05, "oneway":true }, - "stink_bug": { "elem2":"dead_bug", "chance":0.1, "oneway":true }, + "stink_bug": { "elem2":"dead_bug", "chance":0.1, "oneway":true } }, hidden: true, state: "liquid", density: 1005, conduct: 0.1, - //stain: 0.03, + //stain: 0.03 }, "pool_water": { color: "#a8d2e3", @@ -765,7 +813,7 @@ category: "liquids", reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" }, "rock": { "elem2": "wet_sand", "chance": 0.001 }, "plant": { "elem2":"dead_plant", "chance":0.05 }, "evergreen": { "elem2":"dead_plant", "chance":0.05 }, @@ -789,13 +837,13 @@ "lichen": { "elem1":null, "chance":0.05 }, "dead_bug": { "elem1":null, "chance":0.001 }, "pollen": { "elem1":null }, - "root": { "elem1":"fiber", "chance":0.05 }, + "root": { "elem1":"fiber", "chance":0.05 } }, hidden: true, state: "liquid", density: 992.72, conduct: 0.15, - stain: -0.5, + stain: -0.5 }, "dirt": { //color: ["#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#9e6b4b","#a88c7b"], @@ -808,14 +856,14 @@ stateLow: "permafrost", category:"land", state: "solid", - density: 1220, + density: 1220 }, "mud": { color: "#382417", behavior: behaviors.STURDYPOWDER, reactions: { "dirt": { "elem1":"dirt", "elem2":"mud", "chance":0.0005, "oneway":true }, - "sand": { "elem1":"dirt", "elem2":"wet_sand", "chance":0.0005, "oneway":true }, + "sand": { "elem1":"dirt", "elem2":"wet_sand", "chance":0.0005, "oneway":true } }, tempHigh: 100, stateHigh: "mudstone", @@ -824,7 +872,7 @@ category: "land", state: "solid", density: 1730, - stain: 0.02, + stain: 0.02 }, "wet_sand": { color: ["#a19348","#b5a85e"], @@ -840,7 +888,7 @@ stateLow: "packed_sand", category: "land", state: "solid", - density: 1905, + density: 1905 }, "rock": { color: ["#808080","#4f4f4f","#949494"], @@ -851,7 +899,18 @@ state: "solid", density: 2550, hardness: 0.5, - breakInto: ["sand","gravel"], + breakInto: ["sand","gravel"] + }, + "rock_wall": { + color: ["#666666","#363636","#7a7a7a"], + behavior: behaviors.WALL, + tempHigh: 950, + stateHigh: "magma", + category: "land", + state: "solid", + density: 2550, + hardness: 0.5, + breakInto: "rock" }, "mudstone": { color: "#4a341e", @@ -863,7 +922,7 @@ category: "land", state: "solid", density: 1250, - breakInto: "dirt", + breakInto: "dirt" }, "packed_sand": { color: "#948b5a", @@ -873,7 +932,7 @@ category: "land", state: "solid", density: 1682, - breakInto: "sand", + breakInto: "sand" }, "plant": { color: "#00bf00", @@ -882,7 +941,7 @@ "vinegar": { "elem1":"dead_plant", "elem2":null, "chance":0.035 }, "baking_soda": { "elem1":"dead_plant", "elem2":null, "chance":0.01 }, "bleach": { "elem1":"dead_plant", "elem2":null, "chance":0.05 }, - "alcohol": { "elem1":"dead_plant", "elem2":null, "chance":0.035 }, + "alcohol": { "elem1":"dead_plant", "elem2":null, "chance":0.035 } }, category:"life", tempHigh: 100, @@ -912,7 +971,7 @@ burnTime:45, state: "solid", density: 1050, - hidden: true, + hidden: true }, "frozen_plant": { color: "#00bf8c", @@ -923,7 +982,7 @@ stateHigh: "dead_plant", state: "solid", density: 1050, - hidden: true, + hidden: true }, "grass": { color: ["#439809","#258B08","#118511","#127B12","#136D14"], @@ -992,7 +1051,7 @@ "wood": { "elem1":"lichen" }, "chlorine": { "elem1":"dead_plant", "elem2":null, "chance":0.035 }, "liquid_chlorine": { "elem1":"dead_plant", "elem2":null, "chance":0.035 }, - "baking_soda": { "elem1":"dead_plant", "elem2":null, "chance":0.035 }, + "baking_soda": { "elem1":"dead_plant", "elem2":null, "chance":0.035 } }, category:"life", tempHigh: 225, @@ -1012,7 +1071,7 @@ state: "solid", density: 2400, hardness: 0.5, - breakInto: "dust", + breakInto: "dust" }, "wall": { color: "#808080", @@ -1020,7 +1079,7 @@ category: "solids", insulate: true, hardness: 1, - noMix: true, + noMix: true }, "fire": { color: ["#ff6b21","#ffa600","#ff4000"], @@ -1032,6 +1091,7 @@ "dirty_water": { "elem1": "smoke" }, "salt_water": { "elem1": "smoke" }, "sugar_water": { "elem1": "smoke" }, + "oxygen": { "elem2": null, "chance":0.1 }, }, temp:600, tempLow:100, @@ -1045,7 +1105,7 @@ state: "gas", density: 0.1, ignoreAir: true, - noMix: true, + noMix: true }, "bomb": { color: "#524c41", @@ -1072,14 +1132,14 @@ "pyrocumulus": { "elem1": "cloud", "chance":0.4, "y":[0,12], "setting":"clouds" }, "fire_cloud": { "elem1": "cloud", "elem2": "pyrocumulus", "chance":0.4, "y":[0,12], "setting":"clouds" }, "smoke": { "elem1": "smog", "elem2": null, "chance":0.001 }, - "carbon_dioxide": { "elem1": "smog", "elem2": null, "chance":0.001 }, + "carbon_dioxide": { "elem1": "smog", "elem2": null, "chance":0.001 } }, temp: 150, tempLow: 95, stateLow: "water", category: "gases", state: "gas", - density: 0.6, + density: 0.6 }, "ice": { color: "#b2daeb", @@ -1090,7 +1150,7 @@ category: "solids", state: "solid", density: 917, - breakInto: "snow", + breakInto: "snow" }, "snow": { color: "#e1f8fc", @@ -1101,7 +1161,7 @@ "dirty_water": { "elem1":"slush" }, "pool_water": { "elem1":"slush" }, "sugar_water": { "elem1":"slush" }, - "seltzer": { "elem1":"slush" }, + "seltzer": { "elem1":"slush" } }, temp: -5, tempHigh: 18, @@ -1110,14 +1170,14 @@ stateHigh: "water", category: "land", state: "solid", - density: 100, + density: 100 }, "slush": { color: "#81bcd4", behavior: behaviors.LIQUID, reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" } }, temp: -5, tempHigh: 18, @@ -1141,7 +1201,7 @@ category: "land", state: "solid", density: 400, - hidden: true, + hidden: true }, "wood": { color: "#a0522d", @@ -1154,7 +1214,7 @@ burnInto: ["ember","charcoal","fire"], state: "solid", hardness: 0.15, - breakInto: "sawdust", + breakInto: "sawdust" }, "smoke": { color: "#383838", @@ -1167,7 +1227,8 @@ "hail_cloud": { "elem1": "pyrocumulus", "chance":0.08, "y":[0,12], "setting":"clouds" }, "acid_cloud": { "elem1": "pyrocumulus", "chance":0.05, "y":[0,12], "setting":"clouds" }, "fire_cloud": { "elem1": "pyrocumulus", "chance":0.05, "y":[0,12], "setting":"clouds" }, - "pyrocumulus": { "elem1": "pyrocumulus", "chance":0.08, "y":[0,12], "setting":"clouds" }, + "rad_cloud": { "elem1": "pyrocumulus", "chance":0.05, "y":[0,12], "setting":"clouds" }, + "pyrocumulus": { "elem1": "pyrocumulus", "chance":0.08, "y":[0,12], "setting":"clouds" } }, temp: 114, tempHigh: 605, @@ -1176,13 +1237,13 @@ state: "gas", density: 1180, stain: 0.075, - noMix: true, + noMix: true }, "magma": { color: ["#ff6f00","#ff8c00","#ff4d00"], behavior: behaviors.MOLTEN, reactions: { - "ice": { "elem1": "basalt" }, + "ice": { "elem1": "basalt" } }, temp: 1200, tempLow: 800, @@ -1190,7 +1251,7 @@ viscosity: 10000, category: "liquids", state: "liquid", - density: 2725, + density: 2725 }, "plasma": { color: ["#8800ff","#b184d9","#8800ff"], @@ -1206,8 +1267,8 @@ category: "energy", state: "gas", density: 1, - charge: 0.5, - conduct: 1, + //charge: 0.5, + conduct: 1 }, "cold_fire": { color: ["#21cbff","#006aff","#00ffff"], @@ -1218,7 +1279,7 @@ ], reactions: { "fire": { "elem1": "smoke", "elem2": "smoke" }, - "plasma": { "elem1": "light", "elem2": "light" }, + "plasma": { "elem1": "light", "elem2": "light" } }, temp:-200, tempHigh:0, @@ -1226,26 +1287,26 @@ category: "energy", state: "gas", density: 0.1, - ignoreAir: true, + ignoreAir: true }, "glass": { color: ["#5e807d","#679e99"], behavior: behaviors.WALL, reactions: { - "radiation": { "elem1":"rad_glass", "chance":0.33 }, + "radiation": { "elem1":"rad_glass", "chance":0.33 } }, tempHigh: 1500, category: "solids", state: "solid", density: 2500, breakInto: "glass_shard", - noMix: true, + noMix: true }, "molten_glass": { reactions: { "radiation": { "elem1":"molten_rad_glass", "chance":0.66 }, - "molten_uranium": { "elem1":"molten_rad_glass", "elem2":null }, - }, + "molten_uranium": { "elem1":"molten_rad_glass", "elem2":null } + } }, "rad_glass": { color: ["#648c64","#6aad83"], @@ -1260,7 +1321,7 @@ density: 2500, breakInto: "glass_shard", hidden: true, - noMix: true, + noMix: true }, "meat": { color: ["#9E4839","#BA6449","#D2856C","#A14940"], @@ -1293,7 +1354,7 @@ "water": { "elem2":"broth", "tempMin":70 }, "salt_water": { "elem2":"broth", "tempMin":70 }, "sugar_water": { "elem2":"broth", "tempMin":70 }, - "seltzer": { "elem2":"broth", "tempMin":70 }, + "seltzer": { "elem2":"broth", "tempMin":70 } }, tempHigh: 100, stateHigh: "cooked_meat", @@ -1306,6 +1367,7 @@ state: "solid", density: 1019.5, conduct: 0.2, + isFood: true }, "rotten_meat": { color: ["#b8b165","#b89765"], @@ -1324,6 +1386,7 @@ state: "solid", density: 1005, conduct: 0.1, + isFood: true }, "cooked_meat": { color: ["#AE7D5B","#9B6D54","#7E4D31"], @@ -1333,7 +1396,7 @@ "salt_water": { "elem2":"broth", "tempMin":70 }, "sugar_water": { "elem2":"broth", "tempMin":70 }, "dirty_water": { "elem2":"broth", "tempMin":70 }, - "seltzer": { "elem2":"broth", "tempMin":70 }, + "seltzer": { "elem2":"broth", "tempMin":70 } }, tempHigh: 300, stateHigh: "ash", @@ -1344,6 +1407,7 @@ burnInto: "ash", state: "solid", density: 1005, + isFood: true }, "frozen_meat": { color: "#65b8aa", @@ -1355,15 +1419,37 @@ hidden:true, state: "solid", density: 1067.5, + isFood: true }, - "chocolate": { - color: "#4d2818", - behavior: behaviors.STURDYPOWDER, - tempHigh: 31, - stateHigh: "melted_chocolate", + "sugar": { + color: "#f2f2f2", + behavior: behaviors.POWDER, category: "food", + tempHigh: 186, + stateHigh: "caramel", state: "solid", - density: 1325, + density: 1590, + isFood: true + }, + "flour": { + color: ["#F0E2B7","#f0e4c0","#ded1ab"], + behavior: behaviors.POWDER, + reactions: { + "water": { "elem1": "dough", "elem2": null }, + "salt_water": { "elem1": "dough", "elem2": null }, + "sugar_water": { "elem1": "dough", "elem2": null }, + "seltzer": { "elem1": "dough", "elem2": null }, + "yolk": { "elem1": "batter", "elem2": null }, + "yogurt": { "elem1": "batter", "elem2": null } + }, + category: "food", + tempHigh: 400, + stateHigh: "fire", + burn:40, + burnTime:25, + state: "solid", + density: 600, + isFood: true }, "cloner": { color: "#dddd00", @@ -1371,7 +1457,7 @@ ignore: ["ecloner","slow_cloner","clone_powder","floating_cloner"], category:"machines", insulate:true, - hardness: 1, + hardness: 1 }, "ecloner": { name: "e-cloner", @@ -1382,7 +1468,7 @@ category:"machines", insulate:true, conduct: 1, - hardness: 1, + hardness: 1 }, "slow_cloner": { color: "#888800", @@ -1394,7 +1480,7 @@ ignore: ["cloner","ecloner","clone_powder","floating_cloner"], category:"machines", insulate:true, - hardness: 1, + hardness: 1 }, "wire": { color: "#4d0a03", @@ -1402,12 +1488,21 @@ category: "machines", insulate: true, conduct: 1, + noMix: true + }, + "ewall": { + color: "#7a7769", + behavior: behaviors.WALL, + category: "machines", + hardness: 1, + noMix: true, + conduct: 1 }, "random": { //hard-coded color: ["#3e5f8a","#a334ec","#ea96f9","#a6ecf6","#70ebc8","#d9286b","#7eed91","#a18b30"], behavior: behaviors.WALL, category: "special", - excludeRandom: true, + excludeRandom: true }, "uncharge": { color: "#0000ff", @@ -1418,7 +1513,7 @@ } }, category: "special", - excludeRandom: true, + excludeRandom: true }, "unburn": { color: "#383645", @@ -1432,7 +1527,7 @@ } }, category: "special", - excludeRandom: true, + excludeRandom: true }, "smash": { color: ["#666666","#888888","#666666"], @@ -1450,7 +1545,7 @@ } }, category: "special", - excludeRandom: true, + excludeRandom: true }, "filler": { color: "#ae4cd9", @@ -1460,8 +1555,8 @@ reactions: { "neutron": { "elem1":"lattice" }, "proton": { "elem1":"vertical" }, - "electric": { "elem1":"horizontal" }, - }, + "electric": { "elem1":"horizontal" } + } }, "lattice": { color: "#cb4cd9", @@ -1472,7 +1567,7 @@ ], hidden: true, category:"special", - excludeRandom: true, + excludeRandom: true }, "gravel": { color: ["#E3E0DF","#B1ABA3","#74736D","#524B47"], @@ -1483,13 +1578,13 @@ state: "solid", density: 1680, hardness: 0.2, - breakInto: "sand", + breakInto: "sand" }, "slime": { color: "#81cf63", behavior: behaviors.LIQUID, reactions: { - "bomb": { "elem2":"sticky_bomb", "elem2":null }, + "bomb": { "elem2":"sticky_bomb", "elem2":null } }, viscosity: 5000, tempHigh: 120, @@ -1498,7 +1593,7 @@ category:"liquids", state: "liquid", density: 1450, - stain: 0.05, + stain: 0.05 }, "cement": { color: "#b5b5b5", @@ -1516,7 +1611,7 @@ state: "solid", density: 1440, hardness: 0.1, - viscosity: 1000, + viscosity: 1000 }, "dust": { color: "#666666", @@ -1525,14 +1620,14 @@ burn: 10, burnTime: 1, state: "solid", - density: 1490, + density: 1490 }, "void": { color: "#262626", behavior: behaviors.DELETE, category:"special", hardness: 1, - excludeRandom: true, + excludeRandom: true }, "sun": { color: "#ffffbd", @@ -1568,7 +1663,7 @@ reactions: { "hydrogen": { "elem2":"helium", "temp1":5 }, "helium": { "elem2":"carbon_dioxide", "temp1":5, "tempMax":3600 }, - "carbon_dioxide": { "elem2":"neon", "temp1":5, "tempMax":1800 }, + "carbon_dioxide": { "elem2":"neon", "temp1":5, "tempMax":1800 } }, temp: 5504, tempLow: -100, @@ -1577,6 +1672,7 @@ state: "gas", //density: 1408, insulate: true, + noMix: true }, "cell": { color: ["#00ee00","#83ee00","#d6ee00"], @@ -1594,7 +1690,7 @@ "alcohol": { "elem1":[null,"dna"], "chance":0.02 }, "poison": { "elem1":null, "chance":0.02 }, "oxygen": { "elem2":"carbon_dioxide", "chance":0.05 }, - "ammonia": { "elem2":"nitrogen", "chance":0.05 }, + "ammonia": { "elem2":"nitrogen", "chance":0.05 } }, tempHigh: 102, stateHigh: "steam", @@ -1623,7 +1719,7 @@ "sugar_water": { "elem2":"cancer", "chance":0.05 }, "alcohol": { "elem1":[null,"dna"], "chance":0.01 }, "poison": { "elem1":null, "chance":0.01 }, - "proton": { "elem1":null, "chance":0.04 }, + "proton": { "elem1":null, "chance":0.04 } }, tempHigh: 80, stateHigh: "plague", @@ -1641,14 +1737,14 @@ reactions: { "fire": { "elem2":null }, "radiation": { "color1":["#ffe3e3","#e3e3ff","#ffffe3","#e3ffe3"] }, - "neutron": { "color1":["#ffe3e3","#e3e3ff","#ffffe3","#e3ffe3"] }, + "neutron": { "color1":["#ffe3e3","#e3e3ff","#ffffe3","#e3ffe3"] } }, tempHigh: 190, stateHigh: "smoke", state: "solid", density: 1700, category: "life", - hidden: true, + hidden: true }, "plague": { color: "#36005c", @@ -1664,13 +1760,13 @@ "fish": { "elem2":"plague", "chance":0.05 }, "firefly": { "elem2":"plague", "chance":0.05 }, "chlorine": { "elem1":null }, - "liquid_chlorine": { "elem1":null }, + "liquid_chlorine": { "elem1":null } }, tempHigh: 300, stateHigh: null, category: "life", state: "gas", - density: 600, + density: 600 }, "flea": { color: "#9e4732", @@ -1688,7 +1784,7 @@ "ketchup": { "elem2":null, "chance":0.1 }, "mercury": { "elem2":null, "elem1":null, "chance":0.1875 }, "vinegar": { "elem1":"dead_bug", "elem2":null }, - "alcohol": { "elem1":"dead_bug", "elem2":null }, + "alcohol": { "elem1":"dead_bug", "elem2":null } }, tempHigh: 100, stateHigh: "ash", @@ -1699,7 +1795,7 @@ burnTime:25, state: "solid", density: 400, - conduct: 0.15, + conduct: 0.15 }, "termite": { color: "#f5a056", @@ -1721,7 +1817,7 @@ "tinder": { "elem2":null, chance:0.025, func:behaviors.FEEDPIXEL }, "lichen": { "elem2":null, chance:0.025, func:behaviors.FEEDPIXEL }, "vinegar": { "elem1":"dead_bug", "elem2":null }, - "alcohol": { "elem1":"dead_bug", "elem2":null }, + "alcohol": { "elem1":"dead_bug", "elem2":null } }, foodNeed: 20, tempHigh: 100, @@ -1732,7 +1828,7 @@ burn:95, burnTime:25, state: "solid", - conduct: 0.15, + conduct: 0.15 }, "ant": { color: "#5e0b04", @@ -1752,7 +1848,7 @@ "vinegar": { "elem1":"dead_bug", "elem2":null }, "alcohol": { "elem1":"dead_bug", "elem2":null }, "mushroom_cap": { "elem2":null, chance:0.025, func:behaviors.FEEDPIXEL }, - "candy": { "elem2":null, chance:0.025, func:behaviors.FEEDPIXEL }, + "candy": { "elem2":null, chance:0.025, func:behaviors.FEEDPIXEL } }, tempHigh: 100, stateHigh: "ash", @@ -1763,7 +1859,7 @@ burnTime:25, state: "solid", density: 500, - conduct: 0.15, + conduct: 0.15 }, "worm": { color: "#D34C37", @@ -1785,7 +1881,7 @@ "slaked_lime": { "elem2":"calcium", "chance":0.1, func:behaviors.FEEDPIXEL }, "salt": { "elem1": "slime", "elem2": null }, "potassium_salt": { "elem1": "slime", "elem2": null }, - "epsom_salt": { "elem1": "slime", "elem2": null }, + "epsom_salt": { "elem1": "slime", "elem2": null } }, tempHigh: 100, stateHigh: "ash", @@ -1797,7 +1893,7 @@ burnTime:25, state: "solid", density: 1050, - conduct: 0.17, + conduct: 0.17 }, "fly": { color: "#4C4E42", @@ -1822,7 +1918,7 @@ "caramel": { "elem2":null, chance:0.15, func:behaviors.FEEDPIXEL }, "bread": { "elem2":null, chance:0.1, func:behaviors.FEEDPIXEL }, "sugar_water": { "elem2":null, chance:0.15, func:behaviors.FEEDPIXEL }, - "soda": { "elem2":null, chance:0.15, func:behaviors.FEEDPIXEL }, + "soda": { "elem2":null, chance:0.15, func:behaviors.FEEDPIXEL } }, foodNeed: 15, tempHigh: 100, @@ -1834,7 +1930,7 @@ burnTime:25, state: "solid", density: 600, - conduct: 1, + conduct: 1 }, "firefly": { color: ["#684841","#684841","#d9d950","#684841","#684841"], @@ -1861,7 +1957,7 @@ "firefly": { "elem2":null, chance:0.01, func:behaviors.FEEDPIXEL }, "sugar_water": { "elem2":null, chance:0.25, func:behaviors.FEEDPIXEL }, "soda": { "elem2":null, chance:0.25, func:behaviors.FEEDPIXEL }, - "sugar": { "elem2":null, chance:0.15, func:behaviors.FEEDPIXEL }, + "sugar": { "elem2":null, chance:0.15, func:behaviors.FEEDPIXEL } }, tempHigh: 100, stateHigh: "ash", @@ -1872,7 +1968,7 @@ burnTime:25, state: "solid", density: 600, - conduct: 0.15, + conduct: 0.15 }, "bee": { color: "#c4b100", @@ -1903,7 +1999,7 @@ "sugar": { "elem2":null, chance:0.15, func:behaviors.FEEDPIXEL }, "yeast": { "elem2":null, chance:0.15, func:behaviors.FEEDPIXEL }, "caramel": { "elem2":null, chance:0.25, func:behaviors.FEEDPIXEL }, - "candy": { "elem2":null, chance:0.05, func:behaviors.FEEDPIXEL }, + "candy": { "elem2":null, chance:0.05, func:behaviors.FEEDPIXEL } }, egg: "honey", tempHigh: 100, @@ -1915,12 +2011,12 @@ burnTime:25, state: "solid", density: 600, - conduct: 0.15, + conduct: 0.15 }, "stink_bug": { color: ["#56482D","#52472C","#635443"], properties: { - "phase": 1, + "phase": 1 }, tick: function(pixel) { var newX = pixel.x; @@ -1959,7 +2055,7 @@ "petal": { "elem2":null, chance:0.2, func:behaviors.FEEDPIXEL }, "pistil": { "elem2":null, chance:0.2, func:behaviors.FEEDPIXEL }, "grape": { "elem2":null, chance:0.05, func:behaviors.FEEDPIXEL }, - "plant": { "elem2":null, chance:0.1, func:behaviors.FEEDPIXEL }, + "plant": { "elem2":null, chance:0.1, func:behaviors.FEEDPIXEL } }, flippableX: true, tempHigh: 100, @@ -1973,7 +2069,7 @@ breakInto: "stench", state: "solid", density: 600, - conduct: 0.15, + conduct: 0.15 }, "dead_bug": { color: ["#38302a","#403732","#453a2e","#241d15","#242e23"], @@ -1995,7 +2091,7 @@ properties: { dead: false, dir: 1, - panic: 0, + panic: 0 }, tick: function(pixel) { if (isEmpty(pixel.x, pixel.y+1)) { @@ -2012,7 +2108,7 @@ deletePixel(pixel.x, pixel.y); } }, - related: ["body","head"], + related: ["body","head"] }, "body": { color: ["#069469","#047e99","#7f5fb0"], @@ -2020,7 +2116,7 @@ hidden: true, density: 1500, state: "solid", - conduct: 25, + conduct: .05, tempHigh: 250, stateHigh: "cooked_meat", tempLow: -30, @@ -2032,12 +2128,12 @@ reactions: { "cancer": { "elem1":"cancer", "chance":0.005 }, "radiation": { "elem1":["ash","meat","rotten_meat","cooked_meat"], "chance":0.4 }, - "plague": { "elem1":"plague", "chance":0.05 }, + "plague": { "elem1":"plague", "chance":0.05 } }, properties: { dead: false, dir: 1, - panic: 0, + panic: 0 }, tick: function(pixel) { if (tryMove(pixel, pixel.x, pixel.y+1)) { // Fall @@ -2105,7 +2201,7 @@ } } - }, + } }, "head": { color: ["#f3e7db","#f7ead0","#eadaba","#d7bd96","#a07e56","#825c43","#604134","#3a312a"], @@ -2113,7 +2209,7 @@ hidden: true, density: 1080, state: "solid", - conduct: 25, + conduct: .05, tempHigh: 250, stateHigh: "cooked_meat", tempLow: -30, @@ -2126,7 +2222,7 @@ "cancer": { "elem1":"cancer", "chance":0.005 }, "radiation": { "elem1":["ash","meat","rotten_meat","cooked_meat"], "chance":0.4 }, "plague": { "elem1":"plague", "chance":0.05 }, - "oxygen": { "elem2":"carbon_dioxide", "chance":0.5 }, + "oxygen": { "elem2":"carbon_dioxide", "chance":0.5 } }, properties: { dead: false @@ -2238,7 +2334,7 @@ "potato_seed": { "elem2":null, chance:0.25, func:behaviors.FEEDPIXEL }, "grass_seed": { "elem2":null, chance:0.25, func:behaviors.FEEDPIXEL }, "plague": { "elem1":"plague", chance:0.05 }, - "oxygen": { "elem2":"carbon_dioxide", chance:0.5 }, + "oxygen": { "elem2":"carbon_dioxide", chance:0.5 } }, foodNeed: 20, tempHigh: 120, @@ -2251,7 +2347,7 @@ breakInto: "feather", state: "solid", density: 400, - conduct: 0.5, + conduct: 0.5 }, "rat": { color: ["#A698A9","#8C7D82","#CCC3CF"], @@ -2294,6 +2390,10 @@ "egg": { "elem2":null, "chance":0.1, func:behaviors.FEEDPIXEL }, "yolk": { "elem2":null, "chance":0.2, func:behaviors.FEEDPIXEL }, "grape": { "elem2":null, "chance":0.25, func:behaviors.FEEDPIXEL }, + "batter": { "elem2":null, "chance":0.25, func:behaviors.FEEDPIXEL }, + "baked_batter": { "elem2":null, "chance":0.1, func:behaviors.FEEDPIXEL }, + "butter": { "elem2":null, "chance":0.2, func:behaviors.FEEDPIXEL }, + "melted_butter": { "elem2":null, "chance":0.3, func:behaviors.FEEDPIXEL }, }, egg: "rat", category: "life", @@ -2306,7 +2406,7 @@ burnTime:150, state: "solid", density: 1450, - conduct: 0.25, + conduct: 0.25 }, "frog": { color: "#607300", @@ -2322,7 +2422,7 @@ "slug": { "elem2":null, chance:0.2, func:behaviors.FEEDPIXEL }, "worm": { "elem2":null, chance:0.2, func:behaviors.FEEDPIXEL }, "algae": { "elem2":null, chance:0.5, func:behaviors.FEEDPIXEL }, - "oxygen": { "elem2":"carbon_dioxide", chance:0.5 }, + "oxygen": { "elem2":"carbon_dioxide", chance:0.5 } }, foodNeed: 10, baby: "tadpole", @@ -2337,7 +2437,7 @@ burnTime:30, state: "solid", density: 1450, - conduct: 0.2, + conduct: 0.2 }, "frozen_frog": { color: "#007349", @@ -2349,7 +2449,7 @@ breakInto: "slime", hidden: true, state: "solid", - density: 1500, + density: 1500 }, "tadpole": { color: "#87b574", @@ -2364,7 +2464,7 @@ } }, reactions: { - "algae": { "elem2":null, chance:0.25 }, + "algae": { "elem2":null, chance:0.25 } }, tempHigh: 100, stateHigh: "steam", @@ -2374,7 +2474,7 @@ hidden: true, state: "solid", density: 1450, - conduct: 0.2, + conduct: 0.2 }, "fish": { color: "#ac8650", @@ -2389,7 +2489,7 @@ "fly": { "elem2":null, chance:0.4, func:behaviors.FEEDPIXEL }, "firefly": { "elem2":null, chance:0.6, func:behaviors.FEEDPIXEL }, "worm": { "elem2":null, chance:0.25, func:behaviors.FEEDPIXEL }, - "oxygen": { "elem2":"carbon_dioxide", chance:0.5 }, + "oxygen": { "elem2":"carbon_dioxide", chance:0.5 } }, foodNeed: 20, temp: 20, @@ -2403,7 +2503,7 @@ burnTime:100, state: "solid", density: 1080, - conduct: 0.2, + conduct: 0.2 }, "slug": { color: ["#997e12","#997e12","#997e12","#997e12","#997e12","#997e12","#403314","#403314","#403314","#403314","#403314","#403314","#124a44"], @@ -2430,7 +2530,7 @@ "mushroom_gill": { "elem2":null, "chance":0.05, func:behaviors.FEEDPIXEL }, "lichen": { "elem2":null, "chance":0.05, func:behaviors.FEEDPIXEL }, "hyphae": { "elem2":"dirt", "chance":0.05, func:behaviors.FEEDPIXEL }, - "mycelium": { "elem2":"dirt", "chance":0.05, func:behaviors.FEEDPIXEL }, + "mycelium": { "elem2":"dirt", "chance":0.05, func:behaviors.FEEDPIXEL } }, tempLow: 5, stateLow: "slime", @@ -2440,7 +2540,7 @@ category: "life", state: "solid", density: 1450, - conduct: 0.17, + conduct: 0.17 }, "snail": { color: "#5c3104", @@ -2468,7 +2568,7 @@ "mushroom_gill": { "elem2":null, "chance":0.05, func:behaviors.FEEDPIXEL }, "lichen": { "elem2":null, "chance":0.05, func:behaviors.FEEDPIXEL }, "hyphae": { "elem2":"dirt", "chance":0.05, func:behaviors.FEEDPIXEL }, - "mycelium": { "elem2":"dirt", "chance":0.05, func:behaviors.FEEDPIXEL }, + "mycelium": { "elem2":"dirt", "chance":0.05, func:behaviors.FEEDPIXEL } }, tempLow: -6.4, stateLow: "calcium", @@ -2478,7 +2578,7 @@ category: "life", state: "solid", density: 1500, - conduct: 0.16, + conduct: 0.16 }, "heater": { color: "#881111", @@ -2488,7 +2588,7 @@ "XX|HT:2|XX", ], category:"machines", - insulate:true, + insulate:true }, "cooler": { color: "#111188", @@ -2498,7 +2598,7 @@ "XX|CO:2|XX", ], category:"machines", - insulate:true, + insulate:true }, "superheater": { color: "#dd1111", @@ -2508,7 +2608,7 @@ "XX|HT:10|XX", ], category:"machines", - insulate:true, + insulate:true }, "freezer": { color: "#1111dd", @@ -2518,7 +2618,7 @@ "XX|CO:10|XX", ], category:"machines", - insulate:true, + insulate:true }, "torch": { color: "#d68542", @@ -2539,7 +2639,7 @@ "rain_cloud": { "elem1":"wood" }, "cloud": { "elem1":"wood" }, "snow_cloud": { "elem1":"wood" }, - "hail_cloud": { "elem1":"wood" }, + "hail_cloud": { "elem1":"wood" } }, temp:600, category:"special", @@ -2557,15 +2657,17 @@ category:"special", tempHigh: 1455.5, stateHigh: "molten_steel", - conduct: 0.42, + conduct: 0.42 }, "udder": { color: "#ecb3f5", - behavior: [ - "XX|XX|XX", - "XX|XX|XX", - "XX|CR:milk%2.5|XX", - ], + tick: function(pixel) { + if (Math.random() <= 0.025 && isEmpty(pixel.x,pixel.y+1)) { + createPixel("milk",pixel.x,pixel.y+1); + pixelMap[pixel.x][pixel.y+1].temp = 38; + } + doDefaults(pixel); + }, tempHigh: 100, stateHigh: "cooked_meat", tempLow: -18, @@ -2573,7 +2675,7 @@ burn:15, burnTime:200, burnInto:"cooked_meat", - category:"special", + category:"special" }, "bone_marrow": { color: "#c97265", @@ -2586,14 +2688,14 @@ tempHigh: 750, stateHigh: "calcium", breakInto: ["calcium","blood"], - hidden: true, + hidden: true }, "bone": { color: "#d9d9d9", behavior: behaviors.SUPPORT, reactions: { "blood": {"elem1":"bone_marrow","chance":0.0005}, - "antibody": {"elem1":"bone_marrow","chance":0.0005}, + "antibody": {"elem1":"bone_marrow","chance":0.0005} }, category:"life", tempHigh: 760, @@ -2601,7 +2703,7 @@ state: "solid", density: 1900, hardness: 0.5, - breakInto: "calcium", + breakInto: ["calcium","calcium","calcium","bone_marrow"] }, "balloon": { color: ["#FE4A75","#267CB0","#1A743C","#FF6FFA","#EAEDE5","#1DC9F3","#FF0101","#F4CD32","#BEE347","#FAB937","#91C7CC"], @@ -2618,7 +2720,7 @@ burnInto: "pop", state: "solid", density: 0.164, - breakInto: ["confetti","helium","helium","helium"], + breakInto: ["confetti","helium","helium","helium"] }, "antipowder": { color: "#ebd1d8", @@ -2627,7 +2729,7 @@ tempHigh: 1850, stateHigh: "antimolten", state: "solid", - density: 1850, + density: 1850 }, "antimolten": { color: ["#ffb5b5","#ffd0b5","#ffd0b5"], @@ -2643,7 +2745,7 @@ hidden: true, state: "liquid", density: 1000, - category: "special", + category: "special" }, "antifire": { color: ["#ffc3a6","#ffdfa3","#ffb69e"], @@ -2653,7 +2755,7 @@ "M1|M1|M1", ], reactions: { - "antiliquid": { "elem1": "antigas" }, + "antiliquid": { "elem1": "antigas" } }, temp:600, tempLow:100, @@ -2667,7 +2769,7 @@ fireElement: "flash", hidden: true, state: "gas", - density: 0.2, + density: 0.2 }, "antifluid": { color: "#d1dbeb", @@ -2678,7 +2780,7 @@ tempLow: 0, stateLowName: "antiice", state: "liquid", - density: 1000, + density: 1000 }, "antigas": { color: "#e6fffc", @@ -2688,7 +2790,7 @@ stateLow: "antifluid", hidden: true, state: "gas", - density: 0.1, + density: 0.1 }, "vertical": { color: "#d9d9d9", @@ -2699,7 +2801,7 @@ ], category:"special", hidden:true, - excludeRandom: true, + excludeRandom: true }, "horizontal": { color: "#d9d9d9", @@ -2710,7 +2812,7 @@ ], category:"special", hidden:true, - excludeRandom: true, + excludeRandom: true }, "rocket": { color: "#ff0000", @@ -2726,7 +2828,7 @@ density: 7300, conduct: 0.73, tempHigh: 1455.5, - stateHigh: "molten_steel", + stateHigh: "molten_steel" }, "ash": { color: ["#8c8c8c","#9c9c9c"], @@ -2818,14 +2920,14 @@ "plant": { "color1":"#00ff00" }, "algae": { "color1":"#00ff00" }, "rainbow": { "color1":["#ff0000","#ff8800","#ffff00","#00ff00","#00ffff","#0000ff","#ff00ff"] }, - "static": { "color1":["#ffffff","#bdbdbd","#808080","#424242","#1c1c1c"] }, + "static": { "color1":["#ffffff","#bdbdbd","#808080","#424242","#1c1c1c"] } }, temp: 35, category: "energy", state: "gas", density: 0.00001, ignoreAir: true, - insulate: true, + insulate: true }, "laser": { color: "#ff0000", @@ -2839,7 +2941,7 @@ category: "energy", state: "gas", density: 0.00001, - ignoreAir: true, + ignoreAir: true }, "ball": { color: "#e35693", @@ -2853,13 +2955,13 @@ category: "energy", flipY: false, flippableY: true, - hidden: true, + hidden: true }, "pointer": { color: "#ff0000", behavior: behaviors.SELFDELETE, category:"special", - hidden:true, + hidden:true }, "charcoal": { color: "#2b2b2b", @@ -2882,7 +2984,7 @@ burn: 50, burnTime: 100, state: "solid", - density: 23, + density: 23 }, "sawdust": { color: ["#dec150","#c7b15a"], @@ -2894,7 +2996,7 @@ "sugar_water": { "elem1":"cellulose", "elem2":null }, "sap": { "elem1":"particleboard", "elem2":null }, "honey": { "elem1":"particleboard", "elem2":null }, - "glue": { "elem1":"particleboard", "elem2":null }, + "glue": { "elem1":"particleboard", "elem2":null } }, tempHigh: 400, stateHigh: "fire", @@ -2903,7 +3005,7 @@ burnTime: 150, burnInto: ["ash","fire","fire","fire"], state: "solid", - density: 393, + density: 393 }, "salt": { color: ["#f2f2f2","#e0e0e0"], @@ -2912,12 +3014,12 @@ "ice": { "elem1":null, "elem2":"salt_water", "chance":0.1 }, "snow": { "elem1":null, "elem2":"salt_water", "chance":0.25 }, "packed_snow": { "elem1":null, "elem2":"salt_water", "chance":0.05 }, - "packed_ice": { "elem1":null, "elem2":"salt_water", "chance":0.01 }, + "packed_ice": { "elem1":null, "elem2":"salt_water", "chance":0.01 } }, category: "powders", tempHigh: 801, state: "solid", - density: 2160, + density: 2160 }, "hail": { color: "#c5e9f0", @@ -2949,17 +3051,17 @@ category: "powders", state: "solid", density: 850, - hidden: true, + hidden: true }, "hydrogen": { color: "#558bcf", behavior: behaviors.GAS, reactions: { - "oxygen": { "elem1":null, "elem2":"steam" }, + "oxygen": { "elem1":null, "elem2":"steam", "tempMin":500 }, "hydrogen": { "elem1":null, "elem2":"helium", "tempMin":10000 }, "nitrogen": { "elem1":null, "elem2":"oxygen", "tempMin":10000 }, "sulphur": { "elem1":null, "elem2":"chlorine", "tempMin":10000 }, - "neon": { "elem1":null, "elem2":"sodium", "tempMin":10000 }, + "neon": { "elem1":null, "elem2":"sodium", "tempMin":10000 } }, category: "gases", burn: 100, @@ -2967,7 +3069,7 @@ tempLow: -253, stateLow: "liquid_hydrogen", state: "gas", - density: 0.08375, + density: 0.08375 }, "oxygen": { color: "#99c7ff", @@ -2982,15 +3084,15 @@ "soda": { "elem1":"foam" }, "dirty_water": { "elem1":"foam" }, "oxygen": { "elem1": null, "elem2": "ozone", "chance":0.3, "y":[0,12], "setting":"clouds" }, - "ozone": { "elem1": "ozone", "chance":0.4, "y":[0,12], "setting":"clouds" }, + "ozone": { "elem1": "ozone", "chance":0.4, "y":[0,12], "setting":"clouds" } }, category: "gases", - burn: 100, - burnTime: 2, + // burn: 100, + // burnTime: 2, tempLow: -183.94, stateLow: "liquid_oxygen", state: "gas", - density: 1.292, + density: 1.292 }, "nitrogen": { color: "#b8d1d4", @@ -2998,13 +3100,13 @@ reactions: { "oxygen": { "elem1":null, "elem2":"anesthesia" }, "hydrogen": { "elem1":null, "elem2":"ammonia" }, - "neon": { "elem1":null, "elem2":"chlorine", "tempMin":10000 }, + "neon": { "elem1":null, "elem2":"chlorine", "tempMin":10000 } }, category: "gases", tempLow: -195.8, stateLow: "liquid_nitrogen", state: "gas", - density: 1.165, + density: 1.165 }, "helium": { color: "#a69494", @@ -3013,7 +3115,7 @@ tempLow: -272.20, stateLow: "liquid_helium", state: "gas", - density: 0.1786, + density: 0.1786 }, "anesthesia": { color: "#d3e1e3", @@ -3023,7 +3125,7 @@ stateLow: ["nitrogen","oxygen"], hidden: true, state: "gas", - density: 1.9781, + density: 1.9781 }, "ammonia": { color: "#bab6a9", @@ -3049,16 +3151,16 @@ "yeast": { "elem1":"yeast", "chance":0.05 }, "fish": { "elem2":"meat", "chance":0.05 }, "bird": { "elem2":"meat", "chance":0.05 }, - "frog": { "elem2":"meat", "chance":0.05 }, + "frog": { "elem2":"meat", "chance":0.05 } }, tempLow: -33.34, category: "gases", state: "gas", - density: 0.73, + density: 0.73 }, "liquid_ammonia": { tempLow: -260, - stateLow: ["nitrogen_ice","hydrogen_ice"], + stateLow: ["nitrogen_ice","hydrogen_ice"] }, "carbon_dioxide": { color: "#2f2f2f", @@ -3066,7 +3168,7 @@ reactions: { "plant": { "elem1":"oxygen" }, "evergreen": { "elem1":"oxygen" }, - "algae": { "elem1":"oxygen" }, + "algae": { "elem1":"oxygen" } }, category: "gases", tempLow: -78.5, @@ -3080,7 +3182,7 @@ behavior: behaviors.LIQUID, reactions: { "dirt": { "elem1":null, "elem2":"mud" }, - "sand": { "elem1":null, "elem2":"wet_sand" }, + "sand": { "elem1":null, "elem2":"wet_sand" } }, category: "liquids", tempHigh: 400, @@ -3091,7 +3193,7 @@ viscosity: 250, state: "liquid", density: 825, - stain: 0.05, + stain: 0.05 }, "lamp_oil": { color: "#b3b38b", @@ -3108,7 +3210,7 @@ viscosity: 3, state: "liquid", density: 850, - alias: "kerosene", + alias: "kerosene" }, "propane": { color: "#cfcfcf", @@ -3121,7 +3223,7 @@ burnTime: 5, fireColor: ["#00ffff","#00ffdd"], state: "gas", - density: 2.0098, + density: 2.0098 }, "methane": { color: "#9f9f9f", @@ -3134,7 +3236,7 @@ burnTime: 5, fireColor: ["#00ffff","#00ffdd"], state: "gas", - density: 0.554, + density: 0.554 }, "stained_glass": { color: ["#6b2e2e","#6b4f2e","#6b6b2e","#2e6b2e","#2e6b6b","#2e2e6b","#6b2e6b"], @@ -3152,6 +3254,7 @@ state: "solid", density: 2500, breakInto: "color_sand", + noMix: true }, "molten_stained_glass": { color: ["#c27070","#c29c70","#c2c270","#70c270","#70c2c2","#7070c2","#c270c2"], @@ -3179,7 +3282,7 @@ var b = Math.floor(127*(1-Math.cos(t*Math.PI/90+4*Math.PI/3))); pixel.color = "rgb("+r+","+g+","+b+")"; }, - category: "special", + category: "special" }, "static": { color: ["#ffffff","#888888","#000000"], @@ -3188,7 +3291,7 @@ "XX|CC:ffffff,9c9c9c,454545|XX", "XX|XX|XX", ], - category: "special", + category: "special" }, "border": { color: "#00ffff", @@ -3199,7 +3302,7 @@ }, category: "special", hardness: 1, - insulate: true, + insulate: true }, "clay": { color: "#d4c59c", @@ -3208,7 +3311,7 @@ stateHigh: "baked_clay", category: "land", state: "solid", - density: 1760, + density: 1760 }, "clay_soil": { color: ["#F49A6F","#AB7160","#B56C52"], @@ -3222,13 +3325,13 @@ "salt_water": { "elem1":"clay", "elem2":null }, "sugar_water": { "elem1":"clay", "elem2":null }, "dirty_water": { "elem1":"clay", "elem2":null }, - "seltzer": { "elem1":"clay", "elem2":null }, + "seltzer": { "elem1":"clay", "elem2":null } }, tempHigh: 140, stateHigh: "baked_clay", category: "land", state: "solid", - density: 1600, + density: 1600 }, "brick": { color: "#cb4141", @@ -3238,7 +3341,7 @@ state: "solid", density: 1650, hardness: 0.33, - breakInto: "brick_rubble", + breakInto: "brick_rubble" }, "ruins": { color: "#5c5c5c", @@ -3253,7 +3356,7 @@ state: "solid", density: 2400, hardness: 0.33, - breakInto: "dust", + breakInto: "dust" }, "sapling": { color: "#3e9c3e", @@ -3328,8 +3431,8 @@ } doDefaults(pixel); }, - tempHigh: 400, - stateHigh: "fire", + tempHigh: 100, + stateHigh: "wood", burn: 65, burnTime: 15, category: "life", @@ -3358,7 +3461,7 @@ "vinegar": { "elem1":"dead_plant", "elem2":null, "chance":0.035 }, "baking_soda": { "elem1":"dead_plant", "elem2":null, "chance":0.01 }, "bleach": { "elem1":"dead_plant", "elem2":null, "chance":0.05 }, - "alcohol": { "elem1":"dead_plant", "elem2":null, "chance":0.035 }, + "alcohol": { "elem1":"dead_plant", "elem2":null, "chance":0.035 } }, category:"life", tempHigh: 120, @@ -3429,7 +3532,7 @@ burnTime: 40, category: "solids", state: "solid", - density: 67.5, + density: 67.5 }, "paper": { color: "#f0f0f0", @@ -3446,7 +3549,7 @@ "bubble": { "elem1":"cellulose", "elem2":null }, "oil": { "elem1":"cellulose", "elem2":null }, "alcohol": { "elem1":"cellulose", "elem2":null }, - "vinegar": { "elem1":"cellulose", "elem2":null }, + "vinegar": { "elem1":"cellulose", "elem2":null } }, tempHigh: 248, stateHigh: ["fire","fire","fire","fire","fire","ash"], @@ -3455,7 +3558,7 @@ burnInto: ["fire","fire","fire","fire","fire","ash"], category: "solids", state: "solid", - density: 1201, + density: 1201 }, "pollen": { color: "#ffffc0", @@ -3473,7 +3576,7 @@ "sugar_water": { "elem1": null, "elem2": "honey" }, "water": { "elem1": null }, "salt_water": { "elem1": null }, - "dirty_water": { "elem1": null }, + "dirty_water": { "elem1": null } }, category:"life", tempHigh: 400, @@ -3481,7 +3584,7 @@ burn:50, burnTime:20, state: "solid", - density: 1435, + density: 1435 }, "flower_seed": { color: "#0e990e", @@ -3558,8 +3661,8 @@ "XX|XX|XX", "XX|XX|XX", ], - tempHigh: 400, - stateHigh: ["fire","sap"], + tempHigh: 100, + stateHigh: "wood", tempLow: -30, stateLow: "wood", category: "solids", @@ -3632,7 +3735,7 @@ "XX|XX|XX", ], category: "machines", - conduct: 0.73, + conduct: 0.73 }, "foam": { color: "#cad2e3", @@ -3646,14 +3749,14 @@ }, category: "liquids", state: "gas", - density: 40, + density: 40 }, "bubble": { color: "#afc7fa", behavior: behaviors.BUBBLE, category: "liquids", state: "gas", - density: 1.294, + density: 1.294 }, "acid": { color: ["#b5cf91","#a1ff5e","#288f2a"], @@ -3675,6 +3778,7 @@ "salt_water": { "elem1":null, "elem2":"water" }, "sugar_water": { "elem1":null, "elem2":"water" }, "charcoal": { "elem1":null, "elem2":"carbon_dioxide" }, + "rock": { "elem1":null, "elem2":"sand", "chance":0.05 } }, category: "liquids", tempHigh: 110, @@ -3692,7 +3796,7 @@ category: "liquids", state: "liquid", density: 1020, - hidden: true, + hidden: true }, "acid_gas": { color: ["#85a758","#3b7810","#256626"], @@ -3716,7 +3820,7 @@ "slaked_lime": { "elem1":"hydrogen", "elem2":null, "chance":0.05 }, "borax": { "elem1":"hydrogen", "elem2":null, "chance":0.05 }, "ammonia": { "elem1":"hydrogen", "elem2":null, "chance":0.05 }, - "bleach": { "elem1":"hydrogen", "elem2":null, "chance":0.05 }, + "bleach": { "elem1":"hydrogen", "elem2":null, "chance":0.05 } }, category: "gases", temp: 120, @@ -3727,7 +3831,7 @@ burn: 30, burnTime: 1, state: "gas", - density: 1.63, + density: 1.63 }, "glue": { color: "#f0f0f0", @@ -3753,14 +3857,15 @@ category: "liquids", reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" }, "rock": { "elem2": "wet_sand", "chance": 0.0004 }, "water": { "elem1": "sugar_water", "elem2": "sugar_water" }, "salt": { "elem1":"foam", "chance":0.1 }, - "salt_water": { "elem1":"foam", "chance":0.1 }, + "salt_water": { "elem1":"foam", "chance":0.1 } }, state: "liquid", density: 1030, + isFood: true }, "gray_goo": { color: "#c0c0c0", @@ -3782,7 +3887,7 @@ state: "solid", density: 21450, excludeRandom: true, - conduct: 0.25, + conduct: 0.25 }, "malware": { color: ["#8c4ac7","#a13d6a"], @@ -3796,7 +3901,7 @@ }, category: "special", state: "solid", - density: 2.1, + density: 2.1 }, "clone_powder": { color: "#f0f000", @@ -3810,7 +3915,7 @@ insulate:true, state:"solid", density:2710, - hardness: 1, + hardness: 1 }, "floating_cloner": { color: "#c7c787", @@ -3824,7 +3929,7 @@ insulate:true, state:"solid", density:1355, - hardness: 1, + hardness: 1 }, "virus": { color: "#cc00ff", @@ -3835,13 +3940,13 @@ ], reactions: { "chlorine": { "elem1":null }, - "liquid_chlorine": { "elem1":null }, + "liquid_chlorine": { "elem1":null } }, ignore: ["fire","smoke","soap","plague","cancer"], category: "special", state: "solid", density: 600, - excludeRandom: true, + excludeRandom: true }, "ice_nine": { color: ["#B0DCF7","#BBE9FC","#CEFCFC"], @@ -3863,13 +3968,13 @@ "snow_cloud": { "elem2": "ice_nine" }, "hail_cloud": { "elem2": "ice_nine" }, "snow": { "elem2": "ice_nine" }, - "smog": { "elem2": "ice_nine" }, + "smog": { "elem2": "ice_nine" } }, temp:-100, category: "special", state: "solid", density: 917, - excludeRandom: true, + excludeRandom: true }, "strange_matter": { color: ["#a4c730","#b6ff57","#74e846","#2ba31d"], @@ -3881,7 +3986,7 @@ category: "special", state: "solid", density: 2000, - excludeRandom: true, + excludeRandom: true }, "permafrost": { color: ["#54443a","#4f4235","#453c30","#524639"], @@ -3891,16 +3996,26 @@ stateHigh: "mudstone", category: "land", state: "solid", - density: 700, + density: 700 }, - "cheese": { - color: "#fcba03", - behavior: behaviors.STURDYPOWDER, - tempHigh: 54, - stateHigh: "melted_cheese", - category: "food", - state: "solid", - density: 1153, + "melted_butter": { + color: "#ffe240", + behavior: behaviors.LIQUID, + reactions: { + "dirt": { "elem1": null, "elem2": "mud" }, + "sand": { "elem1": null, "elem2": "wet_sand" } + }, + temp: 33, + tempLow: 0, + stateLow: "butter", + tempHigh: 1000, + stateHigh: ["smoke","steam","smoke","steam","smoke","steam","smoke","steam","calcium","salt"], + category: "liquids", + viscosity: 42, + hidden: true, + state: "liquid", + density: 911, + isFood: true }, "melted_cheese": { color: "#fcdb53", @@ -3915,6 +4030,7 @@ hidden: true, state: "liquid", density: 1153, + isFood: true }, "mushroom_spore": { color: ["#d1d1d1","#d4cfa9","#b4d4ae","#b98aba","#805236"], @@ -3930,7 +4046,7 @@ "evergreen": { "elem2":"dirt", "chance":0.07 }, "root": { "elem2":"dirt", "chance":0.07 }, "grass": { "elem2":"dirt", "chance":0.08 }, - "grass_seed": { "elem2":"dirt", "chance":0.08 }, + "grass_seed": { "elem2":"dirt", "chance":0.08 } }, category: "life", tempHigh: 225, @@ -3957,7 +4073,7 @@ "root": { "elem2":"dirt", "chance":0.07 }, "grass": { "elem2":"dirt", "chance":0.08 }, "grass_seed": { "elem2":"dirt", "chance":0.08 }, - "ash": { "elem2":"dirt", "chance":0.04 }, + "ash": { "elem2":"dirt", "chance":0.04 } }, category: "life", hidden: true, @@ -4040,7 +4156,7 @@ "root": { "elem2":"dirt", "chance":0.07 }, "grass": { "elem2":"dirt", "chance":0.08 }, "grass_seed": { "elem2":"dirt", "chance":0.08 }, - "ash": { "elem2":"dirt", "chance":0.04 }, + "ash": { "elem2":"dirt", "chance":0.04 } }, category: "life", hidden: true, @@ -4091,7 +4207,7 @@ reactions: { "carbon_dioxide": { "elem2":"oxygen", "chance":0.05 }, "rock": { "elem2":"dirt", "chance":0.0025 }, - "vinegar": { "elem1":null, "chance":0.01 }, + "vinegar": { "elem1":null, "chance":0.01 } }, tempHigh: 400, stateHigh: "fire", @@ -4099,7 +4215,7 @@ burnTime: 20, category: "life", state: "solid", - density: 1.5, + density: 1.5 }, "antimatter": { color: "#a89ba8", @@ -4112,7 +4228,7 @@ category: "special", state: "gas", density: 2.1, - excludeRandom: true, + excludeRandom: true }, "plastic": { color: "#c5dede", @@ -4123,12 +4239,12 @@ burnInto: ["dioxin","smoke","dioxin","smoke","stench"], category: "solids", state: "solid", - density: 1052, + density: 1052 }, "molten_plastic": { color: "#a4b3b3", behavior: behaviors.LIQUID, - viscosity: 20, + viscosity: 20 }, "cellulose": { color: "#c7d4c9", @@ -4141,6 +4257,7 @@ state: "solid", density: 65, viscosity: 2500, + hidden: true }, "wax": { color: "#fff3d6", @@ -4149,11 +4266,12 @@ stateHigh: "melted_wax", category: "powders", state: "solid", - density: 900, + density: 900 }, "melted_wax": { color: "#d4c196", behavior: behaviors.LIQUID, + temp: 67, tempLow: 57, stateLow: "wax", category: "liquids", @@ -4161,7 +4279,7 @@ hidden: true, state: "liquid", density: 900, - viscosity: 1.355, + viscosity: 1.355 }, "incense": { color: "#361f19", @@ -4175,7 +4293,7 @@ breakInto: "sawdust", category: "powders", state: "solid", - density: 686, + density: 686 }, "fuse": { color: "#825d38", @@ -4188,7 +4306,7 @@ burnInto: "pop", category: "solids", state: "solid", - density: 1000, + density: 1000 }, "dioxin": { color: "#b8b8b8", @@ -4200,18 +4318,18 @@ "frog": { "elem2":"meat", "chance":0.05 }, "fish": { "elem2":"meat", "chance":0.05 }, "rat": { "elem2":"rotten_meat", "chance":0.05 }, - "bird": { "elem2":"rotten_meat", "chance":0.05 }, + "bird": { "elem2":"rotten_meat", "chance":0.05 } }, category: "gases", state: "gas", - density: 1830, + density: 1830 }, "insulation": { color: "#b8aea5", behavior: behaviors.WALL, category: "solids", insulate: true, - state: "solid", + state: "solid" }, "sponge": { color: ["#bf9c00","#ad8e05","#876f05"], @@ -4242,7 +4360,7 @@ tempHigh: 500, stateHigh: "fire", state: "solid", - density: 65, + density: 65 }, "iron": { color: ["#cbcdcd","#bdbdbd"], @@ -4253,7 +4371,7 @@ "dirty_water": { "elem1":"rust", chance:0.04 }, "sugar_water": { "elem1":"rust", chance:0.0035 }, "seltzer": { "elem1":"rust", chance:0.006 }, - "salt": { "elem1":"rust", chance:0.004 }, + "salt": { "elem1":"rust", chance:0.004 } }, tempHigh: 1538, category: "solids", @@ -4269,7 +4387,7 @@ "salt_water": { "elem1":"oxidized_copper", chance:0.005 }, "dirty_water": { "elem1":"oxidized_copper", chance:0.04 }, "sugar_water": { "elem1":"oxidized_copper", chance:0.0035 }, - "seltzer": { "elem1":"oxidized_copper", chance:0.006 }, + "seltzer": { "elem1":"oxidized_copper", chance:0.006 } }, category: "solids", tempHigh: 1085, @@ -4294,7 +4412,7 @@ category: "solids", density: 8900, conduct: 0.51, - hardness: 0.4, + hardness: 0.4 }, "zinc": { color: ["#8d8c8e","#f6f6f1","#c7c7c5","#ccccca","#6b6a6a","#848382"], @@ -4303,7 +4421,7 @@ category: "solids", density: 7068, conduct: 0.53, - hardness: 0.25, + hardness: 0.25 }, "silver": { color: "#CACACA", @@ -4312,7 +4430,7 @@ category: "solids", density: 10497, conduct: 0.99, - hardness: 0.25, + hardness: 0.25 }, "tin": { color: ["#9E9D98","#AEADA4"], @@ -4321,7 +4439,7 @@ category: "solids", density: 7260, conduct: 0.45, - hardness: 0.15, + hardness: 0.15 }, "lead": { color: "#6c6c6a", @@ -4330,7 +4448,7 @@ category: "solids", density: 11343, conduct: 0.41, - hardness: 0.15, + hardness: 0.15 }, "aluminum": { color: ["#D1C6BE","#B5C0AD","#B9B8BC"], @@ -4339,7 +4457,7 @@ category: "solids", density: 2710, conduct: 0.73, - hardness: 0.05, + hardness: 0.05 }, "tungsten": { color: ["#D4D3CD","#C3C0B8","#BCBAAE","#625950"], @@ -4348,7 +4466,7 @@ category: "solids", density: 19300, conduct: 0.65, - hardness: 0.75, + hardness: 0.75 }, "molten_tungsten": { color: ['#ffff67', '#ffd367', '#ff9e00', '#d1ff5c', '#5cffb0', '#0073ff', '#ca57ff', '#ffba57', '#ff8c00', '#c46f28', '#c45928', '#c44300'] @@ -4361,7 +4479,7 @@ density: 8550, conduct: 0.52, hardness: 0.275, - hidden: true, + hidden: true }, "bronze": { color: "#cd7f32", @@ -4371,7 +4489,7 @@ density: 8150, conduct: 0.44, hardness: 0.225, - hidden: true, + hidden: true }, "sterling": { color: ["#858478","#eae8e2","#bfbcb7"], @@ -4381,7 +4499,7 @@ density: 10375.25, conduct: 0.95, hardness: 0.275, - hidden: true, + hidden: true }, "steel": { color: "#71797E", @@ -4390,7 +4508,7 @@ category: "solids", density: 7850, conduct: 0.42, - hardness: 0.8, + hardness: 0.8 }, "gallium": { color: ["#b3b3b3","#cccccc","#dbdbdb"], @@ -4399,7 +4517,7 @@ category: "solids", density: 5100, conduct: 0.05, - hardness: 0.15, + hardness: 0.15 }, "molten_gallium": { color: ["#f7f7f7","#d9d7d7"], @@ -4411,8 +4529,8 @@ "aluminum": { "elem2":["alga",null], chance:0.01 }, "molten_aluminum": { "elem2":["molten_alga",null], chance:0.05 }, "sodium": { "elem1":"hydrogen", "elem2":"salt", chance:0.005 }, - "steel": { "elem2":"iron", chance:0.005 }, - }, + "steel": { "elem2":"iron", chance:0.005 } + } }, "rose_gold": { color: ["#B76E79","#a1334d","#f06283"], @@ -4422,7 +4540,7 @@ density: 12900, conduct: 0.87, hardness: 0.275, - hidden: true, + hidden: true }, "electrum": { color: ["#ffdd63","#ad9532","#bda853","#bdb38e","#fff5d1"], @@ -4432,7 +4550,7 @@ density: 13750, conduct: 0.9, hardness: 0.25, - hidden: true, + hidden: true }, "solder": { color: "#a1a19d", @@ -4442,7 +4560,7 @@ density: 8885, conduct: 0.43, hardness: 0.15, - hidden: true, + hidden: true }, "molten_copper": { reactions: { @@ -4451,19 +4569,19 @@ "molten_silver": { "elem1": null, "elem2": "molten_sterling" }, "molten_gold": { "elem1": null, "elem2": "molten_rose_gold" }, "molten_sulfur": { "elem1": null, "elem2": "molten_copper_sulfate" }, - "sulfur_gas": { "elem1": null, "elem2": "molten_copper_sulfate" }, + "sulfur_gas": { "elem1": null, "elem2": "molten_copper_sulfate" } } }, "molten_gold": { reactions: { - "molten_silver": { "elem1": null, "elem2": "molten_electrum" }, + "molten_silver": { "elem1": null, "elem2": "molten_electrum" } } }, "molten_iron": { reactions: { "charcoal": { "elem1": "molten_steel", "elem2": null }, "diamond": { "elem1": "molten_steel", "elem2": null }, - "carbon_dioxide": { "elem1": "molten_steel", "elem2": null }, + "carbon_dioxide": { "elem1": "molten_steel", "elem2": null } } }, "pyrite": { @@ -4475,11 +4593,11 @@ state: "solid", conduct: 0.5, hardness: 0.6, - hidden: true, + hidden: true }, "molten_tin": { reactions: { - "molten_lead": { "elem1": null, "elem2": "molten_solder" }, + "molten_lead": { "elem1": null, "elem2": "molten_solder" } } }, "juice": { @@ -4492,6 +4610,7 @@ state: "liquid", density: 1054, stain: 0.05, + isFood: true }, "broth": { color: "#dbb169", @@ -4506,6 +4625,7 @@ conduct: 0.03, stain: -0.01, hidden: true, + isFood: true }, "milk": { color: "#fafafa", @@ -4517,7 +4637,7 @@ "soda": { "elem1":"pilk", "elem2":null, chance:0.1 }, "yolk": { "elem1":"eggnog", "elem2":null, chance:0.1 }, "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" } }, tempHigh: 93, stateHigh: "yogurt", @@ -4525,13 +4645,14 @@ category: "liquids", state: "liquid", density: 1036.86, + isFood: true }, "chocolate_milk": { color: "#664934", behavior: behaviors.LIQUID, reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" } }, tempHigh: 200, stateHigh: "smoke", @@ -4540,13 +4661,14 @@ state: "liquid", density: 1181, hidden: true, + isFood: true }, "fruit_milk": { color: "#c9988f", behavior: behaviors.LIQUID, reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" } }, tempHigh: 200, stateHigh: "smoke", @@ -4555,13 +4677,14 @@ state: "liquid", density: 1045, hidden: true, + isFood: true }, "pilk": { color: "#E9CBA3", behavior: behaviors.LIQUID, reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" } }, tempHigh: 200, stateHigh: ["smoke","smoke","sugar","steam","carbon_dioxide"], @@ -4570,13 +4693,14 @@ state: "liquid", density: 1033, hidden: true, + isFood: true }, "eggnog": { color: "#DDBF98", behavior: behaviors.LIQUID, reactions: { "dirt": { "elem1": null, "elem2": "mud" }, - "sand": { "elem1": null, "elem2": "wet_sand", }, + "sand": { "elem1": null, "elem2": "wet_sand" } }, tempHigh: 200, stateHigh: "smoke", @@ -4585,25 +4709,7 @@ state: "liquid", density: 1033, hidden: true, - }, - "yogurt": { - color: "#f0efe6", - behavior: [ - "XX|XX|XX", - "XX|XX|XX", - "M2%5|M1|M2%5", - ], - tempHigh: 1000, - stateHigh: ["smoke","smoke","smoke","calcium"], - tempLow: 0, - stateLowName: "frozen_yogurt", - category: "food", - state: "liquid", - density: 820.33, - }, - "frozen_yogurt": { - behavior: behaviors.STURDYPOWDER, - category: "food" + isFood: true }, "egg": { color: "#e0d3ab", @@ -4633,6 +4739,7 @@ else {pixel.fall ++} doDefaults(pixel); }, + innerColor: "#ffffff", properties: { "fall":0 }, tempHigh: 1500, stateHigh: ["steam","calcium","carbon_dioxide"], @@ -4646,17 +4753,89 @@ color: ["#ffbe33","#ffcf33"], behavior: behaviors.LIQUID, reactions: { - "dna": { "elem1":"homunculus", "elem2":null, "chance":0.05 }, + "dna": { "elem1":"homunculus", "elem2":null, "chance":0.05 } }, tempHigh: 100, stateHigh: "hard_yolk", tempLow: 0, stateLow: "hard_yolk", category: "food", - hidden: true, state: "liquid", density: 1027.5, viscosity: 270, + isFood: true + }, + "dough": { + color: "#EDD8BA", + behavior: behaviors.STURDYPOWDER, + onMix: function(dough,ingredient) { + if (elements[ingredient.element].isFood && elements[ingredient.element].id !== elements.dough.id && elements[ingredient.element].id !== elements.flour.id) { + var rgb1 = dough.color.match(/\d+/g); + var rgb2 = ingredient.color.match(/\d+/g); + // average the colors + var rgb = [ + Math.round((parseInt(rgb1[0])+parseInt(rgb2[0]))/2), + Math.round((parseInt(rgb1[1])+parseInt(rgb2[1]))/2), + Math.round((parseInt(rgb1[2])+parseInt(rgb2[2]))/2) + ]; + changePixel(ingredient, "dough") + // convert rgb to hex + var hex = RGBToHex(rgb); + dough.color = pixelColorPick(dough, hex); + // 50% change to delete ingredient + if (Math.random() < 0.5) { deletePixel(ingredient.x, ingredient.y); } + else { + ingredient.color = pixelColorPick(ingredient, hex); + } + } + }, + category: "food", + tempHigh: 94, + stateHigh: "bread", + //stateHighColorMultiplier: 0.9, + burn:40, + burnTime:25, + burnInto:"ash", + state: "solid", + density: 526.9, + isFood: true + }, + "batter": { + color: "#d4bc85", + behavior: behaviors.LIQUID, + onMix: function(batter,ingredient) { + if (elements[ingredient.element].isFood && elements[ingredient.element].id !== elements.batter.id && elements[ingredient.element].id !== elements.flour.id && elements[ingredient.element].id !== elements.yolk.id) { + var rgb1 = batter.color.match(/\d+/g); + var rgb2 = ingredient.color.match(/\d+/g); + // average the colors + var rgb = [ + Math.round((parseInt(rgb1[0])+parseInt(rgb2[0]))/2), + Math.round((parseInt(rgb1[1])+parseInt(rgb2[1]))/2), + Math.round((parseInt(rgb1[2])+parseInt(rgb2[2]))/2) + ]; + changePixel(ingredient, "batter") + // convert rgb to hex + var hex = RGBToHex(rgb); + batter.color = pixelColorPick(batter, hex); + // 50% change to delete ingredient + if (Math.random() < 0.5) { deletePixel(ingredient.x, ingredient.y); } + else { + ingredient.color = pixelColorPick(ingredient, hex); + } + } + }, + category: "food", + tempHigh: 94, + stateHigh: "baked_batter", + stateHighColorMultiplier: 0.9, + burn:40, + burnTime:25, + burnInto:"ash", + state: "liquid", + viscosity: 10000, + density: 1001, + hidden: true, + isFood: true }, "homunculus": { color: ["#c4b270","#9c916a","#9e8955","#a89a76"], @@ -4672,7 +4851,7 @@ "meat": { "elem2":null, "chance":0.001 }, "cooked_meat": { "elem2":null, "chance":0.0005 }, "oxygen": { "elem2":"carbon_dioxide" }, - "radiation": { "elem1":"human", "elem2":null }, + "radiation": { "elem1":"human", "elem2":null } }, tempHigh: 100, stateHigh: "meat", @@ -4692,7 +4871,37 @@ category: "food", hidden: true, state: "solid", - density: 1031, + density: 1031 + }, + "butter": { + color: "#ffe46b", + behavior: behaviors.STURDYPOWDER, + tempHigh: 33, + stateHigh: "melted_butter", + category: "food", + state: "solid", + density: 860, + isFood: true + }, + "cheese": { + color: "#fcba03", + behavior: behaviors.STURDYPOWDER, + tempHigh: 54, + stateHigh: "melted_cheese", + category: "food", + state: "solid", + density: 1153, + isFood: true + }, + "chocolate": { + color: "#4d2818", + behavior: behaviors.STURDYPOWDER, + tempHigh: 31, + stateHigh: "melted_chocolate", + category: "food", + state: "solid", + density: 1325, + isFood: true }, "grape": { color: ["#b84b65","#a10e69","#a10e95","#8a3eab"], @@ -4708,8 +4917,9 @@ "basalt": { "elem1":"juice", "chance":0.1, "color1":"#291824" }, "acid": { "elem1":"juice", "color1":"#291824" }, "acid_gas": { "elem1":"juice", "color1":"#291824" }, - "sugar_water": { "elem1":null, "elem2":"juice", "color2":"#291824" }, + "sugar_water": { "elem1":null, "elem2":"juice", "color2":"#291824" } }, + innerColor: "#cc7492", tempHigh: 256, stateHigh: ["steam","sugar"], category: "food", @@ -4717,15 +4927,20 @@ density: 1154, breakInto: "juice", ignoreAir: true, + isFood: true }, "vinegar": { color: "#ffecb3", behavior: behaviors.LIQUID, reactions: { "milk": { "elem1": null, "elem2": "cheese" }, + "pilk": { "elem1": null, "elem2": "cheese", "color2":"#c48a25" }, + "fruit_milk": { "elem1": null, "elem2": "cheese", "color2":"#c2864e" }, + "chocolate_milk": { "elem1": null, "elem2": "cheese", "color2":"#6b4000" }, + "eggnog": { "elem1": null, "elem2": "cheese", "color2":"#ffdb63" }, "baking_soda": { "elem1": "sodium_acetate", "elem2": "carbon_dioxide", "attr1":{"foam":20} }, "rust": { "elem2":"iron", chance:0.05 }, - "oxidized_copper": { "elem2":"copper", chance:0.05 }, + "oxidized_copper": { "elem2":"copper", chance:0.05 } }, viscosity: 12, tempHigh: 100.6, @@ -4734,6 +4949,7 @@ state: "liquid", density: 1006, stain: -0.8, + isFood: true }, "corn": { color: ["#F8D223","#D6BA2A","#f7f5ba","#DBD281","#CDB12D"], @@ -4745,7 +4961,8 @@ stateHigh: "popcorn", state: "solid", density: 721, - seed: "corn_seed" + seed: "corn_seed", + isFood: true }, "popcorn": { color: ["#a6a076","#ebe4ab","#ebe4ab","#ebe4ab","#ebe4ab","#ebe4ab","#ebe4ab","#c99947"], @@ -4758,7 +4975,8 @@ burnInto: ["fire","ash"], state: "solid", density: 360.5, - hidden: true + hidden: true, + isFood: true }, "corn_seed": { color: ["#F2B813","#F9E3BA"], @@ -4803,6 +5021,7 @@ "SH:wire%1|XX|SH:wire%1", "XX|M2 AND SH:wire%1|XX", ], + innerColor: "#e3c688", tempHigh: 400, stateHigh: "ash", burn: 50, @@ -4811,7 +5030,8 @@ category: "food", state: "solid", density: 675, - seed: "potato_seed" + seed: "potato_seed", + isFood: true }, "root": { color: "#80715b", @@ -4825,7 +5045,7 @@ "mud": { "elem2":"dirt", "chance":0.005 }, "wet_sand": { "elem2":"sand", "chance":0.005 }, "water": { "elem2":null, "chance":0.005 }, - "sugar_water": { "elem2":null, "chance":0.008 }, + "sugar_water": { "elem2":null, "chance":0.008 } }, tempHigh: 275, stateHigh: "dirt", @@ -4837,7 +5057,7 @@ breakInto: "sawdust", category: "life", state: "solid", - density: 1250, + density: 1250 }, "fiber": { color: ["#6b563e","#5c553e","#42342d"], @@ -4853,7 +5073,7 @@ hidden: true, breakInto: "tinder", state: "solid", - density: 462, + density: 462 }, "yeast": { color: ["#AD9166","#9A7F4E","#D8BB8D"], @@ -4874,6 +5094,7 @@ "molasses": { "elem2":"alcohol", "chance":0.005, "color2":"#803924" }, "oxygen": { "elem2":"carbon_dioxide", "chance":0.05 }, "algae": { "elem1":"lichen", "elem2":"lichen", "chance":0.02 }, + "bleach": { "elem1":null, "elem2": "foam", "attr2":{"foam":40} }, }, tempHigh: 110, stateHigh: "bread", @@ -4883,13 +5104,14 @@ category: "food", state: "solid", density: 1180, + isFood: true }, "bread": { - color: "#F2CF99", + color: "#debd8c", behavior: behaviors.STURDYPOWDER, reactions: { "honey": { "elem1":"gingerbread", "elem2":null }, - "molasses": { "elem1":"gingerbread", "elem2":null }, + "molasses": { "elem1":"gingerbread", "elem2":null } }, tempHigh: 176, stateHigh: "toast", @@ -4899,6 +5121,7 @@ burnInto: ["smoke","smoke","smoke","ash"], state: "solid", density: 233.96, + isFood: true }, "toast": { color: "#C08655", @@ -4911,6 +5134,7 @@ burnInto: ["smoke","smoke","smoke","ash"], state: "solid", density: 233.96, + isFood: true }, "gingerbread": { color: ["#a66530","#BF773D","#cc7d41"], @@ -4923,6 +5147,21 @@ burnInto: ["smoke","smoke","smoke","ash"], state: "solid", density: 233.96, + isFood: true + }, + "baked_batter": { + color: "#fcdf7e", + behavior: behaviors.STURDYPOWDER, + tempHigh: 550, + stateHigh: "ash", + category: "food", + burn: 10, + burnTime: 400, + burnInto: ["smoke","smoke","smoke","ash"], + state: "solid", + density: 233.96, + hidden: true, + isFood: true }, "wheat": { color: ["#F1B569","#EDB864","#DE9C45","#C2853D"], @@ -4940,45 +5179,8 @@ breakInto: "flour", state: "solid", density: 769, - seed: "wheat_seed" - }, - "flour": { - color: "#F0E2B7", - behavior: behaviors.POWDER, - reactions: { - "water": { "elem1": "dough", "elem2": null }, - "salt_water": { "elem1": "dough", "elem2": null }, - "sugar_water": { "elem1": "dough", "elem2": null }, - "seltzer": { "elem1": "dough", "elem2": null }, - }, - category: "food", - tempHigh: 400, - stateHigh: "fire", - burn:40, - burnTime:25, - state: "solid", - density: 600, - }, - "dough": { - color: "#EDD8BA", - behavior: behaviors.SUPPORT, - category: "food", - tempHigh: 94, - stateHigh: "bread", - burn:40, - burnTime:25, - burnInto:"ash", - state: "solid", - density: 526.9, - }, - "sugar": { - color: "#f2f2f2", - behavior: behaviors.POWDER, - category: "food", - tempHigh: 186, - stateHigh: "caramel", - state: "solid", - density: 1590, + seed: "wheat_seed", + isFood: true }, "candy": { color: "#e6cab1", @@ -4988,6 +5190,7 @@ category: "food", state: "solid", density: 900, + isFood: true }, "baking_soda": { color: "#ededed", @@ -4999,6 +5202,7 @@ state: "solid", density: 2200, tempHigh: 3000, + isFood: true }, "sodium_acetate": { color: ["#ededed","#dbdbdb"], @@ -5021,6 +5225,27 @@ category: "powders", tempHigh: 881.4 }, + "yogurt": { + color: "#f0efe6", + behavior: [ + "XX|XX|XX", + "XX|XX|XX", + "M2%5|M1|M2%5", + ], + tempHigh: 1000, + stateHigh: ["smoke","smoke","smoke","calcium"], + tempLow: 0, + stateLowName: "frozen_yogurt", + category: "food", + state: "liquid", + density: 820.33, + isFood: true + }, + "frozen_yogurt": { + behavior: behaviors.STURDYPOWDER, + category: "food", + isFood: true + }, "beans": { //color: ["#F33D02","#F04703","#FD9D24","#FFBF61"], //color: ["#B81901","#B61A00","#E97501","#F9922B"], @@ -5031,7 +5256,8 @@ stateHigh: ["fire","fire","ash"], state: "liquid", density: 721, - viscosity: 1000 + viscosity: 1000, + isFood: true }, "dry_ice": { color: "#e6e6e6", @@ -5041,7 +5267,7 @@ tempHigh: -78.5, stateHigh: "carbon_dioxide", state: "solid", - density: 1562, + density: 1562 }, "nitrogen_ice": { color: "#e6e6e6", @@ -5052,7 +5278,7 @@ stateHigh: "liquid_nitrogen", state: "solid", density: 1562, - hidden: true, + hidden: true }, "porcelain": { color: "#E1E4DD", @@ -5060,7 +5286,7 @@ category: "solids", state: "solid", density: 2403, - hidden: true, + hidden: true }, "particleboard": { color: ["#cca77c","#ad8b63","#b59d81","#c7a073","#c9b297"], @@ -5074,14 +5300,14 @@ state: "solid", hardness: 0.2, breakInto: "sawdust", - hidden: true, + hidden: true }, "alcohol": { color: "#c9c5b1", behavior: behaviors.LIQUID, reactions: { "virus": { "elem2":null }, - "plague": { "elem2":null }, + "plague": { "elem2":null } }, tempHigh: 78.37, tempLow: -113.88, @@ -5092,6 +5318,7 @@ state: "liquid", density: 785.1, stain: -0.25, + isFood: true }, "basalt": { color: ["#2e2e2e","#333333","#3d3d3d"], @@ -5102,7 +5329,7 @@ state: "solid", density: 3000, hardness: 0.65, - breakInto: "gravel", + breakInto: "gravel" }, "soap": { color: "#f2f2f2", @@ -5133,7 +5360,7 @@ "ink": { "elem2": null }, "dye": { "elem2": null }, "cancer": { "elem2": null, "chance":0.01 }, - "rat": { "elem2": null, "chance":0.01 }, + "rat": { "elem2": null, "chance":0.01 } }, tempHigh: 100, stateHigh: "bubble", @@ -5141,7 +5368,7 @@ state: "liquid", category:"liquids", density: 1055, - stain: -1, + stain: -1 }, "bleach": { color: "#ffffff", @@ -5166,7 +5393,7 @@ state: "liquid", category:"liquids", density: 1210, - stain: 0.1, + stain: 0.1 }, "chlorine": { color: "#A5AC50", @@ -5174,21 +5401,21 @@ reactions: { "water": { "elem1": "pool_water", "elem2":null }, "hydrogen": { "elem1": "acid_gas", "elem2":null },//hydrochloric acid - "dirty_water": { "elem2":"water" }, + "dirty_water": { "elem2":"water" } }, tempLow: -36.04, stateLow: "liquid_chlorine", state: "gas", category:"gases", density: 3.2, - stain: 0.005, + stain: 0.005 }, "liquid_chlorine": { color: "#F4D217", behavior: behaviors.LIQUID, reactions: { "water": { "elem1": "acid", "elem2":null }, - "steam": { "elem2": "acid_gas", "elem1":null }, + "steam": { "elem2": "acid_gas", "elem1":null } }, temp: -36.04, tempHigh: -34.04, @@ -5198,7 +5425,7 @@ category:"liquids", density: 1562.5, stain: 0.01, - hidden: true, + hidden: true }, "dye": { color: ["#ff0000","#ff8800","#ffff00","#00ff00","#00ffff","#0000ff","#ff00ff"], @@ -5208,7 +5435,7 @@ "salt_water": { "elem1":null, "chance":0.05 }, "sugar_water": { "elem1":null, "chance":0.05 }, "seltzer": { "elem1":null, "chance":0.05 }, - "dirty_water": { "elem1":null, "chance":0.05 }, + "dirty_water": { "elem1":null, "chance":0.05 } }, customColor: true, stain: 0.66, @@ -5217,7 +5444,7 @@ category: "liquids", state: "liquid", density: 998, - stainSelf: true, + stainSelf: true }, "ink": { color: "#171717", @@ -5227,7 +5454,7 @@ stateHigh: "smoke", category: "liquids", state: "liquid", - density: 1074.3, + density: 1074.3 }, "mercury": { color: ["#53574B","#65686A"], @@ -5245,7 +5472,7 @@ "rose_gold": { "elem1":null, "elem2":"amalgam", "chance":0.01 }, "water": { "elem1":null, "elem2":"dirty_water" }, "salt_water": { "elem1":null, "elem2":"dirty_water" }, - "sugar_water": { "elem1":null, "elem2":"dirty_water" }, + "sugar_water": { "elem1":null, "elem2":"dirty_water" } }, viscosity: 1.53, tempLow: -38.83, @@ -5253,7 +5480,10 @@ tempHigh: 356.73, category:"liquids", state: "liquid", - density: 13545, + density: 13545 + }, + "mercury_gas": { + density: 12800 }, "blood": { color: "#ff0000", @@ -5279,7 +5509,7 @@ "mercury": { "elem1":"infection", "elem2":null, "chance":0.05 }, "oxygen": { "elem2":null, "chance":0.05 }, "carbon_dioxide": { "elem2":null, "chance":0.05 }, - "alcohol": { "elem1":[null,"dna"], "chance":0.02 }, + "alcohol": { "elem1":[null,"dna"], "chance":0.02 } }, viscosity: 10, tempHigh: 124.55, @@ -5288,7 +5518,7 @@ category:"liquids", state: "liquid", density: 1060, - stain: 0.05, + stain: 0.05 }, "vaccine": { color: "#e0d0ad", @@ -5298,7 +5528,7 @@ "antibody": { "elem1":null, "chance":0.0025 }, "plague": { "elem2":null, "chance":0.1 }, "virus": { "elem2":null, "chance":0.1 }, - "cancer": { "elem2":null, "chance":0.01 }, + "cancer": { "elem2":null, "chance":0.01 } }, viscosity: 2.6, tempHigh: 124.55, @@ -5306,6 +5536,7 @@ category:"liquids", state: "liquid", density: 1125, + isFood: true }, "antibody": { color: "#ff4040", @@ -5315,7 +5546,7 @@ "infection": { "elem2":"antibody", "chance":0.1 }, "cancer": { "elem2":null, "chance":0.01 }, "poison": { "elem1":"antidote", "elem2":null, "chance":0.03 }, - "alcohol": { "elem1":[null,"dna"], "chance":0.02 }, + "alcohol": { "elem1":[null,"dna"], "chance":0.02 } }, viscosity: 6.3, tempHigh: 124.55, @@ -5325,7 +5556,7 @@ hidden: true, state: "liquid", density: 1060, - stain: 0.05, + stain: 0.05 }, "infection": { color: "#cf005d", @@ -5335,7 +5566,7 @@ "frog": { "elem2":"rotten_meat", "chance":0.005 }, "fish": { "elem2":"rotten_meat", "chance":0.005 }, "meat": { "elem2":"rotten_meat", "chance":0.005 }, - "alcohol": { "elem1":[null,"dna"], "chance":0.02 }, + "alcohol": { "elem1":[null,"dna"], "chance":0.02 } }, viscosity: 15, tempHigh: 124.55, @@ -5345,7 +5576,7 @@ hidden: true, state: "liquid", density: 1060, - stain: 0.05, + stain: 0.05 }, "poison": { color: "#00ff00", @@ -5386,12 +5617,20 @@ "petal": { "elem1":null, "elem2":"dead_plant" }, "grass_seed": { "elem1":null, "elem2":"dead_plant" }, "meat": { "elem1":null, "elem2":"rotten_meat" }, + "tree_branch": { "elem1":null, "elem2":"wood" }, + "mushroom_cap": { "elem1":null, "elem2":null, "chance":0.01 }, + "mushroom_gill": { "elem1":null, "elem2":null, "chance":0.01 }, + "mushroom_stalk": { "elem1":null, "elem2":null, "chance":0.01 }, + "mushroom_stalk": { "elem1":null, "elem2":null, "chance":0.01 }, + "hyphae": { "elem1":null, "elem2":null, "chance":0.02 }, + "mycelium": { "elem1":null, "elem2":"dirt", "chance":0.1 }, + "mushroom_spore": { "elem1":null, "elem2":null, "chance":0.1 }, }, viscosity: 2, tempHigh: 110, category:"liquids", state: "liquid", - density: 1060, + density: 1060 }, "poison_gas": { color: "#98f5b0" @@ -5400,14 +5639,14 @@ color: "#c9b836", behavior: behaviors.LIQUID, reactions: { - "poison": { "elem1":null, "elem2":null }, + "poison": { "elem1":null, "elem2":null } }, viscosity: 2, tempHigh: 124.55, stateHigh: ["steam","salt","oxygen"], category:"liquids", state: "liquid", - density: 1060, + density: 1060 }, "honey": { color: ["#F6CE1A","#E79001","#BB5503"], @@ -5418,6 +5657,7 @@ category:"liquids", state: "liquid", density: 1420, + isFood: true }, "sap": { color: ["#b67f18","#c86305","#cf7a19","#e4ae3a"], @@ -5427,7 +5667,7 @@ category:"liquids", state: "liquid", viscosity: 15, - density: 1400, + density: 1400 }, "caramel": { color: "#e89a51", @@ -5441,6 +5681,7 @@ category: "liquids", state: "liquid", density: 850, + isFood: true }, "molasses": { color: ["#210c06","#170804"], @@ -5452,6 +5693,7 @@ state: "liquid", density: 1600, stain: 0.05, + isFood: true }, "ketchup": { color: "#ff3119", @@ -5463,6 +5705,7 @@ state: "liquid", density: 1235, stain: 0.05, + isFood: true }, "melted_chocolate": { color: "#3b160b", @@ -5477,13 +5720,14 @@ density: 1325, hidden: true, stain: 0.05, + isFood: true }, "liquid_hydrogen": { color: "#97afcf", behavior: behaviors.LIQUID, reactions: { "liquid_oxygen": { "elem1":"ice", "elem2":null }, - "oxygen": { "elem1":"ice", "elem2":null }, + "oxygen": { "elem1":"ice", "elem2":null } }, category: "liquids", burn: 100, @@ -5494,13 +5738,13 @@ tempLow: -259.2, state: "liquid", density: 71, - hidden: true, + hidden: true }, "liquid_oxygen": { color: "#00ad99", behavior: behaviors.LIQUID, reactions: { - "hydrogen": { "elem1":"ice", "elem2":null }, + "hydrogen": { "elem1":"ice", "elem2":null } }, category: "liquids", burn: 100, @@ -5510,7 +5754,7 @@ tempLow: -218.8, stateHigh: "oxygen", state: "liquid", - density: 1141, + density: 1141 }, "liquid_nitrogen": { color: "#d3e1e3", @@ -5522,7 +5766,7 @@ tempLow: -259.86, stateLow: "nitrogen_ice", state: "liquid", - density: 804, + density: 804 }, "liquid_helium": { color: "#e3d3d3", @@ -5533,7 +5777,7 @@ stateHigh: "helium", state: "liquid", density: 145, - hidden: true, + hidden: true }, "sodium": { color: ["#484849","#5D5E5F","#6B6968","#747775"], @@ -5554,7 +5798,7 @@ "sugar_water": { "elem1":"pop", "chance":0.01 }, "dirty_water": { "elem1":"pop", "chance":0.01 }, "seltzer": { "elem1":"pop", "chance":0.01 }, - "acid": { "elem1":"explosion" }, + "acid": { "elem1":"explosion" } }, tempHigh: 97.794, category: "powders", @@ -5563,11 +5807,29 @@ conduct: 0.85, hardness: 0.05 }, + "molten_sodium": { + tempLow: 97.794, + tempHigh: 882.8, + fireColor: "#FFFF00", + reactions: { + "chlorine": { "elem1":"salt", "elem2":"pop" }, + "vinegar": { "elem1":"sodium_acetate", "elem2":null, "attr1":{"foam":15} }, + "water": { "elem1":"pop", "chance":0.01 }, + "salt_water": { "elem1":"pop", "chance":0.01 }, + "sugar_water": { "elem1":"pop", "chance":0.01 }, + "dirty_water": { "elem1":"pop", "chance":0.01 }, + "seltzer": { "elem1":"pop", "chance":0.01 }, + "acid": { "elem1":"explosion" } + } + }, + "sodium_gas": { + color: "#5D5E5F" + }, "calcium": { color: ["#515053","#7a787d","#748193","#FEF9FF","#748193","#7a787d","#515053"], behavior: behaviors.POWDER, reactions: { - "oxygen": { "elem1":"quicklime", "elem2":null }, + "oxygen": { "elem1":"quicklime", "elem2":null } }, tempHigh: 842, category: "powders", @@ -5585,7 +5847,7 @@ state: "solid", density: 2100, hardness: 0.3, - breakInto: ["quicklime","calcium","dust"], + breakInto: ["quicklime","calcium","dust"] }, "quicklime": { color: "#E9EBE7", @@ -5597,7 +5859,7 @@ density: 1025, hardness: 0.23, breakInto: ["calcium","dust"], - hidden: true, + hidden: true }, "slaked_lime": { color: "#adb8b5", @@ -5609,7 +5871,7 @@ state: "solid", density: 2211, hardness: 0.13, - breakInto: ["calcium","dust"], + breakInto: ["calcium","dust"] }, "thermite": { color: ["#5D4947","#5B3C42","#372A2D"], @@ -5651,18 +5913,18 @@ state: "solid", density: 13920, hardness: 0.1, - hidden: true, + hidden: true }, "molten_aluminum": { reactions: { "rust": { "elem1":null, "elem2":"thermite" }, - "oxidized_copper": { "elem1":null, "elem2":"thermite" }, + "oxidized_copper": { "elem1":null, "elem2":"thermite" } } }, "molten_zinc": { reactions: { "rust": { "elem1":null, "elem2":"thermite" }, - "oxidized_copper": { "elem1":null, "elem2":"thermite" }, + "oxidized_copper": { "elem1":null, "elem2":"thermite" } } }, "neon": { @@ -5674,7 +5936,7 @@ category: "gases", density: 0.9002, state: "gas", - conduct: 0.86, + conduct: 0.86 }, "liquid_neon": { color: "#d1d1d1", @@ -5687,7 +5949,7 @@ hidden: true, density: 1207, state: "liquid", - conduct: 0.83, + conduct: 0.83 }, "smog": { color: "#989398", @@ -5703,7 +5965,7 @@ density: 590.3, state: "gas", conduct: 0.03, - stain: 0.0035, + stain: 0.0035 }, "stench": { color: "#6ab066", @@ -5712,13 +5974,13 @@ "oxygen": { "elem2":"stench" }, "water": { "elem1":null, "elem2":"dirty_water" }, "nitrogen": { "elem2":"stench" }, - "baking_soda": { "elem1":null }, + "baking_soda": { "elem1":null } }, category: "gases", tempHigh: 1000, stateHigh: "fire", state: "gas", - density: 1.293, + density: 1.293 }, "fragrance": { color: "#967bb6", @@ -5726,13 +5988,13 @@ reactions: { "stench": { "elem2":null }, "oxygen": { "elem2":"fragrance" }, - "dirty_water": { "elem1":null, "elem2":"water" }, + "dirty_water": { "elem1":null, "elem2":"water" } }, tempHigh: 1000, stateHigh: "fire", category: "gases", state: "gas", - density: 1.292, + density: 1.292 }, "cyanide": { color: "#b6ccb6", @@ -5742,7 +6004,7 @@ "ant": { "elem2":null }, "bee": { "elem2":null }, "fish": { "elem2":"meat" }, - "firefly": { "elem2":null }, + "firefly": { "elem2":null } }, tempHigh: 550, stateHigh: "fire", @@ -5750,7 +6012,7 @@ burnTime: 1, state: "gas", density: 687, - category: "gases", + category: "gases" }, "ozone": { color: "#80a4ff", @@ -5766,7 +6028,7 @@ "charcoal": { "elem1":"oxygen", "elem2":"carbon_dioxide", "chance":0.025 }, "dirty_water": { "elem1":null, "elem2":"water" }, "stench": { "elem1":null, "elem2":null }, - "yeast": { "elem2":null, "chance":0.1 }, + "yeast": { "elem2":null, "chance":0.1 } }, category:"gases", temp: -15, @@ -5774,7 +6036,7 @@ stateLow: "liquid_oxygen", state: "gas", stain: -0.1, - density: 2.14, + density: 2.14 }, "cloud": { color: "#d5dce6", @@ -5786,7 +6048,7 @@ reactions: { "rain_cloud": { "elem1":"rain_cloud", "temp1":-20 }, "electric": { "elem1":"rain_cloud", "temp1":-20 }, - "cloud": { "elem1":"rain_cloud", "elem2":"rain_cloud", "temp1":-20, "temp2":-20, "charged":true }, + "cloud": { "elem1":"rain_cloud", "elem2":"rain_cloud", "temp1":-20, "temp2":-20, "charged":true } }, category:"gases", temp: 110, @@ -5813,7 +6075,7 @@ state: "gas", density: 0.5, ignoreAir: true, - conduct: 0.03, + conduct: 0.03 }, "snow_cloud": { color: "#7e8691", @@ -5831,7 +6093,7 @@ state: "gas", density: 0.55, ignoreAir: true, - conduct: 0.01, + conduct: 0.01 }, "hail_cloud": { color: "#7e8691", @@ -5847,7 +6109,7 @@ state: "gas", density: 0.6, ignoreAir: true, - conduct: 0.01, + conduct: 0.01 }, "acid_cloud": { color: "#637865", @@ -5863,14 +6125,14 @@ "slaked_lime": { "elem1":"rain_cloud", "elem2":null, "chance":0.05 }, "borax": { "elem1":"rain_cloud", "elem2":null, "chance":0.05 }, "ammonia": { "elem1":"rain_cloud", "elem2":null, "chance":0.05 }, - "bleach": { "elem1":"rain_cloud", "elem2":null, "chance":0.05 }, + "bleach": { "elem1":"rain_cloud", "elem2":null, "chance":0.05 } }, category:"gases", burn: 15, burnTime: 5, state: "gas", density: 0.7, - ignoreAir: true, + ignoreAir: true }, "pyrocumulus": { color: "#2e2e2e", @@ -5880,13 +6142,13 @@ "XX|XX|XX", ], reactions: { - "fireball": { "elem1":null, "elem2":"fire_cloud", "chance":0.25 }, + "fireball": { "elem1":null, "elem2":"fire_cloud", "chance":0.25 } }, category:"gases", hidden: true, state: "gas", density: 0.7, - ignoreAir: true, + ignoreAir: true }, "fire_cloud": { color: ["#332424","#473431","#473931"], @@ -5899,7 +6161,7 @@ "rain_cloud": { "elem1": "pyrocumulus", "elem2": "pyrocumulus" }, "snow_cloud": { "elem1": "pyrocumulus", "elem2": "rain_cloud" }, "hail_cloud": { "elem1": "pyrocumulus", "elem2": "snow_cloud" }, - "acid_cloud": { "elem1": "fire", "elem2": "electric" }, + "acid_cloud": { "elem1": "fire", "elem2": "electric" } }, temp: 500, tempLow: 100, @@ -5908,7 +6170,7 @@ state: "gas", density: 0.8, ignoreAir: true, - excludeRandom: true, + excludeRandom: true }, "color_smoke": { color: ["#6b2e2e","#6b4f2e","#6b6b2e","#2e6b2e","#2e6b6b","#2e2e6b","#6b2e6b"], @@ -5916,7 +6178,7 @@ category: "gases", state: "gas", density: 1.977, - customColor: true, + customColor: true }, "spray_paint": { color: ["#ff0000","#ff8800","#ffff00","#00ff00","#00ffff","#0000ff","#ff00ff"], @@ -5927,7 +6189,7 @@ burnTime: 1, density: 1250, customColor: true, - stain: 0.25, + stain: 0.25 }, "battery": { color: "#9c6c25", @@ -5938,7 +6200,7 @@ ], category: "machines", tempHigh: 1455.5, - stateHigh: "molten_steel", + stateHigh: "molten_steel" }, "led_r": { behavior: behaviors.WALL, @@ -5948,7 +6210,7 @@ category: "machines", tempHigh: 1500, stateHigh: "molten_glass", - conduct: 1, + conduct: 1 }, "led_g": { behavior: behaviors.WALL, @@ -5958,7 +6220,7 @@ category: "machines", tempHigh: 1500, stateHigh: "molten_glass", - conduct: 1, + conduct: 1 }, "led_b": { behavior: behaviors.WALL, @@ -5968,7 +6230,7 @@ category: "machines", tempHigh: 1500, stateHigh: "molten_glass", - conduct: 1, + conduct: 1 }, "sulfur": { color: ["#E9D74C","#89761B","#DDC56B"], @@ -5982,23 +6244,24 @@ burnTime: 207, fireColor: ["#8180CC","#7F84E6"], state: "solid", - density: 2070, + density: 2070 }, "molten_sulfur": { color: "#831502", behavior: behaviors.LIQUID, reactions: { - "iron": { "elem1": null, "elem2": "pyrite" }, + "iron": { "elem1": null, "elem2": "pyrite" } }, density: 1819, burn: 25, burnTime: 507, tempHigh: 444.6, viscosity: 8.5, - fireColor: ["#8180CC","#7F84E6"], + fireColor: ["#8180CC","#7F84E6"] }, "sulfur_gas": { color: "#b0a65d", + burnTime: 57, }, "copper_sulfate": { color: ["#4391FD","#004CFE"], @@ -6010,7 +6273,7 @@ state: "solid", density: 3600, hidden: true, - category: "powders", + category: "powders" }, "snake": { color: "#00bf00", @@ -6021,7 +6284,7 @@ ], rotatable: true, category: "special", - excludeRandom: true, + excludeRandom: true }, "loopy": { color: "#eb3474", @@ -6031,7 +6294,7 @@ "CF|XX|XX", ], rotatable: true, - category: "special", + category: "special" }, "radiation": { color: ["#00ff00","#6fff00"], @@ -6109,11 +6372,11 @@ "blood": { "elem2":["infection","cancer"], "chance":0.4 }, "antibody": { "elem2":"cancer", "chance":0.4 }, "infection": { "elem2":"cancer", "chance":0.4 }, - "cancer": { "elem2":null, "chance":0.1 }, + "cancer": { "elem2":null, "chance":0.1 } }, state: "gas", density: 1.5, - category: "energy", + category: "energy" }, "rad_steam": { color: "#abffe4", @@ -6129,14 +6392,14 @@ "snow_cloud": { "elem1": "rad_cloud", "chance":0.4, "y":[0,12], "setting":"clouds" }, "hail_cloud": { "elem1": "rad_cloud", "chance":0.4, "y":[0,12], "setting":"clouds" }, "pyrocumulus": { "elem1": "rad_cloud", "chance":0.4, "y":[0,12], "setting":"clouds" }, - "rad_cloud": { "elem1": "rad_cloud", "chance":0.3, "y":[0,12], "setting":"clouds" }, + "rad_cloud": { "elem1": "rad_cloud", "chance":0.3, "y":[0,12], "setting":"clouds" } }, tempLow: 10, stateLow: "fallout", category: "gases", hidden: true, state: "gas", - density: 0.7, + density: 0.7 }, "rad_cloud": { color: ["#2d7528","#557528"], @@ -6149,7 +6412,7 @@ hidden: true, state: "gas", density: 0.5, - ignoreAir: true, + ignoreAir: true }, "fallout": { color: ["#63b85a","#448044","#598044","#7bb85a"], @@ -6161,7 +6424,7 @@ category:"energy", hidden: true, state: "solid", - density: 1490, + density: 1490 }, "neutron": { color: "#a6ffff", @@ -6178,7 +6441,7 @@ category: "energy", state: "gas", density: 0.00003, - ignoreAir: true, + ignoreAir: true }, "proton": { color: "#ffa6a6", @@ -6194,14 +6457,14 @@ ], tick: behaviors.BOUNCY, reactions: { - "electric": { "elem1":null, "elem2":"hydrogen", "temp2":10 }, + "electric": { "elem1":null, "elem2":"hydrogen", "temp2":10 } }, temp: 40, category: "energy", state: "gas", conduct: 1, density: 0.00002, - ignoreAir: true, + ignoreAir: true }, "electric": { color: "#fffba6", @@ -6215,7 +6478,7 @@ state: "gas", density: 2.1, insulate: true, - ignoreAir: true, + ignoreAir: true }, "uranium": { color: ["#599e61","#364d3c","#494D4A","#6c8a42","#798d65","#b5e089"], @@ -6238,7 +6501,7 @@ behavior: behaviors.RADMOLTEN, reactions: { "neutron": { "elem1":"n_explosion", "tempMin":200 } - }, + } }, "diamond": { color: ["#03fcec","#03c6fc","#b3eeff","#8ab0e6"], @@ -6248,7 +6511,7 @@ stateHigh: "carbon_dioxide", state: "solid", density: 3515, - hardness: 1, + hardness: 1 }, "gold_coin": { color: ["#FFF0B5","#986A1A","#F0BB62"], @@ -6317,7 +6580,7 @@ stateHigh: "molten_glass", category: "powders", state: "solid", - density: 2500, + density: 2500 }, "brick_rubble": { color: ["#cb4141","#ab4d4d","#872626"], @@ -6329,7 +6592,7 @@ density: 1650, hardness: 0.25, breakInto: "dust", - hidden: true, + hidden: true }, "baked_clay": { color: "#b85746", @@ -6355,7 +6618,7 @@ burnTime:20, burnInto: ["ash","smoke","smoke","smoke"], state: "solid", - density: 500, + density: 500 }, "confetti": { color: ["#DC2C37","#EDCE66","#0DBF62","#0679EA","#7144B2","#D92097"], @@ -6371,7 +6634,7 @@ burnTime:150, burnInto: ["ash","smoke","smoke","smoke"], state: "solid", - density: 1201, + density: 1201 }, "glitter": { color: ["#ACE4FB","#D9FCFF","#8F6EB2","#FDEAFC","#180E1C","#6B2778"], @@ -6383,7 +6646,7 @@ density: 1450, burn: 50, burnTime: 50, - burnInto: ["smoke","smoke","dioxin"], + burnInto: ["smoke","smoke","dioxin"] }, "bead": { color: ["#ff5e5e","#ffcc5e","#76ff5e","#5ed4ff","#5e61ff","#cf5eff"], @@ -6395,7 +6658,7 @@ burnTime: 400, burnInto: "dioxin", state: "solid", - density: 1052, + density: 1052 }, "color_sand": { color: ["#ff4d4d","#ffac4d","#ffff4d","#4dff4d","#4dffff","#4d4dff","#ff4dff"], @@ -6410,7 +6673,7 @@ stateHigh: "molten_stained_glass", category: "powders", state: "solid", - density: 1602, + density: 1602 }, "borax": { color: "#ffffff", @@ -6422,7 +6685,7 @@ tempHigh: 743, state: "solid", density: 1730, - hidden: true, + hidden: true }, "epsom_salt": { color: ["#f2f2f2","#d6d6d6"], @@ -6434,7 +6697,7 @@ tempHigh: 1124, state: "solid", density: 1680, - hidden: true, + hidden: true }, "potassium_salt": { color: ["#f2f2f2","#e0e0e0"], @@ -6446,7 +6709,7 @@ tempHigh: 292, state: "solid", density: 3980, - hidden: true, + hidden: true }, "explosion": { color: ["#ffb48f","#ffd991","#ffad91"], @@ -6460,6 +6723,7 @@ state: "gas", density: 1000, excludeRandom: true, + noMix: true }, "n_explosion": { color: ["#ffb48f","#ffd991","#ffad91"], @@ -6475,6 +6739,7 @@ excludeRandom: true, hidden: true, alias: "nuclear explosion", + noMix: true }, "supernova": { color: ["#ffb48f","#ffd991","#ffad91"], @@ -6491,6 +6756,7 @@ hidden: true, excludeRandom: true, maxSize: 1, + noMix: true }, "pop": { color: ["#ffb48f","#ffd991","#ffad91"], @@ -6504,6 +6770,7 @@ density: 1000, excludeRandom: true, hidden: true, + noMix: true }, "cook": { color: ["#5c3322","#2b1107","#5c3322","#5c3322","#2b1107","#5c3322"], @@ -6518,7 +6785,7 @@ } }, category: "energy", - excludeRandom: true, + excludeRandom: true }, "incinerate": { color: ["#e600ff","#d984d8","#ff00e1"], @@ -6531,7 +6798,7 @@ pixelTempCheck(pixel); }, category: "energy", - excludeRandom: true, + excludeRandom: true }, "room_temp": { color: "#b1c96d", @@ -6540,7 +6807,7 @@ pixelTempCheck(pixel); }, category: "energy", - excludeRandom: true, + excludeRandom: true }, "positron": { color: "#a6bfff", @@ -6556,7 +6823,7 @@ state: "gas", density: 2.1, insulate: true, - ignoreAir: true, + ignoreAir: true }, "tnt": { color: "#c92a2a", @@ -6575,7 +6842,7 @@ stateHigh: "explosion", state: "solid", density: 1630, - excludeRandom: true, + excludeRandom: true }, "c4": { name: "C-4", @@ -6595,7 +6862,7 @@ stateHigh: "explosion", state: "solid", density: 1630, - excludeRandom: true, + excludeRandom: true }, "grenade": { color: "#5e5c57", @@ -6637,7 +6904,7 @@ state: "solid", density: 1300, breakInto: "explosion", - excludeRandom: true, + excludeRandom: true }, "gunpowder": { color: ["#929980","#757767","#423D43"], @@ -6650,7 +6917,7 @@ stateHigh: "explosion", state: "solid", density: 1700, - excludeRandom: true, + excludeRandom: true }, "ember": { color: ["#ffe985","#ffd885","#ffc285"], @@ -6668,7 +6935,7 @@ burning: true, state: "gas", density: 700, - hidden: true, + hidden: true }, "firework": { color: "#c44f45", @@ -6693,7 +6960,7 @@ burnTime: 100, density: 2000, state: "solid", - category: "weapons", + category: "weapons" }, "fw_ember": { color: ["#ff7a70","#ff9b70","#ffe270","#94ff70","#00ffff","#9b70ff","#ffa8d2"], @@ -6712,7 +6979,7 @@ hidden: true, state: "gas", density: 700, - alias: "firework ember", + alias: "firework ember" }, "nuke": { color: "#534636", @@ -6798,7 +7065,7 @@ viscosity: 36, state: "liquid", density: 1600, - excludeRandom: true, + excludeRandom: true }, "greek_fire": { color: ["#4a3923","#594933","#78654a"], @@ -6815,7 +7082,7 @@ viscosity: 2, state: "liquid", density: 498.5, - excludeRandom: true, + excludeRandom: true }, "sticky_bomb": { color: "#233096", @@ -6945,7 +7212,7 @@ reactions: { "blood": { "elem1":"pointer" }, "molten_stained_glass": { "elem1":"rainbow" }, - "gray_goo": { "elem1":"static" }, + "gray_goo": { "elem1":"static" } }, category: "energy", temp: 40, @@ -6954,6 +7221,7 @@ tempLow: -270, stateLow: "light", hidden: true, + noMix: true }, "smoke_grenade": { color: "#65665c", @@ -7052,7 +7320,7 @@ category: "machines", conduct: 1, insulate: true, - temp: 7065, + temp: 7065 }, "light_bulb": { color: "#a8a897", @@ -7079,7 +7347,7 @@ ], colorOn: "#ffff59", category: "machines", - conduct: 1, + conduct: 1 }, "pressure_plate": { color: "#8a8a84", @@ -7109,7 +7377,7 @@ } tryMove(pixel, pixel.x, pixel.y+1); }, - category: "machines", + category: "machines" }, "primordial_soup": { color: ["#501F24","#6D2E1D"], @@ -7136,14 +7404,14 @@ "carbon_dioxide": { "elem2":"oxygen" }, "dirt": { "elem2":"mud", "chance":0.2 }, "sand": { "elem2":"wet_sand", "chance":0.2 }, - "rock": { "elem2":"wet_sand", "chance":0.001 }, + "rock": { "elem2":"wet_sand", "chance":0.001 } }, category: "life", tempHigh: 100, stateHigh: "steam", conduct: 0.05, state: "liquid", - density: 955, + density: 955 }, "molten_slag": { ignore: ["salt","plastic","sulfur","epsom_salt","potassium_salt","borax","solder","ash"] @@ -7167,7 +7435,7 @@ lastDebug = pixelTicks; }, maxSize: 1, - category: "special", + category: "special" }, //ice color: "#c5e9f0" "salt_ice": { color: "#b6ced4" }, @@ -7189,6 +7457,12 @@ b: parseInt(result[3], 16) } : null; } + function RGBToHex(rgb) { + var r = rgb.r||rgb[0]; + var g = rgb.g||rgb[1]; + var b = rgb.b||rgb[2]; + return "#" + ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1); + } function averageRGB(rgblist) { var r = 0; var g = 0; @@ -8412,6 +8686,19 @@ changePixel(pixel,result,false); pixel.color = color; } + else if (elementInfo.stateHighColorMultiplier) { + var color = pixel.color; + changePixel(pixel,result,false); + var rgb = color.match(/\d+/g); + var r = Math.floor(rgb[0] * elementInfo.stateHighColorMultiplier); + var g = Math.floor(rgb[1] * elementInfo.stateHighColorMultiplier); + var b = Math.floor(rgb[2] * elementInfo.stateHighColorMultiplier); + // Make sure the color is within the RGB range + r = Math.max(0, Math.min(255, r)); + g = Math.max(0, Math.min(255, g)); + b = Math.max(0, Math.min(255, b)); + pixel.color = "rgb("+r+","+g+","+b+")"; + } else { changePixel(pixel,result,false); } if (elementInfo.fireColor && result==="fire") { pixel.color = pixelColorPick(pixel,elementInfo.fireColor); @@ -9053,6 +9340,12 @@ swapPixels(pixel1,pixel2); mixList.splice(mixList.indexOf(pixel1),1); mixList.splice(mixList.indexOf(pixel2),1); + if (elements[pixel1.element].onMix) { + elements[pixel1.element].onMix(pixel1,pixel2); + } + if (elements[pixel2.element].onMix) { + elements[pixel2.element].onMix(pixel2,pixel1); + } } } @@ -9219,7 +9512,7 @@ viewKey = { 2: "thermal", 3: "basic", - 4: "smooth", + 4: "smooth" } function setView(n) { if (n <= 4 && n > 1) { // range of number keys with valid views @@ -9338,7 +9631,7 @@ ], decor: [ ["flower_seed", 0.1] - ], + ] }, "wheat_field": { layers: [ @@ -9364,7 +9657,7 @@ ["rain_cloud", 0.75] ], baseHeight: 0.35, - temperature: 30, + temperature: 30 }, "dirt": { layers: [ @@ -9385,7 +9678,7 @@ ["snow_cloud", 0.75] ], baseHeight: 0.25, - temperature: -5, + temperature: -5 }, "forest": { layers: [ @@ -9398,7 +9691,7 @@ ["sapling", 0.075], ["bird", 0.025, 10], ], - baseHeight: 0.25, + baseHeight: 0.25 }, "jungle": { layers: [ @@ -9413,7 +9706,7 @@ ["frog", 0.05, 10], ["bird", 0.05, 5, ["#ff0000","#00ff00","#00ffff","#0000ff"]], ], - baseHeight: 0.25, + baseHeight: 0.25 }, "taiga": { layers: [ @@ -9427,7 +9720,7 @@ ["snow_cloud", 0.75] ], baseHeight: 0.25, - temperature: -5, + temperature: -5 }, "ocean": { layers: [ @@ -9471,8 +9764,8 @@ [0.05, "rock"], [0, "basalt"], ], - temperature: 38, - }, + temperature: 38 + } }; function clearAll() { currentPixels = []; @@ -9637,7 +9930,7 @@ randomEventChoices = { "falling_pixel": ["fireball","fallout","seeds",["bomb","cold_bomb","cluster_bomb"],"human","gold_coin","feather","glitter","homunculus","egg","frozen_frog","sapling","smoke_grenade","party_popper"], "element_circle": ["carbon_dioxide","primordial_soup","fly","steam","oxygen","sugar","bee","firefly","tadpole","flash","foam"], - "explosion": ["fire","cold_fire","methane","electric","light","laser","radiation","plasma","liquid_nitrogen","liquid_helium","liquid_neon","acid_gas","fw_ember","malware",["stench","plague"],["firework","fire","fire"],"bubble","confetti","balloon","dye"], + "explosion": ["fire","cold_fire","methane","electric","light","laser","radiation","plasma","liquid_nitrogen","liquid_helium","liquid_neon","acid_gas","fw_ember","malware",["stench","plague"],["firework","fire","fire"],"bubble","confetti","balloon","dye"] } function doRandomEvents() { var chance = settings.events; @@ -10187,28 +10480,28 @@ for (var k = 0; k < b0.split(" AND ").length; k++) { viscosity: 10000, hidden: true, state: "liquid", - tempDiff: -100, + tempDiff: -100 }, "frozen": { // Liquid -> Solid rgb: [ [1.2,1.2,1.3] ], behavior: behaviors.WALL, type: "low", hidden: true, - state: "solid", + state: "solid" }, "condense": { // Gas -> Liquid rgb: [ [0.5,0.5,0.5] ], behavior: behaviors.LIQUID, type: "low", hidden: true, - state: "liquid", + state: "liquid" }, "evaporate": { // Liquid -> Gas rgb: [ [1.5,1.5,1.5] ], behavior: behaviors.GAS, type: "high", hidden: true, - state: "gas", + state: "gas" } } @@ -10238,7 +10531,7 @@ for (var k = 0; k < b0.split(" AND ").length; k++) { behavior: autoInfo.behavior, hidden: autoInfo.hidden || false, state: autoInfo.state || "solid", - category: autoInfo.category || "states", + category: autoInfo.category || "states" } if (colorList.length <= 1) { colorList = colorList[0]; } if (colorObjectList.length <= 1) { colorObjectList = colorObjectList[0]; } @@ -10922,13 +11215,13 @@ for (var k = 0; k < b0.split(" AND ").length; k++) {