Add files via upload

Signed-off-by: HACKERPRO908 <130792075+HACKERPRO908@users.noreply.github.com>
This commit is contained in:
HACKERPRO908 2024-01-04 16:13:29 +00:00 committed by GitHub
parent 33b57380e1
commit 2154c4a57e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 138 additions and 0 deletions

138
mods/fantasy_elements.js Normal file
View File

@ -0,0 +1,138 @@
elements.dragon_breath = {
color: "#f94e4e",
behavior: behaviors.GAS,
category: "fantasy",
state: "gas",
density: 0.1,
weight: 1,
update: function(x, y) {
// Update the element's behavior
},
reactions: {
"oxygen": { elem1: "fire", elem2: "fire" },
"frostbite": { elem1: "pulsium", elem2: "pulsium" },
}
};
elements.frostbite = {
color: "#0000ff",
behavior: behaviors.SOLID,
category: "fantasy",
state: "solid",
density: 1.5,
weight: 100,
update: function(x, y) {
// Update the element's behavior
},
reactions: {
"water": { elem1: "ice", elem2: "ice" },
"dragon_breath": { elem1: "pulsium", elem2: "pulsium" },
}
};
elements.pulsium = {
color: "#ffff00",
behavior: behaviors.LIQUID,
category: "fantasy",
state: "liquid",
density: 1923,
weight: 100,
update: function(x, y) {
// Update the element's behavior
},
reactions: {
"molten_iron": { elem1: "pulsium_bar", elem2: "pulsium_bar" },
"molten_tin": { elem1: "pulsium_bar", elem2: "pulsium_bar" },
"water": { elem1: "sap", elem2: "sap" },
}
};
elements.pulsium_bar = {
color: "#ffd700",
behavior: behaviors.SOLID,
category: "fantasy",
state: "solid",
density: 1700,
weight: 100,
update: function(x, y) {
// Update the element's behavior
}
};
elements.goblins_delight = {
color: "#00ff00",
behavior: behaviors.LIQUID,
category: "fantasy",
state: "solid",
density: 0.5,
weight: 50,
reactions: {
"liquid_light": { elem1: "water", elem2: "oil" },
"radiation": { elem1: "sauce", elem2: "sauce" },
}
};
elements.pheonix = {
color: ["#ff0000"],
tick: behaviors.FLY,
reactions: { "fire": { elem2:null, chance:0.15, func:behaviors.FEEDPIXEL },
"salt": { elem2:null, chance:0.15, func:behaviors.FEEDPIXEL },
"pulsium_bar": { elem2:null, chance:0.15, func:behaviors.FEEDPIXEL },
"pulsium": { elem2:null, chance:0.15, func:behaviors.FEEDPIXEL },
"dragon_breath": { elem2:null, chance:0.15, func:behaviors.FEEDPIXEL },
},
foodNeed: 5,
tempHigh: 999999,
stateHigh: "ash",
tempLow: 0,
category:"fantasy",
burn:100,
burnTime:19,
state: "solid",
density: 850,
conduct: 1,
baby: "baby_pheonix",
};
elements.phoenix_ash = {
color: "#a8a8a5",
behavior: behaviors.POWDER,
category: "fantasy",
state: "solid",
density: 1.5,
weight: 100,
reactions: {
"water": { elem1: "pheonix", elem2: "pheonix" },
}
};
elements.baby_pheonix = {
color: ["#ffdd00"],
tick: behaviors.FLY,
foodNeed: 5,
tempHigh: 999999,
stateHigh: "ash",
tempLow: 0,
category:"fantasy",
burn:100,
burnTime:19,
state: "solid",
stateLow: "iced_pheonix",
breakInto: "phoenix_ash",
density: 850,
conduct: 1,
};
elements.iced_pheonix = {
color: "#34baeb",
behavior: behaviors.SOLID,
category: "fantasy",
state: "solid",
density: 1.5,
weight: 100,
update: function(x, y) {
// Update the element's behavior
},
};