From c752876077cc89a2c4932865b6e93b11d0b65f3b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 20 Dec 2016 19:08:45 +0100 Subject: [PATCH] Use speaking category names --- doc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc.lua b/doc.lua index 3446f15..f393d51 100644 --- a/doc.lua +++ b/doc.lua @@ -11,7 +11,7 @@ function used in category definitions. ]] -- This category only contains simple text. doc.new_category("example1", { -- This name is for humans and mandatory - name = "Text Examples", + name = "Example: Text", -- This category uses a preset formspec builder for simple text build_formspec = doc.entry_builders.text --[[ Reminder: build_formspec determines how the entry data will be presented @@ -38,7 +38,7 @@ doc.new_entry("example1", "entity", { This is a category like the one before, but this time, we add a hidden entry. ]] doc.new_category("example_hide", { - name = "Example Hidden", + name = "Example: Hidden entry", build_formspec = doc.entry_builders.text })