From 03f0922e4ec26033b61ffe4f4f1031793e63409f Mon Sep 17 00:00:00 2001 From: D4VID Date: Tue, 24 Dec 2024 16:10:52 +0100 Subject: [PATCH] Add recipes for data cards --- recipes.lua | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/recipes.lua b/recipes.lua index 164a99f..d50bd6c 100644 --- a/recipes.lua +++ b/recipes.lua @@ -844,6 +844,54 @@ return { nil, 'opencomputers:material;5', 'minecraft:obsidian;0', } }, + -- Data card (Tier 1) + ['opencomputers:card;10'] = { + result = 'opencomputers:card;10;data card 1', + count = 1, + requires = { + ['minecraft:iron_nugget;0'] = 1, + ['opencomputers:material;10'] = 1, -- ALU + ['opencomputers:material;8'] = 1, -- Microchip (Tier 2) + ['opencomputers:material;5'] = 1, -- Card Base + }, + shape = { + nil, nil, nil, + 'minecraft:iron_nugget;0', 'opencomputers:material;10', 'opencomputers:material;8', + nil, 'opencomputers:material;5', nil, + } + }, + -- Data card (Tier 2) + ['opencomputers:card;11'] = { + result = 'opencomputers:card;11;data card 2', + count = 1, + requires = { + ['minecraft:gold_nugget;0'] = 1, + ['opencomputers:component;0'] = 1, -- CPU 1 + ['opencomputers:material;9'] = 1, -- Microchip (Tier 3) + ['opencomputers:material;5'] = 1, -- Card Base + }, + shape = { + nil, nil, nil, + 'minecraft:gold_nugget;0', 'opencomputers:component;0', 'opencomputers:material;9', + nil, 'opencomputers:material;5', nil, + } + }, + -- Data card (Tier 3) + ['opencomputers:card;12'] = { + result = 'opencomputers:card;12;data card 3', + count = 1, + requires = { + ['opencomputers:material;29'] = 1, -- Diamond Chip + ['opencomputers:component;1'] = 1, -- CPU 2 + ['opencomputers:component;10'] = 1, -- RAM 3 + ['opencomputers:material;5'] = 1, -- Card Base + }, + shape = { + nil, nil, nil, + 'opencomputers:material;29', 'opencomputers:component;1', 'opencomputers:component;10', + nil, 'opencomputers:material;5', nil, + } + }, -- EEPROM ['opencomputers:storage;0'] = {