diff options
-rw-r--r-- | helptexts.lua | 16 | ||||
-rw-r--r-- | init.lua | 26 |
2 files changed, 33 insertions, 9 deletions
diff --git a/helptexts.lua b/helptexts.lua index 2a82e3d..5146ee3 100644 --- a/helptexts.lua +++ b/helptexts.lua @@ -156,10 +156,10 @@ local export_longdesc = { ["bucket:bucket_lava"] = "A bucket can be used to collect and release liquids. This one is filled with hot lava, safely contained inside. Use with caution.", ["bones:bones"] = "These are the remains of a deceased player. It may contain the player's former inventory which can be looted. Fresh bones are bones of a player who has deceased recently and can only be looted by the same player. Old bones can be looted by everyone. Once collected, bones can be placed like any other block.", - ["doors:door_wood"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.", - ["doors:door_glass"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.", - ["doors:door_obsidian_glass"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.", - ["doors:door_steel"] = "Steel doors are owned by the player who placed it, only their owner can open, close or mine them. Steel doors are also immune to TNT explosions.", + ["doors:door_wood_a"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.", + ["doors:door_glass_a"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.", + ["doors:door_obsidian_glass_a"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.", + ["doors:door_steel_a"] = "Steel doors are owned by the player who placed it, only their owner can open, close or mine them. Steel doors are also immune to TNT explosions.", ["farming:straw"] = deconode, ["farming:bread"] = "A nutritious food. Eat it to restore 5 hit points.", ["farming:seed_wheat"] = "Grows into a wheat plant.", @@ -387,10 +387,10 @@ local export_usagehelp = { ["doors:trapdoor"] = "Rightclick the trapdoor to open or close it. When the trapdoor is open, use the sneak or use key (depends on your configuration) to climb down, and the jump key to climb up.", ["doors:trapdoor_steel"] = "Point the steel trapdoor to see who owns it. Rightclick the trapdoor to open or close it (if you own it). When the trapdoor is open, use the sneak or use key (depends on your configuration) to climb down, and the jump key to climb up.", - ["doors:door_wood"] = "Rightclick the door to open or close it.", - ["doors:door_steel"] = "Point the door to see who owns it. Rightclick the door to open or close it (if you own it).", - ["doors:door_glass"] = "Rightclick the door to open or close it.", - ["doors:door_obsidian_glass"] = "Rightclick the door to open or close it.", + ["doors:door_wood_a"] = "Rightclick the door to open or close it.", + ["doors:door_steel_a"] = "Point the door to see who owns it. Rightclick the door to open or close it (if you own it).", + ["doors:door_glass_a"] = "Rightclick the door to open or close it.", + ["doors:door_obsidian_glass_a"] = "Rightclick the door to open or close it.", ["screwdriver:screwdriver"] = "Leftclick on a block to rotate it around its current axis. Rightclick on a block to rotate its axis. Note that not all blocks can be rotated.", @@ -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") |