diff options
-rw-r--r-- | helptexts.lua | 4 | ||||
-rw-r--r-- | init.lua | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/helptexts.lua b/helptexts.lua index 9938f58..741d053 100644 --- a/helptexts.lua +++ b/helptexts.lua @@ -482,11 +482,11 @@ local export_generation = { for itemstring, longdesc in pairs(export_longdesc) do if minetest.registered_items[itemstring] ~= nil then - minetest.override_item(itemstring, { x_doc_items_longdesc = longdesc } ) + minetest.override_item(itemstring, { _doc_items_longdesc = longdesc } ) end end for itemstring, usagehelp in pairs(export_usagehelp) do if minetest.registered_items[itemstring] ~= nil then - minetest.override_item(itemstring, { x_doc_items_usagehelp = usagehelp} ) + minetest.override_item(itemstring, { _doc_items_usagehelp = usagehelp} ) end end @@ -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 |