Merge branch 'main' of https://github.com/R74nCom/sandboxels
This commit is contained in:
commit
6d3260bcb1
File diff suppressed because it is too large
Load Diff
|
|
@ -2003,4 +2003,38 @@ elements.dyer = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elemfillerVar = 0;
|
||||||
|
elements.element_filler = {
|
||||||
|
category: "special",
|
||||||
|
color: elements.filler.color,
|
||||||
|
state: "solid",
|
||||||
|
movable: "false",
|
||||||
|
onSelect: function() {
|
||||||
|
var answer6 = prompt("Please input the desired element of this filler. It will not work if you do multiple filter types while paused.",(elemfillerVar||undefined));
|
||||||
|
if (!answer6) { return }
|
||||||
|
elemfillerVar = answer6;
|
||||||
|
},
|
||||||
|
tick: function(pixel){
|
||||||
|
var neighbors = 0;
|
||||||
|
if(!pixel.changeElem){
|
||||||
|
pixel.changeElem = elemfillerVar;
|
||||||
|
}
|
||||||
|
for (var i = 0; i < squareCoords.length; i++) {
|
||||||
|
var coord = squareCoords[i];
|
||||||
|
var x = pixel.x+coord[0];
|
||||||
|
var y = pixel.y+coord[1];
|
||||||
|
if (!isEmpty(x,y, true)) {
|
||||||
|
neighbors = neighbors + 1;
|
||||||
|
} else if (isEmpty(x, y)){
|
||||||
|
createPixel("element_filler", x, y)
|
||||||
|
pixelMap[x][y].changeElem = pixel.changeElem;
|
||||||
|
} else (
|
||||||
|
changePixel(pixel, pixel.changeElem)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
if (neighbors >= 8){
|
||||||
|
changePixel(pixel, pixel.changeElem)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,9 +1,12 @@
|
||||||
elements.burnt_rice = {
|
elements.cooked_rice = {
|
||||||
|
viscosity: 1000,
|
||||||
|
tempMin: 20,
|
||||||
|
stateMin: "rice",
|
||||||
tempHigh: 500,
|
tempHigh: 500,
|
||||||
stateHigh: "ash",
|
stateHigh: ["ash", "charcoal"],
|
||||||
density: 699,
|
density: 699,
|
||||||
color: "#242424",
|
color: "#c2b6b6",
|
||||||
behavior: behaviors.POWDER,
|
behavior: behaviors.LIQUID,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "liquid",
|
||||||
reactions: {
|
reactions: {
|
||||||
|
|
@ -12,12 +15,13 @@ elements.burnt_rice = {
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.rice = {
|
elements.rice = {
|
||||||
|
breakInto: "flour",
|
||||||
viscosity: 10000,
|
viscosity: 10000,
|
||||||
isFood: true,
|
isFood: true,
|
||||||
density: 696,
|
density: 696,
|
||||||
tempHigh: 232,
|
tempHigh: 232,
|
||||||
stateHigh: "burnt_rice",
|
stateHigh: "cooked_rice",
|
||||||
color: "#d1d1d1",
|
color: "#c8c8c8",
|
||||||
behavior: behaviors.LIQUID,
|
behavior: behaviors.LIQUID,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "liquid",
|
||||||
|
|
@ -296,17 +300,17 @@ elements.burnt_marshmallow = {
|
||||||
state: "solid",
|
state: "solid",
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.ramen = {
|
elements.spaghetti = {
|
||||||
isFood: true,
|
isFood: true,
|
||||||
tempHigh: 90,
|
tempHigh: 90,
|
||||||
stateHigh: "cooked_ramen",
|
stateHigh: "cooked_ramen",
|
||||||
color: "#fae34d",
|
color: "#fae34d",
|
||||||
behavior: behaviors.POWDER,
|
behavior: behaviors.SUPPORT,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "solid",
|
state: "solid",
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.cooked_ramen = {
|
elements.cooked_spaghetti = {
|
||||||
hidden: true,
|
hidden: true,
|
||||||
density: 800,
|
density: 800,
|
||||||
isFood: true,
|
isFood: true,
|
||||||
|
|
@ -316,7 +320,7 @@ elements.cooked_ramen = {
|
||||||
behavior: behaviors.SUPPORT,
|
behavior: behaviors.SUPPORT,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "solid",
|
state: "solid",
|
||||||
}
|
};
|
||||||
|
|
||||||
elements.cereal = {
|
elements.cereal = {
|
||||||
isFood: true,
|
isFood: true,
|
||||||
|
|
@ -369,11 +373,15 @@ elements.piss = {
|
||||||
|
|
||||||
elements.soup = {
|
elements.soup = {
|
||||||
isFood: true,
|
isFood: true,
|
||||||
temp: 50,
|
temp: 100,
|
||||||
tempHigh: 500,
|
tempHigh: 500,
|
||||||
stateHigh: "steam",
|
stateHigh: "steam",
|
||||||
color: "#945e00",
|
color: "#945e00",
|
||||||
behavior: behaviors.LIQUID,
|
behavior: [
|
||||||
|
"XX|CR:steam%0.1|XX",
|
||||||
|
"M2|XX|M2",
|
||||||
|
"M2|M1|M2"
|
||||||
|
],
|
||||||
category: "liquids",
|
category: "liquids",
|
||||||
state: "liquid",
|
state: "liquid",
|
||||||
};
|
};
|
||||||
|
|
@ -1392,6 +1400,34 @@ elements.uranium_ice_cream = {
|
||||||
state: "liquid",
|
state: "liquid",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
elements.silver_coin = {
|
||||||
|
tempHigh: 1000,
|
||||||
|
stateHigh: "molten_silver",
|
||||||
|
color: ["#ababab", "#dedede"],
|
||||||
|
behavior: behaviors.POWDER,
|
||||||
|
category: "powders",
|
||||||
|
state: "solid",
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.max_graphics_in_roblox = {
|
||||||
|
color: "#238fe8",
|
||||||
|
behavior: [
|
||||||
|
"XX|XX|XX",
|
||||||
|
"XX|EX:800000000000>plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,plasma,molten_iron,molten_uranium,molten_lead,oxygen,molten_sodium,sulfur_gas,neon,chlorine,molten_calcium,molten_nickel,molten_copper,molten_zinc,gallium_gas AND CH:void|XX",
|
||||||
|
"XX|XX|XX",
|
||||||
|
],
|
||||||
|
temp: 99999999700,
|
||||||
|
category: "joke",
|
||||||
|
state: "gas",
|
||||||
|
density: 1000,
|
||||||
|
hardness: 1,
|
||||||
|
hidden: true,
|
||||||
|
excludeRandom: true,
|
||||||
|
maxSize: 1,
|
||||||
|
noMix: true,
|
||||||
|
desc: "ok now ACTUALLY use it at your own risk IM NOT KIDDING! THIS CAN FUCKING CRASH YOUR GAME"
|
||||||
|
};
|
||||||
|
|
||||||
elements.incinerate.category = "tools",
|
elements.incinerate.category = "tools",
|
||||||
elements.cook.category = "tools",
|
elements.cook.category = "tools",
|
||||||
elements.room_temp.category = "tools",
|
elements.room_temp.category = "tools",
|
||||||
|
|
@ -1432,3 +1468,8 @@ elements.paper.reactions.bless = { elem1: "robux", elem2: null, chance: 0.001 }
|
||||||
if (!elements.uranium.reactions) elements.uranium.reactions = {};
|
if (!elements.uranium.reactions) elements.uranium.reactions = {};
|
||||||
elements.uranium.reactions.ice_cream = {elem1: "uranium_ice_cream", elem2: null},
|
elements.uranium.reactions.ice_cream = {elem1: "uranium_ice_cream", elem2: null},
|
||||||
elements.uranium.reactions.cream = {elem1: "uranium_ice_cream", elem2: null}
|
elements.uranium.reactions.cream = {elem1: "uranium_ice_cream", elem2: null}
|
||||||
|
|
||||||
|
if (!elements.dough.reactions) elements.dough.reactions = {};
|
||||||
|
elements.dough.reactions.yolk = {elem1: null, elem2: "spaghetti", tempMin: 25}
|
||||||
|
|
||||||
|
elements.silver.breakInto = "silver_coin"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue