From a40f044cb33e85bf834b3bdf66554dab6491f010 Mon Sep 17 00:00:00 2001 From: minjaesong Date: Sun, 10 Sep 2023 22:22:55 +0900 Subject: [PATCH] actual crafting recipes --- assets/mods/basegame/crafting/blocks.json | 32 +++++++++++++++ assets/mods/basegame/crafting/items.json | 39 +++++++++++++++++++ assets/mods/basegame/crafting/testrecipe.json | 22 ----------- 3 files changed, 71 insertions(+), 22 deletions(-) create mode 100644 assets/mods/basegame/crafting/blocks.json create mode 100644 assets/mods/basegame/crafting/items.json delete mode 100644 assets/mods/basegame/crafting/testrecipe.json diff --git a/assets/mods/basegame/crafting/blocks.json b/assets/mods/basegame/crafting/blocks.json new file mode 100644 index 000000000..c99cada07 --- /dev/null +++ b/assets/mods/basegame/crafting/blocks.json @@ -0,0 +1,32 @@ +{ + "basegame:160": { + "workbench": "", + "ingredients": [ + [4, 2, "$ROCK"] + ] + }, + "basegame:161": { + "workbench": "", + "ingredients": [ + [4, 2, "basegame:48"] + ] + }, + "basegame:162": { + "workbench": "", + "ingredients": [ + [4, 2, "basegame:49"] + ] + }, + "basegame:163": { + "workbench": "", + "ingredients": [ + [4, 2, "basegame:50"] + ] + }, + "basegame:164": { + "workbench": "", + "ingredients": [ + [4, 2, "basegame:51"] + ] + } +} \ No newline at end of file diff --git a/assets/mods/basegame/crafting/items.json b/assets/mods/basegame/crafting/items.json new file mode 100644 index 000000000..6e4643820 --- /dev/null +++ b/assets/mods/basegame/crafting/items.json @@ -0,0 +1,39 @@ +{ + "item@basegame:5": { + "workbench": "", + "ingredients": [ + [1, 3, "$WOOD", 1, "basegame:176"] + ] + }, + "item@basegame:5": { + "workbench": "", + "ingredients": [ + [1, 3, "$WOOD", 1, "basegame:192"] + ] + }, + + "item@basegame:256": { + "workbench": "", + "ingredients": [ + [1, 4, "basegame:48"] + ] + }, + "item@basegame:257": { + "workbench": "", + "ingredients": [ + [1, 4, "basegame:49"] + ] + }, + "item@basegame:258": { + "workbench": "", + "ingredients": [ + [1, 4, "basegame:50"] + ] + }, + "item@basegame:259": { + "workbench": "", + "ingredients": [ + [1, 4, "basegame:51"] + ] + } +} \ No newline at end of file diff --git a/assets/mods/basegame/crafting/testrecipe.json b/assets/mods/basegame/crafting/testrecipe.json deleted file mode 100644 index a8eb4a4f8..000000000 --- a/assets/mods/basegame/crafting/testrecipe.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "basegame:176": { /* A recipe for Wooden Platform */ - "workbench": "", /* Optional workbench TAGS separated by commas (e.g. smelter, saw) */ - "ingredients": [ /* Multiple ingredients denotes alternative recipes */ - [2, 1, "$WOOD", 5000, "$ROCK"] /* This recipe only requires one Wooden Plank */ - ] - }, - - "basegame:176": { /* alternative recipes can be added like this */ - "workbench": "SOME_WORKBENCH", - "ingredients": [ - [5, 5000, "basegame:161"] - ] - }, - - "basegame:161": { - "workbench": "", - "ingredients": [ - [4, 1, "$WOOD", 2, "$ROCK"] - ] - } -} \ No newline at end of file