214 Commits

Author SHA1 Message Date
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
Sfan5
f27b1a3b1b Fix documentation about colors in formspec 2013-08-15 19:38:54 +02:00
Kahrl
ee90d438b8 Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
PilzAdam
2f7fb3e2f2 Fix typos 2013-08-14 00:50:03 +02:00
sapier
ce907a371e Add support for entities to automatic face movement direction 2013-08-13 23:48:47 +02:00
kwolekr
6aa6aaf3f3 Decoration: Fix schematic probability mess with new MTS file version 2013-08-11 15:34:49 -04:00
BlockMen
b131a282ba Add support for different drowning damage and allow drowning in other nodetypes 2013-08-06 17:49:39 +02:00
Perttu Ahola
eadddb8a83 Allow mods to listen to cheat detections using minetest.register_on_cheat() 2013-08-04 00:45:49 +03:00
PilzAdam
62dc2c0c8f Add replacements to schematics 2013-08-03 03:22:14 +02:00
sapier
12a654708c Add support for setting stepheight for entities 2013-07-30 19:48:02 +02:00
proller
d2cbeba8b6 Better snow fall, finite liquid transform, leveled nodes api 2013-07-28 17:14:31 +04:00
proller
cdb2b82262 Weather support 2013-07-27 23:21:48 +04:00
BlockMen
bbe6259cb7 Add support of pressed_texture of image_button
Fix params number

Add pressed texture name

Fix string def

Fix syntax error
2013-07-24 01:02:43 +02:00
hdastwb
f482d200df added (optional) support for 6d facedir in dir_to_facedir and added facedir_to_dir 2013-07-24 00:31:32 +02:00
sapier
5f8013ae39 Add port to favorites if not 30000
Major modmgr overhaul
Add missing formspec checkbox doc
2013-07-22 18:09:59 +02:00
PilzAdam
617d8cba5d Add an option to disable object <-> object collision for Lua entities 2013-07-20 20:43:11 +02:00
PilzAdam
6f29410895 Add liquid_range to nodedef 2013-07-20 20:41:17 +02:00
PilzAdam
9cc15d669e Make range of tools configureable 2013-07-20 20:37:59 +02:00
RealBadAngel
b737eaa357 Add set_breath and get_breath to lua API. 2013-07-20 20:34:11 +02:00
Kahrl
6712aaec9d Add VoxelArea:position, VoxelArea:iter and VoxelArea:iterp 2013-07-11 22:57:26 +02:00
PilzAdam
456624b450 Remove note in lua-api.txt that there are no vector helper functions 2013-07-08 13:41:46 +02:00
sapier
4f7abcbafa Fix many formspec menu bugs 2013-07-07 19:49:52 -04:00
ShadowNinja
de5f1f9b42 Add vector helpers 2013-07-07 01:49:11 -04:00
Sfan5
67b58fa494 Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor 2013-07-06 10:32:58 +02:00
sapier
62794622d6 Replace C++ mainmenu by formspec powered one 2013-07-02 19:58:20 -04:00
kwolekr
5fa252aa8b Decoration: Add schematic rotation support 2013-07-01 18:04:51 -04:00
kwolekr
ee2d8bc482 LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates 2013-06-29 22:23:00 -04:00
kwolekr
dd78709092 Update documentation for get_mapgen_object 2013-06-29 16:24:32 -04:00
kwolekr
2b512c6182 Add voxelarea.lua helper to builtin 2013-06-28 11:07:45 -04:00
kwolekr
5f60730da4 Apply various fixes to several things 2013-06-27 22:35:35 -04:00
kwolekr
0e1e60e195 LuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data back to map 2013-06-27 22:35:35 -04:00
kwolekr
5c8a16016c Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API 2013-06-27 22:35:35 -04:00
kwolekr
700c16fba1 Add Lua PerlinNoiseMap:get#dMap_flat API 2013-06-27 22:35:35 -04:00
kwolekr
f9c5ed3c7b Add minetest.get_mapgen_object to API 2013-06-27 22:35:35 -04:00
kwolekr
669194d224 Add LuaVoxelManip 2013-06-27 22:35:35 -04:00
kwolekr
9f0d413e30 Decoration: Add support for zero probability, fix breakage from last commit 2013-06-22 20:49:01 -04:00