diff options
author | Wuzzy <almikes@aol.com> | 2016-12-23 16:25:51 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-23 16:25:51 +0100 |
commit | b75d36af3ad3028f05d9363ce208468c02520260 (patch) | |
tree | 2d21714008a25b41706b7fa57ebf2f4c3da8d0be | |
parent | 9c9940094844a9d94641e897164ee671c6b8e514 (diff) |
Update messy xpanes aliases for 0.4.15
-rw-r--r-- | init.lua | 18 |
1 files changed, 2 insertions, 16 deletions
@@ -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") |