265 Commits

Author SHA1 Message Date
Perttu Ahola
6a9bc69da6 BITCH, THIS IS 0.4.0. 2012-07-21 03:37:07 +03:00
darkrose
b556ef87cb Add minetest.get_craft_recipe() 2012-07-21 02:33:22 +03:00
Perttu Ahola
7564aae27e Allow defining player's inventory form in Lua 2012-07-19 14:09:16 +03:00
Perttu Ahola
3d4030d247 Add pointed_thing to lua_api.txt 2012-06-17 19:47:55 +03:00
Perttu Ahola
c4b766a434 Explain node boxes in lua_api.txt 2012-06-17 17:23:58 +03:00
Perttu Ahola
339eaa680f Mention node drawtypes in lua_api.txt 2012-06-16 23:42:04 +03:00
Perttu Ahola
92b131d6d1 Node texture animation 2012-06-16 16:47:28 +03:00
Perttu Ahola
63f8d48b45 Add some missing object properties to doc/lua_api.txt 2012-06-10 15:04:24 +03:00
Perttu Ahola
3946557a18 Node placement client-side prediction 2012-06-10 12:46:48 +03:00
Perttu Ahola
a1304d4c88 Add minetest.serialize() and minetest.deserialize() 2012-06-07 00:05:00 +03:00
Perttu Ahola
29bef2a8ab Allow groups in crafting recipes 2012-06-06 23:39:17 +03:00
Perttu Ahola
7cc6a8a0dc Fix small errors in lua_api.txt 2012-06-06 00:15:33 +03:00
Perttu Ahola
2068ff4505 Add after_destruct and cache the existence of on_construct, on_destruct and after_destruct for quick skipping when a node does not have them 2012-06-05 23:51:37 +03:00
Perttu Ahola
d27ed7becb place_node, dig_node and punch_node; an in-game tester tool; remove old code 2012-06-05 23:10:07 +03:00
darkrose
6272bf0521 Add InvRef:is_empty(listname) and make chests/furnaces not diggable if not empty in minimal game 2012-06-03 22:31:02 +03:00
darkrose
c68300df20 Add can_dig callback 2012-06-03 22:31:02 +03:00
Perttu Ahola
77b86e03c9 Implement image[<X>,<Y>;<W>,<H>;<texture name>] and allow floating-point values in formspec 2012-06-03 22:31:02 +03:00
Perttu Ahola
216c9667fe Reshape inventory menu code 2012-06-03 22:31:02 +03:00
Perttu Ahola
2b6e1d9378 Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return a string to aid better inter-object compatibility of code that assumes objects to be players 2012-06-03 22:31:01 +03:00
Perttu Ahola
55ae48ff63 Implement locked chest; add after_place_node and after_dig_node node callbacks 2012-06-03 22:31:01 +03:00
Perttu Ahola
7a4ddfed3a minetest.get_craft_result 2012-06-03 22:31:01 +03:00
Perttu Ahola
be0c9426b8 NodeMetaRef:{to,from}_table and lua_api.txt additions 2012-06-03 22:31:01 +03:00
Perttu Ahola
242091e336 on_metadata_inventory_{move,offer,take} 2012-06-03 22:31:01 +03:00
Perttu Ahola
42c7767361 Implement sign using form field protocol 2012-06-03 22:31:01 +03:00
Perttu Ahola
09c48e831d Random node metadata things 2012-06-03 22:31:00 +03:00
Perttu Ahola
bb6ee5d0b2 Attempt to begin to implement chests and furnace in Lua (with problems) 2012-06-03 22:31:00 +03:00
Perttu Ahola
51e31bf486 Add node on_construct, on_destruct callbacks and update lua_api.txt 2012-06-03 22:31:00 +03:00
Perttu Ahola
ae5f4ee2e8 Add support for putting modpacks directly into mod directories 2012-05-21 19:49:35 +03:00
Perttu Ahola
e3cfb64475 Add "Registered definitions of stuff" to doc/lua_api.txt 2012-04-14 11:24:18 +03:00
Perttu Ahola
c8ac53f271 Support static_spawnpoint setting 2012-04-09 23:32:13 +03:00
Perttu Ahola
d1f338cb7e Improve doc/lua_api.txt and add minetest.get_item_group(name, group) 2012-04-09 12:36:25 +03:00
Perttu Ahola
6a734c1cc6 Add minimal documentation about the $world/game/ addition 2012-04-08 23:32:53 +03:00
Perttu Ahola
d070ceeda3 minetest.get_node_group(name, group) 2012-04-08 18:39:55 +03:00
Perttu Ahola
9b984d0520 EnvRef:find_nodes_in_area(minp, maxp, nodenames) 2012-04-08 14:37:12 +03:00
Perttu Ahola
780da9d73c Improve doc/lua_api.txt 2012-04-07 19:59:03 +03:00
Sergey Gilfanov
6e675394dc PerlinNoise for Lua. 2012-04-07 13:39:01 +03:00
Perttu Ahola
50b22888e4 Add EnvRef:find_node_near(pos, radius, nodenames) 2012-04-06 22:44:42 +03:00
Perttu Ahola
2fd0828881 Implement dropped items as LuaEntities; leave the old ones as is for compatibility 2012-04-01 16:06:01 +03:00
Perttu Ahola
694b981c14 Remplement and improve /setting in Lua, now called /set 2012-04-01 13:08:52 +03:00
Perttu Ahola
eab8ecd2f7 Improve /grant and /revoke output, add /auth_reload 2012-03-31 17:26:44 +03:00
Perttu Ahola
0abf89eb12 Add 'fly' and 'fast' privileges and the underlying privileges-to-client system 2012-03-31 16:25:02 +03:00
Perttu Ahola
80c7a5024c Fix doc/lua_api.txt 2012-03-31 14:27:04 +03:00
Perttu Ahola
c3392de87e initial_properties field in entity definition 2012-03-31 13:50:25 +03:00
Perttu Ahola
f21491185e More documentation in doc/lua_api.txt 2012-03-31 13:08:17 +03:00
Perttu Ahola
61990555a8 Allow group:groupname in ABM definition and implement minetest.hash_node_position() 2012-03-31 12:30:11 +03:00
Perttu Ahola
17d398ed69 Improved teleport command 2012-03-30 20:54:57 +03:00
Perttu Ahola
e6a7e89b85 Reimplement authentication handler in Lua; now we have 1) infinite privilege names, 2) minetest.register_authentication_handler() 2012-03-30 18:42:18 +03:00
Perttu Ahola
0f0e3a6b90 ObjectRef:set_armor_groups() and ObjectRef:set_properties() - works on players too! 2012-03-30 13:34:21 +03:00
Perttu Ahola
fda8d069c9 minetest.register_chatcommand(cmd, def) 2012-03-30 01:45:23 +03:00
Perttu Ahola
6a9dcfae91 Use GenericCAO in place of LuaEntityCAO and PlayerCAO 2012-03-29 19:42:42 +03:00