Commit Graph

152 Commits

Author SHA1 Message Date
Perttu Ahola 82a460ec90 Improve luaentity sprite functionality (and add some random stuff) 2011-11-29 19:13:54 +02:00
Perttu Ahola b4e6ca63b5 Comment out print("on_generated: ...") in Lua 2011-11-29 19:13:54 +02:00
Perttu Ahola b2ccbdffc1 Make map generator as much threaded as possible (not much benefit with current generator because of small generator chunk size (a single MapBlock)) 2011-11-29 19:13:54 +02:00
Perttu Ahola 769cc9879f Add on_generated hook 2011-11-29 19:13:54 +02:00
Perttu Ahola b58dc083a9 Fix TNT script 2011-11-29 19:13:53 +02:00
Perttu Ahola 70363847aa Reshape LuaEntityCAO implementation a bit and make TNT to blink 2011-11-29 19:13:53 +02:00
Perttu Ahola 08c9b6037d Re-implement give_initial_stuff 2011-11-29 19:13:53 +02:00
Perttu Ahola 57a2bd056c Exception handling in Lua setting get 2011-11-29 19:13:53 +02:00
Perttu Ahola 234bf99743 Lua setting getter 2011-11-29 19:13:53 +02:00
Perttu Ahola 945d01fd9e on_newplayer and on_respawnplayer callbacks 2011-11-29 19:13:53 +02:00
Perttu Ahola d99d27dcbe liquid_type -> liquidtype 2011-11-29 19:13:52 +02:00
Perttu Ahola 908db7c1d2 Make node definitions available to Lua 2011-11-29 19:13:52 +02:00
Kahrl c1479a2732 Add node definitions in Lua and do not use content_mapnode_init anymore (except in test.cpp) 2011-11-29 19:13:52 +02:00
Perttu Ahola 425db289d5 Fix random node definition stuff 2011-11-29 19:13:52 +02:00
Perttu Ahola d2eed169ae Add builtin.lua 2011-11-29 19:13:52 +02:00
Perttu Ahola 61ffe1eac4 builtin.lua 2011-11-29 19:13:52 +02:00
Perttu Ahola 9e7ad1e2aa Add object reference to Lua on_place/dig/punchnode parameters 2011-11-29 19:13:52 +02:00
Perttu Ahola 71bc20c453 Some node definitions in Lua 2011-11-29 19:13:52 +02:00
Perttu Ahola 18bb0ea1ea Mode node definition loading from Lua (still not finished), fix metadata creation from name 2011-11-29 19:13:51 +02:00
Perttu Ahola 0bf3a15886 Random Lua tweaks/fixes 2011-11-29 19:13:50 +02:00
Perttu Ahola 290e921920 Relatively snappy object-ground collision detection 2011-11-29 19:13:50 +02:00
Perttu Ahola 0ce0c8fcfb Improve LuaEntity velocity/acceleration handling (by kahrl); implement staticdata interface to Lua 2011-11-29 19:13:49 +02:00
Perttu Ahola 1220b642eb Falling sand and gravel 2011-11-29 19:13:49 +02:00
Perttu Ahola cc03718d3c Node place/dig Lua callbacks 2011-11-29 19:13:49 +02:00
Perttu Ahola d7cb6146c8 Fix crafted tools being a very tiny bit worn in default/init.lua 2011-11-29 19:13:48 +02:00
Perttu Ahola 498ebef357 Add classic crafting recipes to default/init.lua 2011-11-29 19:13:48 +02:00
Perttu Ahola 9d5b458479 Crafting definition in scripts 2011-11-29 19:13:48 +02:00
Perttu Ahola 62164d955c Initial node definition stuff 2011-11-29 19:13:47 +02:00
Perttu Ahola 2f2392f783 Improve glass 2011-11-29 19:13:45 +02:00
Perttu Ahola e71744b918 Modify mod and texture directory hierarchies 2011-11-29 19:13:43 +02:00
Perttu Ahola 7878d9b3f6 Set traditional minetest durability values to tools 2011-11-29 19:13:43 +02:00
Perttu Ahola 9e1c4533b8 Move tool definitions to script 2011-11-29 19:13:43 +02:00
Perttu Ahola f8c9b70379 Scripting: Allow multiple global step callbacks and improve documentation 2011-11-29 19:13:40 +02:00
Perttu Ahola 7b802c547d Handle undefined objects better 2011-11-29 19:13:40 +02:00
Perttu Ahola 73bb3bc595 Scripting WIP: Add global environment step function on_step 2011-11-29 19:13:40 +02:00
Perttu Ahola 1320d07068 Scripting WIP: dynamic object stuff 2011-11-29 19:13:40 +02:00
Perttu Ahola ddaff2d653 Scripting WIP 2011-11-29 19:13:40 +02:00
Perttu Ahola 75a0ca6bd6 Scripting WIP 2011-11-29 19:13:40 +02:00
Perttu Ahola 38944467d3 Scripting WIP 2011-11-29 19:13:39 +02:00
Perttu Ahola 526eedf98e Scripting WIP 2011-11-29 19:13:39 +02:00
Perttu Ahola dcedfdacd1 Scripting WIP 2011-11-29 19:13:39 +02:00
Perttu Ahola ea8d6d7abd Scripting WIP 2011-11-29 19:13:39 +02:00
Perttu Ahola f145d498a6 Scripting WIP 2011-11-29 19:13:39 +02:00
Perttu Ahola 41c91391fc Scripting WIP; Lua entity step callback works 2011-11-29 19:13:39 +02:00
Perttu Ahola 1ddfdc55dd Add textures in data/textures (appeared to not have been added) 2011-11-29 19:13:39 +02:00
Perttu Ahola a6a1e6ed1a random scripting work-in-progress 2011-11-29 19:13:39 +02:00
Perttu Ahola f8430723e0 Add the default.lua script 2011-11-29 19:13:38 +02:00
Perttu Ahola ee8b6d3444 Move images to data/textures and fix some path stuff; hope that installation still works 2011-11-29 19:11:04 +02:00
Perttu Ahola 3f58028d31 Make dungeon masters though and make oerkkis disappear when they get to you (because hitting them doesn't work for some unknown reason) 2011-10-15 16:04:25 +03:00
Perttu Ahola 43a28f04fa mobv2 2011-10-15 02:28:57 +03:00