Merge branch 'R74nCom:main' into main
This commit is contained in:
commit
d091b9121c
|
|
@ -11871,7 +11871,7 @@ if (langCode) {
|
|||
if (r.burning2 !== undefined && Boolean(pixel2.burning) !== r.burning2) {
|
||||
return false;
|
||||
}
|
||||
if (r.charged && !pixel1.charge) {
|
||||
if (r.charged && !(pixel1.charge || pixel2.charge)) {
|
||||
return false;
|
||||
}
|
||||
if (r.chance !== undefined && Math.random() > r.chance) {
|
||||
|
|
@ -16704,10 +16704,10 @@ Cancer, Landmine, Grenade, Smoke Grenade">?</span>
|
|||
<option value="pt_br">Português (Brasil)</option>
|
||||
<option value="vi">Tiếng Việt</option>
|
||||
<option value="zh_hant">繁體中文</option>
|
||||
<option value="zh_cn">简体中文</option>
|
||||
<optgroup label="Incomplete">
|
||||
<option value="es">Español</option>
|
||||
<option value="ru">Русский Язык</option>
|
||||
<option value="zh_cn">简体中文</option>
|
||||
</optgroup>
|
||||
</select></p>
|
||||
<p>Try our NEW GAME: <a href="https://R74n.com/cook/" target="_blank">Infinite Chef</a></p>
|
||||
|
|
|
|||
1063
lang/zh_cn.json
1063
lang/zh_cn.json
File diff suppressed because it is too large
Load Diff
|
|
@ -225,6 +225,7 @@
|
|||
<tr><td>more_breaking.js</td><td>Allows for breaking more elements in explosions</td><td>Alice</td></tr>
|
||||
<tr><td>rays.js</td><td>Adds more Ray types</td><td>Alice</td></tr>
|
||||
<tr><td>rays++.js</td><td>Adds a couple more rays</td><td>uptzik</td></tr>
|
||||
<tr><td>subspace.js</td><td>Adds the Subspace Tripmine from Roblox</td><td>nousernamefound</td></tr>
|
||||
<tr><td>weapons.js</td><td>Adds varieties of different weapons </td><td>Jayd</td></tr>
|
||||
|
||||
<!----><tr><td class="modCat" colspan="3">Food & Cooking</td></tr><!---->
|
||||
|
|
@ -297,6 +298,7 @@
|
|||
<tr><td>minecraft.js</td><td>Adds several things from Minecraft</td><td>StellarX20</td></tr>
|
||||
<tr><td>minesweeper.js</td><td>A subpar implementation of Minesweeper</td><td>Alice</td></tr>
|
||||
<tr><td>musicalfruit.js</td><td>Humans get gas from eating Beans</td><td>mollthecoder</td></tr>
|
||||
<tr><td>prideflags.js</td><td>Adds some pride flags to the game.</td><td>Adora</td></tr>
|
||||
<tr><td>random_elems.js</td><td>Curated randomly generated elements</td><td>Alice</td></tr>
|
||||
<tr><td>random_liquids.js</td><td>Randomly generates liquids on game load</td><td>Alice</td></tr>
|
||||
<tr><td>sbmixup.js</td><td>Adds silly elements from a <a href="https://R74n.com/mix/" target="_blank">Mix-Up!</a> game</td><td>stefanblox</td>
|
||||
|
|
@ -390,4 +392,4 @@
|
|||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,15 @@
|
|||
// Science mod for Sandboxels
|
||||
// (Inspired by survival.js)
|
||||
// Build 21
|
||||
// Build 26 (version alpha 0.0.26)
|
||||
console.log("version alpha 0.0.26")
|
||||
console.log("build 26")
|
||||
// If there is anything you want to suggest or there's a bug then just dm me on discord (@a_british_proto)
|
||||
// I've decided to start doing this project on my schools computer's (because they don't crash all the time) so there will be long delays in updates, sorry!
|
||||
// Todo:
|
||||
// - Make new substances that you can get after mixing different elements
|
||||
// - Make a way to get the different substances by mixing different elements and different substances
|
||||
// - Make a way to get the different substances by mixing different elements and different substances (basically the same as the one above)
|
||||
// - Create different proporties for the substances (doing now)
|
||||
// - Actually update all the properties and make them have effects
|
||||
|
||||
// How much of the elements you're gonna have when you start:
|
||||
|
||||
|
|
@ -1247,6 +1251,7 @@ substance.Silver_Vandium_Trioxide = {
|
|||
}
|
||||
|
||||
// Why is this fun? How is this not torture? This is line 1247! (at the time I am making this comment)
|
||||
// Not changing this ever lol ^^^^
|
||||
|
||||
// I think there's two silver iodides I'm just not so sure (and I ain't editing this after)
|
||||
// Nvm it's only one , I got silver iodide and silver iodate mixed up :skull:
|
||||
|
|
@ -1507,3 +1512,28 @@ substance.Aluminum_Chloride_Hydrate = {
|
|||
state: "solid",
|
||||
hidden:true
|
||||
}
|
||||
|
||||
// NULL/null just means unknown
|
||||
substance.Aluminum_Chloride_Hexahydrate = {
|
||||
behavior: behaviors.NULL,
|
||||
color: "000000",
|
||||
category: "null",
|
||||
state: "null",
|
||||
hidden:true
|
||||
}
|
||||
|
||||
substance.Aluminum_Perchlorate_Nonahydrate = {
|
||||
behavior: behaviors.NULL,
|
||||
color: "000000",
|
||||
category: "null",
|
||||
state: "null",
|
||||
hidden:true
|
||||
}
|
||||
|
||||
substance.Aluminum_Chlorate_Nonahydrate= {
|
||||
behavior: behaviors.NULL,
|
||||
color: "000000",
|
||||
category: "null",
|
||||
state: "null",
|
||||
hidden:true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,42 @@
|
|||
elements.barf = {
|
||||
color: "#9ACD32",
|
||||
behavior: [
|
||||
"XX|XX|XX",
|
||||
"XX|XX|XX",
|
||||
"M1|M1|M1"
|
||||
],
|
||||
category: "liquids",
|
||||
density: 1020,
|
||||
state: "liquid",
|
||||
viscosity: 5,
|
||||
reactions: {
|
||||
"milk": { "elem1": "cheese", "chance": 1.0 }
|
||||
},
|
||||
tempHigh: 300,
|
||||
stateHigh: "stench",
|
||||
tempLow: 0,
|
||||
stateLow: "frozen_barf",
|
||||
flammable: true,
|
||||
burn: 20,
|
||||
burnInto: "smoke"
|
||||
};
|
||||
|
||||
elements.frozen_barf = {
|
||||
color: "#B0E0E6",
|
||||
behavior: [
|
||||
"XX|XX|XX",
|
||||
"XX|XX|XX",
|
||||
"XX|XX|XX"
|
||||
],
|
||||
category: "solids",
|
||||
density: 1030,
|
||||
state: "solid",
|
||||
tempHigh: 0,
|
||||
stateHigh: "barf"
|
||||
};
|
||||
|
||||
elements.slime.reactions = elements.slime.reactions || {};
|
||||
elements.slime.reactions.blood = { "elem1": "barf", "chance": 1.0 };
|
||||
|
||||
elements.blood.reactions = elements.blood.reactions || {};
|
||||
elements.blood.reactions.slime = { "elem1": "barf", "chance": 1.0 };
|
||||
|
|
@ -1,3 +1,169 @@
|
|||
function getImportantLetters(input) { // entirely chadgbd i just told it what algoritm to make
|
||||
const isVowel = char => 'AEIOU'.includes(char);
|
||||
const isConsonant = char => /^[BCDFGHJKLMNPQRSTVWXYZ]$/.test(char);
|
||||
|
||||
const removeDuplicates = str => {
|
||||
let seen = new Set();
|
||||
return str.split('').filter(char => {
|
||||
if (seen.has(char)) {
|
||||
return false;
|
||||
} else {
|
||||
seen.add(char);
|
||||
return true;
|
||||
}
|
||||
}).join('');
|
||||
};
|
||||
|
||||
const words = input.replace(/[^a-zA-Z0-9\s_]/g, '').replace(/_/g, ' ').toUpperCase().split(/\s+/);
|
||||
|
||||
if (input.length <= 4) {
|
||||
return input.toUpperCase();
|
||||
} else if (words.length === 1) {
|
||||
const word = removeDuplicates(words[0]);
|
||||
let result = '';
|
||||
let consonantCount = 0;
|
||||
let vowelFound = false;
|
||||
|
||||
for (let char of word) {
|
||||
if (isVowel(char) && !vowelFound) {
|
||||
result += char;
|
||||
vowelFound = true;
|
||||
} else if (isConsonant(char) && consonantCount < 3) {
|
||||
result += char;
|
||||
consonantCount++;
|
||||
}
|
||||
if (result.length === 4) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return result.padEnd(4, result[result.length - 1] || '');
|
||||
} else if (words.length === 2) {
|
||||
const firstWord = words[0];
|
||||
const secondWord = words[1];
|
||||
let result = '';
|
||||
|
||||
if (isNaN(firstWord) && !isNaN(secondWord)) {
|
||||
const word = removeDuplicates(firstWord);
|
||||
let consonantCount = 0;
|
||||
let vowelFound = false;
|
||||
|
||||
for (let char of word) {
|
||||
if (isVowel(char) && !vowelFound) {
|
||||
result += char;
|
||||
vowelFound = true;
|
||||
} else if (isConsonant(char) && consonantCount < 2) {
|
||||
result += char;
|
||||
consonantCount++;
|
||||
}
|
||||
if (result.length === 3) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
result = result.padEnd(3, result[result.length - 1] || '') + secondWord;
|
||||
} else if (!isNaN(firstWord) && isNaN(secondWord)) {
|
||||
const word = removeDuplicates(secondWord);
|
||||
let consonantCount = 0;
|
||||
let vowelFound = false;
|
||||
|
||||
for (let char of word) {
|
||||
if (isVowel(char) && !vowelFound) {
|
||||
result += char;
|
||||
vowelFound = true;
|
||||
} else if (isConsonant(char) && consonantCount < 2) {
|
||||
result += char;
|
||||
consonantCount++;
|
||||
}
|
||||
if (result.length === 3) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
result = result.padEnd(3, result[result.length - 1] || '') + firstWord;
|
||||
} else {
|
||||
result = firstWord[0];
|
||||
let consonants = [];
|
||||
let vowels = [];
|
||||
let allChars = [];
|
||||
|
||||
for (let char of secondWord) {
|
||||
allChars.push(char);
|
||||
if (isConsonant(char)) {
|
||||
consonants.push(char);
|
||||
} else if (isVowel(char)) {
|
||||
vowels.push(char);
|
||||
}
|
||||
}
|
||||
|
||||
if (consonants.length >= 3) {
|
||||
let consonantCount = 0;
|
||||
for (let char of allChars) {
|
||||
if (isConsonant(char) && consonantCount < 3) {
|
||||
result += char;
|
||||
consonantCount++;
|
||||
}
|
||||
if (result.length === 4) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else if (consonants.length === 2) {
|
||||
let consonantCount = 0;
|
||||
let vowelCount = 0;
|
||||
for (let char of allChars) {
|
||||
if (isConsonant(char) && consonantCount < 2) {
|
||||
result += char;
|
||||
consonantCount++;
|
||||
} else if (isVowel(char) && vowelCount < 1) {
|
||||
result += char;
|
||||
vowelCount++;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
let consonantCount = 0;
|
||||
let vowelCount = 0;
|
||||
for (let char of allChars) {
|
||||
if (isConsonant(char) && consonantCount < 1) {
|
||||
result += char;
|
||||
consonantCount++;
|
||||
} else if (isVowel(char) && vowelCount < 2) {
|
||||
result += char;
|
||||
vowelCount++;
|
||||
}
|
||||
if (result.length === 4) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
result = result.padEnd(4, result[result.length - 1] || '');
|
||||
}
|
||||
|
||||
return result;
|
||||
} else if (words.length === 3) {
|
||||
const firstWord = words[0];
|
||||
const secondWord = words[1];
|
||||
const thirdWord = words[2];
|
||||
let result = firstWord[0] + secondWord[0];
|
||||
let consonantCount = 0;
|
||||
let vowelFound = false;
|
||||
|
||||
for (let char of thirdWord) {
|
||||
if (isVowel(char) && !vowelFound) {
|
||||
result += char;
|
||||
vowelFound = true;
|
||||
} else if (isConsonant(char) && consonantCount < 1) {
|
||||
result += char;
|
||||
consonantCount++;
|
||||
}
|
||||
if (result.length === 4) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return result.padEnd(4, result[result.length - 1] || '');
|
||||
} else {
|
||||
return words.map(word => word[0]).join('').slice(0, 4);
|
||||
}
|
||||
}
|
||||
function swapObjectValues(obj) {
|
||||
const keys = Object.keys(obj);
|
||||
while (keys.length > 1) {
|
||||
|
|
@ -50,12 +216,15 @@ elements.name_settings = {
|
|||
if (doNameSwapping == "yes"){settings.funnyname.doNameSwapping = true} else {settings.funnyname.doNameSwapping = false}
|
||||
var doLetterSwapping = prompt("Would you like to swap the letters in the names? Type yes or no.", "no")
|
||||
if (doLetterSwapping == "yes"){settings.funnyname.doLetterSwapping = true} else {settings.funnyname.doLetterSwapping = false}
|
||||
var condenseToFour = prompt("Would you like to condense the names to 4 letters? Also known as TPT-ify. Type yes or no.", "no")
|
||||
if (condenseToFour == "yes"){settings.funnyname.condenseToFour = true} else {settings.funnyname.condenseToFour = false}
|
||||
var doNameRates = prompt("Would you like to make the names a rating? If yes, this will set all others to no (it is incompatible.) Type yes or no.", "no")
|
||||
if (doNameRates == "yes"){
|
||||
settings.funnyname.doNameRates = true
|
||||
settings.funnyname.doNameSwapping = false
|
||||
settings.funnyname.doVowelSwapping = false
|
||||
settings.funnyname.doLetterSwapping = false
|
||||
settings.funnyname.condenseToFour = false
|
||||
} else {settings.funnyname.doNameRates = false}
|
||||
saveSettings()
|
||||
var allNamesString = prompt("Would you like to set all names to a custom string? This will set all others to no. Type yes or no.", "no")
|
||||
|
|
@ -64,6 +233,7 @@ elements.name_settings = {
|
|||
settings.funnyname.doNameSwapping = false
|
||||
settings.funnyname.doVowelSwapping = false
|
||||
settings.funnyname.doLetterSwapping = false
|
||||
settings.funnyname.condenseToFour = false
|
||||
settings.funnyname.doNameRates = false
|
||||
customName = prompt("What would you like to set the names to?", "")
|
||||
settings.funnyname.customName = true
|
||||
|
|
@ -138,5 +308,13 @@ runAfterAutogen(
|
|||
}
|
||||
}
|
||||
}
|
||||
if (settings.funnyname.condenseToFour){
|
||||
for (let elementname in elements){
|
||||
if (elementname != "name_settings"){
|
||||
let newelementname = getImportantLetters((elements[elementname].name)||elementname)
|
||||
elements[elementname].name = newelementname
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
@ -0,0 +1,175 @@
|
|||
elements.yeast = {
|
||||
color: ['#AD9166', '#9A7F4E', '#D8BB8D'],
|
||||
behavior: [
|
||||
'XX|XX|XX',
|
||||
'XX|XX|XX',
|
||||
'M2|M1|M2'
|
||||
],
|
||||
category: 'bar',
|
||||
state: 'solid',
|
||||
tempHigh: 132,
|
||||
stateHigh: 'ash',
|
||||
reactions: {
|
||||
'water': {elem2: 'beer', chance: 0.05},
|
||||
'juice': {elem2: 'wine', chance: 0.05},
|
||||
'sugar_water': {elem2: 'rum', chance: 0.05},
|
||||
'white_juice': {elem2: 'white_wine', chance: 0.05},
|
||||
}
|
||||
}
|
||||
|
||||
const drinks = [
|
||||
'beer',
|
||||
'wine',
|
||||
'vodka',
|
||||
'rum',
|
||||
'white_wine',
|
||||
'white_juice',
|
||||
'white_grape'
|
||||
]
|
||||
|
||||
const ings = [
|
||||
'yeast',
|
||||
'mashed_potato'
|
||||
]
|
||||
|
||||
function drink(elem) {
|
||||
elements.body.reactions[elem] = {elem2: null}
|
||||
elements.head.reactions[elem] = {elem2: null}
|
||||
}
|
||||
|
||||
elements.beer = {
|
||||
color: ['#FFD700', '#F4E541'],
|
||||
behavior: [
|
||||
'XX|CR:foam%15|XX',
|
||||
'M2|XX|M2',
|
||||
'M2|M1|M2'
|
||||
],
|
||||
category: 'bar',
|
||||
state: 'solid',
|
||||
tempHigh: 78,
|
||||
density: 997,
|
||||
stateHigh: ['steam', 'alcohol'],
|
||||
reactions: {
|
||||
'water': {elem2: 'beer', chance: 0.0125}
|
||||
}
|
||||
}
|
||||
|
||||
elements.wine = {
|
||||
color: ['#7B1113', '#8D021F'],
|
||||
behavior: behaviors.LIQUID,
|
||||
category: 'bar',
|
||||
state: 'solid',
|
||||
tempHigh: 78,
|
||||
density: 997,
|
||||
stain: 0.1,
|
||||
stateHigh: ['steam', 'alcohol'],
|
||||
reactions: {
|
||||
'juice': {elem2: 'wine', chance: 0.0125}
|
||||
}
|
||||
}
|
||||
|
||||
elements.white_wine = {
|
||||
color: ['#FAD689', '#F8E3A1'],
|
||||
behavior: behaviors.LIQUID,
|
||||
category: 'bar',
|
||||
state: 'solid',
|
||||
tempHigh: 78,
|
||||
density: 997,
|
||||
stain: 0.1,
|
||||
stateHigh: ['steam', 'alcohol'],
|
||||
reactions: {
|
||||
'white_juice': {elem2: 'white_wine', chance: 0.0125}
|
||||
}
|
||||
}
|
||||
|
||||
elements.vodka = {
|
||||
color: ['#FFFFFF', '#FFFACD'],
|
||||
behavior: behaviors.LIQUID,
|
||||
category: 'bar',
|
||||
state: 'solid',
|
||||
tempHigh: 78,
|
||||
density: 997,
|
||||
stateHigh: ['steam', 'alcohol'],
|
||||
reactions: {
|
||||
'water': {elem2: 'vodka', chance: 0.0125}
|
||||
}
|
||||
}
|
||||
|
||||
elements.rum = {
|
||||
color: ['#A0522D', '#8B4513'],
|
||||
behavior: behaviors.LIQUID,
|
||||
category: 'bar',
|
||||
state: 'solid',
|
||||
tempHigh: 78,
|
||||
stain: 0.05,
|
||||
density: 997,
|
||||
stateHigh: ['steam', 'alcohol'],
|
||||
reactions: {
|
||||
'sugar_water': {elem2: 'rum', chance: 0.0125}
|
||||
}
|
||||
}
|
||||
|
||||
elements.white_juice = {
|
||||
color: ['#F8F0C6', '#F7E7A9'],
|
||||
behavior: behaviors.LIQUID,
|
||||
category: 'liquids',
|
||||
state: 'solid',
|
||||
tempHigh: 130,
|
||||
density: elements.juice.density,
|
||||
movable: true,
|
||||
stateHigh: 'steam',
|
||||
}
|
||||
|
||||
elements.white_grape = {
|
||||
color: ['#D0F0C0', '#B2E68D'],
|
||||
behavior: elements.grape.behavior,
|
||||
category: 'food',
|
||||
density: 1154,
|
||||
state: 'solid',
|
||||
stateHigh: ['steam', 'sugar'],
|
||||
breakInto: 'white_juice',
|
||||
tempHigh: 256,
|
||||
reactions: {
|
||||
'acid': {elem1: 'white_juice', chance: 0.1},
|
||||
'acid_gas': {elem1: 'white_juice', chance: 0.1},
|
||||
'basalt': {elem1: 'white_juice', chance: 0.1},
|
||||
'concrete': {elem1: 'white_juice', chance: 0.1},
|
||||
'limestone': {elem1: 'white_juice', chance: 0.1},
|
||||
'radiation': {elem1: 'white_juice', chance: 0.1},
|
||||
'rock': {elem1: 'white_juice', chance: 0.1},
|
||||
'tuff': {elem1: 'white_juice', chance: 0.1},
|
||||
'water': {elem1: 'white_juice', chance: 0.005},
|
||||
'sugar_water': {elem1: 'white_juice', chance: 0.025},
|
||||
}
|
||||
}
|
||||
|
||||
elements.ingredient_eater = {
|
||||
color: ['#AD9166', '#9A7F4E', '#D8BB8D'],
|
||||
tool: function(pixel) {
|
||||
if (ings.includes(pixel.element)) {
|
||||
deletePixel(pixel.x, pixel.y);
|
||||
}
|
||||
},
|
||||
category: "tools",
|
||||
desc: "Removes ingredients."
|
||||
}
|
||||
|
||||
elements.consumer = {
|
||||
color: ['#FFD700', '#F4E541', '#7B1113', '#8D021F'],
|
||||
tool: function(pixel) {
|
||||
if (drinks.includes(pixel.element)) {
|
||||
deletePixel(pixel.x, pixel.y);
|
||||
}
|
||||
},
|
||||
category: "tools",
|
||||
desc: "Consumes stuff like juice 'n beer."
|
||||
}
|
||||
|
||||
for (const elem in drinks) {
|
||||
drink(elem)
|
||||
}
|
||||
|
||||
elements.mashed_potato.reactions = {}
|
||||
elements.mashed_potato.reactions['water'] = {elem2: 'vodka', chance: 0.05}
|
||||
elements.grape.color = ['#7D1538', '#6F2DA8']
|
||||
elements.grape.breakIntoColor = '#4B0082'
|
||||
|
|
@ -1,12 +1,5 @@
|
|||
elements.template = {
|
||||
color: "#ffffff",
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
hidden: true,
|
||||
behavior: behaviors.POWDER
|
||||
}
|
||||
elements.powder = {
|
||||
color: ["#c17d17", "#f2a32e"],
|
||||
color: ["#786d6d", "#968888"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
|
|
@ -15,12 +8,11 @@ elements.powder = {
|
|||
"foam": { elem1: "foam_powder", elem2: "foam_powder" },
|
||||
"electric": { elem1: null, elem2: "electric_powder" },
|
||||
"dust": { elem1: null, elem2: "void_powder" },
|
||||
"grenade": { elem1: null, elem2: "powder_nuke" },
|
||||
"dna": { elem1: null, elem2: "alive_powder" },
|
||||
"fire": { elem1: null, elem2: "fire_powder" },
|
||||
"cold_fire": { elem1: null, elem2: "cold_fire_powder" },
|
||||
},
|
||||
stateHigh: "smoke",
|
||||
tempHigh: 200,
|
||||
tempLow: -200,
|
||||
stateLow: "cold_powder",
|
||||
stateHigh: "hot_powder",
|
||||
}
|
||||
elements.gas_powder = {
|
||||
color: "#b98ffc",
|
||||
|
|
@ -31,17 +23,30 @@ stateHigh: "smoke",
|
|||
tempHigh: 2000,
|
||||
reactions: {
|
||||
"up_powder": { elem1: null, elem2: "up_gas_powder" },
|
||||
"grenade": { elem1: null, elem2: "gas_powder_nuke" },
|
||||
},
|
||||
tempLow: -200,
|
||||
stateLow: "powder",
|
||||
}
|
||||
elements.up_powder = {
|
||||
color: "#8ffcb9",
|
||||
color: ["#8ffcb9", "#71cac5"],
|
||||
behavior: behaviors.AGPOWDER,
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
tempLow: -200,
|
||||
stateLow: "powder",
|
||||
reactions: {
|
||||
"grenade": { elem1: null, elem2: "up_powder_nuke" },
|
||||
},
|
||||
breakInto: "up_powder_shard",
|
||||
},
|
||||
elements.up_powder_shard = {
|
||||
color: ["#54a59b", "#408792"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
tempLow: -200,
|
||||
stateLow: "up_powder",
|
||||
},
|
||||
elements.up_gas_powder = {
|
||||
color: ["#a2c5da", "#a0a7d8"],
|
||||
|
|
@ -68,6 +73,7 @@ tempHigh: 2000,
|
|||
reactions: {
|
||||
"gas_powder": { elem1: null, elem2: "slow_gas_powder" },
|
||||
"up_powder": { elem1: null, elem2: "slow_up_powder" },
|
||||
"grenade": { elem1: null, elem2: "slow_powder_nuke" },
|
||||
},
|
||||
tempLow: -200,
|
||||
stateLow: "powder",
|
||||
|
|
@ -142,20 +148,11 @@ elements.sticky_powder = {
|
|||
stateLow: "frozen_foam_powder",
|
||||
hidden: true
|
||||
}
|
||||
elements.frozen_foam_powder = {
|
||||
color: ["#c0eded", "#a7cfba"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "more_powders",
|
||||
state: "gas",
|
||||
tempHigh: 1000,
|
||||
stateHigh: "foam_powder",
|
||||
hidden: true
|
||||
}
|
||||
elements.electric_powder = {
|
||||
color: ["#eae463", "#f9fc45"],
|
||||
behavior: [
|
||||
"SH|SH|SH",
|
||||
"SH|XX|SH",
|
||||
"SH|LB:electric%5|SH",
|
||||
"SH AND M2|SH AND M1|SH AND M2",
|
||||
],
|
||||
category: "more_powders",
|
||||
|
|
@ -168,34 +165,6 @@ elements.sticky_powder = {
|
|||
stateLow: "powder",
|
||||
hidden: true
|
||||
}
|
||||
elements.hot_powder = {
|
||||
color: ["#8a3b87", "#d43a3a", "#d43a3a"],
|
||||
behavior:[
|
||||
"HT|HT|HT",
|
||||
"HT|XX|HT",
|
||||
"HT AND M2|HT AND M1|HT AND M2",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
tempLow: -200,
|
||||
stateLow: "cold_powder",
|
||||
temp: 200,
|
||||
hidden: true
|
||||
}
|
||||
elements.cold_powder = {
|
||||
color: ["#8a3b87", "#3f3cd4", "#3f3cd4"],
|
||||
behavior:[
|
||||
"CO|CO|CO",
|
||||
"CO|XX|CO",
|
||||
"CO AND M2|CO AND M1|CO AND M2",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
tempHigh: 400,
|
||||
stateHigh: "hot_powder",
|
||||
temp: -200,
|
||||
hidden: true
|
||||
}
|
||||
elements.void_powder = {
|
||||
color: "#303031",
|
||||
category: "more_powders",
|
||||
|
|
@ -206,4 +175,161 @@ elements.sticky_powder = {
|
|||
"DL|XX|DL",
|
||||
"DL AND M2|DL AND M1|DL AND M2",
|
||||
]
|
||||
}
|
||||
}
|
||||
elements.powder_nuke = {
|
||||
color: "#46745d",
|
||||
behavior: [
|
||||
"XX|XX|XX",
|
||||
"XX|XX|XX",
|
||||
"XX|M1 AND EX:25>powder|XX",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
hidden:true,
|
||||
excludeRandom: true
|
||||
}
|
||||
elements.gas_powder_nuke = {
|
||||
color: "#406a6a",
|
||||
behavior: [
|
||||
"XX|XX|XX",
|
||||
"XX|XX|XX",
|
||||
"XX|M1 AND EX:25>gas_powder|XX",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "gas",
|
||||
hidden:true,
|
||||
excludeRandom: true
|
||||
}
|
||||
elements.up_powder_nuke = {
|
||||
color: "#688686",
|
||||
behavior: [
|
||||
"XX|M1 AND EX:25>up_powder|XX",
|
||||
"XX|XX|XX",
|
||||
"XX|XX|XX",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
hidden:true,
|
||||
excludeRandom: true
|
||||
}
|
||||
elements.slow_powder_nuke = {
|
||||
color: "#746262",
|
||||
behavior: [
|
||||
"XX|XX|XX",
|
||||
"XX|XX|XX",
|
||||
"M1%20|M1%20 AND EX:22>slow_powder|M1%20",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
hidden:true,
|
||||
excludeRandom: true
|
||||
}
|
||||
elements.rainbow_powder = {
|
||||
color: ["#ff0000","#ff8800","#ffff00","#00ff00","#00ffff","#0000ff","#ff00ff"],
|
||||
tick: function(pixel) {
|
||||
var t = pixelTicks+pixel.x+pixel.y;
|
||||
var r = Math.floor(127*(1-Math.cos(t*Math.PI/90)));
|
||||
var g = Math.floor(127*(1-Math.cos(t*Math.PI/90+2*Math.PI/3)));
|
||||
var b = Math.floor(127*(1-Math.cos(t*Math.PI/90+4*Math.PI/3)));
|
||||
pixel.color = "rgb("+r+","+g+","+b+")";
|
||||
},
|
||||
behavior: behaviors.POWDER,
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
breakInto: "static",
|
||||
}
|
||||
elements.alive_powder = {
|
||||
color: ["#f74177", "#f78177"],
|
||||
behavior: behaviors.CRAWLER,
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
stateHigh: "smoke",
|
||||
tempHigh: 100,
|
||||
tempLow: -250,
|
||||
stateLow: "frozen_meat",
|
||||
stateHigh: "cooked_powder",
|
||||
}
|
||||
elements.cooked_powder = {
|
||||
color: ["#b53811", "#b54211"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
stateHigh: "smoke",
|
||||
tempHigh: 400,
|
||||
tempLow: -250,
|
||||
stateLow: "frozen_meat",
|
||||
stateHigh: "smoke",
|
||||
}
|
||||
elements.fire_powder = {
|
||||
color: ["#c07d5d", "#c23000", "#c0521b"],
|
||||
behavior: [
|
||||
"XX|CR:fire%2|XX",
|
||||
"XX|LB:fire%4|XX",
|
||||
"M2|M1|M2",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
density: 997,
|
||||
conduct: 0.02,
|
||||
stain: -0.5,
|
||||
temp:218,
|
||||
tempLow: -250,
|
||||
stateLow: "coldfire_powder",
|
||||
}
|
||||
elements.coldfire_powder = {
|
||||
color: ["#004fbd", "#138fb9", "#00b8b1"],
|
||||
behavior: [
|
||||
"XX|CR:cold_fire%2|XX",
|
||||
"XX|LB:cold_fire%4|XX",
|
||||
"M2|M1|M2",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
density: 997,
|
||||
conduct: 0.02,
|
||||
stain: -0.5,
|
||||
temp:-104,
|
||||
tempHigh: 250,
|
||||
stateHigh: "fire_powder",
|
||||
}
|
||||
elements.left_powder = {
|
||||
color: "#645bb0",
|
||||
behavior:[
|
||||
"M2|XX|XX",
|
||||
"M1|XX|XX",
|
||||
"M2|XX|XX",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
}
|
||||
elements.right_powder = {
|
||||
color: "#b95b5b",
|
||||
behavior:[
|
||||
"XX|XX|M2",
|
||||
"XX|XX|M1",
|
||||
"XX|XX|M2",
|
||||
],
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
}
|
||||
elements.color_powder = {
|
||||
color: ["#6b2e2e","#6b4f2e","#6b6b2e","#2e6b2e","#2e6b6b","#2e2e6b","#6b2e6b"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "more_powders",
|
||||
state: "solid",
|
||||
density: 1.977,
|
||||
customColor: true
|
||||
}
|
||||
worldgentypes.powder_world = {
|
||||
layers: [
|
||||
[0.95, "sticky_powder"],
|
||||
[0.50, "powder"],
|
||||
[0.25, "slow_up_powder"],
|
||||
[0.15, "slower_up_powder"],
|
||||
],
|
||||
decor: [ // [element, chance, distance from top]
|
||||
["alive_powder", 0.08],
|
||||
// ["alive_powder", 0.025, 10],
|
||||
],
|
||||
baseHeight: 0.35
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,37 +1,5 @@
|
|||
|
||||
|
||||
|
||||
elements.freeze_ray = {
|
||||
color: ["#8cf9ff","#5c59ff"],
|
||||
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 = "#96b6ff";
|
||||
pixelMap[x][y].temp = -257;
|
||||
}
|
||||
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 -= 100;
|
||||
pixelTempCheck(pixelMap[x][y]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
deletePixel(pixel.x, pixel.y);
|
||||
},
|
||||
temp: -257,
|
||||
category: "energy",
|
||||
state: "gas",
|
||||
excludeRandom: true,
|
||||
noMix: true
|
||||
};
|
||||
|
||||
elements.devil_ray = {
|
||||
color: ["#ba0000","#8f0000"],
|
||||
tick: function(pixel) {
|
||||
|
|
@ -2330,4 +2298,4 @@ elements.yogurt.reactions.currant = { elem1: "fruit_yogurt", elem2: null }
|
|||
/*
|
||||
uhhhh i just finished changing every color in the mod and now i have enough hex codes for a lifetime
|
||||
oh god i added like 2 million new fruits
|
||||
*/
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -2999,9 +2999,123 @@ elements.insulated_wire = {
|
|||
}
|
||||
elements.insulated_wire.desc = "Insulated wire. Only conducts to other insulated wires. Pairs with ray emitters to not make diagonal rays."
|
||||
elements.e_pipe.desc = "Electric pipe. Only passes elements while charged."
|
||||
elements.destructible_e_pipe.desc = elements.e_pipe.desc
|
||||
elements.destroyable_e_pipe.desc = elements.e_pipe.desc
|
||||
elements.channel_pipe.desc = "Channel pipe. Only passes elements to pipes of the same channel."
|
||||
elements.bridge_pipe.desc = "Bridge pipe. Can pass and receive from any other type of pipe."
|
||||
elements.ray_emitter.desc = "Emits a ray of the specified element in the opposite direction it was shocked from."
|
||||
elements.specific_ray_emitter.desc = "Emits a ray of the specified element in a specific direction and a specific length."
|
||||
elements.blackhole_storage.desc = "Stores elements inside of itself. Can be released by shocking it."
|
||||
elements.blackhole_storage.desc = "Stores elements inside of itself. Can be released by shocking it."
|
||||
let pullOrPush = 1
|
||||
elements.piston_ray_emitter = {
|
||||
color: "#143b5f",
|
||||
behavior: behaviors.WALL,
|
||||
category: "machines",
|
||||
movable: false,
|
||||
onSelect: function(){
|
||||
var ans1 = prompt("Would you like this piston to pull or push?", "pull").toLowerCase();
|
||||
if (ans1 == "pull"){pullOrPush = 1}
|
||||
else if (ans1 == "push"){pullOrPush = 2}
|
||||
},
|
||||
tick: function(pixel){
|
||||
if (pixelTicks == pixel.start){
|
||||
pixel.pullOrPush = pullOrPush
|
||||
}
|
||||
if (!pixel.cooldown){pixel.cooldown = 0}
|
||||
if (pixel.cooldown < 1){
|
||||
for (var i = 0; i < adjacentCoords.length; i++) {
|
||||
var coord = squareCoords[i];
|
||||
var x = pixel.x+coord[0];
|
||||
var y = pixel.y+coord[1];
|
||||
if (!isEmpty(x,y, true)){
|
||||
if (pixelMap[x][y].charge && (pixelMap[x][y].element == "wire" || pixelMap[x][y].element == "insulated_wire")){
|
||||
pixel.cooldown = 6
|
||||
var dir = [0-squareCoords[i][0], 0-squareCoords[i][1]]
|
||||
var startx = pixel.x+dir[0]
|
||||
var starty = pixel.y+dir[1]
|
||||
var magnitude = 0
|
||||
if (width > height){magnitude = width} else {magnitude = height}
|
||||
var endx = startx+(magnitude*dir[0])
|
||||
var endy = starty+(magnitude*dir[1])
|
||||
// console.log("Direction seems to be " + dir)
|
||||
var jcoords
|
||||
if (pixel.pullOrPush == 1){jcoords = lineCoords(startx, starty, endx, endy, 1)}
|
||||
else {jcoords = lineCoords(endx, endy, startx, starty, 1)}
|
||||
|
||||
// console.log(startx + " is the starting x, " + starty + " is the starting y, " + endx + " is the ending x, " + endy + " is the ending y. Result is " + jcoords)
|
||||
let pCoord = jcoords[0]
|
||||
for (var j = 0; j < jcoords.length; j++) {
|
||||
var lcoord = jcoords[j];
|
||||
var lx = lcoord[0];
|
||||
var ly = lcoord[1];
|
||||
if (!isEmpty(lx, ly, true)){
|
||||
tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1])
|
||||
}
|
||||
pCoord[0] = lx;
|
||||
pCoord[1] = ly;
|
||||
}
|
||||
}
|
||||
}
|
||||
}} else {pixel.cooldown -= 1}
|
||||
},
|
||||
insulate: true,
|
||||
}
|
||||
let pistonStart = 0
|
||||
let pistonEnd = 0
|
||||
elements.specific_piston_ray_emitter = {
|
||||
color: "#517597",
|
||||
behavior: behaviors.WALL,
|
||||
category: "machines",
|
||||
movable: false,
|
||||
onSelect: function(){
|
||||
var ans1 = prompt("Would you like this piston to pull or push?", "pull").toLowerCase();
|
||||
if (ans1 == "pull"){pullOrPush = 1}
|
||||
else if (ans1 == "push"){pullOrPush = 2}
|
||||
var ans2 = parseInt(prompt("How offset should the start of the push/pulling be?", "0"))
|
||||
pistonStart = ans2
|
||||
var ans3 = parseInt(prompt("How offset should the end of the push/pulling be?", "20"))
|
||||
pistonEnd = ans3
|
||||
},
|
||||
tick: function(pixel){
|
||||
if (pixelTicks == pixel.start){
|
||||
pixel.pullOrPush = pullOrPush
|
||||
pixel.pistonStart = pistonStart
|
||||
pixel.pistonEnd = pistonEnd
|
||||
}
|
||||
if (!pixel.cooldown){pixel.cooldown = 0}
|
||||
if (pixel.cooldown < 1){
|
||||
for (var i = 0; i < adjacentCoords.length; i++) {
|
||||
var coord = squareCoords[i];
|
||||
var x = pixel.x+coord[0];
|
||||
var y = pixel.y+coord[1];
|
||||
if (!isEmpty(x,y, true)){
|
||||
if (pixelMap[x][y].charge && (pixelMap[x][y].element == "wire" || pixelMap[x][y].element == "insulated_wire")){
|
||||
pixel.cooldown = 6
|
||||
var dir = [0-squareCoords[i][0], 0-squareCoords[i][1]]
|
||||
var startx = pixel.x+(dir[0]*pixel.pistonStart)
|
||||
var starty = pixel.y+(dir[1]*pixel.pistonStart)
|
||||
var magnitude = pixel.pistonEnd
|
||||
var endx = startx+(magnitude*dir[0])
|
||||
var endy = starty+(magnitude*dir[1])
|
||||
// console.log("Direction seems to be " + dir)
|
||||
var jcoords
|
||||
if (pixel.pullOrPush == 1){jcoords = lineCoords(startx, starty, endx, endy, 1)}
|
||||
else {jcoords = lineCoords(endx, endy, startx, starty, 1)}
|
||||
|
||||
// console.log(startx + " is the starting x, " + starty + " is the starting y, " + endx + " is the ending x, " + endy + " is the ending y. Result is " + jcoords)
|
||||
let pCoord = jcoords[0]
|
||||
for (var j = 0; j < jcoords.length; j++) {
|
||||
var lcoord = jcoords[j];
|
||||
var lx = lcoord[0];
|
||||
var ly = lcoord[1];
|
||||
if (!isEmpty(lx, ly, true)){
|
||||
tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1])
|
||||
}
|
||||
pCoord[0] = lx;
|
||||
pCoord[1] = ly;
|
||||
}
|
||||
}
|
||||
}
|
||||
}} else {pixel.cooldown -= 1}
|
||||
},
|
||||
insulate: true,
|
||||
}
|
||||
|
|
@ -1,6 +1,10 @@
|
|||
/*addMod("mossstuff.js");
|
||||
removeMod("pizzasstuff.js");
|
||||
addMod("mossstuff.js");
|
||||
reload();
|
||||
|
||||
reload(); */
|
||||
|
||||
alert("THIS MOD IS NO LONGER SUPPORTED!\nThe mod 'pizzasstuff.s' and all of its contents have been moved to mossstuff.js.\nPlease install mossstuff.js to continue getting updates.");
|
||||
|
||||
|
||||
elements.freeze_ray = {
|
||||
color: ["#8cf9ff","#5c59ff"],
|
||||
|
|
@ -71,6 +75,12 @@ elements.beer = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 100,
|
||||
stateHigh: ["fire","steam","steam"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.root_beer = {
|
||||
|
|
@ -79,6 +89,12 @@ elements.root_beer = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
tempHigh: 100,
|
||||
stateHigh: ["fire","steam","steam"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.fruit_slushy = {
|
||||
|
|
@ -90,6 +106,12 @@ elements.fruit_slushy = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 100,
|
||||
stateHigh: ["fire","steam","steam"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.mold = {
|
||||
|
|
@ -98,6 +120,11 @@ elements.mold = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
};
|
||||
|
||||
elements.chocolate_slushy = {
|
||||
|
|
@ -109,6 +136,12 @@ elements.chocolate_slushy = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 100,
|
||||
stateHigh: ["fire","steam","steam"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.chocolate_sauce = {
|
||||
|
|
@ -118,6 +151,12 @@ elements.chocolate_sauce = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.chocolate_ice_cream = {
|
||||
|
|
@ -130,6 +169,7 @@ elements.chocolate_ice_cream = {
|
|||
tempHigh: 15,
|
||||
stateHigh: "cream",
|
||||
temp: 0,
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.fruit_ice_cream = {
|
||||
|
|
@ -142,6 +182,7 @@ elements.fruit_ice_cream = {
|
|||
tempHigh: 15,
|
||||
stateHigh: "cream",
|
||||
temp: 0,
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.snow_cone = {
|
||||
|
|
@ -154,6 +195,7 @@ elements.snow_cone = {
|
|||
tempHigh: 15,
|
||||
stateHigh: "smashed_ice",
|
||||
temp: 0,
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.mint_ice_cream = {
|
||||
|
|
@ -167,6 +209,7 @@ elements.mint_ice_cream = {
|
|||
tempHigh: 15,
|
||||
stateHigh: "cream",
|
||||
temp: 0,
|
||||
isFood: true,
|
||||
reactions: {
|
||||
"chocolate": { elem1: "mint_chocolate_ice_cream", elem2: null },
|
||||
}
|
||||
|
|
@ -182,6 +225,7 @@ elements.mint_chocolate_ice_cream = {
|
|||
tempHigh: 15,
|
||||
stateHigh: "cream",
|
||||
temp: 0,
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -193,7 +237,10 @@ elements.chocolate_yogurt = {
|
|||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempLow: 0,
|
||||
stateHigh: ["fire","steam","steam"],
|
||||
tempHigh: 450,
|
||||
stateLow: "frozen_chocolate_yogurt",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.fruit_yogurt = {
|
||||
|
|
@ -205,6 +252,9 @@ elements.fruit_yogurt = {
|
|||
hidden: "TRUE",
|
||||
tempLow: 0,
|
||||
stateLow: "frozen_fruit_yogurt",
|
||||
isFood: true,
|
||||
stateHigh: ["fire","steam","steam"],
|
||||
tempHigh: 450,
|
||||
};
|
||||
|
||||
elements.frozen_fruit_yogurt = {
|
||||
|
|
@ -218,6 +268,7 @@ elements.frozen_fruit_yogurt = {
|
|||
tempHigh: 0,
|
||||
stateHigh: "fruit_yogurt",
|
||||
temp: 0,
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.frozen_chocolate_yogurt = {
|
||||
|
|
@ -231,6 +282,7 @@ elements.frozen_chocolate_yogurt = {
|
|||
tempHigh: 0,
|
||||
stateHigh: "chocolate_yogurt",
|
||||
temp: 0,
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.frying_oil = {
|
||||
|
|
@ -243,7 +295,13 @@ elements.frying_oil = {
|
|||
"potato": { elem1: null, elem2: "fries" },
|
||||
"advanced_dough": { elem1: null, elem2: "churros" },
|
||||
"snow": { elem1: null, elem2: "fried_snow" },
|
||||
}
|
||||
},
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","steam","steam"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.chicken_nuggets = {
|
||||
|
|
@ -252,6 +310,12 @@ elements.chicken_nuggets = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.advanced_dough = {
|
||||
|
|
@ -273,6 +337,11 @@ elements.fries = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
};
|
||||
|
||||
elements.fried_snow = {
|
||||
|
|
@ -281,6 +350,12 @@ elements.fried_snow = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.battery_acid = {
|
||||
|
|
@ -289,6 +364,12 @@ elements.battery_acid = {
|
|||
category: "machines",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["steam","dioxin","stench"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["steam","dioxin","stench"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -298,6 +379,11 @@ elements.steampunk_pancakes = {
|
|||
category: "machines",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
//I have no idea why i added this, but when i removed it and started the mod, the mod removed itself. Words can't explain my fucking confusion.
|
||||
};
|
||||
|
||||
|
|
@ -308,6 +394,11 @@ elements.churros = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
reactions: {
|
||||
"chocolate": { elem1: "chocolate_churros", elem2: null },
|
||||
"chocolate_sauce": { elem1: "chocolate_churros", elem2: null },
|
||||
|
|
@ -320,8 +411,27 @@ elements.chocolate_churros = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
};
|
||||
|
||||
/*elements.color_pick = {
|
||||
color: ["#ff0000","#ffd100","#00ff4b","#0005ff"],
|
||||
behavior: [
|
||||
"CF|CF|CF",
|
||||
"CF|DL%5|CF",
|
||||
"CF|CF|CF",
|
||||
],
|
||||
category: "tools",
|
||||
maxSize: 0,
|
||||
darkText: true,
|
||||
canPlace: false,
|
||||
desc: "Use on a pixel to select its element."
|
||||
};*/
|
||||
|
||||
elements.croissant = {
|
||||
color: ["#c68028","#ad7023","#905c1b","#794d16","#674112"],
|
||||
behavior: behaviors.POWDER,
|
||||
|
|
@ -361,6 +471,12 @@ elements.rose_sauce = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.seasoning = {
|
||||
|
|
@ -369,6 +485,12 @@ elements.seasoning = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.parmesan = {
|
||||
|
|
@ -376,6 +498,12 @@ elements.parmesan = {
|
|||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.baking_powder = {
|
||||
|
|
@ -386,6 +514,12 @@ elements.baking_powder = {
|
|||
reactions: {
|
||||
"flour": { elem1: null, elem2: "advanced_dough" },
|
||||
},
|
||||
tempHigh: 350,
|
||||
stateHigh: ["fire","fire","ash"],
|
||||
burn:3,
|
||||
burnTime:500,
|
||||
burnInto: ["fire","smoke","smoke","steam","ash"],
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.smashed_ice = {
|
||||
|
|
@ -687,6 +821,7 @@ elements.cherry = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: "#450008",
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#bf4545","#982828"] },
|
||||
|
|
@ -701,6 +836,7 @@ elements.strawberry = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#bf0147","#c61548","#cc2857","#c62354","#c11848"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#a82953","#941540"] },
|
||||
|
|
@ -715,6 +851,7 @@ elements.apple = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ffda69","#ffdb84"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f4ff49","#ffec2f"] },
|
||||
|
|
@ -729,6 +866,7 @@ elements.green_apple = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ffda69","#ffdb84"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f4ff49","#ffec2f"] },
|
||||
|
|
@ -744,6 +882,7 @@ elements.orange = {
|
|||
breakIntoColor: ["#ffc659","#ffb646","#ffa700","#ff8d00"],
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fbd808","#ff9005"] },
|
||||
}
|
||||
|
|
@ -757,6 +896,7 @@ elements.kiwi = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#a9c77e","#bad98f"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#a5d04c","#bbdc79"] },
|
||||
|
|
@ -771,6 +911,7 @@ elements.blueberry = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#8abeee","#8aacf4","#9591ee","#787fdb","#7c74ce"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#5086c1","#5076b0"] },
|
||||
|
|
@ -785,6 +926,7 @@ elements.plum = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#bf66c9","#d499db","#eacced"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#d8b2d8","#b266b2"] },
|
||||
|
|
@ -799,6 +941,7 @@ elements.blackberry = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#a941a1","#ba59b2","#c570bf"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ba59b2","#c570bf"] },
|
||||
|
|
@ -813,6 +956,7 @@ elements.peach = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#fce5b8","#fcdab8","#fccfb8"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffe7dc","#ffdac8"] },
|
||||
|
|
@ -827,6 +971,7 @@ elements.lemon = {
|
|||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#f8ff80","#f6ff6c","#f5ff57","#f3ff39","#f0ff00"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffffd8","#fffecf"] },
|
||||
|
|
@ -842,6 +987,7 @@ elements.green_grape = {
|
|||
breakIntoColor: ["#5f8536","#7ba84a"],
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ecffdc","#c3ffa8"] },
|
||||
}
|
||||
|
|
@ -852,6 +998,9 @@ elements.banana = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: "#f0f060",
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fdf8d6","#f9efa6"] },
|
||||
|
|
@ -864,6 +1013,9 @@ elements.blood_orange = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ff4600","#ff8353"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffc7b4","#ffa485"] },
|
||||
|
|
@ -876,6 +1028,9 @@ elements.canary_melon = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ffff9e","#fffcaa"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#e5ffb3","#ecff9c"] },
|
||||
|
|
@ -888,6 +1043,9 @@ elements.honeydew_melon = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#e9ffa3","#f9ffa3"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#e8ffc9","#e8ffc8"] },
|
||||
|
|
@ -900,6 +1058,9 @@ elements.cranberry = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "sauce",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ba4242","#7a1717"],
|
||||
reactions: {
|
||||
"soda": { elem1: null, elem2: "sprite_cranberry" },
|
||||
|
|
@ -913,6 +1074,9 @@ elements.pitaya = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ff84ae","#ffafca"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffd4e3","#ffafca"] },
|
||||
|
|
@ -925,6 +1089,9 @@ elements.coconut = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "milk",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#f7e5d8","#fdefe5","#fff7f1"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fff2db","#ffefd4"] },
|
||||
|
|
@ -937,6 +1104,9 @@ elements.cloudberry = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ffe1c7","#fff9f3"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffd7ab","#ffcb93"] },
|
||||
|
|
@ -949,6 +1119,9 @@ elements.crabapple = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ff8fcf","#ffb2de"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffd2ec","#ffb2de"] },
|
||||
|
|
@ -961,6 +1134,9 @@ elements.cactus_fruit = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#75d802","#72d202"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#bbffc1","#84ff90"] },
|
||||
|
|
@ -973,6 +1149,9 @@ elements.pear = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#c8e39e","#99cc99"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#c3ff9c","#bcff92"] },
|
||||
|
|
@ -985,6 +1164,9 @@ elements.purpleberry = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#c08cc3","#e49cc2"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fee6e4","#fbc3c4"] },
|
||||
|
|
@ -997,6 +1179,9 @@ elements.yellowberry = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#fffec8","#fffdaf"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fffec8","#fffdaf"] },
|
||||
|
|
@ -1009,6 +1194,9 @@ elements.pomegranate = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ee717f","#e94254"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f4a1a9","#ee717f"] },
|
||||
|
|
@ -1021,6 +1209,9 @@ elements.guava = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ff5a76","#ff8fa2"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f6c8cd","#f2acb5"] },
|
||||
|
|
@ -1033,6 +1224,9 @@ elements.raspberry = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#f23a72","#fb79a0"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffb1f4","#ff91ce"] },
|
||||
|
|
@ -1045,6 +1239,9 @@ elements.gooseberry = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#8b0031","#920436"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f1ffdb","#e3ffb7"] },
|
||||
|
|
@ -1057,6 +1254,9 @@ elements.fig = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ff4a4a","#ea3838"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ff8d8d","#ffabab"] },
|
||||
|
|
@ -1069,6 +1269,9 @@ elements.durian = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#faffaf","#fbffbf"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#feffe7","#f9ffb3"] },
|
||||
|
|
@ -1081,6 +1284,9 @@ elements.passionfruit = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ffdede","#ffe4e4"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#d8adce","#c485b6"] },
|
||||
|
|
@ -1093,6 +1299,9 @@ elements.starfruit = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#f2d553","#f5dd75"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#faeeba","#f7e698"] },
|
||||
|
|
@ -1105,6 +1314,9 @@ elements.rambutan = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#faffaf","#fbffbf"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fde0e0","#f4c1c1"] },
|
||||
|
|
@ -1117,6 +1329,9 @@ elements.nance = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ffff66","#ffff99"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fffee0","#fffec8"] },
|
||||
|
|
@ -1129,6 +1344,9 @@ elements.nectarine = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ffbd8b","#ffdbc0"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffc3ad","#ffa584"] },
|
||||
|
|
@ -1141,6 +1359,9 @@ elements.loganberry = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ff8f8f","#ffb7b7"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#9c91a5","#bdb5c3"] },
|
||||
|
|
@ -1153,6 +1374,9 @@ elements.currant = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#ff878f","#ffbcc0"],
|
||||
reactions: {
|
||||
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#cc6b69","#bb3a37"] },
|
||||
|
|
@ -1175,6 +1399,9 @@ elements.mint = {
|
|||
behavior: behaviors.STURDYPOWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
reactions: {
|
||||
"cream": { elem1: null, elem2: "toorhpaste" },
|
||||
"ice_cream": { elem1: null, elem2: "mint_ice_cream" },
|
||||
|
|
@ -1187,6 +1414,9 @@ elements.broccoli = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#00b215","#0b8500"],
|
||||
};
|
||||
|
||||
|
|
@ -1217,6 +1447,9 @@ elements.hot_pepper = {
|
|||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
reactions: {
|
||||
"sauce": { elem1: null, elem2: "hot_sauce" },
|
||||
}
|
||||
|
|
@ -1236,6 +1469,9 @@ elements.squash = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#efbe79","#ffd599"],
|
||||
};
|
||||
|
||||
|
|
@ -1245,6 +1481,9 @@ elements.zuchinni = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "juice",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
breakIntoColor: ["#80a568","#a3c88c"],
|
||||
};
|
||||
|
||||
|
|
@ -1254,6 +1493,9 @@ elements.olive = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "olive_oil",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.eggplant = {
|
||||
|
|
@ -1263,6 +1505,9 @@ elements.eggplant = {
|
|||
state: "solid",
|
||||
breakInto: "juice",
|
||||
breakIntoColor: ["#674ea7","#351c75"],
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.onion = {
|
||||
|
|
@ -1276,6 +1521,9 @@ elements.onion = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: ["stench", null, null, null, null],
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.cinnamon = {
|
||||
|
|
@ -1283,6 +1531,9 @@ elements.cinnamon = {
|
|||
behavior: behaviors.STURDYPOWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.garlic = {
|
||||
|
|
@ -1291,6 +1542,9 @@ elements.garlic = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
breakInto: "garlic_clove",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.garlic_clove = {
|
||||
|
|
@ -1299,6 +1553,9 @@ elements.garlic_clove = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.carrot = {
|
||||
|
|
@ -1312,6 +1569,9 @@ elements.carrot = {
|
|||
burnTime: 300,
|
||||
breakInto: "juice",
|
||||
breakIntoColor: "#f1b956",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.asparagus = {
|
||||
|
|
@ -1327,6 +1587,9 @@ elements.asparagus = {
|
|||
burnTime: 300,
|
||||
breakInto: "juice",
|
||||
breakIntoColor: "#c9ddbb",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.roasted_asparagus = {
|
||||
|
|
@ -1343,6 +1606,9 @@ elements.roasted_asparagus = {
|
|||
burnInto: "ash",
|
||||
burn: 20,
|
||||
burnTime: 300,
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.oreo = {
|
||||
|
|
@ -1350,6 +1616,9 @@ elements.oreo = {
|
|||
behavior: behaviors.STURDYPOWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
reactions: {
|
||||
"toorhpaste": { elem1: "poison_oreo", elem2: null },
|
||||
}
|
||||
|
|
@ -1361,6 +1630,9 @@ elements.poison_oreo = {
|
|||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.sprinkles = {
|
||||
|
|
@ -1368,6 +1640,9 @@ elements.sprinkles = {
|
|||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.whipped_cream = {
|
||||
|
|
@ -1378,9 +1653,7 @@ elements.whipped_cream = {
|
|||
hidden: "TRUE",
|
||||
tempHigh: 130,
|
||||
stateHigh: "steam",
|
||||
reactions: {
|
||||
"coffee": { elem1: null, elem2: "cream_coffee" },
|
||||
}
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.olive_oil = {
|
||||
|
|
@ -1391,18 +1664,9 @@ elements.olive_oil = {
|
|||
state: "liquid",
|
||||
burn: 10,
|
||||
burnTime: 300,
|
||||
};
|
||||
|
||||
elements.cream_coffee = {
|
||||
color: ["#dbc1ac","#967259","#634832"],
|
||||
behavior: behaviors.LIQUID,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
hidden: "TRUE",
|
||||
tempLow: 0,
|
||||
stateLow: "coffee_ice",
|
||||
tempHigh: 130,
|
||||
stateHigh: ["steam","fragrance"],
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.seafoam = {
|
||||
|
|
@ -1417,6 +1681,9 @@ elements.pipis = {
|
|||
behavior: behaviors.POWDER,
|
||||
category: "life",
|
||||
state: "solid",
|
||||
tempHigh: 256,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.frog_bomb = {
|
||||
|
|
@ -1490,6 +1757,39 @@ elements.holy_hand_grenade = {
|
|||
cooldown: defaultCooldown
|
||||
},
|
||||
|
||||
elements.unholy_feet_bomb = {
|
||||
color: ["#661a0e","#6b1f13","#803226"],
|
||||
behavior: [
|
||||
"XX|EX:20>curse,fire%1|XX",
|
||||
"XX|XX|XX",
|
||||
"M2|M1 AND EX:20>curse,fire%1|M2",
|
||||
],
|
||||
category: "weapons",
|
||||
state: "solid",
|
||||
density: 1300,
|
||||
tempHigh: 1455.5,
|
||||
stateHigh: "curse",
|
||||
excludeRandom: true,
|
||||
cooldown: defaultCooldown,
|
||||
},
|
||||
|
||||
//for(i = 1, i++, i>10){
|
||||
|
||||
//}
|
||||
/*
|
||||
for (let i = 0; i < 100; i++) {
|
||||
if(unholy_feet_bomb.hidden == false) {
|
||||
if(curse.hidden == false) {
|
||||
if(holy_hand_grenade.hidden == false) {
|
||||
unholy_feet_bomb.hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
i = 0;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
elements.chocolate_fountain = {
|
||||
color: "#3e1d07",
|
||||
behavior: [
|
||||
|
|
@ -1700,6 +2000,7 @@ elements.slushy_ice = {
|
|||
state: "solid",
|
||||
density: 917,
|
||||
breakInto: "smashed_ice",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
elements.toorhpaste = {
|
||||
|
|
@ -1709,7 +2010,10 @@ elements.toorhpaste = {
|
|||
state: "solid",
|
||||
reactions: {
|
||||
"juice": { elem1: "poison", elem2: null },
|
||||
}
|
||||
},
|
||||
tempHigh: 170,
|
||||
stateHigh: "steam",
|
||||
isFood: true,
|
||||
};
|
||||
|
||||
if (!elements.lettuce.reactions) elements.lettuce.reactions = {};
|
||||
|
|
|
|||
|
|
@ -0,0 +1,307 @@
|
|||
let prideTextures = {
|
||||
ace: [
|
||||
"b",
|
||||
"b",
|
||||
"g",
|
||||
"g",
|
||||
"w",
|
||||
"w",
|
||||
"p",
|
||||
"p"
|
||||
],
|
||||
aro: [
|
||||
"d",
|
||||
"d",
|
||||
"j",
|
||||
"j",
|
||||
"w",
|
||||
"w",
|
||||
"g",
|
||||
"g",
|
||||
"b",
|
||||
"b"
|
||||
],
|
||||
aroace: [
|
||||
"o",
|
||||
"o",
|
||||
"y",
|
||||
"y",
|
||||
"w",
|
||||
"w",
|
||||
"c",
|
||||
"c",
|
||||
"b",
|
||||
"b"
|
||||
],
|
||||
mlm: [
|
||||
"t",
|
||||
"t",
|
||||
"T",
|
||||
"T",
|
||||
"b",
|
||||
"b",
|
||||
"w",
|
||||
"w",
|
||||
"B",
|
||||
"B",
|
||||
"c",
|
||||
"c",
|
||||
"C",
|
||||
"C"
|
||||
],
|
||||
lesbian: [
|
||||
"o",
|
||||
"o",
|
||||
"y",
|
||||
"y",
|
||||
"w",
|
||||
"w",
|
||||
"p",
|
||||
"p",
|
||||
"m",
|
||||
"m"
|
||||
],
|
||||
trans: [
|
||||
"b",
|
||||
"b",
|
||||
"p",
|
||||
"p",
|
||||
"w",
|
||||
"w",
|
||||
"p",
|
||||
"p",
|
||||
"b",
|
||||
"b"
|
||||
],
|
||||
transfem: [
|
||||
"b",
|
||||
"b",
|
||||
"p",
|
||||
"p",
|
||||
"P",
|
||||
"P",
|
||||
"m",
|
||||
"m",
|
||||
"P",
|
||||
"P",
|
||||
"p",
|
||||
"p",
|
||||
"b",
|
||||
"b"
|
||||
],
|
||||
transmasc: [
|
||||
"p",
|
||||
"b",
|
||||
"b",
|
||||
"B",
|
||||
"B",
|
||||
"c",
|
||||
"c",
|
||||
"B",
|
||||
"B",
|
||||
"b",
|
||||
"b",
|
||||
"p",
|
||||
"p"
|
||||
],
|
||||
nonbinary: [
|
||||
"y",
|
||||
"y",
|
||||
"w",
|
||||
"w",
|
||||
"p",
|
||||
"p",
|
||||
"b",
|
||||
"b"
|
||||
],
|
||||
genderfluid: [
|
||||
"p",
|
||||
"p",
|
||||
"w",
|
||||
"w",
|
||||
"u",
|
||||
"u",
|
||||
"b",
|
||||
"b",
|
||||
"B",
|
||||
"B"
|
||||
],
|
||||
agender: [
|
||||
"b",
|
||||
"b",
|
||||
"g",
|
||||
"g",
|
||||
"w",
|
||||
"w",
|
||||
"G",
|
||||
"G",
|
||||
"w",
|
||||
"w",
|
||||
"g",
|
||||
"g",
|
||||
"b",
|
||||
"b"
|
||||
],
|
||||
demi: [
|
||||
"g",
|
||||
"g",
|
||||
"l",
|
||||
"l",
|
||||
"p",
|
||||
"p",
|
||||
"w",
|
||||
"w",
|
||||
"p",
|
||||
"p",
|
||||
"l",
|
||||
"l",
|
||||
"g",
|
||||
"g"
|
||||
]
|
||||
}
|
||||
elements.aro_flag = {
|
||||
colorPattern: prideTextures.aro,
|
||||
colorKey: {
|
||||
"d": "#3da542",
|
||||
"j": "#a7d479",
|
||||
"w": "#ffffff",
|
||||
"g": "#a9a9a9",
|
||||
"b": "#000000"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.ace_flag = {
|
||||
colorPattern: prideTextures.ace,
|
||||
colorKey: {
|
||||
"b": "#000000",
|
||||
"g": "#a3a3a3",
|
||||
"w": "#ffffff",
|
||||
"p": "#800080",
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.gay_flag = {
|
||||
colorPattern: prideTextures.mlm,
|
||||
colorKey: {
|
||||
t: "#078D70",
|
||||
T: "#26CEAA",
|
||||
b: "#98E8C1",
|
||||
w: "#ffffff",
|
||||
B: "#7BADE2",
|
||||
c: "#5049CC",
|
||||
C: "#3D1A78"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.lesbian_flag = {
|
||||
colorPattern: prideTextures.lesbian,
|
||||
colorKey: {
|
||||
o: "#D52D00",
|
||||
y: "#FF9A56",
|
||||
w: "#FFFFFF",
|
||||
p: "#D162A4",
|
||||
m: "#A30262",
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.aroace_flag = {
|
||||
colorPattern: prideTextures.aroace,
|
||||
colorKey: {
|
||||
o: "#ef9007",
|
||||
y: "#f6d317",
|
||||
w: "#ffffff",
|
||||
c: "#45bcee",
|
||||
b: "#1e3f54"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.trans_flag = {
|
||||
colorPattern: prideTextures.trans,
|
||||
colorKey: {
|
||||
b: "#5BCEFA",
|
||||
p: "#F5A9B8",
|
||||
w: "#FFFFFF",
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.transfem_flag = {
|
||||
colorPattern: prideTextures.transfem,
|
||||
colorKey: {
|
||||
b: "#74deff",
|
||||
p: "#ffe1ed",
|
||||
P: "#ffb5d6",
|
||||
m: "#ff8cbf"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.transmasc_flag = {
|
||||
colorPattern: prideTextures.transmasc,
|
||||
colorKey: {
|
||||
p: "#FF8ABD",
|
||||
b: "#CDF5FE",
|
||||
B: "#9AEBFF",
|
||||
c: "#74DFFF",
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.nonbinary_flag = {
|
||||
colorPattern: prideTextures.nonbinary,
|
||||
colorKey: {
|
||||
y: "#FCF434",
|
||||
w: "#FFFFFF",
|
||||
p: "#9C59D1",
|
||||
b: "#000000"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.genderfluid_flag = {
|
||||
colorPattern: prideTextures.genderfluid,
|
||||
colorKey: {
|
||||
p: "#FF76A4",
|
||||
w: "#FFFFFF",
|
||||
u: "#C011D7",
|
||||
b: "#000000",
|
||||
B: "#2F3CBE"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.agender_flag = {
|
||||
colorPattern: prideTextures.agender,
|
||||
colorKey: {
|
||||
b: "#000000",
|
||||
g: "#BCC4C7",
|
||||
w: "#FFFFFF",
|
||||
G: "#B7F684"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.demigirl_flag = {
|
||||
colorPattern: prideTextures.demi,
|
||||
colorKey: {
|
||||
g: "#7F7F7F",
|
||||
l: "#C4C4C4",
|
||||
p: "#FDADC8",
|
||||
w: "#FFFFFF"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.demiboy_flag = {
|
||||
colorPattern: prideTextures.demi,
|
||||
colorKey: {
|
||||
g: "#7F7F7F",
|
||||
l: "#C4C4C4",
|
||||
p: "#9DD7EA",
|
||||
w: "#FFFFFF"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
elements.demigender_flag = {
|
||||
colorPattern: prideTextures.demi,
|
||||
colorKey: {
|
||||
g: "#7F7F7F",
|
||||
l: "#C4C4C4",
|
||||
p: "#FBFF75",
|
||||
w: "#FFFFFF"
|
||||
},
|
||||
category: "pride",
|
||||
}
|
||||
|
|
@ -2,6 +2,10 @@
|
|||
// a sandboxels mod that adds pullers
|
||||
/*
|
||||
==CHANGELOG==
|
||||
Version 2.0.1
|
||||
@voidapex11
|
||||
~fixed name of mods category
|
||||
|
||||
Version 2.0.0
|
||||
@voidapex11
|
||||
~set max size of the mod description to 1
|
||||
|
|
@ -47,7 +51,7 @@ pullerColour = '#e0adb6'
|
|||
elements.pullersDesc = {
|
||||
color: pullerColour,
|
||||
name: 'pullers.js',
|
||||
category: "mods",
|
||||
category: "Mods",
|
||||
behavior: behaviors.SELFDELETE,
|
||||
tool: function(pixel) {},
|
||||
onSelect: function(pixel) {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,46 @@
|
|||
function playSubspace(file) {
|
||||
var audio = new Audio("https://JustAGenericUsername.github.io/" + file + ".mp3");
|
||||
audio.play();
|
||||
}
|
||||
elements.subspace_trimpine = {
|
||||
color: "#2e2430",
|
||||
behavior: behaviors.STURDYPOWDER,
|
||||
maxSize: 1,
|
||||
cooldown: defaultCooldown,
|
||||
density: 1500,
|
||||
category: "weapons",
|
||||
state: "solid",
|
||||
properties:{
|
||||
counter: 0
|
||||
},
|
||||
tick: function(pixel){
|
||||
if (pixel.counter == 0){
|
||||
playSubspace("subspaceplace")
|
||||
}
|
||||
if (!pixel.rgb){pixel.rgb = pixel.color.match(/\d+/g);}
|
||||
if (pixel.counter >= 90 && pixel.counter < 121){
|
||||
if (!pixel.a){pixel.a = 1}
|
||||
pixel.a -= 0.05
|
||||
pixel.color = "rgba(" + pixel.rgb[0] + "," + pixel.rgb[1] + "," + pixel.rgb[2] + "," + pixel.a + ")"
|
||||
}
|
||||
if (pixel.counter >= 121){
|
||||
if (!isEmpty(pixel.x, pixel.y-1, true)){
|
||||
let oldx = pixel.x
|
||||
let oldy = pixel.y
|
||||
explodeAt(pixel.x, pixel.y, 20)
|
||||
playSubspace("subspaceboom")
|
||||
deletePixel(pixel.x, pixel.y)
|
||||
var coords = circleCoords(oldx, oldy, 25)
|
||||
for (var i = 0; i < coords.length; i++){
|
||||
var x = coords[i].x
|
||||
var y = coords[i].y
|
||||
if (!isEmpty(x, y, true)){
|
||||
var newPixel = pixelMap[x][y]
|
||||
newPixel.color = pixelColorPick(pixel, "#FF00FF")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
pixel.counter ++
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue