diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -41,6 +41,17 @@ local forced_items = { "fire:basic_flame", "farming:wheat_8", "farming:cotton_8", + "doors:door_wood_a", + "doors:door_steel_a", + "doors:door_glass_a", + "doors:door_obsidian_glass_a", +} + +local suppressed_items = { + "doors:door_wood", + "doors:door_steel", + "doors:door_glass", + "doors:door_obsidian_glass", } local item_name_overrides = { @@ -51,12 +62,17 @@ local item_name_overrides = { ["default:lava_source"] = "Lava", ["default:water_source"] = "Water", ["default:river_water_source"] = "River Water", + ["doors:door_wood_a"] = minetest.registered_items["doors:door_wood"].description, + ["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, } doc.sub.items.add_real_group_names(groupdefs) doc.sub.items.add_notable_groups(miscgroups) doc.sub.items.add_mining_groups(mininggroups) doc.sub.items.add_forced_item_entries(forced_items) +doc.sub.items.add_suppressed_item_entries(suppressed_items) doc.sub.items.add_item_name_overrides(item_name_overrides) @@ -131,7 +147,15 @@ doc.add_entry_alias("nodes", "default:lava_source", "default:lava_flowing") doc.add_entry_alias("nodes", "default:water_source", "default:water_flowing") doc.add_entry_alias("nodes", "default:river_water_source", "default:river_water_flowing") doc.add_entry_alias("nodes", "default:furnace", "default:furnace_active") --- FIXME: Door aliases are missing because doors are draftitems +doc.add_entry_alias("nodes", "doors:door_wood_a", "doors:door_wood_b") +doc.add_entry_alias("nodes", "doors:door_steel_a", "doors:door_steel_b") +doc.add_entry_alias("nodes", "doors:door_glass_a", "doors:door_glass_b") +doc.add_entry_alias("nodes", "doors:door_obsidian_glass_a", "doors:door_obsidian_glass_b") +doc.add_entry_alias("nodes", "doors:gate_wood_closed", "doors:gate_wood_open") +doc.add_entry_alias("nodes", "doors:gate_junglewood_closed", "doors:gate_junglewood_open") +doc.add_entry_alias("nodes", "doors:gate_acacia_wood_closed", "doors:gate_acacia_wood_open") +doc.add_entry_alias("nodes", "doors:gate_aspen_wood_closed", "doors:gate_aspen_wood_open") +doc.add_entry_alias("nodes", "doors:gate_pine_wood_closed", "doors:gate_pine_wood_open") 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") |