make doors and stairs soft dependencies, fill willow recipes (thanks sangeet)
This commit is contained in:
parent
fb65656c9a
commit
7670c1da92
@ -14,6 +14,7 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
|
|||||||
- Use "stratum" to generate mesa biome for stripey goodness
|
- Use "stratum" to generate mesa biome for stripey goodness
|
||||||
- Added coloured candles (thanks wRothbard)
|
- Added coloured candles (thanks wRothbard)
|
||||||
- Rename some biomes to fall inline with default for spawning
|
- Rename some biomes to fall inline with default for spawning
|
||||||
|
- Make stairs and doors a soft dependency, fix willow recipes (thanks sangeet)
|
||||||
|
|
||||||
### 1.28
|
### 1.28
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
default
|
default
|
||||||
farming?
|
farming?
|
||||||
stairs
|
stairs?
|
||||||
flowers
|
flowers
|
||||||
doors
|
doors?
|
||||||
bakedclay?
|
bakedclay?
|
||||||
moreblocks?
|
moreblocks?
|
||||||
intllib?
|
intllib?
|
||||||
|
19
fences.lua
19
fences.lua
@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
local S = ethereal.intllib
|
local S = ethereal.intllib
|
||||||
|
|
||||||
|
local door_mod = minetest.get_modpath("doors")
|
||||||
|
|
||||||
|
|
||||||
local add_fence = function(name, node, desc, texture)
|
local add_fence = function(name, node, desc, texture)
|
||||||
|
|
||||||
@ -27,7 +29,7 @@ local add_fence = function(name, node, desc, texture)
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if doors.register_fencegate then
|
if door_mod and doors.register_fencegate then
|
||||||
|
|
||||||
doors.register_fencegate("ethereal:fencegate_" .. name, {
|
doors.register_fencegate("ethereal:fencegate_" .. name, {
|
||||||
description = S(desc .. " Fence Gate"),
|
description = S(desc .. " Fence Gate"),
|
||||||
@ -51,7 +53,7 @@ end
|
|||||||
add_fence("scorched", "scorched_tree", "Scorched", "ethereal_scorched_tree")
|
add_fence("scorched", "scorched_tree", "Scorched", "ethereal_scorched_tree")
|
||||||
add_fence("frostwood", "frost_wood", "Frost", "ethereal_frost_wood")
|
add_fence("frostwood", "frost_wood", "Frost", "ethereal_frost_wood")
|
||||||
add_fence("redwood", "redwood_wood", "Redwood", "ethereal_redwood_wood")
|
add_fence("redwood", "redwood_wood", "Redwood", "ethereal_redwood_wood")
|
||||||
add_fence("willow", "willow", "Willow", "ethereal_willow_wood")
|
add_fence("willow", "willow_wood", "Willow", "ethereal_willow_wood")
|
||||||
add_fence("yellowwood", "yellow_wood", "Healing Wood", "ethereal_yellow_wood")
|
add_fence("yellowwood", "yellow_wood", "Healing Wood", "ethereal_yellow_wood")
|
||||||
add_fence("palm", "palm_wood", "Palm", "moretrees_palm_wood")
|
add_fence("palm", "palm_wood", "Palm", "moretrees_palm_wood")
|
||||||
add_fence("banana", "banana_wood", "Banana Wood", "ethereal_banana_wood")
|
add_fence("banana", "banana_wood", "Banana Wood", "ethereal_banana_wood")
|
||||||
@ -75,7 +77,9 @@ minetest.register_alias("ethereal:fencegate_pine_closed", "doors:gate_pine_wood_
|
|||||||
|
|
||||||
|
|
||||||
-- sakura door
|
-- sakura door
|
||||||
doors.register_door("ethereal:door_sakura", {
|
if door_mod then
|
||||||
|
|
||||||
|
doors.register_door("ethereal:door_sakura", {
|
||||||
tiles = {
|
tiles = {
|
||||||
{name = "ethereal_sakura_door.png", backface_culling = true}
|
{name = "ethereal_sakura_door.png", backface_culling = true}
|
||||||
},
|
},
|
||||||
@ -92,8 +96,9 @@ doors.register_door("ethereal:door_sakura", {
|
|||||||
{"default:paper", "group:stick"},
|
{"default:paper", "group:stick"},
|
||||||
{"ethereal:sakura_wood", "ethereal:sakura_wood"}
|
{"ethereal:sakura_wood", "ethereal:sakura_wood"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_alias("ethereal:sakura_door", "ethereal:door_sakura")
|
minetest.register_alias("ethereal:sakura_door", "ethereal:door_sakura")
|
||||||
minetest.register_alias("ethereal:sakura_door_a", "ethereal:door_sakura_a")
|
minetest.register_alias("ethereal:sakura_door_a", "ethereal:door_sakura_a")
|
||||||
minetest.register_alias("ethereal:sakura_door_b", "ethereal:door_sakura_b")
|
minetest.register_alias("ethereal:sakura_door_b", "ethereal:door_sakura_b")
|
||||||
|
end
|
||||||
|
@ -10,7 +10,7 @@ lucky_block:add_schematics({
|
|||||||
{"palmtree", ethereal.palmtree, {x = 4, y = 0, z = 4}},
|
{"palmtree", ethereal.palmtree, {x = 4, y = 0, z = 4}},
|
||||||
{"bananatree", ethereal.bananatree, {x = 3, y = 0, z = 3}},
|
{"bananatree", ethereal.bananatree, {x = 3, y = 0, z = 3}},
|
||||||
{"orangetree", ethereal.orangetree, {x = 2, y = 0, z = 2}},
|
{"orangetree", ethereal.orangetree, {x = 2, y = 0, z = 2}},
|
||||||
{"birchtree", ethereal.birchtree, {x = 2, y = 0, z = 2}},
|
{"birchtree", ethereal.birchtree, {x = 2, y = 0, z = 2}}
|
||||||
})
|
})
|
||||||
|
|
||||||
lucky_block:add_blocks({
|
lucky_block:add_blocks({
|
||||||
@ -68,7 +68,7 @@ lucky_block:add_blocks({
|
|||||||
{name = "ethereal:sakura_sapling", max = 10},
|
{name = "ethereal:sakura_sapling", max = 10},
|
||||||
{name = "ethereal:willow_sapling", max = 10},
|
{name = "ethereal:willow_sapling", max = 10},
|
||||||
{name = "ethereal:lemon_tree_sapling", max = 10},
|
{name = "ethereal:lemon_tree_sapling", max = 10},
|
||||||
{name = "ethereal:olive_tree_sapling", max = 10},
|
{name = "ethereal:olive_tree_sapling", max = 10}
|
||||||
}},
|
}},
|
||||||
{"flo", 5, {"ethereal:blue_marble_tile"}, 2},
|
{"flo", 5, {"ethereal:blue_marble_tile"}, 2},
|
||||||
{"dro", {"ethereal:blue_marble", "ethereal:blue_marble_tile"}, 8},
|
{"dro", {"ethereal:blue_marble", "ethereal:blue_marble_tile"}, 8},
|
||||||
@ -88,9 +88,9 @@ lucky_block:add_blocks({
|
|||||||
{name = "ethereal:fish_angler", max = 7},
|
{name = "ethereal:fish_angler", max = 7},
|
||||||
{name = "ethereal:fish_piranha", max = 7},
|
{name = "ethereal:fish_piranha", max = 7},
|
||||||
{name = "ethereal:fishing_rod", max = 1},
|
{name = "ethereal:fishing_rod", max = 1},
|
||||||
{name = "ethereal:worm", max = 10},
|
{name = "ethereal:worm", max = 10}
|
||||||
}},
|
}},
|
||||||
{"dro", {"ethereal:lemon"}, 9},
|
{"dro", {"ethereal:lemon"}, 9}
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("3d_armor") then
|
if minetest.get_modpath("3d_armor") then
|
||||||
@ -99,14 +99,14 @@ lucky_block:add_blocks({
|
|||||||
{"dro", {"3d_armor:chestplate_crystal"}},
|
{"dro", {"3d_armor:chestplate_crystal"}},
|
||||||
{"dro", {"3d_armor:leggings_crystal"}},
|
{"dro", {"3d_armor:leggings_crystal"}},
|
||||||
{"dro", {"3d_armor:boots_crystal"}},
|
{"dro", {"3d_armor:boots_crystal"}},
|
||||||
{"lig"},
|
{"lig"}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("shields") then
|
if minetest.get_modpath("shields") then
|
||||||
lucky_block:add_blocks({
|
lucky_block:add_blocks({
|
||||||
{"dro", {"shields:shield_crystal"}},
|
{"dro", {"shields:shield_crystal"}},
|
||||||
{"exp"},
|
{"exp"}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
4
mod.conf
4
mod.conf
@ -1,4 +1,4 @@
|
|||||||
name = ethereal
|
name = ethereal
|
||||||
depends = default, stairs, flowers, doors
|
depends = default, flowers
|
||||||
optional_depends = farming, bakedclay, moreblocks, intllib, lucky_block, toolranks
|
optional_depends = stairs, doors, farming, bakedclay, moreblocks, intllib, lucky_block, toolranks
|
||||||
description = Ethereal mod uses the v7 mapgen to add many new biomes to the world.
|
description = Ethereal mod uses the v7 mapgen to add many new biomes to the world.
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
local S = ethereal.intllib
|
local S = ethereal.intllib
|
||||||
|
|
||||||
-- stair mods active
|
-- stair mods active
|
||||||
local stairs_redo = stairs and stairs.mod and stairs.mod == "redo"
|
local stairs_mod = minetest.get_modpath("stairs")
|
||||||
|
local stairs_redo = stairs_mod and stairs.mod and stairs.mod == "redo"
|
||||||
local stairs_plus = minetest.global_exists("stairsplus")
|
local stairs_plus = minetest.global_exists("stairsplus")
|
||||||
|
|
||||||
-- stair selection function
|
-- stair selection function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user