This commit is contained in:
SquareScreamYT 2024-03-26 08:59:47 +08:00 committed by GitHub
parent e21476ac59
commit 5287c876dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 146 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/* /*
Created by SquareScreamYT <@918475812884344852> and RealerRaddler <@914371295561535508> Created by SquareScreamYT/sqec <@918475812884344852>
Thanks to Alice <@697799964985786450>, nousernamefound <@316383921346707468>, Adora the Transfem <@778753696804765696> and Fioushemastor <@738828785482203189> for helping :) Thanks to RealerRaddler <@914371295561535508>, Alice <@697799964985786450>, nousernamefound <@316383921346707468>, Adora the Transfem <@778753696804765696> and Fioushemastor <@738828785482203189> for helping :)
v1.10.8 v1.10.8
@ -12,6 +12,7 @@ Upcoming Features:
- white rice noodles - white rice noodles
- matcha leaves, powder, tea - matcha leaves, powder, tea
- cacao pods - cacao pods
- more chocolate, cocoa powder, white chocolate, cocoa butter
- agar (makes juice into jelly) - agar (makes juice into jelly)
- pigs, ham and bacon - pigs, ham and bacon
- garlic - garlic
@ -40,7 +41,8 @@ Upcoming Features:
- tofu - tofu
- miso - miso
- juice reaction with milk makes average color - juice reaction with milk makes average color
- durian - juice reaction with other juices
- jackfruit
Changelog (v1.0) Changelog (v1.0)
- added chickens - added chickens
@ -359,6 +361,9 @@ Changelog (v1.10.8)
- added onion powder - added onion powder
- fix carrot plant bug - fix carrot plant bug
- added fried rice - added fried rice
- added durians
- added cut durians
- added durian seed, wood, leaves and branches
@ -6766,3 +6771,141 @@ elements.hot_sauce = {
isFood: true isFood: true
} }
elements.head.reactions.hot_sauce = {elem2:["smoke","fire",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null], chance:3} elements.head.reactions.hot_sauce = {elem2:["smoke","fire",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null], chance:3}
elements.durian_wood = {
color: "#5e4b23",
behavior: behaviors.WALL,
tempHigh: 400,
stateHigh: ["ember","charcoal","fire","fire","fire"],
category: "solids",
burn: 5,
burnTime: 300,
burnInto: ["ember","charcoal","fire"],
state: "solid",
hardness: 0.15,
breakInto: "sawdust",
breakIntoColor: ["#dba66e","#cc8a64"],
hidden: true
}
elements.durian_branch = {
color: "#5e4b23",
behavior: [
"CR:durian_leaves,durian_branch%2|CR:durian_leaves,durian_branch%2|CR:durian_leaves,durian_branch%2",
"XX|XX|XX",
"XX|XX|XX",
],
tempHigh: 100,
stateHigh: "durian_wood",
tempLow: -30,
stateLow: "durian_wood",
category: "life",
burn: 40,
burnTime: 50,
burnInto: ["sap","ember","charcoal"],
hidden: true,
state: "solid",
density: 1500,
hardness: 0.15,
breakInto: ["sap","sawdust"],
}
elements.durian_leaves = {
color: ["#326b25","#2e751e"],
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"XX|CR:durian%0.1|XX",
],
reactions: {
"vinegar": { elem1:"dead_plant", elem2:null, chance:0.035 },
"baking_soda": { elem1:"dead_plant", elem2:null, chance:0.01 },
"bleach": { elem1:"dead_plant", elem2:null, chance:0.05 },
"alcohol": { elem1:"dead_plant", elem2:null, chance:0.035 }
},
category:"life",
tempHigh: 100,
stateHigh: "dead_plant",
tempLow: -1.66,
stateLow: "frozen_plant",
burn:65,
burnTime:60,
burnInto: "dead_plant",
breakInto: "dead_plant",
state: "solid",
density: 1050,
hidden: true
}
elements.durian = {
color: ["#578524","#5b8f1f"],
behavior: behaviors.POWDER,
category:"food",
tempHigh: 100,
stateHigh: "dead_plant",
burn:65,
burnTime:60,
cutInto: "cut_durian",
state: "solid",
density: 1050,
}
elements.cut_durian = {
color: ["#e3e04b","#d1cf36"],
behavior: behaviors.STURDYPOWDER,
category:"food",
tempHigh: 100,
stateHigh: ["sugar","steam"],
burn:65,
burnTime:60,
state: "solid",
density: 1050,
hidden: true,
freezeDryInto: "freeze_dried_fruits",
freezeDryIntoColor: "#a19f3b",
}
elements.durian_seed = {
color: "#a17d3b",
tick: function(pixel) {
if (isEmpty(pixel.x,pixel.y+1)) {
movePixel(pixel,pixel.x,pixel.y+1);
}
else {
if (Math.random() < 0.02 && pixel.age > 50 && pixel.temp < 100) {
if (!outOfBounds(pixel.x,pixel.y+1)) {
var dirtPixel = pixelMap[pixel.x][pixel.y+1];
if (dirtPixel.element === "dirt" || dirtPixel.element === "mud" || dirtPixel.element === "sand" || dirtPixel.element === "wet_sand" || dirtPixel.element === "clay_soil" || dirtPixel.element === "mycelium") {
changePixel(dirtPixel,"root");
}
}
if (isEmpty(pixel.x,pixel.y-1)) {
movePixel(pixel,pixel.x,pixel.y-1);
createPixel(Math.random() > 0.5 ? "durian_wood" : "durian_branch",pixel.x,pixel.y+1);
}
}
else if (pixel.age > 1000) {
changePixel(pixel,"durian_wood");
}
pixel.age++;
}
doDefaults(pixel);
},
properties: {
"age":0
},
tempHigh: 100,
stateHigh: "dead_plant",
tempLow: -2,
stateLow: "frozen_plant",
burn: 65,
burnTime: 15,
category: "life",
state: "solid",
density: 1500,
cooldown: defaultCooldown,
seed: true,
behavior: [
"XX|XX|XX",
"XX|FX%10|XX",
"XX|M1|XX",
],
};