Initial commit

This commit is contained in:
2025-03-24 19:54:03 +01:00
commit 6d50c67f51
7047 changed files with 80296 additions and 0 deletions

35
both/scripts/Backpack.zs Normal file
View File

@@ -0,0 +1,35 @@
val oreLeather = <ore:leather>;
val tannedLeather = <Backpack:tannedLeather>;
val backpackDef = <Backpack:backpack>.definition;
// Add colored recipes
// var metaItemBackPack = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16] as int[];
// for metaID in metaItemBackPack {
// val backpackSColor = backpackDef.makeStack(metaID);
// val backpackMColor = backpackDef.makeStack(metaID + 100);
// val backpackLColor = backpackDef.makeStack(metaID + 200);
// recipes.addShaped(backpackMColor, [[tannedLeather, tannedLeather, tannedLeather], [tannedLeather, backpackSColor, tannedLeather], [tannedLeather, tannedLeather, tannedLeather]]);
// recipes.addShaped(backpackLColor, [[tannedLeather, tannedLeather, tannedLeather], [tannedLeather, backpackMColor, tannedLeather], [tannedLeather, tannedLeather, tannedLeather]]);
// }
// for metaID in 0 to 17 {
// val backpackSColor = backpackDef.makeStack(metaID);
// val backpackMColor = backpackDef.makeStack(metaID + 100);
// val backpackLColor = backpackDef.makeStack(metaID + 200);
// recipes.removeShaped(backpackSColor);
// recipes.removeShaped(backpackMColor);
// recipes.removeShaped(backpackLColor);
// recipes.addShaped(backpackMColor, [
// [tannedLeather, tannedLeather, tannedLeather],
// [tannedLeather, backpackSColor, tannedLeather],
// [tannedLeather, tannedLeather, tannedLeather]]);
// recipes.addShaped(backpackLColor, [
// [tannedLeather, tannedLeather, tannedLeather],
// [tannedLeather, backpackMColor, tannedLeather],
// [tannedLeather, tannedLeather, tannedLeather]]);
// }
for metaID in 1 to 17 {
val backpackSColor = backpackDef.makeStack(metaID);
recipes.removeShaped(backpackSColor);
}