KreeithGames wrote:Can someone please explain this to me, I have been wanting to make a Mod for Minetest.
9 --nodes
10 minetest.register_node("bees:bees", {
11 description = "Wild Bees",
12 drawtype = "plantlike",
13 paramtype = "light",
14 tiles = {
15 {
16 name="bees_strip.png",
17 animation={type="vertical_frames", aspect_w=16,aspect_h=16, length=2.0}
18 }
19 },
20 damage_per_second = 1,
21 walkable = false,
22 buildable_to = true,
23 pointable = false,
24 on_punch = function(pos, node, puncher)
25 local health = puncher:get_hp()
26 puncher:set_hp(health-2)
27 end,
28 on_construct = function(pos)
29 spawn_bees(pos)
30 end,
31 on_destruct = function(pos)
32 remove_bees(pos)
33 end,
34 })

KreeithGames wrote:Can someone please explain this to me, I have been wanting to make a Mod for Minetest.
KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?
Topywo wrote:KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?
Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.
Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.
Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).
https://google.com or https://next.duckduckgo.comKreeithGames wrote:Topywo wrote:KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?
Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.
Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.
Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).
Okay, can you show me a link to any of these?
KreeithGames wrote:Topywo wrote:KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?
Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.
Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.
Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).
Okay, can you show me a link to any of these?
Users browsing this forum: No registered users and 12 guests