22 Commits

Author SHA1 Message Date
sapier
d83d1a95b7 Fix heart + bubble bar size on different texture packs
Add DPI support for statbar
Move heart+bubble bar to Lua HUD
Add statbar size (based upon an idea by blue42u)
Add support for customizing breath and statbar
2014-05-07 21:46:27 +02:00
ShadowNinja
224168ef76 Fix spelling of "attempt" 2014-01-13 22:11:31 -05:00
ShadowNinja
487c8aaf56 Add minetest.override_item 2014-01-13 21:41:00 -05:00
kaeza
ba7af927a7 Add 'on_prejoinplayer' callback 2013-12-12 13:42:14 -05:00
ShadowNinja
7861d84bcb Move script_run_callbacks to Lua 2013-12-07 22:03:07 -05:00
ShadowNinja
e3785074a3 Only create one alias metatable 2013-12-04 14:31:55 -05:00
0gb.us
6db0a87763 Assume a selection box for fences
Similar to assuming a selection box for the nodebox drawtype, minetest.register_item() now assumes a selection box for the fencelike drawtype.
2013-11-30 13:22:50 -05:00
ShadowNinja
1850e0ecb7 Add basic protection support to builtin 2013-11-02 14:01:10 -04:00
0gb.us
7077f986cf Fixed ignoring of "diggable" property of nodes. 2013-11-01 10:58:41 -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
Novatux
9f7500aec5 Add minetest.registered_biomes 2013-08-06 13:24:54 +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
kwolekr
5c8a16016c Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API 2013-06-27 22:35:35 -04:00
khonkhortisan
0b676b0163 unkn own block -> unkn own node 2013-04-05 15:57:39 +02:00
Diego Martínez
df31e72bb0 Use the nodebox as selection box if it's not set manually 2013-04-05 15:14:37 +02:00
Matthew I
056d277f53 Add shutdown hook interface to Lua API
Scripts can call minetest.register_on_shutdown() to register a
shutdown hook.

Document that minetest.register_on_shutdown() callbacks may not be run

If the server crashes, it is unlikely that callbacks registered using
minetest.register_on_shutdown() will be called.
2012-11-30 19:26:51 +02:00
PilzAdam
dd9b654d7f Make air and ignore drop nothing 2012-11-03 18:29:01 +01:00
Perttu Ahola
0e8ad8b6b8 Deprecate minetest.add_to_creative_inventory and use group not_in_creative_inventory instead 2012-07-25 18:05:31 +03:00
Perttu Ahola
243d9fb7d6 minetest.register_on_player_receive_fields() 2012-07-22 17:40:48 +03:00
Perttu Ahola
5aaf703021 Don't deprecate minetest.register_on_placenode and minetest.register_on_dignode 2012-06-08 01:51:23 +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
c258746b4e Split builtin.lua to multiple files 2012-04-01 12:38:19 +03:00