summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-17 19:47:50 +0100
committerWuzzy <almikes@aol.com>2016-11-17 19:47:50 +0100
commitf280d7a3845c5d4d1b8db2c9b84de1895f4d88e0 (patch)
treef10f3cf6e4d1c40be172a26d3cad187e97f375da /init.lua
parent23d025d8792a54ba9d7edda17c38bd30eb3eedea (diff)
Use new doc_items field format
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/init.lua b/init.lua
index 0ecab84..3a5ea1c 100644
--- a/init.lua
+++ b/init.lua
@@ -122,29 +122,29 @@ doc.sub.items.add_notable_groups(miscgroups)
for i=1, #hidden_items do
local item = minetest.registered_items[hidden_items[i]]
if item then
- minetest.override_item(hidden_items[i], { x_doc_items_hidden = true } )
+ minetest.override_item(hidden_items[i], { _doc_items_hidden = true } )
end
end
for i=1, #forced_items do
local item = minetest.registered_items[forced_items[i]]
if item then
- minetest.override_item(forced_items[i], { x_doc_items_create_entry = true} )
+ minetest.override_item(forced_items[i], { _doc_items_create_entry = true} )
end
end
for i=1, #suppressed_items do
local item = minetest.registered_items[suppressed_items[i]]
if item then
- minetest.override_item(suppressed_items[i], { x_doc_items_create_entry = false} )
+ minetest.override_item(suppressed_items[i], { _doc_items_create_entry = false} )
end
end
for itemstring, data in pairs(item_name_overrides) do
if minetest.registered_items[itemstring] ~= nil then
- minetest.override_item(itemstring, { x_doc_items_entry_name = data} )
+ minetest.override_item(itemstring, { _doc_items_entry_name = data} )
end
end
for itemstring, data in pairs(image_overrides) do
if minetest.registered_items[itemstring] ~= nil then
- minetest.override_item(itemstring, { x_doc_items_image = data} )
+ minetest.override_item(itemstring, { _doc_items_image = data} )
end
end