Add _doc_items_create_entry fields for doc_items

This commit is contained in:
Wuzzy 2017-03-02 19:53:53 +01:00
parent 194ec03b68
commit aabb1e972d
28 changed files with 66 additions and 4 deletions

View file

@ -32,8 +32,10 @@ function watch.register_item(name, image, creative)
if creative then
g = 0
end
local doc = name == "mcl_clock:clock"
minetest.register_craftitem(name, {
description = "Clock",
_doc_items_create_entry = doc,
inventory_image = image,
groups = {not_in_creative_inventory=g, tool=1, clock=1},
wield_image = "",