summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua62
1 files changed, 30 insertions, 32 deletions
diff --git a/init.lua b/init.lua
index cc90c94..026986e 100644
--- a/init.lua
+++ b/init.lua
@@ -50,10 +50,6 @@ 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 = {
@@ -73,10 +69,6 @@ local suppressed_items = {
"doors:door_steel",
"doors:door_glass",
"doors:door_obsidian_glass",
- "doors:door_wood_b",
- "doors:door_steel_b",
- "doors:door_glass_b",
- "doors:door_obsidian_glass_b",
"doors:gate_wood_open",
"doors:gate_junglewood_open",
"doors:gate_acacia_wood_open",
@@ -270,33 +262,39 @@ doc.sub.items.register_factoid("nodes", "groups", f_spreading_dirt_type)
-- Add node aliases
for i=2,5 do
- doc.add_entry_alias("nodes", "default:grass_1", "default:grass_"..i)
- doc.add_entry_alias("nodes", "default:dry_grass_1", "default:dry_grass_"..i)
+ doc.add_entry_alias("nodes", "default:grass_1", "nodes", "default:grass_"..i)
+ doc.add_entry_alias("nodes", "default:dry_grass_1", "nodes", "default:dry_grass_"..i)
end
for i=1,7 do
- doc.add_entry_alias("nodes", "farming:wheat_8", "farming:wheat_"..i)
- doc.add_entry_alias("nodes", "farming:cotton_8", "farming:cotton_"..i)
+ doc.add_entry_alias("nodes", "farming:wheat_8", "nodes", "farming:wheat_"..i)
+ doc.add_entry_alias("nodes", "farming:cotton_8", "nodes", "farming:cotton_"..i)
end
-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")
-doc.add_entry_aliases("nodes", "default:torch", {"default:torch_wall", "default:torch_ceiling"})
-doc.add_entry_aliases("nodes", "doors:door_wood_a", {"doors:door_wood_b", "doors:doors_wood"})
-doc.add_entry_aliases("nodes", "doors:door_steel_a", {"doors:door_steel_b", "doors:door_steel"})
-doc.add_entry_aliases("nodes", "doors:door_glass_a", {"doors:door_glass_b", "doors:door_glass"})
-doc.add_entry_aliases("nodes", "doors:door_obsidian_glass_a", {"doors:door_obsidian_glass_b", "doors:door_obsidian_glass"})
-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")
-doc.add_entry_alias("nodes", "tnt:gunpowder", "tnt:gunpowder_burning")
-doc.add_entry_alias("nodes", "xpanes:pane_flat", "xpanes:pane")
-doc.add_entry_alias("nodes", "xpanes:bar_flat", "xpanes:bar")
+doc.add_entry_alias("nodes", "default:lava_source", "nodes", "default:lava_flowing")
+doc.add_entry_alias("nodes", "default:water_source", "nodes", "default:water_flowing")
+doc.add_entry_alias("nodes", "default:river_water_source", "nodes", "default:river_water_flowing")
+doc.add_entry_alias("nodes", "default:furnace", "nodes", "default:furnace_active")
+doc.add_entry_alias("nodes", "default:torch", "nodes", "default:torch_wall")
+doc.add_entry_alias("nodes", "default:torch", "nodes", "default:torch_ceiling")
+doc.add_entry_alias("nodes", "doors:door_wood_a", "nodes", "doors:door_wood_b")
+--doc.add_entry_alias("nodes", "doors:door_wood_a", "craftitems", "doors:door_wood")
+--[[doc.add_entry_alias("nodes", "doors:door_steel_a", "nodes", "doors:door_steel_b")
+doc.add_entry_alias("nodes", "doors:door_steel_a", "craftitems", "doors:door_steel")
+doc.add_entry_alias("nodes", "doors:door_glass_a", "nodes", "doors:door_glass_b")
+doc.add_entry_alias("nodes", "doors:door_glass_a", "craftitems", "doors:door_glass")
+doc.add_entry_alias("nodes", "doors:door_obsidian_glass_a", "nodes", "doors:door_obsidian_glass_b")
+doc.add_entry_alias("nodes", "doors:door_obsidian_glass_a", "craftitems", "doors:door_obsidian_glass")
+]]
+doc.add_entry_alias("nodes", "doors:gate_wood_closed", "nodes", "doors:gate_wood_open")
+doc.add_entry_alias("nodes", "doors:gate_junglewood_closed", "nodes", "doors:gate_junglewood_open")
+doc.add_entry_alias("nodes", "doors:gate_acacia_wood_closed", "nodes", "doors:gate_acacia_wood_open")
+doc.add_entry_alias("nodes", "doors:gate_aspen_wood_closed", "nodes", "doors:gate_aspen_wood_open")
+doc.add_entry_alias("nodes", "doors:gate_pine_wood_closed", "nodes", "doors:gate_pine_wood_open")
+doc.add_entry_alias("nodes", "doors:trapdoor", "nodes", "doors:trapdoor_open")
+doc.add_entry_alias("nodes", "doors:trapdoor_steel", "nodes", "doors:trapdoor_steel_open")
+doc.add_entry_alias("nodes", "tnt:tnt", "nodes", "tnt:tnt_burning")
+doc.add_entry_alias("nodes", "tnt:gunpowder", "nodes", "tnt:gunpowder_burning")
+doc.add_entry_alias("nodes", "xpanes:pane_flat", "nodes", "xpanes:pane")
+doc.add_entry_alias("nodes", "xpanes:bar_flat", "nodes", "xpanes:bar")
-- Gather help texts
dofile(minetest.get_modpath("doc_minetest_game") .. "/helptexts.lua")