1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-13 12:55:04 -05:00
minetest/builtin/game
Auke Kok 39a9e9874e Builtin/game/item: Add place_param2 nodedef field
This allows a nodedef to specify a fixed value for param2 to be
used for all normal placements.

There are several uses for this:

- nodes that require param2 to be set to a non-zero value for
  internal mod use. E.g. leafdecay could use this to detect that
  leaves are played by players.
- force wallmounted or facedir value at placement at placement

This overrides any player look direction or other on-the-fly
param2 setting during placement.
2016-06-17 04:41:20 +01:00
..
auth.lua Faster insertion into table 2016-03-06 23:42:04 +00:00
chatcommands.lua Add colored text (not only colored chat). 2016-05-31 17:34:29 +02:00
constants.lua Improve LuaVoxelManip documentation 2015-11-07 11:59:24 -05:00
deprecated.lua Refactor logging 2015-10-14 01:03:54 -04:00
detached_inventory.lua SAPI: Track last executed mod and include in error messages 2015-08-12 23:56:12 -04:00
falling.lua Add on_punchnode callback 2016-05-17 22:16:21 +10:00
features.lua Add AreaStore custom ID API 2016-03-07 16:33:20 -05:00
forceloading.lua Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726 2014-07-13 11:05:07 +02:00
init.lua Add callback parameter for core.emerge_area() 2015-11-02 18:43:09 -05:00
item_entity.lua Item entities: Don't show description as infotext 2016-05-22 08:21:44 +01:00
item.lua Builtin/game/item: Add place_param2 nodedef field 2016-06-17 04:41:20 +01:00
misc.lua Add colored text (not only colored chat). 2016-05-31 17:34:29 +02:00
mod_profiling.lua Fix retval of entity.get_staticdata beeing lost while profiling is enabled 2014-08-24 01:56:27 +02:00
privileges.lua protection_bypass priv can now be revoked in singleplayer (#4169) 2016-05-30 22:40:32 +10:00
register.lua Add minetest.register_lbm() to run code on block load only 2016-03-07 19:54:26 +01:00
statbars.lua Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar 2015-02-08 12:47:45 -05:00
static_spawn.lua Log static_spawn error only once 2015-11-21 00:13:28 +01:00
voxelarea.lua Improved VoxelArea variable locality, thus performance 2014-11-14 00:10:09 +10:00