diff options
-rw-r--r-- | crafting.lua | 13 | ||||
-rw-r--r-- | craftitems.lua | 8 | ||||
-rw-r--r-- | textures/minegeld_50.png | bin | 1014 -> 1861 bytes |
3 files changed, 21 insertions, 0 deletions
diff --git a/crafting.lua b/crafting.lua index 0aeb4a2..8aa99d6 100644 --- a/crafting.lua +++ b/crafting.lua @@ -61,3 +61,16 @@ minetest.register_craft({ recipe = "currency:minegeld_bundle",
burntime = 1,
})
+
+minetest.register_craft({
+ type = "shapeless",
+ output = "currency:minegeld_50",
+ recipe = {"currency:minegeld_10", "currency:minegeld_10", "currency:minegeld_10", "currency:minegeld_10", "currency:minegeld_10"},
+})
+
+minetest.register_craft({
+ type = "shapeless",
+ output = "currency:minegeld_10 5",
+ recipe = {"currency:minegeld_50"},
+})
+
diff --git a/craftitems.lua b/craftitems.lua index a46b1d2..7311459 100644 --- a/craftitems.lua +++ b/craftitems.lua @@ -76,3 +76,11 @@ minetest.register_craftitem("currency:minegeld_bundle", { inventory_image = "minegeld_bundle.png",
stack_max = 30000,
})
+
+minetest.register_craftitem("currency:minegeld_50", {
+ description = S("50 MineGeld Note"),
+ inventory_image = "minegeld_50.png",
+ stack_max = 30000,
+ groups = {minegeld = 50}
+})
+
diff --git a/textures/minegeld_50.png b/textures/minegeld_50.png Binary files differindex 8371bc0..c7007e2 100644 --- a/textures/minegeld_50.png +++ b/textures/minegeld_50.png |