Cleanup comments (don't use \=, it's annoying)

This commit is contained in:
Mikita Wiśniewski 2024-06-25 09:36:40 +07:00 committed by the-real-herowl
parent 70e903b716
commit c5bc6ff189
1 changed files with 5 additions and 4 deletions

View File

@ -24,7 +24,7 @@ local function table_merge(tbl, ...)
end end
-- Chest Entity -- Chest Entity
-- ============ -- ------------
-- This is necessary to show the chest as an animated mesh, as Minetest doesn't support assigning animated meshes to -- This is necessary to show the chest as an animated mesh, as Minetest doesn't support assigning animated meshes to
-- nodes directly. We're bypassing this limitation by giving each chest its own entity, and making the chest node -- nodes directly. We're bypassing this limitation by giving each chest its own entity, and making the chest node
-- itself fully transparent. -- itself fully transparent.
@ -208,7 +208,8 @@ if screwdriver then
end end
mcl_chests.no_rotate, mcl_chests.simple_rotate = no_rotate, simple_rotate mcl_chests.no_rotate, mcl_chests.simple_rotate = no_rotate, simple_rotate
--[[ List of open chests. --[[ List of open chests
-------------------
Key: Player name Key: Player name
Value: Value:
If player is using a chest: { pos = <chest node position> } If player is using a chest: { pos = <chest node position> }
@ -417,7 +418,7 @@ local function get_chest_inventories(pos, side)
end end
-- Functions used in double chest registration code -- Functions used in double chest registration code
--------------------------------------------------- -- ------------------------------------------------
-- The `return function` wrapping is necessary to avoid stacking up parameters. -- The `return function` wrapping is necessary to avoid stacking up parameters.
-- `side` is either "left" or "right". -- `side` is either "left" or "right".
local function hopper_pull_double(side) return function(pos, hop_pos, hop_inv, hop_list) local function hopper_pull_double(side) return function(pos, hop_pos, hop_inv, hop_list)
@ -549,7 +550,7 @@ function mcl_chests.register_chest(basename, d)
end end
-- Names table -- Names table
-- =========== -- -----------
-- Accessed through names["kind"].x (names.kind.x), where x can be: -- Accessed through names["kind"].x (names.kind.x), where x can be:
-- a = "actual" -- a = "actual"
-- c = canonical -- c = canonical