From d43566388c060a04988e93321d2aa699e30f4be8 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 2 Dec 2016 13:14:51 +0100 Subject: Add building entry --- init.lua | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index a2b3887..b77a1ca 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,4 @@ --[[ -- TODO: Building - TODO: Write about noclip, fast and fly modes - TODO: Consider adding more categories if entry count gets too high ]] @@ -10,7 +9,7 @@ doc.new_category("basics", name="Basics", description = "Everything you need to know about Minetest to get started with playing", sorting = "custom", - sorting_data = {"minetest", "controls", "sneak", "cam", "minimap", "players", "point", "items", "inventory", "hotbar", "tools", "blocks", "mine", "liquids", "craft", "cook", "groups", "settings","glossary", "online"}, + sorting_data = {"minetest", "controls", "sneak", "cam", "minimap", "players", "point", "items", "inventory", "hotbar", "tools", "blocks", "mine", "build", "liquids", "craft", "cook", "groups", "settings","glossary", "online"}, build_formspec = doc.entry_builders.text_and_gallery, }) @@ -235,6 +234,7 @@ Blocks can have a wide range of different properties which determine mining time • Liquids: See the entry “Basics > Liquids”.]=], }}) +-- TODO: Screenshot doc.new_entry("basics", "mine", { name = "Mining", data = { @@ -259,6 +259,22 @@ After mining, a block will leave a “drop” behind. This is a set of items you • Drops nothing]=], }}) +-- TODO: Screenshot +doc.new_entry("basics", "build", { + name = "Building", + data = { + text = +[=[Allmost all blocks can be built (or placed). Building is very simple and always happens instantanously. + +Building is done by pointing to another block and rightclicking on it. To build at a block which is usable (i.e. it reacts on a right-click), you have to hold down the sneak key when rightclicking. + +Blocks can almost always be built at any pointable blocks. One exception are blocks which are attached to the floor; these can only be placed on the floor. + +Normally, blocks are built in front of the pointed side of the pointed block. This is different for a few blocks, which are instead replaced when you try to build at them.]=], +}}) + + + doc.new_entry("basics", "liquids", { name = "Liquids", data = { -- cgit v1.2.3