add first patch

This commit is contained in:
2026-07-31 10:34:32 +09:00
parent 03aac2e45e
commit b1cbc6c78d
6390 changed files with 547430 additions and 0 deletions
@@ -0,0 +1,32 @@
console.info("[SOCIETY] addStrippingRecipes.js loaded");
ServerEvents.recipes((e) => {
const strippedLogRecipe = (log) => {
const splitLog = log.split(":");
e.custom({
type: "create:cutting",
ingredients: [
{
item: log,
},
],
processingTime: 50,
results: [
{
count: 1,
item: `${splitLog[0]}:stripped_${splitLog[1]}`,
},
],
});
};
[
"meadow:pine_log",
"meadow:pine_wood",
"beachparty:palm_log",
"beachparty:palm_wood",
"vinery:dark_cherry_log",
"vinery:dark_cherry_wood",
].forEach((log) => {
strippedLogRecipe(log);
});
});