From 1247bcc039080899f73806a85cb16b61e4ffa882 Mon Sep 17 00:00:00 2001 From: Code-Sploit Date: Wed, 14 Apr 2021 12:35:15 +0000 Subject: [PATCH] Add: Netherite scrap, Netherite ingot. Add crafting recipe for netherite ingot. --- mods/ITEMS/mcl_nether/init.lua | 32 ++++++++++++++++++ .../textures/mcl_nether_netherite_ingot.png | Bin 0 -> 222 bytes .../textures/mcl_nether_netherite_scrap.png | Bin 0 -> 207 bytes 3 files changed, 32 insertions(+) create mode 100644 mods/ITEMS/mcl_nether/textures/mcl_nether_netherite_ingot.png create mode 100644 mods/ITEMS/mcl_nether/textures/mcl_nether_netherite_scrap.png diff --git a/mods/ITEMS/mcl_nether/init.lua b/mods/ITEMS/mcl_nether/init.lua index 0bb2f675cb..d54289af6d 100644 --- a/mods/ITEMS/mcl_nether/init.lua +++ b/mods/ITEMS/mcl_nether/init.lua @@ -268,6 +268,22 @@ minetest.register_craftitem("mcl_nether:quartz", { groups = { craftitem = 1 }, }) +minetest.register_craftitem("mcl_nether:netherite_scrap", { + description = S("Netherite Scrap"), + _doc_items_longdesc = S("Netherite scrap is a crafting ingredient for netherite ingots."), + inventory_image = "mcl_nether_netherite_scrap.png", + stack_max = 64, + groups = { craftitem = 1 }, +}) + +minetest.register_craftitem("mcl_nether:netherite_ingot", { + description = S("Netherite Ingot"), + _doc_items_longdesc = S("Netherite ingots can be used with a smithing table to upgrade items to netherite."), + inventory_image = "mcl_nether_netherite_ingot.png", + stack_max = 64, + groups = { craftitem = 1 }, +}) + minetest.register_craftitem("mcl_nether:netherbrick", { description = S("Nether Brick"), _doc_items_longdesc = S("Nether bricks are the main crafting ingredient for crafting nether brick blocks and nether fences."), @@ -283,6 +299,13 @@ minetest.register_craft({ cooktime = 10, }) +minetest.register_craft({ + type = "cooking", + output = "mcl_nether:netherite_scrap", + recipe = "mcl_nether:ancient_debris", + cooktime = 10, +}) + minetest.register_craft({ output = 'mcl_nether:quartz_block', recipe = { @@ -354,5 +377,14 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = "mcl_nether:netherite_ingot", + recipe = { + {'mcl_nether:netherite_scrap', 'mcl_nether:netherite_scrap', 'mcl_nether:netherite_scrap'}, + {'mcl_nether:netherite_scrap', 'mcl_core:gold_ingot', 'mcl_core:gold_ingot'}, + {'mcl_core:gold_ingot', 'mcl_core:gold_ingot', ''}, + } +}) + dofile(minetest.get_modpath(minetest.get_current_modname()).."/nether_wart.lua") dofile(minetest.get_modpath(minetest.get_current_modname()).."/lava.lua") diff --git a/mods/ITEMS/mcl_nether/textures/mcl_nether_netherite_ingot.png b/mods/ITEMS/mcl_nether/textures/mcl_nether_netherite_ingot.png new file mode 100644 index 0000000000000000000000000000000000000000..90aab05632a87b234c41c5179621f895f26c38e1 GIT binary patch literal 222 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`OFdm2Lo7~ToqU?>kb!{fZ|<9~ zqe{}tC*^f$N5LK@p_H;y64`v zbane(Bj&HZz?13uP?k%g<+ltI=X9TRb+OwMesntVJ^cRgLRpf8s_w7Z{^xe;CP=wE zwnuP&7ht^R%3!ucRWLSsPeZ$aVe~}P8H!zJ7IJ5uzZ#_YDsgwh|KL@v85{fOzv1rp WelqP~Y-R?~!3>_RelF{r5}E+ams-gH literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_nether/textures/mcl_nether_netherite_scrap.png b/mods/ITEMS/mcl_nether/textures/mcl_nether_netherite_scrap.png new file mode 100644 index 0000000000000000000000000000000000000000..f72e21d08278b0604d54ee3898b27af602d06106 GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`(>z@qLo7}wCoEtum?Hd_|4>Ty zoLgb+$6TbF))`*C`>=jZ=ehs8T0H)=9WZGUX)^Fo_A%yYzG1=3$azTQfXSmnaZ;Q9 zhqCMxY-_MMv2DTau62U0#+wus!Vj1zN;iZn?@~0lz95@rqv4!BIW~pf6SESeCdRg2 z6_}BhBa#0gv76P2(ZhgoqR6KmOhUFg9_N@-vQ^j_7@F8mMQtgZEe3QUgQu&X%Q~lo FCIIXRNuB@z literal 0 HcmV?d00001