From b53d4873f751c817d300b1de493dd0089fc7f50d Mon Sep 17 00:00:00 2001 From: Marc Date: Wed, 26 Jan 2022 19:44:12 +0100 Subject: [PATCH] added my first Node --- init.lua | 7 +++++++ mod.conf | 3 +++ textures/marcs_minetest_test_mod_bild.png | Bin 0 -> 1186 bytes 3 files changed, 10 insertions(+) create mode 100644 mod.conf create mode 100644 textures/marcs_minetest_test_mod_bild.png diff --git a/init.lua b/init.lua index 5d7c0df..0373d1f 100644 --- a/init.lua +++ b/init.lua @@ -1 +1,8 @@ minetest.log("Hallo Welt!") + +minetest.register_node("marcs_minetest_test_mod:happy_block", { + description = "Einfach nur ein fröhlicher Block", + tiles = {"marcs_minetest_test_mod_bild.png"}, + groups = {cracky = 3}, + sounds = default.node_sound_stone_defaults(), +}) diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..baecb72 --- /dev/null +++ b/mod.conf @@ -0,0 +1,3 @@ +name = marcs_minetest_mest_mod +description = Meine erste Mod +depends = default diff --git a/textures/marcs_minetest_test_mod_bild.png b/textures/marcs_minetest_test_mod_bild.png new file mode 100644 index 0000000000000000000000000000000000000000..f7a143113c89908ee097ec2f47516f8e975c85e4 GIT binary patch literal 1186 zcmds#v1(OO5Jh(kN(?3jgb)l?!5~OL8MRRaLqZae$1_P|7Z9hgQnV1U2x4PpV~Vl! z2gJ^Rjfjn8I$Ik{JO5x@bHBjK!UOj{=ACo)ti9*H8jm(+rq51Gn%UZ1+vaz!pQ%aS z7gkR1NRt}h-d(4ZOmZotl&UK;nae_!vg%DYxywVI^6Il;3Ri?871dYMl&%bADhnl* zsazGRR8gRfG+JEdbakIzZWd-~R^67$-8{_Gyqbc|aEq`=i)tv&rdx((S{964wQ{Sl zN-MfTjTq2Sg2f(<(MB3AE>|1snicNpUhR*zR1qHOQEe9rHZwfavv3a-XT8EJy|70f zU~-!{@DBtIp+*d7C^-rTjnPILt?J}@o0^po)j{Hqwp5vsMXuO|g3YLmB1e)Y0Ju0# z(6}W^@&J?D!~qkAaR@bHKywo;IB1ME($ypC(`-|-iir^<{%A{;RXxCA{7o@TwC6bt zsiB74d%Q!G%{Zjf(;f^r^5CI|KVY?kp%c=44or#g@HDg)`B;pW}P((KoMCJrvnF7oG%t+iXb3kUZOU!GXle|j{3>CEco{e`{d zH(!?b-yQ!x{&3~(=lR2_Yb#^B^JC)Y()Clv=0+R8AAOqqDE&Hr^m=dU>dgk(S|6>w IU)_802fv|1RsaA1 literal 0 HcmV?d00001