From be1427205e8c857555bd7cb4684ae286263b32e7 Mon Sep 17 00:00:00 2001 From: TheRandomLegoBrick Date: Wed, 6 Jul 2022 13:14:29 -0700 Subject: [PATCH] Move progress to separate mod and add packed mud --- mods/ITEMS/mcl_core/nodes_base.lua | 13 ------- mods/ITEMS/mcl_mud/init.lua | 34 ++++++++++++++++++ mods/ITEMS/mcl_mud/mod.conf | 2 ++ .../textures/mcl_mud.png} | Bin .../mcl_mud/textures/mcl_mud_packed_mud.png | Bin 0 -> 354 bytes mods/ITEMS/mcl_potions/init.lua | 12 +++---- 6 files changed, 42 insertions(+), 19 deletions(-) create mode 100644 mods/ITEMS/mcl_mud/init.lua create mode 100644 mods/ITEMS/mcl_mud/mod.conf rename mods/ITEMS/{mcl_core/textures/mcl_core_mud.png => mcl_mud/textures/mcl_mud.png} (100%) create mode 100644 mods/ITEMS/mcl_mud/textures/mcl_mud_packed_mud.png diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index 58c6902bf..957b1f24a 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -457,19 +457,6 @@ minetest.register_node("mcl_core:podzol", { }) mcl_core.register_snowed_node("mcl_core:podzol_snow", "mcl_core:podzol", nil, nil, false, S("Podzol with Snow")) -minetest.register_node("mcl_core:mud", { - description = S("Mud"), - _doc_items_longdesc = S("Mud is a decorative block that generates in mangrove swamps. Mud can also be obtained by using water bottles on dirt or coarse dirt."), - _doc_items_hidden = false, - tiles = {"mcl_core_mud.png"}, - is_ground_content = true, - stack_max = 64, - groups = {handy=1,shovely=1, enderman_takable=1, building_block=1}, - sounds = mcl_sounds.node_sound_dirt_defaults(), - _mcl_blast_resistance = 0.5, - _mcl_hardness = 0.5, -}) - minetest.register_node("mcl_core:dirt", { description = S("Dirt"), _doc_items_longdesc = S("Dirt acts as a soil for a few plants. When in light, this block may grow a grass or mycelium cover if such blocks are nearby."), diff --git a/mods/ITEMS/mcl_mud/init.lua b/mods/ITEMS/mcl_mud/init.lua new file mode 100644 index 000000000..00ca8b715 --- /dev/null +++ b/mods/ITEMS/mcl_mud/init.lua @@ -0,0 +1,34 @@ +local S = minetest.get_translator(minetest.get_current_modname()) + +minetest.register_node("mcl_mud:mud", { + description = S("Mud"), + _doc_items_longdesc = S("Mud is a decorative block that generates in mangrove swamps. Mud can also be obtained by using water bottles on dirt or coarse dirt."), + _doc_items_hidden = false, + tiles = {"mcl_mud.png"}, + is_ground_content = true, + stack_max = 64, + groups = {handy=1,shovely=1, enderman_takable=1, building_block=1}, + _mcl_blast_resistance = 0.5, + _mcl_hardness = 0.5, +}) + +minetest.register_node("mcl_mud:packed_mud", { + description = S("Packed Mud"), + _doc_items_longdesc = S("Packed mud is a decorative block used to craft mud bricks."), + _doc_items_hidden = false, + tiles = {"mcl_mud_packed_mud.png"}, + is_ground_content = true, + stack_max = 64, + groups = {handy=1,shovely=1, enderman_takable=1, building_block=1}, + _mcl_blast_resistance = 0.5, + _mcl_hardness = 0.5, +}) + +minetest.register_craft({ + type = "shapeless", + output = "mcl_mud:packed_mud", + recipe = { + "mcl_mud:mud", + "mcl_farming:wheat_item", + } +}) \ No newline at end of file diff --git a/mods/ITEMS/mcl_mud/mod.conf b/mods/ITEMS/mcl_mud/mod.conf new file mode 100644 index 000000000..44d96b06b --- /dev/null +++ b/mods/ITEMS/mcl_mud/mod.conf @@ -0,0 +1,2 @@ +author = TheRandomLegoBrick +description = Adds various mud blocks. \ No newline at end of file diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_mud.png b/mods/ITEMS/mcl_mud/textures/mcl_mud.png similarity index 100% rename from mods/ITEMS/mcl_core/textures/mcl_core_mud.png rename to mods/ITEMS/mcl_mud/textures/mcl_mud.png diff --git a/mods/ITEMS/mcl_mud/textures/mcl_mud_packed_mud.png b/mods/ITEMS/mcl_mud/textures/mcl_mud_packed_mud.png new file mode 100644 index 0000000000000000000000000000000000000000..fd8624b3e75f7a744b4f20f6ecf880a28fd1b228 GIT binary patch literal 354 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!S9|fjv*HQt`m3jH8}{l7H(BY;kG*%@xxba z+P``o4IafKo2%O%s^z4;Oa6B7>E}9L+5LSRm2XG4uMG+m2(p#CvCUUA`TFz6eB2AX zG*53juuAZqw8@&+tJYeGcDV_kVA{d2EqBY9A=Ov0gOlmQ*05_knvGd>D=Qx)BuJOv z_%7Sn{K{iOxfq+uD+?i!O