diff --git a/LEVEL_PACKS.md b/LEVEL_PACKS.md index 8d70faf8..27a72fae 100644 --- a/LEVEL_PACKS.md +++ b/LEVEL_PACKS.md @@ -93,15 +93,12 @@ Here’s the file structure: The code of `init.lua`: -``` -local S = minetest.get_translator("lzr_pack_example") + local S = minetest.get_translator("lzr_pack_example") + + lzr_levels.register_level_pack("example", { + title = S("My Example Levels"), + description = S("Some example levels to test things."), + textdomain_level_names = "lzr_pack_example_level_names", + textdomain_npc_texts = "lzr_pack_example_npc_texts", + }) -lzr_levels.register_level_pack("example", - { - title = S("My Example Levels"), - description = S("Some example levels to test things."), - textdomain_level_names = "lzr_pack_example_level_names", - textdomain_npc_texts = "lzr_pack_example_npc_texts", - } -) -``` diff --git a/mods/lzr_csv/API.md b/mods/lzr_csv/API.md index 3c7b181a..037183a6 100644 --- a/mods/lzr_csv/API.md +++ b/mods/lzr_csv/API.md @@ -39,16 +39,12 @@ The length of each row *must* be equal. For example, this table: -``` -{ - {"value1", "value2", "value3"}, -- row 1 - {"value4", "value5", "value6"}, -- row 2 -}, -``` + { + {"value1", "value2", "value3"}, -- row 1 + {"value4", "value5", "value6"}, -- row 2 + }, Is equivalent to the following CSV file: -``` -value1,value2,value3 -value4,value5,value6 -``` + value1,value2,value3 + value4,value5,value6