0
0
Fork 0

Explain register_chest

This commit is contained in:
Wuzzy 2017-03-16 04:23:21 +01:00
parent fd0701f059
commit 4d0c1a12ff
1 changed files with 1 additions and 0 deletions

View File

@ -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