summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index a33e482..46e6c31 100644
--- a/init.lua
+++ b/init.lua
@@ -276,6 +276,16 @@ doc.new_category("nodes", {
end
})
+-- 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)
+end
+for i=2,8 do
+ doc.add_entry_alias("nodes", "farming:wheat_1", "farming:wheat_"..i)
+ doc.add_entry_alias("nodes", "farming:cotton_1", "farming:cotton_"..i)
+end
+
doc.new_category("tools", {
name = "Tools and weapons",
build_formspec = function(data)