From 6f809fd9b8a01e3c92d2047f3ca5079e14ebdcbf Mon Sep 17 00:00:00 2001 From: Tuxilio <tuxilio@mailbox.org> Date: Thu, 19 Oct 2023 07:51:30 +0000 Subject: [PATCH] Upload init.lua without comments (to show how easy it is to make mods) --- init_ohne_Kommentare.lua | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 init_ohne_Kommentare.lua diff --git a/init_ohne_Kommentare.lua b/init_ohne_Kommentare.lua new file mode 100644 index 0000000..97a29a9 --- /dev/null +++ b/init_ohne_Kommentare.lua @@ -0,0 +1,49 @@ +minetest.register_craftitem("meinemod:itemname", { + description = "Mein Item", + inventory_image = "meinemod_itemname.png" + on_use = minetest.item_eat(20) +}) + + + + + +minetest.register_craft({ + type = "shaped", + output = "meinemod:itemname 2", + recipe = { + {"default:dirt", "" , "" }, + {"default:dirt", "default:dirt", "" }, + {"default:dirt", "default:dirt", "default:dirt"} + } +}) + + + + + + + + + + +minetest.register_node("meinemod:blockname", { + description = "Mein Block", + tiles = {"meinemod_blockname.png"}, + is_ground_content = true, + groups = {cracky=3, stone=1} +}) + + + + + +minetest.register_craft({ + type = "shaped", + output = "meinemod:blockname 2", + recipe = { + {"" , "" , "default:dirt"}, + {"" , "default:dirt", "default:dirt"}, + {"default:dirt", "default:dirt", "default:dirt"} + } +}) -- GitLab