Questions about lua API
Posted: Sun Oct 19, 2014 01:52
Hi everyone, I started modding a few days ago and here is a list of questions I have :
Thank you.
- How can I add my new item to an existing group ? Ex: I add a 'Wood Planks' item how can I add it to 'group:wood' ?
- Is there a way to interact with the keyboard ?
- Is it possible to rewrite the 'Esc' menu ? (I didn't find anything in the code, is it defined in c++ while all others (menus) are defined in lua ?)
- Why some items are defined like this (I saw 'air' and 'ignored') :Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
-- {...} = some stuff
minetest.register_craftitem("air", {...})
- How the dependencies are managed ? If my mod's dependencies are not resolved what will happen ? What about priorities ? The dependencies are executed before/after/no relation ?
- If I add resources (textures, sound, models) to my mod are they overwritten by textures packs ?
- Is it possible to rotate (x, y, z axes) a Node box in Node Boxes ?
Thank you.