This commit is contained in:
CharsonBurensen 2025-06-11 11:23:34 -04:00 committed by GitHub
parent cced781f70
commit 886ff90179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7663 additions and 0 deletions

499
mods/chalk.js Normal file
View File

@ -0,0 +1,499 @@
elements.calcium_chloride = {
color: ["#D3DDE8", "#C6CCD5", "#BCC7D3", "#DDE4EB"],
behavior: behaviors.STURDYPOWDER,
category: "powders",
hidden: false,
breakInto: ["calcium", "chlorine"],
state: "solid",
tempHigh: 772,
reactions: {
"sodium_carbonate": { elem1:"foam", elem2:["colour_pick_chalk_powder","chalk_powder1","chalk_powder3","chalk_powder2","chalk_powder4","chalk_powder5","chalk_powder6","chalk_powder7","chalk_powder8","chalk_powder9",] },
"sodium": { elem1:"salt", elem2:"calcium" },
"ice": { elem2:"water", chance: 0.5 },
"dust": { elem2: null, chance: 0.5 },
"water": { elem2: null, chance: 0.8 },
"rotten_meat": { elem2: "meat" },
"laser": { elem1: ["calcium","chlorine"] },
}
};
if (!elements.sodium.reactions) { // Include this block once
elements.sodium.reactions = {} // This creates the property if it doesn't exist
}
elements.sodium.reactions.carbon_dioxide = { elem1: "sodium_carbonate" }
elements.sodium_carbonate = {
color: "#ffffff",
behavior: behaviors.POWDER,
category: "powders",
hidden: false,
breakInto: ["sodium", "carbon_dioxide"],
state: "solid",
tempHigh: 851,
reactions: {
"calcium_chloride": { elem1:"foam", elem2:"colour_pick_chalk" },
"chlorine": { elem1:"salt", elem2:"carbon_dioxide" },
"laser": { elem1: ["carbon_dioxide","sodium"] },
}
};
if (!elements.calcium.reactions) { // Include this block once
elements.calcium.reactions = {} // This creates the property if it doesn't exist
}
elements.calcium.reactions.chlorine = { elem1: "calcium_chloride" }
elements.colour_pick_chalk = {
color: ["#FF4DFF", "#B24DFF", "#4D52FF", "#4DB0FF", "#4DFFDF", "#64FF4D", "#FFE74D", "#FF994D", "#FF5B4D", "#FF794D", "#FFB14D", "#A8FF4D", "#4DFF85", "#4DD6FF"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: true,
category: "chalk",
breakInto: "colour_pick_chalk_powder",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk1 = {
name: "Chalk",
behavior: behaviors.WALL,
color: ["#ffaaaa"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder1",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.rainbow_chalk = {
name: "Rainbow Chalk",
onPlace: behaviors.DO_TICK,
tick: function(pixel) {
if (pixel.start-1 <= pixelTicks) {
if (pixel.colorstart === undefined) {
pixel.colorstart = pixel.start;
}
pixel.color = "hsl(" + pixel.colorstart + ",100%,65%)";
}
},
color: ["#ff4d4d","#ffac4d","#ffff4d","#4dff4d","#4dffff","#4d4dff","#ff4dff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder_r",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk2 = {
name: "Chalk",
behavior: behaviors.WALL,
color: ["#ff80aa"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder2",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk3 = {
name: "Chalk",
behavior: behaviors.WALL,
color: ["#ffffaa"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder3",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk4 = {
name: "Chalk",
behavior: behaviors.WALL,
color: ["#80ffaa"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder4",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk5 = {
name: "Chalk",
behavior: behaviors.WALL,
color: ["#aaff80"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder5",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk6 = {
name: "Chalk",
behavior: behaviors.WALL,
color: ["#aaffff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder6",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk7 = {
name: "Chalk",
behavior: behaviors.WALL,
color: ["#aa80ff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder7",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk8 = {
name: "Chalk",
behavior: behaviors.WALL,
color: ["#80aaff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder8",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk9 = {
name: "Chalk",
behavior: behaviors.WALL,
color: ["#ffaaff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
breakInto: "chalk_powder9",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder1 = {
name: "Chalk Powder",
behavior: behaviors.POWDER,
color: ["#ffaaaa"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder_r = {
name: "Rainbow Chalk Powder",
onPlace: behaviors.DO_TICK,
tick: function(pixel) {
behaviors.POWDER(pixel);
if (pixel.start-1 <= pixelTicks) {
if (pixel.colorstart === undefined) {
pixel.colorstart = pixel.start;
}
pixel.color = "hsl(" + pixel.colorstart + ",100%,65%)";
}
},
color: ["#ff4d4d","#ffac4d","#ffff4d","#4dff4d","#4dffff","#4d4dff","#ff4dff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder2 = {
name: "Chalk Powder",
behavior: behaviors.POWDER,
color: ["#ff80aa"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder3 = {
name: "Chalk Powder",
behavior: behaviors.POWDER,
color: ["#ffffaa"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder4 = {
name: "Chalk Powder",
behavior: behaviors.POWDER,
color: ["#80ffaa"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder5 = {
name: "Chalk Powder",
behavior: behaviors.POWDER,
color: ["#aaff80"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder6 = {
name: "Chalk Powder",
behavior: behaviors.POWDER,
color: ["#aaffff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder7 = {
name: "Chalk Powder",
behavior: behaviors.POWDER,
color: ["#aa80ff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder8 = {
name: "Chalk Powder",
behavior: behaviors.POWDER,
color: ["#80aaff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.chalk_powder9 = {
name: "Chalk Powder",
behavior: behaviors.POWDER,
color: ["#ffaaff"],
stain: 0.5,
stainSelf: true,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.colour_pick_chalk_powder = {
color: ["#FF4DFF", "#B24DFF", "#4D52FF", "#4DB0FF", "#4DFFDF", "#64FF4D", "#FFE74D", "#FF994D", "#FF5B4D", "#FF794D", "#FFB14D", "#A8FF4D", "#4DFF85", "#4DD6FF"],
stain: 0.3,
behavior: behaviors.POWDER,
stainSelf: true,
customColor: true,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "ash",
};
elements.i_chalk_powder = {
name: "Incendiary Chalk Powder",
behavior: [
"XX|CR:fire%5 AND CR:ember%0.1|XX",
"XX|CH:pop,ember%0.05 AND HT:5%2|XX",
"M2|M1|M2",
],
color: ["#ffb37d"],
stain: 0.5,
stainSelf: true,
temp: 70,
canContain: true,
related: ["art", "calcium", "calcium_chloride", "sodium_carbonate"],
customColor: false,
hidden: false,
category: "chalk",
state: "solid",
tempHigh: 590,
stateHigh: "flashbang",
};

5195
mods/cmur.js Normal file

File diff suppressed because it is too large Load Diff

224
mods/hydroid.js Normal file
View File

@ -0,0 +1,224 @@
elements.pyrane = {
color: "#fc7c19",
behavior: [
"M1|M1 AND CR:fire%10|M1",
"M1|XX|M1",
"M1|M1|M1",
],
hidden: true,
category: "hydroid",
state: "gas",
temp: 50,
tempLow: -20,
stateLow: ["fyrium"],
reactions: {
"dirt": { elem1:"pyrane", elem2:"fire" },
"hydrogen": { elem1:"hydroid", elem2:"hydroid" },
}
};
elements.hydroid = {
color: "#3a0ca6",
behavior: [
["XX", "XX", "XX"],
["M2", "XX", "M2"],
["M1", "M1 AND SW:water AND CH:water>hydroid%10", "M1"]
],
category: "hydroid",
state: "liquid",
temp: 20,
tempHigh: 100,
tempLow: -20,
density: 12,
conduct: 1,
stain: 0.7,
desc: "this is NOT water",
stateHigh: ["pyrane", "steam"],
stateLow: ["hydroid_ice"],
reactions: {
"fire": { elem2: "explosion" },
"body": { elem2: "hydroid", chance: 0.5 },
"head": { elem2: "hydroid", chance: 0.5 },
"maple_syrup": { elem2: "hydroid" },
"magma": { elem2: "hydroid" },
"oil": { elem2: "hydroid" },
"juice": { elem2: "hydroid" },
"ice": { elem2: "hydroid_ice" },
"blood": { elem2: "hydroid" },
"infection": { elem2: "hydroid" },
"milk": { elem1: "lactoid", elem2: "lactoid" }
}
};
elements.lactoid = {
color: ["#deeeff"],
behavior: [
"XX|XX|XX",
"M1 AND SW:water AND CH:water>hydroid%5 AND CH:hydroid>lactoid%1 AND CH:milk>lactoid%10|XX|M1 AND SW:water AND CH:water>hydroid%5 AND CH:hydroid>lactoid%1 AND CH:milk>lactoid%10",
"M1|M1 AND SW:water AND CH:water>hydroid%5 AND CH:hydroid>lactoid%1 AND CH:milk>lactoid%10|M1",
],
category: "hydroid",
state: "liquid",
temp: 20,
tempHigh: 100,
tempLow: -25,
density: 12,
conduct: 1,
stain: 0.7,
desc: "this is NOT milk",
stateHigh: ["pyrane", "steam", "salt"],
stateLow: ["lactoid_ice"],
reactions: {
"fire": { elem2: "explosion" },
"body": { elem2: "hydroid", chance: 0.5, func: behaviors.KILLPIXEL2 },
"head": { elem1: null, elem2: "hydroid", chance: 0.01, func: behaviors.FEEDPIXEL },
"maple_syrup": { elem2: "hydroid" },
"magma": { elem2: "hydroid" },
"oil": { elem2: "hydroid" },
"juice": { elem2: "hydroid" },
"ice": { elem1: "lactoid_ice", elem2: "lactoid_ice" },
"slush": { elem1: "hydroid_milkshake", elem2: "hydroid_milkshake" },
"blood": { elem2: "hydroid" },
"infection": { elem2: "hydroid" },
}
};
elements.lactoid_ice = {
color: ["#bacbe0"],
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"XX|M1|XX",
],
category: "states",
hidden: true,
state: "solid",
temp: -25,
tempHigh: -20,
density: 12,
stain: 0.7,
stateHigh: ["lactoid"],
reactions: {
"fire": { elem2: "explosion" },
"body": { elem2: "hydroid", chance: 0.5, func: behaviors.KILLPIXEL2 },
"head": { elem1: null, elem2: "hydroid", chance: 0.5, func: behaviors.FEEDPIXEL },
"maple_syrup": { elem2: "hydroid" },
"magma": { elem2: "hydroid" },
"oil": { elem2: "hydroid" },
"juice": { elem2: "hydroid" },
"ice": { elem1: "lactoid_ice", elem2: "lactoid_ice" },
"slush": { elem1: "hydroid_milkshake", elem2: "hydroid_milkshake" },
"blood": { elem2: "hydroid" },
"infection": { elem2: "hydroid" },
}
};
elements.hydroid_ice = {
color: ["#316787"],
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"XX|M1|XX",
],
category: "states",
hidden: true,
state: "solid",
temp: -20,
tempHigh: -18,
density: 12,
stain: 0.7,
stateHigh: ["hydroid"],
reactions: {
"fire": { elem2: "explosion" },
"body": { elem2: "hydroid", chance: 0.5, func: behaviors.KILLPIXEL2 },
"head": { elem1: null, elem2: "hydroid", chance: 0.5, func: behaviors.FEEDPIXEL },
"maple_syrup": { elem2: "hydroid" },
"magma": { elem2: "hydroid" },
"oil": { elem2: "hydroid" },
"juice": { elem2: "hydroid" },
"ice": { elem2: "hydroid_ice" },
"ice_cream": { elem1: "hydroid_milkshake", elem2: "hydroid_milkshake" },
"blood": { elem2: "hydroid" },
"infection": { elem2: "hydroid" },
}
};
elements.hydroid_milkshake = {
color: ["#69acff", "#94b2d6", "#699bff"],
behavior: [
"XX|M1%0.1|XX",
"M1|XX|M1",
"M1|M1|M1",
],
category: "hydroid",
state: "liquid",
temp: 20,
tempHigh: 100,
tempLow: -40,
stateLow: "hydroid_ice",
density: 12,
conduct: 1,
stain: 0.7,
desc: "somehow edible",
stateHigh: ["pyrane", "steam", "salt", "sugar"],
reactions: {
"fire": { elem2: "explosion" },
"head": { elem1: null, func: behaviors.FEEDPIXEL }
}
};
elements.cremoid = {
color: ["#f2fffe"],
behavior: [
"XX|SW:milk,lactoid,butyroid,melted_butter,water AND CR:bubble%1|XX",
"M1 AND SW:water|CH:butyroid%0.1|M1 AND SW:water",
"M1|M1|M1",
],
category: "hydroid",
state: "liquid",
temp: 20,
tempHigh: 100,
tempLow: -25,
density: 12,
conduct: 1,
desc: "this is NOT cream",
stateHigh: ["pyrane", "steam"],
stateLow: ["icecream", "hydroid_milkshake"],
reactions: {
"fire": { elem2: "explosion" },
"head": { elem1: null, chance: 0.01, func: behaviors.FEEDPIXEL },
"ice": { elem1: "lactoid_ice", elem2: "lactoid_ice" },
"slush": { elem1: "hydroid_milkshake", elem2: "hydroid_milkshake" },
}
};
elements.butyroid = {
color: ["#a3f1ff"],
behavior: [
"XX|XX|XX",
"M1%2|CH:butter%0.1|M1%2",
"M1|M1|M1",
],
category: "hydroid",
state: "liquid",
temp: 20,
tempHigh: 33,
density: 120,
conduct: 1,
desc: "this is NOT cream",
stateHigh: ["pyrane", "melted_butter"],
reactions: {
"fire": { elem2: "explosion" },
"head": { elem1: null, chance: 0.01, func: behaviors.FEEDPIXEL },
}
};

1745
mods/thiquovite.js Normal file

File diff suppressed because it is too large Load Diff