Use speaking category names

master
Wuzzy 2016-12-20 19:08:45 +01:00
parent 8ad3bc33cb
commit c752876077
1 changed files with 2 additions and 2 deletions

View File

@ -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
})