634 Commits

Author SHA1 Message Date
Perttu Ahola
07526467af Add bouncy node group 2012-09-01 12:58:37 +03:00
Perttu Ahola
c0ad363af7 Add disable_jump and fall_damage_add_percent node groups 2012-09-01 12:07:27 +03:00
Ilya Zhuravlev
d7cc000a0c Add InventoryList width property & allow custom crafting grids. 2012-09-01 10:01:41 +03:00
Matthew I
72434bfb6a Add ban management routines to Lua API
Those functions are:
 * minetest.get_ban_list()
 * minetest.get_ban_description(ip_or_name)
 * minetest.ban_player(name)
 * minetest.unban_player_or_ip(ip_or_name)
2012-08-12 16:45:58 +03:00
Matthew I
cf6e79e220 Extend Lua API in order to implement chat commands
minetest.get_server_status()
minetest.request_shutdown()
EnvRef:clear_objects()
2012-08-12 16:44:55 +03:00
Perttu Ahola
3303470fbc Experimental-ish rollback functionality 2012-07-27 02:27:18 +03:00
Perttu Ahola
1608d1439a Working group-shapeless and multigroup recipes 2012-07-26 13:49:13 +03:00
Perttu Ahola
4548b1cef5 Add special return value -1 to inventry callbacks 2012-07-25 16:52:00 +03:00
Perttu Ahola
a1d678f021 Improve inventory callbacks a bit 2012-07-25 15:39:39 +03:00
Perttu Ahola
1b2ae34ed4 Detached inventory callbacks and reworked node metadata callbacks 2012-07-25 02:36:54 +03:00
Perttu Ahola
c2cb98c1a6 Detached inventories 2012-07-24 20:57:17 +03:00
Perttu Ahola
f7b06f5427 Add oldnode parameter to minetest.register_on_placenode callback 2012-07-23 20:44:56 +03:00
Perttu Ahola
c43c24b166 Describe node definition fields better in lua_api.txt 2012-07-23 20:17:44 +03:00
Perttu Ahola
2f0d7106d4 Update lua_api.txt a bit 2012-07-23 08:48:55 +03:00
darkrose
e5bebe42e9 Implement node timers 2012-07-23 08:18:37 +03:00
Perttu Ahola
f1e67f44ca Formspec button_exit[] and image_button_exit[] 2012-07-22 17:40:48 +03:00
darkrose
ef29865c79 Doc updates for formspec 2012-07-22 17:40:48 +03:00
Perttu Ahola
243d9fb7d6 minetest.register_on_player_receive_fields() 2012-07-22 17:40:48 +03:00
Matthew I
5f44ca0c1b Update Lua API documentation to include minetest.get_modnames() 2012-07-22 13:36:17 +03:00
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