diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-05-03 18:01:13 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-05-03 18:01:13 +0200 |
commit | 5cddd2cd020ba1f3fe3ba88d7a4089d151e591d8 (patch) | |
tree | c26d638669c51ae00316d4007dae3a0698f41d7a /aliases.lua | |
parent | b6c1121e2bc112cf11c2b39a0c4ef46a4982825d (diff) |
Added maple mod support
Diffstat (limited to 'aliases.lua')
-rw-r--r-- | aliases.lua | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/aliases.lua b/aliases.lua index b9b2106..b5af080 100644 --- a/aliases.lua +++ b/aliases.lua @@ -77,3 +77,71 @@ minetest.register_abm({ }) end, }) + + + + + + +local stairs_list = +{ +"acacia_wood", +"aspen_wood", +"brick", +"bronzeblock", +"clay", +"cobble", +"copperblock", +"desert_cobble", +"desert_sandstone", +"desert_sandstone_block", +"desert_sandstone_brick", +"desert_stone", +"desert_stone_block", +"desert_stonebrick", +"feldweg", +"goldblock", +"ice", +"junglewood", +"loam", +"obsidian", +"obsidian_block", +"obsidianbrick", +"pine_wood", +"sandstone", +"sandstone_block", +"sandstonebrick", +"silver_sandstone", +"silver_sandstone_block", +"silver_sandstone_brick", +"snowblock", +"steelblock", +"stone", +"stone_block", +"stonebrick", +"straw", +"wood", +} + +for i = 1, #stairs_list do + local n = "default:"..stairs_list[i] + local n1 = "stairs:slab_"..stairs_list[i] + local n2 = "stairs:stair_"..stairs_list[i] + + minetest.log("action", "[moreblocks] "..n.." "..n1.." "..n2) + + minetest.register_craft({ + output = n, + type = "shapeless", + recipe = {n1,n1}, + }) + + minetest.register_craft({ + output = n.." 3", + type = "shapeless", + recipe = {n2,n2,n2,n2}, + }) + +end + + |