299 Commits

Author SHA1 Message Date
ShadowNinja
ca5b6594b9 Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks 2014-01-23 19:21:56 -05:00
ShadowNinja
6a6a7e8fd3 Add pointed_thing to minetest.register_on_placenode
As suggested by qwrwed.
2014-01-21 22:06:40 -05:00
kwolekr
64311f6a74 Update lua_api.txt documentation 2014-01-19 03:00:47 -05:00
ShadowNinja
487c8aaf56 Add minetest.override_item 2014-01-13 21:41:00 -05:00
Kahrl
d58f5a0878 Add formspec table 2014-01-13 18:11:08 -05:00
khonkhortisan
5874af4d8f Allow vertical axis particle rotation constraint
Use tables for adding particles, deprecate former way.

separate particles(pawner) definition, add default values, work with no
arguments
2014-01-13 17:34:56 -05:00
Novatux
65fa1fa276 Fix doc and forceloading crash. 2014-01-12 14:31:32 +01:00
ShadowNinja
78c4bfc4cc Add InvRef::get/set_lists() 2014-01-11 13:52:26 -05:00
Novatux
0a96131bf4 Add forceloading 2014-01-11 17:54:00 +01:00
Novatux
cd1033d41f Deepcopy pointed_thing for after_place_node, give it to on_rightclick too. 2014-01-11 17:23:28 +01:00
ShadowNinja
6d3b145407 Document "wielditem" visual 2014-01-08 17:10:57 -05:00
ShadowNinja
306041087c Pass pointed_thing to after_place_node 2014-01-06 21:25:10 -05:00
kwolekr
c7c4c681e4 Bump version to 0.4.9 2014-01-01 16:54:28 -05:00
ShadowNinja
e2b44bca93 Don't throw a error when writing JSON fails 2013-12-18 18:18:43 -05:00
ShadowNinja
c24cde1d75 Add 'minetest.write_json' 2013-12-18 16:46:53 -05:00
kwolekr
85d7b64e2c Add map feature generation notify Lua API 2013-12-14 01:52:24 -05:00
ShadowNinja
75b4da3a7e Remove support for optdepends.txt 2013-12-13 13:10:24 -05:00
stujones11
ace4953a52 Make line_of_sight return blocking node position 2013-12-12 16:11:00 -05:00
kaeza
ba7af927a7 Add 'on_prejoinplayer' callback 2013-12-12 13:42:14 -05:00
sfan5
d7e524cd79 Fix small mistake in Lua API docs 2013-12-06 18:37:32 +01:00
PilzAdam
8dae6c5967 Use a table in set_physics_override() 2013-12-03 23:20:00 +01:00
PilzAdam
844cac9e3a Add sneak and sneak_glitch to set_physics_override() 2013-12-03 23:20:00 +01:00
kwolekr
017876a37c Decoration: Add schematic Y-slice probability support 2013-12-01 01:24:59 -05:00
Novatux
b316c48e59 Add documentation for minetest.swap_node 2013-11-30 18:57:56 +01:00
kwolekr
5b10914dcd LuaVoxelManip: Add area parameters back to calc_lighting and set_lighting, made optional this time; also fixed a slight bug with night values being ignored 2013-11-30 00:27:39 -05:00
kwolekr
876a1eb687 LuaVoxelManip: Add get_light_data() and set_light_data() 2013-11-30 00:01:43 -05:00
ShadowNinja
1b1e315a6a Rollback fixes and get_node_actions 2013-11-27 18:13:06 -05:00
kwolekr
246783bfc8 Bump version to 0.4.8 2013-11-24 02:23:49 -05:00
sapier
cab1a45764 Fix invalid listname and listsize not handled correctly in set_size 2013-11-16 15:52:41 +01:00
sapier
6b98489ed9 Fix "TODO read modinfo" in modmanager to improve ui usability 2013-11-10 19:37:45 +01:00
PilzAdam
beef60c7c0 Fix typo in lua_api.txt 2013-11-08 18:16:08 +01:00
4Evergreen4
317945eb1e Add wrapper for minetest.rotate_and_place. 2013-11-07 20:14:26 -05:00
Vanessa Ezekowitz
adef84e93d Add 6d facedir rotation prediction routine 2013-11-06 21:08:36 -05:00
BlockMen
18314f400f Reworked formspecs and kahrl's hexcolor parser 2013-11-03 22:14:37 +01:00
ShadowNinja
1850e0ecb7 Add basic protection support to builtin 2013-11-02 14:01:10 -04:00
Novatux
0f0a497d0f Add a callback: minetest.register_on_craft(itemstack, player,
old_craft_grid, craft_inv) and
minetest.register_craft_predict(itemstack, player, old_craft_grid,
craft_inv)
2013-11-01 15:55:34 +01:00
ShadowNinja
c428b28e43 Remove vector metatable setting
This not only makes the vector functions faster, but also makes them more
consistent with other functions.
2013-10-17 09:41:01 +03:00
Novatux
64da618bed Add tool callback 2013-10-16 21:58:29 +04:00
Sokomine
d7fc2a18b2 Add support for parameter 'visual_scale' for drawtypes 'signlike' and 'torchlike' like used for drawtype 'plantlike' 2013-10-14 21:38:56 +03:00
PilzAdam
714d83e833 Add set_name(), set_count(), set_wear() and set_metadata() to Lua ItemStack 2013-09-28 23:46:48 +02:00
PilzAdam
80a7f12664 Allow to manually specify param2 in minetest.item_place() and return success 2013-09-28 23:46:48 +02:00
BlockMen
89896b73fb Add option to scale image to percentage values 2013-09-20 20:03:58 +02:00
ShadowNinja
7bcf638de9 Fix comments about length of server step
6b927229f5f9cb9a8163ecec482160975199fa0f Changed the default server step
from 0.05s to 0.1s
2013-09-17 01:47:45 +02:00
PilzAdam
20e1cc7140 Add offset to automatic_face_movement_dir 2013-09-10 23:31:44 +02:00
PilzAdam
56f58ccf3b Allow non-string arguments for minetest.is_yes() 2013-09-10 21:38:44 +02:00
PilzAdam
14d20ac1a4 Add Settings interface for Lua 2013-09-10 18:31:38 +02:00
Novatux
b8ccaf35f4 Add minetest.get_gametime() API function, that returns the number of seconds since the world was created. 2013-09-08 11:09:50 +02:00
PilzAdam
49f6e00cf3 Use player:set_hotbar_image() instead of hardcoded hotbar.png 2013-09-05 00:21:16 +02:00
Kahrl
1f772a3890 Add minetest.parse_json, engine.parse_json 2013-09-02 02:20:08 +02:00
sapier
281dc6a502 Add translation for main menu
Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp
2013-08-17 16:01:43 +02:00