From 0c9bad595717c2c606f47551c93816b5dfcae98a Mon Sep 17 00:00:00 2001 From: Leo Spratt Date: Fri, 27 Aug 2021 11:54:56 +0100 Subject: [PATCH 1/3] add default energy values --- energy.lua | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/energy.lua b/energy.lua index a3eafb0..95c8bd5 100644 --- a/energy.lua +++ b/energy.lua @@ -192,6 +192,70 @@ local energy_values = { mese_post_light_junglewood = 4, mese_post_light_pine_wood = 4, mese_post_light_aspen_wood = 4, + + --- Craft Items + blueberries = 5 + book = 4 + book_written = 5 + bronze_ingot = 7 + clay_brick = 6 + clay_lump = 4 + coal_lump = 4 + copper_ingot = 10 + copper_lump = 4 + diamond = 22 + flint = 5 + gold_ingot = 12 + gold_lump = 5 + iron_lump = 5 + mese_crystal = 30 + mese_crystal_fragment = 19 + obsidian_shard = 7 + paper = 4 + steel_ingot = 10 + stick = 3 + tin_ingot = 10 + tin_lump = 4 + + --- Furnace + furnace = 4 + + --- Tools + -- Picks + pick_wood = 2 + pick_stone = 3 + pick_bronze = 5 + pick_steel = 5 + pick_mese = 8 + pick_diamond = 6 + -- Shovels + shovel_wood = 2 + shovel_stone = 3 + shovel_bronze = 5 + shovel_steel = 5 + shovel_mese = 7 + shovel_diamond = 6 + -- Axes + axe_wood = 2 + axe_stone = 3 + axe_bronze = 5 + axe_steel = 5 + axe_mese = 8 + axe_diamond = 6 + -- Swords + sword_wood = 2 + sword_stone = 3 + sword_bronze = 5 + sword_steel = 5 + sword_mese = 8 + sword_diamond = 6 + + --- Torch + torch = 3 + + --- Chest + chest = 2 + chest_locked = 2 }, } From 61c232864d8c4973d57ccba9dde6fd748001c76f Mon Sep 17 00:00:00 2001 From: Leo Spratt Date: Fri, 27 Aug 2021 11:57:20 +0100 Subject: [PATCH 2/3] add missing commas --- energy.lua | 100 ++++++++++++++++++++++++++--------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/energy.lua b/energy.lua index 95c8bd5..f10c389 100644 --- a/energy.lua +++ b/energy.lua @@ -194,68 +194,68 @@ local energy_values = { mese_post_light_aspen_wood = 4, --- Craft Items - blueberries = 5 - book = 4 - book_written = 5 - bronze_ingot = 7 - clay_brick = 6 - clay_lump = 4 - coal_lump = 4 - copper_ingot = 10 - copper_lump = 4 - diamond = 22 - flint = 5 - gold_ingot = 12 - gold_lump = 5 - iron_lump = 5 - mese_crystal = 30 - mese_crystal_fragment = 19 - obsidian_shard = 7 - paper = 4 - steel_ingot = 10 - stick = 3 - tin_ingot = 10 - tin_lump = 4 + blueberries = 5, + book = 4, + book_written = 5, + bronze_ingot = 7, + clay_brick = 6, + clay_lump = 4, + coal_lump = 4, + copper_ingot = 10, + copper_lump = 4, + diamond = 22, + flint = 5, + gold_ingot = 12, + gold_lump = 5, + iron_lump = 5, + mese_crystal = 30, + mese_crystal_fragment = 19, + obsidian_shard = 7, + paper = 4, + steel_ingot = 10, + stick = 3, + tin_ingot = 10, + tin_lump = 4, --- Furnace - furnace = 4 + furnace = 4, --- Tools -- Picks - pick_wood = 2 - pick_stone = 3 - pick_bronze = 5 - pick_steel = 5 - pick_mese = 8 - pick_diamond = 6 + pick_wood = 2, + pick_stone = 3, + pick_bronze = 5, + pick_steel = 5, + pick_mese = 8, + pick_diamond = 6, -- Shovels - shovel_wood = 2 - shovel_stone = 3 - shovel_bronze = 5 - shovel_steel = 5 - shovel_mese = 7 - shovel_diamond = 6 + shovel_wood = 2, + shovel_stone = 3, + shovel_bronze = 5, + shovel_steel = 5, + shovel_mese = 7, + shovel_diamond = 6, -- Axes - axe_wood = 2 - axe_stone = 3 - axe_bronze = 5 - axe_steel = 5 - axe_mese = 8 - axe_diamond = 6 + axe_wood = 2, + axe_stone = 3, + axe_bronze = 5, + axe_steel = 5, + axe_mese = 8, + axe_diamond = 6, -- Swords - sword_wood = 2 - sword_stone = 3 - sword_bronze = 5 - sword_steel = 5 - sword_mese = 8 - sword_diamond = 6 + sword_wood = 2, + sword_stone = 3, + sword_bronze = 5, + sword_steel = 5, + sword_mese = 8, + sword_diamond = 6, --- Torch - torch = 3 + torch = 3, --- Chest - chest = 2 - chest_locked = 2 + chest = 2, + chest_locked = 2, }, } From 86ce83128cd56f6f2b4b8de0dfab9e022d6fcdd4 Mon Sep 17 00:00:00 2001 From: Leo Spratt Date: Sat, 28 Aug 2021 20:24:56 +0100 Subject: [PATCH 3/3] add downloads badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4dd080a..3ed1a86 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Element Exchange +[![ContentDB](https://content.minetest.net/packages/enchant97/element_exchange/shields/downloads/)](https://content.minetest.net/packages/enchant97/element_exchange/) ![GitHub license](https://img.shields.io/github/license/enchant97/minetest_element_exchange) ![GitHub issues](https://img.shields.io/github/issues/enchant97/minetest_element_exchange)