tweak some values and register_biome function.
This commit is contained in:
parent
5fd4fab698
commit
71de106321
@ -6,7 +6,7 @@ local function register_biome(enabled, def)
|
|||||||
if enabled ~= 1 then return end
|
if enabled ~= 1 then return end
|
||||||
|
|
||||||
def.node_dungeon = def.node_dungeon or "default:cobble"
|
def.node_dungeon = def.node_dungeon or "default:cobble"
|
||||||
def.node_dungeon_alt = def.node_dungeon and "" or "default:mossycobble"
|
def.node_dungeon_alt = def.node_dungeon_alt or "default:mossycobble"
|
||||||
def.node_dungeon_stair = def.node_dungeon_stair or "stairs:stair_cobble"
|
def.node_dungeon_stair = def.node_dungeon_stair or "stairs:stair_cobble"
|
||||||
|
|
||||||
if def.y_max > 0 and def.node_riverbed == nil then
|
if def.y_max > 0 and def.node_riverbed == nil then
|
||||||
@ -530,7 +530,8 @@ register_biome(ethereal.glacier, {
|
|||||||
node_water_top = "default:ice", depth_water_top = 10,
|
node_water_top = "default:ice", depth_water_top = 10,
|
||||||
node_river_water = "default:ice",
|
node_river_water = "default:ice",
|
||||||
node_riverbed = "default:gravel", depth_riverbed = 2,
|
node_riverbed = "default:gravel", depth_riverbed = 2,
|
||||||
node_dungeon = "ethereal:icebrick", node_dungeon_alt = "default:ice",
|
node_dungeon = "ethereal:icebrick",
|
||||||
|
node_dungeon_alt = "default:ice",
|
||||||
node_dungeon_stair = "stairs:stair_ice"})
|
node_dungeon_stair = "stairs:stair_ice"})
|
||||||
|
|
||||||
register_biome(ethereal.glacier, {
|
register_biome(ethereal.glacier, {
|
||||||
|
4
food.lua
4
food.lua
@ -631,7 +631,7 @@ minetest.register_craftitem("ethereal:jellyfish_salad", {
|
|||||||
on_use = minetest.item_eat(6)
|
on_use = minetest.item_eat(6)
|
||||||
})
|
})
|
||||||
|
|
||||||
ethereal.add_eatable("ethereal:jellyfish_salad", 4)
|
ethereal.add_eatable("ethereal:jellyfish_salad", 6)
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "ethereal:jellyfish_salad",
|
output = "ethereal:jellyfish_salad",
|
||||||
@ -685,7 +685,7 @@ minetest.register_craftitem("ethereal:fish_n_chips", {
|
|||||||
on_use = minetest.item_eat(6)
|
on_use = minetest.item_eat(6)
|
||||||
})
|
})
|
||||||
|
|
||||||
ethereal.add_eatable("ethereal:fish_n_chips", 4)
|
ethereal.add_eatable("ethereal:fish_n_chips", 6)
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "ethereal:fish_n_chips",
|
output = "ethereal:fish_n_chips",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user