From 72c25d6e923ed183229b95ce2975205a324105f0 Mon Sep 17 00:00:00 2001 From: debiankaios Date: Thu, 24 Feb 2022 08:33:52 +0100 Subject: [PATCH] Moss and Mosscarpets are there --- mods/ITEMS/mcl_core/crafting.lua | 8 +++ mods/ITEMS/mcl_core/locale/mcl_core.de.tr | 4 ++ mods/ITEMS/mcl_core/nodes_base.lua | 48 +++++++++++++++++- .../mcl_core/textures/mcl_core_moss_block.png | Bin 0 -> 6556 bytes 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 mods/ITEMS/mcl_core/textures/mcl_core_moss_block.png diff --git a/mods/ITEMS/mcl_core/crafting.lua b/mods/ITEMS/mcl_core/crafting.lua index 3ff2b142c..252282602 100644 --- a/mods/ITEMS/mcl_core/crafting.lua +++ b/mods/ITEMS/mcl_core/crafting.lua @@ -388,6 +388,14 @@ minetest.register_craft({ -- -- Crafting (tool repair) -- + +minetest.register_craft({ + output = "mcl_core:moss_carpet 3", + recipe = { + {"mcl_core:moss", "mcl_core:moss"}, + } +}) + minetest.register_craft({ type = "toolrepair", additional_wear = -mcl_core.repair, diff --git a/mods/ITEMS/mcl_core/locale/mcl_core.de.tr b/mods/ITEMS/mcl_core/locale/mcl_core.de.tr index b064cebbe..d050da26b 100644 --- a/mods/ITEMS/mcl_core/locale/mcl_core.de.tr +++ b/mods/ITEMS/mcl_core/locale/mcl_core.de.tr @@ -12,6 +12,7 @@ A decorative and mostly transparent block.=Ein Dekoblock, der größtenteils tra A grass block is dirt with a grass cover. Grass blocks are resourceful blocks which allow the growth of all sorts of plants. They can be turned into farmland with a hoe and turned into grass paths with a shovel. In light, the grass slowly spreads onto dirt nearby. Under an opaque block or a liquid, a grass block may turn back to dirt.=Ein Grasblock ist Erde mit einer Grasschicht. Grasblöcke sind vielseitige Blöcke, die das Wachstum aller möglichen Pflanzen fördern. Mit einer Hacke kann man das Land bestellen und einen Ackerboden machen. Mit einer Schaufel verwandelt man ihn in einen Graspfad. Im Licht wird das Gras sich langsam auf benachbarte Erde ausbreiten. Unter einem lichtundurchlässigen Block kann sich dieser Block wieder zurück zu Erde verwandeln. A lapis lazuli block is mostly a decorative block but also useful as a compact storage of lapis lazuli.=Ein Lapislazuliblock ist hauptsächlich ein Deko-Block aber er ist auch nützlich zur kompakten Aufbewahrung von Lapislazuli. A lava source sets fire to a couple of air blocks above when they're next to a flammable block.=Eine Lavaquelle zündet einige Luftblöcke über ihr an, wenn sie sich neben einem entzündlichen Block befinden. +A moss block is a natural block that can be spread to some other blocks by using bone meal.=Ein Moosblock ist ein natürlicher Block, der mit Hilfe von Knochenmehl auf andere Blöcke übertragen werden kann. A piece of ladder which allows you to climb vertically. Ladders can only be placed on the side of solid blocks and not on glass, leaves, ice, slabs, glowstone, nor sea lanterns.=Ein Leiterstück, mit dem Sie vertikal klettern können. Leitern können nur an der Seite fester Blöcke und nicht an Glas, Blättern, Eis, Platten, Leuchtsteinen oder Ozeanlaternen platziert werden. Acacia Bark=Akazienrinde Acacia Leaves=Akazienblätter @@ -142,6 +143,9 @@ Lit Redstone Ore=Leuchtendes Redstoneerz Magenta Stained Glass=Magenta Buntglas Molten gold. It is used to craft armor, tools, and whatnot.=Geschmolzenes Gold. Es wird benutzt, um Rüstungen, Werkzeuge, und anderes herzustellen. Molten iron. It is used to craft armor, tools, and whatnot.=Geschmolzenes Eisen. Es wird benutzt, um Rüstungen, Werkzeuge, und vieles mehr herzustellen. +Moss=Moos +Moss Carpet=Moosteppich +Moss Carpets are a thin decorative variant of the moss block.=Moosteppiche sind eine dünne, dekorative Variante des Moosblock. Mossy Cobblestone=Moosiges Kopfsteinpflaster Mossy Stone Bricks=Moosige Steinziegel Mycelium=Myzel diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index ebae759ac..23ae0b2b8 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -465,6 +465,19 @@ minetest.register_node("mcl_core:dirt", { _mcl_hardness = 0.5, }) +minetest.register_node("mcl_core:moss", { + description = S("Moss"), + _doc_items_longdesc = S("A moss block is a natural block that can be spread to some other blocks by using bone meal."),--TODO: Other desciption? + _doc_items_hidden = false, + tiles = {"mcl_core_moss_block.png"}, + is_ground_content = true, + stack_max = 64, + groups = {handy=1, hoey=1}, + --sounds = TODO: add sound + _mcl_blast_resistance = 0.1, + _mcl_hardness = 0.1, +}) + minetest.register_node("mcl_core:coarse_dirt", { description = S("Coarse Dirt"), _doc_items_longdesc = S("Coarse dirt acts as a soil for some plants and is similar to dirt, but it will never grow a cover."), @@ -1075,10 +1088,43 @@ minetest.register_node("mcl_core:snowblock", { _mcl_silk_touch_drop = true, }) +minetest.register_node("mcl_core:moss", { + description = S("Moss"), + _doc_items_longdesc = S("A moss block is a natural block that can be spread to some other blocks by using bone meal."),--TODO: Other desciption? + _doc_items_hidden = false, + tiles = {"mcl_core_moss_block.png"}, + is_ground_content = true, + stack_max = 64, + groups = {handy=1, hoey=1}, + --sounds = TODO: add sound + _mcl_blast_resistance = 0.1, + _mcl_hardness = 0.1, +}) + +minetest.register_node("mcl_core:moss_carpet", { + description = S("Moss Carpet"), + _doc_items_longdesc = S("Moss Carpets are a thin decorative variant of the moss block."),--TODO: Other desciption? + _doc_items_hidden = false, + tiles = {"mcl_core_moss_block.png"}, + is_ground_content = true, + paramtype = "light", + stack_max = 64, + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-8/16, -8/16, -8/16, 8/16, -7/16, 8/16}, + }, + }, + groups = {handy=1, hoey=1}, + --sounds = TODO: add sound + _mcl_blast_resistance = 0.1, + _mcl_hardness = 0.1, +}) + -- Add entry aliases for the Help if minetest.get_modpath("doc") then doc.add_entry_alias("nodes", "mcl_core:stone_with_redstone", "nodes", "mcl_core:stone_with_redstone_lit") doc.add_entry_alias("nodes", "mcl_core:water_source", "nodes", "mcl_core:water_flowing") doc.add_entry_alias("nodes", "mcl_core:lava_source", "nodes", "mcl_core:lava_flowing") end - diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_moss_block.png b/mods/ITEMS/mcl_core/textures/mcl_core_moss_block.png new file mode 100644 index 0000000000000000000000000000000000000000..1fed6df9e196a93e4dc836059f8a3bd59c1dda7c GIT binary patch literal 6556 zcmeHLdpuNm|DW7Lxuo1RjjY5mS91%kTZlm@qSSHb%$S&qnPH4B+ott|?SiaQDT`L) zwkww|BO9rtw8gV1YEn4N?x_*1KmF4Yv zkB2|+)jNjIJYj`5gHbIgLeH`oRM9zyKWtKm4QuO{x32Sjm@A{qGkc*TeOo*0hW*?X zO>%RBnS|V9iF=NLgJV0+o=}avZPE!e%~Kly0>=7tlB=pBo~2BH|BiAmv-`%7|4JTVyy5iLa>Q`#?Jxiq+%doOL#$g7HyRWRPhm5oe zprOk(sOwLqp;2>8#K2Vp9slHE{X>NXAr- zmIqV~`c2LUssu41sjB*bg>h2LuO@mzOy}v*fMewEEG5KE3w8-E9zt!puvoBK$Nbs6 zxSgq4#5VeUxsD?}zQvqh|FlnYL&gT}FS_pR&|7o?y~t}GSA64=eqp*{_Kzk;-nLOY zJPmwjXMcgVl^?;Oi+58_c3xcnghBA0k#!F zjf-7|CVDxuwDRoP^sJh)r3pDiVBN53lV4biU8t#QN}_F|Ch#cW9#3u;J88^!J{Xd7 zrs4cyS;xfBJ+^#oS`1?yD-F;dAc#}9eUroGOi7r4r(_Wxg5nhxMK5}T~~0ZS*N%7-?m8W zHm_Zh*;k$CFVQSsuV?X9^rXeG>xzV~xwBsDmp6BJKpDc{1lEb;eRjdii#77~th>yM z2iqgJPqyYPNY4s|436rhjCoeAp<2HF`sL=jp^4v2w`F$zzPa1%*saBE%aDgx@KaZLs`3?brngU*Rtt!s9G`N`7l|Qtg_ik0YH2KLjzu!kL z2No44-y1Z2L0RO$hXq+%ht7nquk;he4xG4j^2}xL^~*S+7ZWspI&oDdwa?3_kLAU& zyYJ!)sxYurdg5E-@y_x)!Q*?Py4uF(1U~7bjdsa%2R0PH{kC2E9$d4K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