mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 15:11:05 +01:00
Add comments explaining new lantern functions
This commit is contained in:
parent
257e5f993b
commit
47b6e54dad
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ local allowed_non_solid_nodes_floor = {
|
|||
"mcl_portals:end_portal_frame_eye",
|
||||
"mcl_lanterns:chain"
|
||||
}
|
||||
|
||||
-- The function below allows nodes that call it to be included in the 'allowed floor placement' list above. This lets lanterns be placed on top of said nodes. Most useful for modded in nodes.
|
||||
function mcl_lanterns.add_allowed_non_solid_nodes_floor (node_name)
|
||||
table.insert (allowed_non_solid_nodes_floor, node_name)
|
||||
end
|
||||
|
@ -39,7 +39,7 @@ local allowed_non_solid_nodes_ceiling = {
|
|||
"mcl_core:grass_path",
|
||||
"mcl_lanterns:chain"
|
||||
}
|
||||
|
||||
-- The function below allows nodes that call it to be included in the 'allowed ceiling placement' list above. This lets lanterns be placed below said nodes. Most useful for modded in nodes.
|
||||
function mcl_lanterns.add_allowed_non_solid_nodes_ceiling (node_name)
|
||||
table.insert (allowed_non_solid_nodes_ceiling, node_name)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue