diff options
author | Wuzzy <almikes@aol.com> | 2016-07-25 18:41:42 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-07-25 18:41:42 +0200 |
commit | 658876f6aa57fdab42808903c393b6027c79577d (patch) | |
tree | 454c4d7d2eadd85b540c7556ba5b526e57651a12 /init.lua | |
parent | f60158570bbbd10411441feed61e154aee8515ad (diff) |
Add aliases for several plants (grass_1 etc.)
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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) |