mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Explain register_chest
This commit is contained in:
parent
fd0701f059
commit
4d0c1a12ff
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ local function get_chest_neighborpos(pos, param2, side)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- This is a helper function to register both chests and trapped chests. Trapped chests will make use of the additional parameters
|
||||||
local register_chest = function(basename, desc, longdesc, usagehelp, mesecons, on_rightclick_addendum, on_rightclick_addendum_left, on_rightclick_addendum_right, drop)
|
local register_chest = function(basename, desc, longdesc, usagehelp, mesecons, on_rightclick_addendum, on_rightclick_addendum_left, on_rightclick_addendum_right, drop)
|
||||||
|
|
||||||
if not drop then
|
if not drop then
|
||||||
|
|
Loading…
Reference in a new issue