Added circular saw support for moreblocks
Gotta port this over to SkyLands proper now...
This commit is contained in:
parent
f10c32f756
commit
32be7faf54
@ -126,7 +126,11 @@ local np_humid = {
|
||||
skylands = {}
|
||||
|
||||
dofile(minetest.get_modpath("skylands").."/nodes.lua")
|
||||
dofile(minetest.get_modpath("skylands").."/stairs.lua")
|
||||
if (minetest.get_modpath("moreblocks")) then
|
||||
dofile(minetest.get_modpath("skylands").."/stairsplus.lua")
|
||||
else
|
||||
dofile(minetest.get_modpath("skylands").."/stairs.lua")
|
||||
end
|
||||
dofile(minetest.get_modpath("skylands").."/wheat.lua")
|
||||
dofile(minetest.get_modpath("skylands").."/abms.lua")
|
||||
dofile(minetest.get_modpath("skylands").."/functions.lua")
|
||||
|
55
mods/skylands/stairsplus.lua
Normal file
55
mods/skylands/stairsplus.lua
Normal file
@ -0,0 +1,55 @@
|
||||
stairsplus:register_all("skylands", "cinder", "skylands:cinder_block", {
|
||||
groups = {cracky=3, crumbly=1},
|
||||
tiles = {"skylands_cinder_block.png"},
|
||||
description = "Cinder Block",
|
||||
light_source = 0
|
||||
})
|
||||
|
||||
stairsplus:register_all("skylands", "white_stone", "skylands:white_stone", {
|
||||
groups = {cracky=3},
|
||||
tiles = {"skylands_white_stone.png"},
|
||||
description = "White Stone",
|
||||
light_source = 0
|
||||
})
|
||||
|
||||
stairsplus:register_all("skylands", "white_cobble", "skylands:white_cobble", {
|
||||
groups = {cracky=3},
|
||||
tiles = {"skylands_white_cobble.png"},
|
||||
description = "White Cobblestone",
|
||||
light_source = 0
|
||||
})
|
||||
|
||||
stairsplus:register_all("skylands", "white_stone_brick", "skylands:white_stone_brick", {
|
||||
groups = {cracky=2},
|
||||
tiles = {"skylands_white_stone_brick.png"},
|
||||
description = "White Stone Brick",
|
||||
light_source = 0
|
||||
})
|
||||
|
||||
stairsplus:register_all("skylands", "quartz", "skylands:quartz", {
|
||||
groups = {cracky=2},
|
||||
tiles = {"skylands_quartz.png"},
|
||||
description = "Quartz",
|
||||
light_source = 0
|
||||
})
|
||||
|
||||
stairsplus:register_all("skylands", "quartz_pillar", "skylands:quartz_pillar", {
|
||||
groups = {cracky=2},
|
||||
tiles = {"skylands_quartz_pillar.png"},
|
||||
description = "Quartz Pillar",
|
||||
light_source = 0
|
||||
})
|
||||
|
||||
stairsplus:register_all("skylands", "acaciawood", "skylands:acaciawood", {
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||
tiles = {"skylands_acaciawood.png"},
|
||||
description = "Acacia Wood Planks",
|
||||
light_source = 0
|
||||
})
|
||||
|
||||
stairsplus:register_all("skylands", "pinewood", "skylands:pinewood", {
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||
tiles = {"skylands_pinewood.png"},
|
||||
description = "Pine Wood Planks",
|
||||
light_source = 0
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user