summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua18
1 files changed, 2 insertions, 16 deletions
diff --git a/init.lua b/init.lua
index 6d5f585..05041f4 100644
--- a/init.lua
+++ b/init.lua
@@ -54,8 +54,6 @@ local forced_items = {
"doors:door_steel_a",
"doors:door_glass_a",
"doors:door_obsidian_glass_a",
- "xpanes:pane_1",
- "xpanes:bar_1",
}
local suppressed_items = {
@@ -109,8 +107,6 @@ local item_name_overrides = {
["doors:door_steel_a"] = minetest.registered_items["doors:door_steel"].description,
["doors:door_glass_a"] = minetest.registered_items["doors:door_glass"].description,
["doors:door_obsidian_glass_a"] = minetest.registered_items["doors:door_obsidian_glass"].description,
- ["xpanes:pane_1"] = minetest.registered_items["xpanes:pane"].description,
- ["xpanes:bar_1"] = minetest.registered_items["xpanes:bar"].description,
}
local image_overrides = {
@@ -118,8 +114,6 @@ local image_overrides = {
["doors:door_steel_a"] = minetest.registered_items["doors:door_steel"].inventory_image,
["doors:door_glass_a"] = minetest.registered_items["doors:door_glass"].inventory_image,
["doors:door_obsidian_glass_a"] = minetest.registered_items["doors:door_obsidian_glass"].inventory_image,
- ["xpanes:pane_1"] = minetest.registered_items["xpanes:pane"].inventory_image,
- ["xpanes:bar_1"] = minetest.registered_items["xpanes:bar"].inventory_image,
}
doc.sub.items.add_friendly_group_names(groupdefs)
@@ -283,16 +277,8 @@ doc.add_entry_alias("nodes", "doors:trapdoor", "doors:trapdoor_open")
doc.add_entry_alias("nodes", "doors:trapdoor_steel", "doors:trapdoor_steel_open")
doc.add_entry_alias("nodes", "tnt:tnt", "tnt:tnt_burning")
doc.add_entry_alias("nodes", "tnt:gunpowder", "tnt:gunpowder_burning")
-local pane_aliases = {}
-local bar_aliases = {}
-for i=2,15 do
- table.insert(pane_aliases, "xpanes:pane_"..i)
- table.insert(bar_aliases, "xpanes:bar_"..i)
-end
-table.insert(pane_aliases, "xpanes:pane")
-table.insert(bar_aliases, "xpanes:bar")
-doc.add_entry_aliases("nodes", "xpanes:pane_1", pane_aliases)
-doc.add_entry_aliases("nodes", "xpanes:bar_1", bar_aliases)
+doc.add_entry_alias("nodes", "xpanes:pane_flat", "xpanes:pane")
+doc.add_entry_alias("nodes", "xpanes:bar_flat", "xpanes:bar")
-- Gather help texts
dofile(minetest.get_modpath("doc_minetest_game") .. "/helptexts.lua")