11/8/2023 0 Comments Minetest tools![]() To grant yourself the "give" privilage, go to worlds/gamename/auth.txt and open it.Īdd ",give" after "shout,interact" to make it "shout,interact,give" The "give" privilage is required for the /giveme command to work This will add 99 blocks of the decorative wood to your inventory! Let's try out our first mod! Open the chat window ingame (press t) and enter "/giveme tutorial:decowood 99" (Without "" of course). This means when changing the code you simply have to 'Exit to Menu' and 'Start Game/Connect' again to try out the changes. Try it) Launch the game now, and notice that the mods are automatically loaded and compiled. So for example, default:dirt is the unique name for dirt.Ģ) Copy the file 'tutorial_decowood.png' supplied with this Document to the textures folder in the mod. In this case, the mod is called 'modname' (name is preset by the folder name)Īnd the block is called 'itemname', so it's tutorial:decowood. ![]() In minetest, each node, tool and item needs a unique name to identify it in the api. The type of the object is important as it plays a part in the properties of that object. Craftitem (register_craftitem): A miscellaneous item.Tool (register_tool): A tool/weapon that can dig and damage things according to tool_capabilities. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |