Merge pull request #278 from stefanblox/main
This commit is contained in:
commit
88d335cdf0
281
mods/sbstuff.js
281
mods/sbstuff.js
|
|
@ -12,13 +12,13 @@ elements.burnt_rice = {
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.rice = {
|
elements.rice = {
|
||||||
|
viscosity: 10000,
|
||||||
isFood: true,
|
isFood: true,
|
||||||
burnInto: "burnt_rice",
|
|
||||||
density: 696,
|
density: 696,
|
||||||
tempHigh: 232,
|
tempHigh: 232,
|
||||||
stateHigh: "burnt_rice",
|
stateHigh: "burnt_rice",
|
||||||
color: "#d1d1d1",
|
color: "#d1d1d1",
|
||||||
behavior: behaviors.POWDER,
|
behavior: behaviors.LIQUID,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "liquid",
|
||||||
};
|
};
|
||||||
|
|
@ -87,6 +87,8 @@ elements.dark_oak = {
|
||||||
behavior: behaviors.WALL,
|
behavior: behaviors.WALL,
|
||||||
category: "solids",
|
category: "solids",
|
||||||
state: "solid",
|
state: "solid",
|
||||||
|
burn: 5,
|
||||||
|
burnTime: 300,
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.dark_oak_wood = {
|
elements.dark_oak_wood = {
|
||||||
|
|
@ -96,6 +98,8 @@ elements.dark_oak_wood = {
|
||||||
behavior: behaviors.SUPPORT,
|
behavior: behaviors.SUPPORT,
|
||||||
category: "land",
|
category: "land",
|
||||||
state: "solid",
|
state: "solid",
|
||||||
|
burn: 5,
|
||||||
|
burnTime: 300,
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.avocado = {
|
elements.avocado = {
|
||||||
|
|
@ -233,10 +237,9 @@ elements.lemon = {
|
||||||
behavior: behaviors.STURDYPOWDER,
|
behavior: behaviors.STURDYPOWDER,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "liquid",
|
||||||
}
|
reactions: {
|
||||||
|
"juice": {elem1: "lemonade", elem2: null},
|
||||||
elements.lemon.reactions = {
|
}
|
||||||
"juice": { elem1: null, elem2: "lemonade" }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.lemonade = {
|
elements.lemonade = {
|
||||||
|
|
@ -312,7 +315,7 @@ elements.cooked_ramen = {
|
||||||
color: "#ada24e",
|
color: "#ada24e",
|
||||||
behavior: behaviors.SUPPORT,
|
behavior: behaviors.SUPPORT,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "solid",
|
||||||
}
|
}
|
||||||
|
|
||||||
elements.cereal = {
|
elements.cereal = {
|
||||||
|
|
@ -335,17 +338,6 @@ elements.sushi = {
|
||||||
state: "liquid",
|
state: "liquid",
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.indestructible_wall = {
|
|
||||||
noMix: true,
|
|
||||||
tempHigh: 99999999999999999999999999999999,
|
|
||||||
stateHigh: "void",
|
|
||||||
hardness: 1,
|
|
||||||
color: "#7a7a7a",
|
|
||||||
behavior: behaviors.WALL,
|
|
||||||
category: "solids",
|
|
||||||
state: "solid",
|
|
||||||
};
|
|
||||||
|
|
||||||
elements.diamond_ore = {
|
elements.diamond_ore = {
|
||||||
tempHigh: 1000,
|
tempHigh: 1000,
|
||||||
stateHigh: "ash",
|
stateHigh: "ash",
|
||||||
|
|
@ -666,6 +658,16 @@ elements.radioactive_toast = {
|
||||||
state: "liquid",
|
state: "liquid",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
elements.radioactive_beans = {
|
||||||
|
hidden: true,
|
||||||
|
tempHigh: 1000,
|
||||||
|
stateHigh: "ash",
|
||||||
|
color: ["#34541f", "#994926"],
|
||||||
|
behavior: behaviors.RADPOWDER,
|
||||||
|
category: "food",
|
||||||
|
state: "liquid",
|
||||||
|
};
|
||||||
|
|
||||||
elements.shampoo = {
|
elements.shampoo = {
|
||||||
viscosity: 1000,
|
viscosity: 1000,
|
||||||
density: 500,
|
density: 500,
|
||||||
|
|
@ -847,8 +849,8 @@ elements.vanilla_ice_cream = {
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "liquid",
|
||||||
reactions: {
|
reactions: {
|
||||||
"chocolate": { elem1: null, elem2: "chocolate_vanilla_ice_cream" },
|
"chocolate": { elem1: null, elem2: "chocolate_vanilla_ice_cream", tempMin: 0 },
|
||||||
"melted_chocolate": { elem1: null, elem2: "chocolate_vanilla_ice_cream" },
|
"melted_chocolate": { elem1: null, elem2: "chocolate_vanilla_ice_cream", tempMin: 0 },
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -969,7 +971,7 @@ elements.cocoa_seeds = {
|
||||||
color: "#cfc7ab",
|
color: "#cfc7ab",
|
||||||
behavior: behaviors.SUPPORT,
|
behavior: behaviors.SUPPORT,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "solid",
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.pineapple = {
|
elements.pineapple = {
|
||||||
|
|
@ -978,7 +980,7 @@ elements.pineapple = {
|
||||||
color: "#ccbe3b",
|
color: "#ccbe3b",
|
||||||
behavior: behaviors.SUPPORT,
|
behavior: behaviors.SUPPORT,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "solid",
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.broccoli = {
|
elements.broccoli = {
|
||||||
|
|
@ -997,7 +999,7 @@ elements.pepperoni = {
|
||||||
color: "#8f2e11",
|
color: "#8f2e11",
|
||||||
behavior: behaviors.SUPPORT,
|
behavior: behaviors.SUPPORT,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "solid",
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.apple = {
|
elements.apple = {
|
||||||
|
|
@ -1030,7 +1032,7 @@ elements.cucumber = {
|
||||||
color: "#235214",
|
color: "#235214",
|
||||||
behavior: behaviors.SUPPORT,
|
behavior: behaviors.SUPPORT,
|
||||||
category: "food",
|
category: "food",
|
||||||
state: "liquid",
|
state: "solid",
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.olive = {
|
elements.olive = {
|
||||||
|
|
@ -1104,9 +1106,11 @@ elements.cardboard = {
|
||||||
tempHigh: 500,
|
tempHigh: 500,
|
||||||
stateHigh: "ash",
|
stateHigh: "ash",
|
||||||
color: "#7d4725",
|
color: "#7d4725",
|
||||||
behavior: behaviors.STURDYPOWDER,
|
behavior: behaviors.SUPPORT,
|
||||||
category: "land",
|
category: "land",
|
||||||
state: "liquid",
|
state: "solid",
|
||||||
|
burn: 5,
|
||||||
|
burnTime: 200,
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.carrot = {
|
elements.carrot = {
|
||||||
|
|
@ -1205,7 +1209,7 @@ elements.peeper = {
|
||||||
state: "solid",
|
state: "solid",
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.dollar = {
|
elements.robux = {
|
||||||
hidden: true,
|
hidden: true,
|
||||||
viscosity: 10000,
|
viscosity: 10000,
|
||||||
tempHigh: 500,
|
tempHigh: 500,
|
||||||
|
|
@ -1225,43 +1229,206 @@ elements.ruby = {
|
||||||
state: "solid",
|
state: "solid",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
elements.mosquito = {
|
||||||
|
tempHigh: 2000,
|
||||||
|
stateHigh: "ash",
|
||||||
|
color: "#2b2421",
|
||||||
|
behavior: behaviors.FLY,
|
||||||
|
category: "life",
|
||||||
|
state: "liquid",
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.bug_spray = {
|
||||||
|
tempHigh: 2000,
|
||||||
|
stateHigh: "steam",
|
||||||
|
color: "#c9d1cb",
|
||||||
|
behavior: behaviors.DGAS,
|
||||||
|
category: "gases",
|
||||||
|
state: "gas",
|
||||||
|
reactions: {
|
||||||
|
"mosquito": { elem1: null, elem2: null },
|
||||||
|
"ant": { elem1: null, elem2: null },
|
||||||
|
"fly": { elem1: null, elem2: null },
|
||||||
|
"stink_bug": { elem1: null, elem2: null },
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.heavy_water = {
|
||||||
|
tempLow: 0,
|
||||||
|
stateLow: "ice",
|
||||||
|
tempHigh: 150,
|
||||||
|
stateHigh: "steam",
|
||||||
|
color: "#447ecf",
|
||||||
|
behavior: behaviors.LIQUID_OLD,
|
||||||
|
category: "liquids",
|
||||||
|
state: "liquid",
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.blood_orange = {
|
||||||
|
hidden: true,
|
||||||
|
tempHigh: 300,
|
||||||
|
stateHigh: ["ash", "steam"],
|
||||||
|
color: ["#f06c0e", "#bd1000"],
|
||||||
|
behavior: behaviors.STURDYPOWDER,
|
||||||
|
category: "food",
|
||||||
|
state: "liquid",
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.orange = {
|
||||||
|
tempHigh: 300,
|
||||||
|
stateHigh: "steam",
|
||||||
|
color: "#f06c0e",
|
||||||
|
behavior: behaviors.STURDYPOWDER,
|
||||||
|
category: "food",
|
||||||
|
state: "liquid",
|
||||||
|
reactions: {
|
||||||
|
"blood": { elem1: null, elem2: "blood_orange", chance: 0.01 },
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.cranberry = {
|
||||||
|
viscosity: 10000,
|
||||||
|
hidden: true,
|
||||||
|
tempHigh: 300,
|
||||||
|
stateHigh: "steam",
|
||||||
|
color: "#ad2a1d",
|
||||||
|
behavior: behaviors.LIQUID,
|
||||||
|
category: "food",
|
||||||
|
state: "liquid",
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.yoyleberries = {
|
||||||
|
desc: "who the fuck requested yoylecake?",
|
||||||
|
viscosity: 10000,
|
||||||
|
hidden: true,
|
||||||
|
tempHigh: 300,
|
||||||
|
stateHigh: "steam",
|
||||||
|
color: "#630094",
|
||||||
|
behavior: behaviors.LIQUID,
|
||||||
|
category: "food",
|
||||||
|
state: "liquid",
|
||||||
|
reactions: {
|
||||||
|
"batter": { elem1: null, elem2: "yoylecake" },
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.yoylecake = {
|
||||||
|
hidden: true,
|
||||||
|
tempHigh: 500,
|
||||||
|
stateHigh: "steam",
|
||||||
|
color: ["#9404db", "#28b82b"],
|
||||||
|
behavior: behaviors.STURDYPOWDER,
|
||||||
|
category: "food",
|
||||||
|
state: "liquid",
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.banana = {
|
||||||
|
tempHigh: 300,
|
||||||
|
stateHigh: "ash",
|
||||||
|
color: "#f06c0e",
|
||||||
|
behavior: behaviors.STURDYPOWDER,
|
||||||
|
category: "food",
|
||||||
|
state: "liquid",
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.cool_ray = {
|
||||||
|
color: ["#0cdaed","#baf9ff"],
|
||||||
|
tick: function(pixel) {
|
||||||
|
var x = pixel.x;
|
||||||
|
for (var y = pixel.y; y < height; y++) {
|
||||||
|
if (outOfBounds(x, y)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (isEmpty(x, y)) {
|
||||||
|
if (Math.random() > 0.05) { continue }
|
||||||
|
createPixel("flash", x, y);
|
||||||
|
pixelMap[x][y].color = "#0cdaed";
|
||||||
|
pixelMap[x][y].temp = 0;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (elements[pixelMap[x][y].element].isGas) { continue }
|
||||||
|
if (elements[pixelMap[x][y].element].id === elements.heat_ray.id) { break }
|
||||||
|
pixelMap[x][y].temp += -10;
|
||||||
|
pixelTempCheck(pixelMap[x][y]);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
deletePixel(pixel.x, pixel.y);
|
||||||
|
},
|
||||||
|
temp: 0,
|
||||||
|
category: "energy",
|
||||||
|
state: "gas",
|
||||||
|
excludeRandom: true,
|
||||||
|
noMix: true
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.flood_disaster = {
|
||||||
|
color: "#5397c2",
|
||||||
|
behavior: [
|
||||||
|
"XX|XX|XX",
|
||||||
|
"XX|EX:10>flood_disaster,water,water,water,water,water,water,water,water,water,water,water,water%25 AND DL%10|XX",
|
||||||
|
"XX|XX|XX",
|
||||||
|
],
|
||||||
|
category: "weapons",
|
||||||
|
state: "solid",
|
||||||
|
density: 1300,
|
||||||
|
hidden: true,
|
||||||
|
excludeRandom: true,
|
||||||
|
maxSize: 1,
|
||||||
|
cooldown: defaultCooldown
|
||||||
|
};
|
||||||
|
|
||||||
|
elements.uranium_ice_cream = {
|
||||||
|
viscosity: 10000,
|
||||||
|
tempHigh: 150,
|
||||||
|
stateHigh: "steam",
|
||||||
|
color: ["#cee6cc", "#1bab11", "#305e2d", "#5a7059"],
|
||||||
|
behavior: [
|
||||||
|
"XX|CR:radiation%2|XX",
|
||||||
|
"M2|XX|M2",
|
||||||
|
"M2|M1|M2",
|
||||||
|
],
|
||||||
|
category: "food",
|
||||||
|
state: "liquid",
|
||||||
|
};
|
||||||
|
|
||||||
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",
|
||||||
|
|
||||||
elements.beans.tempHigh = 349,
|
elements.beans.tempHigh = 349,
|
||||||
elements.beans.stateHigh = "burnt_beans",
|
elements.beans.stateHigh = "burnt_beans"
|
||||||
|
|
||||||
elements.radiation.reactions = {
|
if (!elements.radiation.reactions) elements.egg.reactions = {};
|
||||||
"meat": { elem1: null, elem2: "radioactive_meat" },
|
elements.radiation.reactions.meat = { elem1: null, elem2: "radioactive_meat" },
|
||||||
"grape": { elem1: null, elem2: "radioactive_grape" },
|
elements.radiation.reactions.grape = { elem1: null, elem2: "radioactive_grape" },
|
||||||
"egg": { elem1: null, elem2: "radioactive_egg" },
|
elements.radiation.reactions.egg = { elem1: null, elem2: "radioactive_egg" },
|
||||||
"potato": { elem1: null, elem2: "radioactive_potato" },
|
elements.radiation.reactions.potato = { elem1: null, elem2: "radioactive_potato" },
|
||||||
"water": { elem1: null, elem2: "radioactive_water" },
|
elements.radiation.reactions.water = { elem1: null, elem2: "radioactive_water" },
|
||||||
"chocolate": { elem1: null, elem2: "radioactive_chocolate" },
|
elements.radiation.reactions.chocolate = { elem1: null, elem2: "radioactive_chocolate" },
|
||||||
"milk": { elem1: null, elem2: "radioactive_milk" },
|
elements.radiation.reactions.milk = { elem1: null, elem2: "radioactive_milk" },
|
||||||
"bread": { elem1: null, elem2: "radioactive_bread" },
|
elements.radiation.reactions.bread = { elem1: null, elem2: "radioactive_bread" },
|
||||||
"toast": { elem1: null, elem2: "radioactive_toast" },
|
elements.radiation.reactions.toast = { elem1: null, elem2: "radioactive_toast" },
|
||||||
};
|
elements.radiation.reactions.beans = { elem1: null, elem2: "radioactive_beans" }
|
||||||
|
|
||||||
elements.egg.reactions = {
|
if (!elements.egg.reactions) elements.egg.reactions = {};
|
||||||
"water": { elem1: "boiled_egg", tempMin: 100 },
|
elements.egg.reactions.water = {elem1: "boiled_egg", tempMin: 100},
|
||||||
"steam": { elem1: "boiled_egg", tempMin: 100 },
|
elements.egg.reactions.steam = {elem1: "boiled_egg", tempMin: 100},
|
||||||
"melted_chocolate": { elem1: null, elem2: "chocolate_egg" },
|
elements.egg.reactions.melted_chocolate = {elem1: "chocolate_egg"},
|
||||||
"chocolate": { elem1: null, elem2: "chocolate_egg", chance: 0.1 },
|
elements.egg.reactions.chocolate = {elem1: "chocolate_egg", chance: 0.1}
|
||||||
};
|
|
||||||
|
|
||||||
elements.potato.reactions = {
|
if (!elements.potato.reactions) elements.potato.reactions = {};
|
||||||
"water": { elem1: "fries", tempMin: 100, chance: 50 },
|
elements.potato.reactions.water = {elem1: "fries", tempMin: 100, chance:50},
|
||||||
"water": { elem1: "chips", tempMin: 100, chance: 50 },
|
elements.potato.reactions.steam = {elem1: "fries", tempMin: 100, chance:50},
|
||||||
"steam": { elem1: "fries", tempMin: 100, chance: 50 },
|
elements.potato.reactions.water = {elem1: "chips", tempMin: 100, chance:50},
|
||||||
"steam": { elem1: "fries", tempMin: 100, chance: 50 },
|
elements.potato.reactions.steam = {elem1: "fries", tempMin: 100, chance:50}
|
||||||
};
|
|
||||||
|
|
||||||
elements.water.reactions = {
|
if (!elements.water.reactions) elements.water.reactions = {};
|
||||||
"cocaine": { elem1: null, elem2: "solid_water", chance: 0.1 }
|
elements.water.reactions.cocaine = { elem1: "solid_water", elem2: null }
|
||||||
};
|
|
||||||
|
|
||||||
elements.paper.reactions = {
|
if (!elements.paper.reactions) elements.paper.reactions = {};
|
||||||
"bless": { elem1: null, elem2: "dollar", chance: 0.1 },
|
elements.paper.reactions.bless = { elem1: "robux", elem2: null, chance: 0.001 }
|
||||||
};
|
|
||||||
|
if (!elements.uranium.reactions) elements.uranium.reactions = {};
|
||||||
|
elements.uranium.reactions.ice_cream = {elem1: "uranium_ice_cream", elem2: null},
|
||||||
|
elements.uranium.reactions.cream = {elem1: "uranium_ice_cream", elem2: null}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue