A serious question.

User avatar
Chinchow
Member
 
Posts: 683
Joined: Tue Sep 18, 2012 21:37

A serious question.

by Chinchow » Thu Oct 25, 2012 03:10

What is the difference between register_node and register_entity? also are there any rgister other than the ones above and tool and craft?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Thu Oct 25, 2012 03:16

Register_node is registering a regular node into the game
Register_entity registers an entity, for example a mod or something that moves
Yes there are many more register_ in the game. Read the lua_api.txt in the doc folder
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Thu Oct 25, 2012 05:10

This page should help explain the registry functions, and where the registered data can be accessed:

http://api.minetest.net/page/view/view/registry
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 25 guests

cron