mod.ethereal: Update to Git commit 4641fec & patch e3ba6b1
Upstream: 4641fecbe9
Patch: https://github.com/AntumMT/mod-ethereal/tree/e3ba6b1
master
parent
c1c60f0bb6
commit
2eb9d7e39d
|
@ -124,7 +124,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
* [bedrock2][] ([WTFPL][lic.wtfpl]) -- version [63dbab8 Git][ver.bedrock2] *2017-06-20* ([patched][patch.bedrock2])
|
||||
* [biome_lib][] ([WTFPL][lic.wtfpl]) -- version: [8fd0789 Git][ver.biome_lib] *2017-11-06* ([patched][patch.biome_lib])
|
||||
* [desert_life][] ([CC BY-SA][lic.ccbysa4.0]) -- version: [d448fa3 Git][ver.desert_life] *2017-01-01*
|
||||
* [ethereal][] ([MIT][lic.ethereal]) -- version [18492be Git][ver.ethereal] *2017-08-17* ([patched][patch.ethereal]) ***UPDATES***
|
||||
* [ethereal][] ([MIT][lic.ethereal]) -- version [4641fec Git][ver.ethereal] *2018-06-07* ([patched][patch.ethereal])
|
||||
* [hill_nodebox][] ([BSD 3-Clause][lic.hill_nodebox]) -- version [41bbfa2 Git][ver.hill_nodebox] *2014-12-13*
|
||||
* [nether][] ([WTFPL / CC BY-SA][lic.nether]) -- version: [bc2ccfb Git][ver.nether] *2017-01-04* ([patched][patch.nether])
|
||||
|
||||
|
@ -409,7 +409,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
[ver.dinosaurs_aggressive]: https://github.com/AntumMT/mp-dinosaurs_aggressive/tree/874f299
|
||||
[ver.drawers]: https://github.com/minetest-mods/drawers/tree/7063e2b
|
||||
[ver.enchanting]: https://github.com/minetest-mods/enchanting/tree/13ea31c
|
||||
[ver.ethereal]: https://github.com/tenplus1/ethereal/tree/18492be
|
||||
[ver.ethereal]: https://notabug.org/TenPlus1/ethereal/src/4641fecbe9415201ee077cf75ee87c886f9a7b55
|
||||
[ver.farming_plus]: https://github.com/PilzAdam/farming_plus/tree/7e0d976
|
||||
[ver.fort_spikes]: https://github.com/xeranas/fort_spikes/tree/3c7d7c6
|
||||
[ver.gems_encrustable]: https://github.com/wowiamdiamonds/gems/tree/81d513d
|
||||
|
@ -495,7 +495,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
[patch.craftguide]: https://github.com/AntumMT/mod-craftguide/tree/3930813
|
||||
[patch.drawers]: https://github.com/AntumMT/mod-drawers/tree/a77f809
|
||||
[patch.enchanting]: https://github.com/AntumMT/mod-enchanting/tree/7a01f2f
|
||||
[patch.ethereal]: https://github.com/AntumMT/mod-ethereal/tree/4102703
|
||||
[patch.ethereal]: https://github.com/AntumMT/mod-ethereal/tree/e3ba6b1
|
||||
[patch.farming_plus]: https://github.com/AntumMT/mod-farming_plus/tree/8bee49a
|
||||
[patch.gems_encrustable]: https://github.com/AntumMT/mod-gems_encrustable/tree/a043b9c
|
||||
[patch.gems_tools]: https://github.com/AntumMT/mod-gems_tools/tree/cc86c61
|
||||
|
|
|
@ -6,10 +6,16 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
|
|||
- https://forum.minetest.net/viewtopic.php?f=11&t=14638
|
||||
|
||||
## Lucky Blocks
|
||||
35
|
||||
38
|
||||
|
||||
## Changelog
|
||||
|
||||
### 1.24
|
||||
|
||||
- Updating code to newer functions, requires Minetest 0.4.16 and above
|
||||
- Added food groups to be more compatible with other food mods
|
||||
- Bonemeal removed (use Bonemeal mod to replace https://forum.minetest.net/viewtopic.php?f=9&t=16446 )
|
||||
|
||||
### 1.23
|
||||
|
||||
- Added bonemeal support for bush sapling and acacia bush sapling
|
||||
|
|
|
@ -90,6 +90,7 @@ local crops = {
|
|||
{"ethereal:onion_", 5},
|
||||
{"farming:barley_", 7},
|
||||
{"farming:hemp_", 8},
|
||||
{"farming:chili_", 8},
|
||||
}
|
||||
|
||||
-- check if sapling has enough height room to grow
|
||||
|
@ -301,18 +302,13 @@ minetest.register_craftitem("ethereal:bonemeal", {
|
|||
return
|
||||
end
|
||||
|
||||
if not minetest.settings:get_bool("creative_mode") then
|
||||
if not ethereal.check_creative(user:get_player_name()) then
|
||||
|
||||
local item = user:get_wielded_item()
|
||||
|
||||
item:take_item()
|
||||
user:set_wielded_item(item)
|
||||
itemstack:take_item()
|
||||
end
|
||||
|
||||
growth(pointed_thing)
|
||||
|
||||
itemstack:take_item()
|
||||
|
||||
return itemstack
|
||||
end
|
||||
end,
|
||||
|
|
|
@ -38,7 +38,7 @@ minetest.register_alias("ethereal:obsidian_brick", "default:obsidianbrick")
|
|||
minetest.register_alias("ethereal:crystal_topped_dirt", "ethereal:crystal_dirt")
|
||||
minetest.register_alias("ethereal:fiery_dirt_top", "ethereal:fiery_dirt")
|
||||
minetest.register_alias("ethereal:gray_dirt_top", "ethereal:gray_dirt")
|
||||
minetest.register_alias("ethereal:green_dirt_top", "ethereal:green_dirt")
|
||||
minetest.register_alias("ethereal:green_dirt_top", "default;dirt_with_grass")
|
||||
|
||||
minetest.register_alias("ethereal:tree_sapling", "default:sapling")
|
||||
minetest.register_alias("ethereal:jungle_tree_sapling", "default:junglesapling")
|
||||
|
|
|
@ -11,13 +11,17 @@ minetest.register_node("ethereal:crystal_spike", {
|
|||
paramtype = "light",
|
||||
light_source = 7,
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
walkable = true,
|
||||
damage_per_second = 1,
|
||||
groups = {cracky = 1, falling_node = 1, puts_out_fire = 1, cools_lava = 1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0.41, 5 / 16},
|
||||
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0, 5 / 16},
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0, 5 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -4,26 +4,6 @@ local S = ethereal.intllib
|
|||
-- override default dirt (to stop caves cutting away dirt)
|
||||
minetest.override_item("default:dirt", {is_ground_content = ethereal.cavedirt})
|
||||
|
||||
--[[ green dirt
|
||||
minetest.register_node("ethereal:green_dirt", {
|
||||
description = S("Green Dirt"),
|
||||
tiles = {
|
||||
"default_grass.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^default_grass_side.png"
|
||||
},
|
||||
is_ground_content = ethereal.cavedirt,
|
||||
groups = {crumbly = 3, soil = 1, ethereal_grass = 1},
|
||||
soil = {
|
||||
base = "ethereal:green_dirt",
|
||||
dry = "farming:soil",
|
||||
wet = "farming:soil_wet"
|
||||
},
|
||||
drop = "default:dirt",
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
footstep = {name = "default_grass_footstep", gain = 0.25},
|
||||
}),
|
||||
})]]
|
||||
minetest.register_alias("ethereal:green_dirt", "default:dirt_with_grass")
|
||||
|
||||
-- dry dirt
|
||||
|
@ -57,7 +37,8 @@ for n = 1, #dirts do
|
|||
tiles = {
|
||||
"ethereal_grass_"..name.."_top.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^ethereal_grass_"..name.."_side.png"
|
||||
{name = "default_dirt.png^ethereal_grass_"..name.."_side.png",
|
||||
tileable_vertical = false}
|
||||
},
|
||||
is_ground_content = ethereal.cavedirt,
|
||||
groups = {crumbly = 3, soil = 1, ethereal_grass = 1},
|
||||
|
@ -79,7 +60,7 @@ dirts = {
|
|||
"ethereal:bamboo_dirt", "ethereal:jungle_dirt", "ethereal:grove_dirt",
|
||||
"ethereal:prairie_dirt", "ethereal:cold_dirt", "ethereal:crystal_dirt",
|
||||
"ethereal:mushroom_dirt", "ethereal:fiery_dirt", "ethereal:gray_dirt",
|
||||
"default:dirt_with_grass", "default:dirt_with_dry_grass", "ethereal:green_dirt",
|
||||
"default:dirt_with_grass", "default:dirt_with_dry_grass",
|
||||
"default:dirt_with_snow", "default:dirt_with_dry_grass",
|
||||
"default:dirt_with_rainforest_litter"
|
||||
}
|
||||
|
@ -87,17 +68,17 @@ dirts = {
|
|||
-- check surrounding grass and change dirt to same colour
|
||||
local grass_spread = function(pos, node)
|
||||
|
||||
-- not enough light
|
||||
local above = {x = pos.x, y = pos.y + 1, z = pos.z}
|
||||
|
||||
-- not enough light
|
||||
if (minetest.get_node_light(above) or 0) < 13 then
|
||||
return
|
||||
end
|
||||
|
||||
-- water above grass
|
||||
local name = minetest.get_node(above).name
|
||||
local def = minetest.registered_nodes[name]
|
||||
|
||||
-- water above grass
|
||||
if name == "ignore" or not def or def.liquidtype ~= "none" then
|
||||
return
|
||||
end
|
||||
|
@ -107,10 +88,7 @@ local grass_spread = function(pos, node)
|
|||
-- find all default and ethereal grasses in area around dirt
|
||||
local positions, grasses = minetest.find_nodes_in_area(
|
||||
{x = pos.x - 1, y = pos.y - 2, z = pos.z - 1},
|
||||
{x = pos.x + 1, y = pos.y + 2, z = pos.z + 1},
|
||||
-- {"group:ethereal_grass", "default:dirt_with_grass",
|
||||
-- "default:dirt_with_dry_grass", "default:dirt_with_snow"})
|
||||
dirts)
|
||||
{x = pos.x + 1, y = pos.y + 2, z = pos.z + 1}, dirts)
|
||||
|
||||
-- count new grass nodes
|
||||
for n = 1, #dirts do
|
||||
|
@ -128,11 +106,6 @@ local grass_spread = function(pos, node)
|
|||
return
|
||||
end
|
||||
|
||||
-- change default green grass to ethereal green grass
|
||||
if curr_type == "default:dirt_with_grass" then
|
||||
curr_type = "ethereal:green_dirt"
|
||||
end
|
||||
|
||||
minetest.swap_node(pos, {name = curr_type})
|
||||
end
|
||||
|
||||
|
@ -295,18 +268,18 @@ for _, ab in pairs(minetest.registered_abms) do
|
|||
local node2 = ab.nodenames and ab.nodenames[2] or ""
|
||||
local neigh = ab.neighbors and ab.neighbors[1] or ""
|
||||
|
||||
-- find dirt to grass abm and replace with spread function
|
||||
-- find 'dirt to grass abm' and replace with spread function
|
||||
if label == "Grass spread"
|
||||
or (node1 == "default:dirt"
|
||||
and neigh == "default:dirt_with_grass") then
|
||||
|
||||
--ab.interval = 2
|
||||
--ab.chance = 1
|
||||
ab.nodenames = {"default:dirt_with_grass", "default:dirt"}
|
||||
ab.nodenames = {"default:dirt"}
|
||||
ab.neighbors = {"air"}
|
||||
ab.action = grass_spread
|
||||
|
||||
-- find grass devoid of light to dirt abm and change to devoid function
|
||||
-- find 'grass devoid of light to dirt' abm and change to devoid function
|
||||
elseif label == "Grass covered"
|
||||
or (node1 == "default:dirt_with_grass"
|
||||
and node2 == "default:dirt_with_dry_grass") then
|
||||
|
|
|
@ -107,7 +107,7 @@ minetest.register_node("ethereal:candle", {
|
|||
length = 1.0
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
paramtype = "light",
|
||||
light_source = 11,
|
||||
sunlight_propagates = true,
|
||||
|
@ -133,10 +133,11 @@ minetest.register_craft({
|
|||
minetest.register_craftitem("ethereal:bowl", {
|
||||
description = S("Bowl"),
|
||||
inventory_image = "bowl.png",
|
||||
groups = {food_bowl = 1, flammable = 2},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "ethereal:bowl",
|
||||
output = "ethereal:bowl 4",
|
||||
recipe = {
|
||||
{"group:wood", "", "group:wood"},
|
||||
{"", "group:wood", ""},
|
||||
|
@ -288,7 +289,7 @@ minetest.register_tool("ethereal:light_staff", {
|
|||
|
||||
minetest.swap_node(pos, {name = "ethereal:glostone"})
|
||||
|
||||
if not minetest.settings:get_bool("creative_mode") then
|
||||
if not ethereal.check_creative(user:get_player_name()) then
|
||||
itemstack:add_wear(65535 / 149) -- 150 uses
|
||||
end
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ minetest.register_craftitem("ethereal:fish_raw", {
|
|||
description = S("Raw Fish"),
|
||||
inventory_image = "fish_raw.png",
|
||||
wield_image = "fish_raw.png",
|
||||
groups = {food_fish_raw = 1, flammable = 3},
|
||||
on_use = minetest.item_eat(2),
|
||||
})
|
||||
|
||||
|
@ -14,6 +15,7 @@ minetest.register_craftitem("ethereal:fish_cooked", {
|
|||
description = S("Cooked Fish"),
|
||||
inventory_image = "fish_cooked.png",
|
||||
wield_image = "fish_cooked.png",
|
||||
groups = {food_fish = 1, flammable = 3},
|
||||
on_use = minetest.item_eat(5),
|
||||
})
|
||||
|
||||
|
@ -35,7 +37,7 @@ minetest.register_craftitem("ethereal:sashimi", {
|
|||
minetest.register_craft({
|
||||
output = "ethereal:sashimi 2",
|
||||
recipe = {
|
||||
{'ethereal:seaweed','ethereal:fish_raw','ethereal:seaweed'},
|
||||
{'group:food_seaweed','group:food_fish_raw','group:food_seaweed'},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ minetest.register_node("ethereal:banana", {
|
|||
fixed = {-0.31, -0.5, -0.31, 0.31, 0.5, 0.31}
|
||||
},
|
||||
groups = {
|
||||
fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
food_banana = 1, fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
leafdecay = 1, leafdecay_drop = 1
|
||||
},
|
||||
drop = "ethereal:banana",
|
||||
|
@ -38,7 +38,7 @@ minetest.register_craftitem("ethereal:banana_dough", {
|
|||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "ethereal:banana_dough",
|
||||
recipe = {"farming:flour", "ethereal:banana"}
|
||||
recipe = {"group:food_flour", "group:food_banana"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -63,7 +63,7 @@ minetest.register_node("ethereal:orange", {
|
|||
fixed = {-0.27, -0.37, -0.27, 0.27, 0.44, 0.27}
|
||||
},
|
||||
groups = {
|
||||
fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
food_orange = 1, fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
leafdecay = 3, leafdecay_drop = 1
|
||||
},
|
||||
drop = "ethereal:orange",
|
||||
|
@ -81,6 +81,7 @@ minetest.register_craftitem("ethereal:pine_nuts", {
|
|||
description = S("Pine Nuts"),
|
||||
inventory_image = "pine_nuts.png",
|
||||
wield_image = "pine_nuts.png",
|
||||
groups = {food_pine_nuts = 1, flammable = 2},
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
|
||||
|
@ -89,6 +90,7 @@ minetest.register_craftitem("ethereal:banana_bread", {
|
|||
description = S("Banana Loaf"),
|
||||
inventory_image = "banana_bread.png",
|
||||
wield_image = "banana_bread.png",
|
||||
groups = {food_bread = 1, flammable = 3},
|
||||
on_use = minetest.item_eat(6),
|
||||
})
|
||||
|
||||
|
@ -107,7 +109,7 @@ minetest.register_node("ethereal:coconut", {
|
|||
fixed = {-0.31, -0.43, -0.31, 0.31, 0.44, 0.31}
|
||||
},
|
||||
groups = {
|
||||
snappy = 1, oddly_breakable_by_hand = 1, cracky = 1,
|
||||
food_coconut = 1, snappy = 1, oddly_breakable_by_hand = 1, cracky = 1,
|
||||
choppy = 1, flammable = 1, leafdecay = 3, leafdecay_drop = 1
|
||||
},
|
||||
drop = "ethereal:coconut_slice 4",
|
||||
|
@ -119,6 +121,7 @@ minetest.register_craftitem("ethereal:coconut_slice", {
|
|||
description = S("Coconut Slice"),
|
||||
inventory_image = "moretrees_coconut_slice.png",
|
||||
wield_image = "moretrees_coconut_slice.png",
|
||||
groups = {food_coconut_slice = 1, flammable = 1},
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
|
||||
|
@ -161,9 +164,9 @@ minetest.register_craftitem("ethereal:hearty_stew", {
|
|||
minetest.register_craft({
|
||||
output = "ethereal:hearty_stew",
|
||||
recipe = {
|
||||
{"ethereal:wild_onion_plant","ethereal:mushroom_plant", "ethereal:fern_tubers"},
|
||||
{"","ethereal:mushroom_plant", ""},
|
||||
{"","ethereal:bowl", ""},
|
||||
{"group:food_onion","flowers:mushroom_brown", "group:food_tuber"},
|
||||
{"","flowers:mushroom_brown", ""},
|
||||
{"","group:food_bowl", ""},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -172,9 +175,9 @@ if farming and farming.mod and farming.mod == "redo" then
|
|||
minetest.register_craft({
|
||||
output = "ethereal:hearty_stew",
|
||||
recipe = {
|
||||
{"ethereal:wild_onion_plant","ethereal:mushroom_plant", "farming:beans"},
|
||||
{"","ethereal:mushroom_plant", ""},
|
||||
{"","ethereal:bowl", ""},
|
||||
{"group:food_onion","flowers:mushroom_brown", "group:food_beans"},
|
||||
{"","flowers:mushroom_brown", ""},
|
||||
{"","group:food_bowl", ""},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--[[
|
||||
|
||||
Minetest Ethereal Mod (1st March 2017)
|
||||
Minetest Ethereal Mod
|
||||
|
||||
Created by ChinChow
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
|||
]]
|
||||
|
||||
ethereal = {} -- DO NOT change settings below, use the settings.conf file
|
||||
ethereal.version = "1.22"
|
||||
ethereal.version = "1.24"
|
||||
ethereal.leaftype = 0 -- 0 for 2D plantlike, 1 for 3D allfaces
|
||||
ethereal.leafwalk = false -- true for walkable leaves, false to fall through
|
||||
ethereal.cavedirt = true -- caves chop through dirt when true
|
||||
|
@ -77,6 +77,12 @@ ethereal.intllib = S
|
|||
-- Falling node function
|
||||
ethereal.check_falling = minetest.check_for_falling or nodeupdate
|
||||
|
||||
-- creative check
|
||||
local creative_mode_cache = minetest.settings:get_bool("creative_mode")
|
||||
function ethereal.check_creative(name)
|
||||
return creative_mode_cache or minetest.check_player_privs(name, {creative = true})
|
||||
end
|
||||
|
||||
dofile(path .. "/plantlife.lua")
|
||||
dofile(path .. "/mushroom.lua")
|
||||
dofile(path .. "/onion.lua")
|
||||
|
@ -98,12 +104,13 @@ dofile(path .. "/compatibility.lua")
|
|||
dofile(path .. "/stairs.lua")
|
||||
dofile(path .. "/lucky_block.lua")
|
||||
|
||||
-- Use bonemeal mod instead of ethereal's own if found
|
||||
-- Set bonemeal aliases
|
||||
if minetest.get_modpath("bonemeal") then
|
||||
minetest.register_alias("ethereal:bone", "bonemeal:bone")
|
||||
minetest.register_alias("ethereal:bonemeal", "bonemeal:bonemeal")
|
||||
else
|
||||
dofile(path .. "/bonemeal.lua")
|
||||
else -- or return to where it came from
|
||||
minetest.register_alias("ethereal:bone", "default:dirt")
|
||||
minetest.register_alias("ethereal:bonemeal", "default:dirt")
|
||||
end
|
||||
|
||||
if minetest.get_modpath("xanadu") then
|
||||
|
|
|
@ -17,6 +17,12 @@ minetest.override_item("default:leaves", {
|
|||
walkable = ethereal.leafwalk,
|
||||
})
|
||||
|
||||
-- ability to craft big tree sapling
|
||||
minetest.register_craft({
|
||||
recipe = {{"default:sapling", "default:sapling", "default:sapling"}},
|
||||
output = "ethereal:big_tree_sapling"
|
||||
})
|
||||
|
||||
-- default jungle tree leaves
|
||||
minetest.override_item("default:jungleleaves", {
|
||||
drawtype = leaftype,
|
||||
|
|
|
@ -25,33 +25,47 @@ lucky_block:add_blocks({
|
|||
{"sch", "acaciatree", 0, false},
|
||||
{"dro", {"ethereal:golden_apple"}, 3},
|
||||
{"sch", "palmtree", 0, false},
|
||||
{"dro", {"ethereal:tree_sapling", "ethereal:orange_tree_sapling", "ethereal:banana_tree_sapling"}, 10},
|
||||
{"dro", {"ethereal:green_dirt", "ethereal:prairie_dirt", "ethereal:grove_dirt", "ethereal:cold_dirt"}, 10},
|
||||
{"dro", {"ethereal:axe_crystal"}, 1},
|
||||
{"dro", {"ethereal:tree_sapling"}, 5},
|
||||
{"dro", {"ethereal:orange_tree_sapling"}, 5},
|
||||
{"dro", {"ethereal:banana_tree_sapling"}, 5},
|
||||
{"dro", {"ethereal:willow_sapling"} ,5},
|
||||
{"dro", {"ethereal:mushroom_sapling"} ,5},
|
||||
{"dro", {"ethereal:palm_sapling"} ,5},
|
||||
{"dro", {"ethereal:birch_sapling"} ,5},
|
||||
{"dro", {"ethereal:redwood_sapling"} ,1},
|
||||
{"dro", {"ethereal:prairie_dirt"}, 10},
|
||||
{"dro", {"ethereal:grove_dirt"}, 10},
|
||||
{"dro", {"ethereal:cold_dirt"}, 10},
|
||||
{"dro", {"ethereal:mushroom_dirt"}, 10},
|
||||
{"dro", {"ethereal:fiery_dirt"}, 10},
|
||||
{"dro", {"ethereal:axe_crystal"}},
|
||||
{"nod", "ethereal:fire_flower", 1},
|
||||
{"dro", {"ethereal:sword_crystal"}, 1},
|
||||
{"dro", {"ethereal:pick_crystal"}, 1},
|
||||
{"dro", {"ethereal:sword_crystal"}},
|
||||
{"dro", {"ethereal:pick_crystal"}},
|
||||
{"sch", "birchtree", 0, false},
|
||||
{"dro", {"ethereal:fish_raw"}, 1},
|
||||
{"dro", {"ethereal:shovel_crystal"}, 1},
|
||||
{"dro", {"ethereal:fishing_rod_baited"}, 1},
|
||||
{"dro", {"ethereal:fish_raw"}},
|
||||
{"dro", {"ethereal:shovel_crystal"}},
|
||||
{"dro", {"ethereal:fishing_rod_baited"}},
|
||||
{"exp"},
|
||||
{"dro", {"ethereal:fire_dust"}, 2},
|
||||
{"exp", 4},
|
||||
{"dro", {"ethereal:crystal_gilly_staff"}},
|
||||
{"dro", {"ethereal:light_staff"}},
|
||||
})
|
||||
|
||||
if minetest.get_modpath("3d_armor") then
|
||||
lucky_block:add_blocks({
|
||||
{"dro", {"3d_armor:helmet_crystal"}, 1},
|
||||
{"dro", {"3d_armor:chestplate_crystal"}, 1},
|
||||
{"dro", {"3d_armor:leggings_crystal"}, 1},
|
||||
{"dro", {"3d_armor:boots_crystal"}, 1},
|
||||
{"dro", {"3d_armor:helmet_crystal"}},
|
||||
{"dro", {"3d_armor:chestplate_crystal"}},
|
||||
{"dro", {"3d_armor:leggings_crystal"}},
|
||||
{"dro", {"3d_armor:boots_crystal"}},
|
||||
{"lig"},
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.get_modpath("shields") then
|
||||
lucky_block:add_blocks({
|
||||
{"dro", {"shields:shield_crystal"}, 1},
|
||||
{"dro", {"shields:shield_crystal"}},
|
||||
{"exp"},
|
||||
})
|
||||
end
|
||||
|
|
|
@ -97,7 +97,7 @@ if ethereal.glacier == 1 then
|
|||
})
|
||||
end
|
||||
|
||||
add_biome("clearing", nil, "ethereal:green_dirt", 1, "default:dirt", 3,
|
||||
add_biome("clearing", nil, "default:dirt_with_grass", 1, "default:dirt", 3,
|
||||
nil, nil, nil, nil, nil, 3, 71, 45, 65, 1) -- ADDED
|
||||
|
||||
add_biome("bamboo", nil, "ethereal:bamboo_dirt", 1, "default:dirt", 3,
|
||||
|
@ -125,7 +125,7 @@ add_biome("frost", nil, "ethereal:crystal_dirt", 1, "default:dirt", 3,
|
|||
add_biome("frost_ocean", nil, "default:sand", 1, "default:sand", 2,
|
||||
nil, nil, nil, nil, nil, -192, 1, 10, 40, ethereal.frost)
|
||||
|
||||
add_biome("grassy", nil, "ethereal:green_dirt", 1, "default:dirt", 3,
|
||||
add_biome("grassy", nil, "default:dirt_with_grass", 1, "default:dirt", 3,
|
||||
nil, nil, nil, nil, nil, 3, 91, 13, 40, ethereal.grassy)
|
||||
|
||||
add_biome("grassy_ocean", nil, "defaut:sand", 2, "default:gravel", 1,
|
||||
|
@ -145,7 +145,7 @@ else
|
|||
nil, nil, nil, nil, nil, -192, 1, 15, 30, ethereal.grayness)
|
||||
end
|
||||
|
||||
add_biome("grassytwo", nil, "ethereal:green_dirt", 1, "default:dirt", 3,
|
||||
add_biome("grassytwo", nil, "default:dirt_with_grass", 1, "default:dirt", 3,
|
||||
nil, nil, nil, nil, nil, 1, 91, 15, 40, ethereal.grassytwo)
|
||||
|
||||
add_biome("grassytwo_ocean", nil, "default:sand", 1, "default:sand", 2,
|
||||
|
@ -157,7 +157,7 @@ add_biome("prairie", nil, "ethereal:prairie_dirt", 1, "default:dirt", 3,
|
|||
add_biome("prairie_ocean", nil, "default:sand", 1, "default:sand", 2,
|
||||
nil, nil, nil, nil, nil, -192, 1, 20, 40, ethereal.prairie)
|
||||
|
||||
add_biome("jumble", nil, "ethereal:green_dirt", 1, "default:dirt", 3,
|
||||
add_biome("jumble", nil, "default:dirt_with_grass", 1, "default:dirt", 3,
|
||||
nil, nil, nil, nil, nil, 1, 71, 25, 50, ethereal.jumble)
|
||||
|
||||
add_biome("jumble_ocean", nil, "default:sand", 1, "default:sand", 2,
|
||||
|
@ -216,7 +216,7 @@ add_biome("fiery_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|||
add_biome("sandclay", nil, "default:sand", 3, "default:clay", 2,
|
||||
nil, nil, nil, nil, nil, 1, 11, 65, 2, ethereal.sandclay)
|
||||
|
||||
add_biome("swamp", nil, "ethereal:green_dirt", 1, "default:dirt", 3,
|
||||
add_biome("swamp", nil, "default:dirt_with_grass", 1, "default:dirt", 3,
|
||||
nil, nil, nil, nil, nil, 1, 7, 80, 90, ethereal.swamp)
|
||||
|
||||
add_biome("swamp_ocean", nil, "default:sand", 2, "default:clay", 2,
|
||||
|
@ -274,17 +274,17 @@ add_schem({"ethereal:cold_dirt"}, 0.025, {"snowy"}, 10, 40, dpath .. "pine_tree.
|
|||
add_schem({"default:dirt_with_snow"}, 0.025, {"alpine"}, 40, 140, path .. "pinetree.mts", ethereal.alpine)
|
||||
|
||||
-- default apple tree
|
||||
add_schem({"ethereal:green_dirt"}, 0.02, {"jumble"}, 1, 100, dpath .. "apple_tree.mts", ethereal.grassy)
|
||||
add_schem({"ethereal:green_dirt"}, 0.03, {"grassy"}, 1, 100, dpath .. "apple_tree.mts", ethereal.grassy)
|
||||
add_schem({"default:dirt_with_grass"}, 0.02, {"jumble"}, 1, 100, dpath .. "apple_tree.mts", ethereal.grassy)
|
||||
add_schem({"default:dirt_with_grass"}, 0.03, {"grassy"}, 1, 100, dpath .. "apple_tree.mts", ethereal.grassy)
|
||||
|
||||
-- big old tree
|
||||
add_schem({"ethereal:green_dirt"}, 0.001, {"jumble"}, 1, 100, path .. "bigtree.mts", ethereal.jumble)
|
||||
add_schem({"default:dirt_with_grass"}, 0.001, {"jumble"}, 1, 100, path .. "bigtree.mts", ethereal.jumble)
|
||||
|
||||
-- aspen tree
|
||||
add_schem({"ethereal:green_dirt"}, 0.02, {"grassytwo"}, 1, 50, dpath .. "aspen_tree.mts", ethereal.jumble)
|
||||
add_schem({"default:dirt_with_grass"}, 0.02, {"grassytwo"}, 1, 50, dpath .. "aspen_tree.mts", ethereal.jumble)
|
||||
|
||||
-- birch tree
|
||||
add_schem({"ethereal:green_dirt"}, 0.02, {"grassytwo"}, 50, 100, ethereal.birchtree, ethereal.grassytwo)
|
||||
add_schem({"default:dirt_with_grass"}, 0.02, {"grassytwo"}, 50, 100, ethereal.birchtree, ethereal.grassytwo)
|
||||
|
||||
-- orange tree
|
||||
add_schem({"ethereal:prairie_dirt"}, 0.01, {"prairie"}, 1, 100, ethereal.orangetree, ethereal.prairie)
|
||||
|
@ -331,53 +331,47 @@ add_schem({"ethereal:bamboo_dirt"}, 0.025, {"bamboo"}, 1, 100, ethereal.bambootr
|
|||
add_schem({"ethereal:bamboo_dirt"}, 0.08, {"bamboo"}, 1, 100, ethereal.bush, ethereal.bamboo)
|
||||
|
||||
-- vine tree
|
||||
add_schem({"ethereal:green_dirt"}, 0.02, {"swamp"}, 1, 100, path .. "vinetree.mts", ethereal.swamp)
|
||||
add_schem({"default:dirt_with_grass"}, 0.02, {"swamp"}, 1, 100, path .. "vinetree.mts", ethereal.swamp)
|
||||
|
||||
-- bushes
|
||||
-- bush
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 137,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"grassy", "grassytwo", "jumble"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = dpath .. "/bush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
if minetest.registered_nodes["default:acacia_bush_stem"] then
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 137,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"grassy", "grassytwo", "jumble"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = dpath .. "/bush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Acacia bush
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 90155,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"savannah", "mesa"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = dpath .. "/acacia_bush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
end
|
||||
-- Acacia bush
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 90155,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"savannah", "mesa"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = dpath .. "/acacia_bush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
--= simple decorations
|
||||
|
||||
|
@ -417,10 +411,10 @@ add_node({"default:dirt_with_dry_grass"}, 0.10, {"mesa"}, 1, 100, {"default:dry_
|
|||
"default:dry_grass_3", "default:dry_grass_4", "default:dry_grass_5"}, nil, nil, nil, ethereal.mesa)
|
||||
|
||||
-- flowers & strawberry
|
||||
add_node({"ethereal:green_dirt"}, 0.025, {"grassy"}, 1, 100, {"flowers:dandelion_white",
|
||||
add_node({"default:dirt_with_grass"}, 0.025, {"grassy"}, 1, 100, {"flowers:dandelion_white",
|
||||
"flowers:dandelion_yellow", "flowers:geranium", "flowers:rose", "flowers:tulip",
|
||||
"flowers:viola", "ethereal:strawberry_7"}, nil, nil, nil, ethereal.grassy)
|
||||
add_node({"ethereal:green_dirt"}, 0.025, {"grassytwo"}, 1, 100, {"flowers:dandelion_white",
|
||||
add_node({"default:dirt_with_grass"}, 0.025, {"grassytwo"}, 1, 100, {"flowers:dandelion_white",
|
||||
"flowers:dandelion_yellow", "flowers:geranium", "flowers:rose", "flowers:tulip",
|
||||
"flowers:viola", "ethereal:strawberry_7"}, nil, nil, nil, ethereal.grassytwo)
|
||||
|
||||
|
@ -452,11 +446,11 @@ add_node({"ethereal:mushroom_dirt"}, 0.01, {"mushroom"}, 1, 100, {"flowers:mushr
|
|||
|
||||
local list = {
|
||||
{"junglee", {"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, ethereal.junglee},
|
||||
{"grassy", {"ethereal:green_dirt"}, ethereal.grassy},
|
||||
{"grassytwo", {"ethereal:green_dirt"}, ethereal.grassytwo},
|
||||
{"grassy", {"default:dirt_with_grass"}, ethereal.grassy},
|
||||
{"grassytwo", {"default:dirt_with_grass"}, ethereal.grassytwo},
|
||||
{"prairie", {"ethereal:prairie_dirt"}, ethereal.prairie},
|
||||
{"mushroom", {"ethereal:mushroom_dirt"}, ethereal.mushroom},
|
||||
{"swamp", {"ethereal:green_dirt"}, ethereal.swamp},
|
||||
{"swamp", {"default:dirt_with_grass"}, ethereal.swamp},
|
||||
}
|
||||
|
||||
-- wild red and brown mushrooms
|
||||
|
@ -486,15 +480,15 @@ end
|
|||
|
||||
-- jungle grass
|
||||
add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.10, {"junglee"}, 1, 100, {"default:junglegrass"}, nil, nil, nil, ethereal.junglee)
|
||||
add_node({"ethereal:green_dirt"}, 0.15, {"jumble"}, 1, 100, {"default:junglegrass"}, nil, nil, nil, ethereal.jumble)
|
||||
add_node({"ethereal:green_dirt"}, 0.25, {"swamp"}, 1, 100, {"default:junglegrass"}, nil, nil, nil, ethereal.swamp)
|
||||
add_node({"default:dirt_with_grass"}, 0.15, {"jumble"}, 1, 100, {"default:junglegrass"}, nil, nil, nil, ethereal.jumble)
|
||||
add_node({"default:dirt_with_grass"}, 0.25, {"swamp"}, 1, 100, {"default:junglegrass"}, nil, nil, nil, ethereal.swamp)
|
||||
|
||||
-- grass
|
||||
add_node({"ethereal:green_dirt"}, 0.35, {"grassy"}, 1, 100, {"default:grass_2", "default:grass_3",
|
||||
add_node({"default:dirt_with_grass"}, 0.35, {"grassy"}, 1, 100, {"default:grass_2", "default:grass_3",
|
||||
"default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.grassy)
|
||||
add_node({"ethereal:green_dirt"}, 0.35, {"grassytwo"}, 1, 100, {"default:grass_2", "default:grass_3",
|
||||
add_node({"default:dirt_with_grass"}, 0.35, {"grassytwo"}, 1, 100, {"default:grass_2", "default:grass_3",
|
||||
"default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.grassytwo)
|
||||
add_node({"ethereal:green_dirt"}, 0.35, {"jumble"}, 1, 100, {"default:grass_2", "default:grass_3",
|
||||
add_node({"default:dirt_with_grass"}, 0.35, {"jumble"}, 1, 100, {"default:grass_2", "default:grass_3",
|
||||
"default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.jumble)
|
||||
add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.35, {"junglee"}, 1, 100, {"default:grass_2", "default:grass_3",
|
||||
"default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.junglee)
|
||||
|
@ -504,7 +498,7 @@ add_node({"ethereal:grove_dirt"}, 0.35, {"grove"}, 1, 100, {"default:grass_2", "
|
|||
"default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.grove)
|
||||
add_node({"ethereal:bamboo_dirt"}, 0.35, {"bamboo"}, 1, 100, {"default:grass_2", "default:grass_3",
|
||||
"default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.bamboo)
|
||||
add_node({"ethereal:green_dirt"}, 0.35, {"clearing", "swamp"}, 1, 100, {"default:grass_3",
|
||||
add_node({"default:dirt_with_grass"}, 0.35, {"clearing", "swamp"}, 1, 100, {"default:grass_3",
|
||||
"default:grass_4"}, nil, nil, nil, 1)
|
||||
|
||||
-- grass on sand
|
||||
|
@ -512,22 +506,22 @@ add_node({"default:sand"}, 0.25, {"sandclay"}, 3, 4, {"default:grass_2", "defaul
|
|||
|
||||
-- ferns
|
||||
add_node({"ethereal:grove_dirt"}, 0.2, {"grove"}, 1, 100, {"ethereal:fern"}, nil, nil, nil, ethereal.grove)
|
||||
add_node({"ethereal:green_dirt"}, 0.1, {"swamp"}, 1, 100, {"ethereal:fern"}, nil, nil, nil, ethereal.swamp)
|
||||
add_node({"default:dirt_with_grass"}, 0.1, {"swamp"}, 1, 100, {"ethereal:fern"}, nil, nil, nil, ethereal.swamp)
|
||||
|
||||
-- snow
|
||||
add_node({"ethereal:cold_dirt"}, 0.8, {"snowy"}, 4, 40, {"default:snow"}, nil, nil, nil, ethereal.snowy)
|
||||
add_node({"default:dirt_with_snow"}, 0.8, {"alpine"}, 40, 140, {"default:snow"}, nil, nil, nil, ethereal.alpine)
|
||||
|
||||
-- wild onion
|
||||
add_node({"ethereal:green_dirt"}, 0.25, {"grassy"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.grassy)
|
||||
add_node({"ethereal:green_dirt"}, 0.25, {"grassytwo"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.grassytwo)
|
||||
add_node({"ethereal:green_dirt"}, 0.25, {"jumble"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.jumble)
|
||||
add_node({"default:dirt_with_grass"}, 0.25, {"grassy"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.grassy)
|
||||
add_node({"default:dirt_with_grass"}, 0.25, {"grassytwo"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.grassytwo)
|
||||
add_node({"default:dirt_with_grass"}, 0.25, {"jumble"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.jumble)
|
||||
add_node({"ethereal:prairie_dirt"}, 0.25, {"prairie"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.prairie)
|
||||
|
||||
-- papyrus
|
||||
add_node({"ethereal:green_dirt"}, 0.1, {"grassy"}, 1, 1, {"default:papyrus"}, 4, "default:water_source", 1, ethereal.grassy)
|
||||
add_node({"default:dirt_with_grass"}, 0.1, {"grassy"}, 1, 1, {"default:papyrus"}, 4, "default:water_source", 1, ethereal.grassy)
|
||||
add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.1, {"junglee"}, 1, 1, {"default:papyrus"}, 4, "default:water_source", 1, ethereal.junglee)
|
||||
add_node({"ethereal:green_dirt"}, 0.1, {"swamp"}, 1, 1, {"default:papyrus"}, 4, "default:water_source", 1, ethereal.swamp)
|
||||
add_node({"default:dirt_with_grass"}, 0.1, {"swamp"}, 1, 1, {"default:papyrus"}, 4, "default:water_source", 1, ethereal.swamp)
|
||||
|
||||
--= Farming Redo plants
|
||||
|
||||
|
@ -539,31 +533,33 @@ print ("[MOD] Ethereal - Farming Redo detected and in use")
|
|||
add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.035, {"junglee"}, 1, 100, {"farming:potato_3"}, nil, nil, nil, ethereal.junglee)
|
||||
|
||||
-- carrot, cucumber, potato, tomato, corn, coffee, raspberry, rhubarb
|
||||
add_node({"ethereal:green_dirt"}, 0.05, {"grassytwo"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4",
|
||||
add_node({"default:dirt_with_grass"}, 0.05, {"grassytwo"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4",
|
||||
"farming:potato_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5",
|
||||
"farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4"}, nil, nil, nil, ethereal.grassytwo)
|
||||
add_node({"ethereal:green_dirt"}, 0.05, {"grassy"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4",
|
||||
add_node({"default:dirt_with_grass"}, 0.05, {"grassy"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4",
|
||||
"farming:potato_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5",
|
||||
"farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4"}, nil, nil, nil, ethereal.grassy)
|
||||
add_node({"ethereal:green_dirt"}, 0.05, {"jumble"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4",
|
||||
"farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4",
|
||||
"farming:beetroot_5"}, nil, nil, nil, ethereal.grassy)
|
||||
add_node({"default:dirt_with_grass"}, 0.05, {"jumble"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4",
|
||||
"farming:potato_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5",
|
||||
"farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4"}, nil, nil, nil, ethereal.jumble)
|
||||
add_node({"ethereal:prairie_dirt"}, 0.05, {"prairie"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4",
|
||||
"farming:potato_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5",
|
||||
"farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4"}, nil, nil, nil, ethereal.prairie)
|
||||
"farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4",
|
||||
"farming:pea_5", "farming:beetroot_5"}, nil, nil, nil, ethereal.prairie)
|
||||
|
||||
-- melon and pumpkin
|
||||
add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.015, {"junglee"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.junglee)
|
||||
add_node({"ethereal:green_dirt"}, 0.015, {"grassy"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.grassy)
|
||||
add_node({"ethereal:green_dirt"}, 0.015, {"grassytwo"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.grassytwo)
|
||||
add_node({"ethereal:green_dirt"}, 0.015, {"jumble"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.jumble)
|
||||
add_node({"default:dirt_with_grass"}, 0.015, {"grassy"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.grassy)
|
||||
add_node({"default:dirt_with_grass"}, 0.015, {"grassytwo"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.grassytwo)
|
||||
add_node({"default:dirt_with_grass"}, 0.015, {"jumble"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.jumble)
|
||||
|
||||
-- green beans
|
||||
add_node({"ethereal:green_dirt"}, 0.035, {"grassytwo"}, 1, 100, {"farming:beanbush"}, nil, nil, nil, ethereal.grassytwo)
|
||||
add_node({"default:dirt_with_grass"}, 0.035, {"grassytwo"}, 1, 100, {"farming:beanbush"}, nil, nil, nil, ethereal.grassytwo)
|
||||
|
||||
-- grape bushel
|
||||
add_node({"ethereal:green_dirt"}, 0.025, {"grassytwo"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.grassytwo)
|
||||
add_node({"ethereal:green_dirt"}, 0.025, {"grassy"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.grassy)
|
||||
add_node({"default:dirt_with_grass"}, 0.025, {"grassytwo"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.grassytwo)
|
||||
add_node({"default:dirt_with_grass"}, 0.025, {"grassy"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.grassy)
|
||||
add_node({"ethereal:prairie_dirt"}, 0.025, {"prairie"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.prairie)
|
||||
|
||||
minetest.register_decoration({
|
||||
|
@ -588,6 +584,41 @@ minetest.register_decoration({
|
|||
num_spawn_by = 1,
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 0.09,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 760,
|
||||
octaves = 3,
|
||||
persist = 0.6
|
||||
},
|
||||
y_min = 5,
|
||||
y_max = 35,
|
||||
decoration = {"farming:chili_8", "farming:garlic_5", "farming:pepper_5", "farming:onion_5"},
|
||||
spawn_by = "group:tree",
|
||||
num_spawn_by = 1,
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 0.06,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 917,
|
||||
octaves = 3,
|
||||
persist = 0.6
|
||||
},
|
||||
y_min = 18,
|
||||
y_max = 30,
|
||||
decoration = {"farming:pineapple_8"},
|
||||
})
|
||||
end
|
||||
|
||||
-- place waterlily in beach areas
|
||||
|
@ -659,7 +690,7 @@ minetest.register_on_generated(function(minp, maxp)
|
|||
end)
|
||||
|
||||
-- coral reef (0.4.15 only)
|
||||
if ethereal.reefs == 1 and minetest.registered_nodes["default:coral_orange"] then
|
||||
if ethereal.reefs == 1 then
|
||||
|
||||
-- override corals so crystal shovel can pick them up intact
|
||||
minetest.override_item("default:coral_skeleton", {groups = {crumbly = 3}})
|
||||
|
@ -696,7 +727,7 @@ if minetest.get_modpath("bakedclay") then
|
|||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {
|
||||
"ethereal:prairie_grass", "ethereal:green_dirt",
|
||||
"ethereal:prairie_grass", "default:dirt_with_grass",
|
||||
"ethereal:grove_dirt"
|
||||
},
|
||||
sidelen = 16,
|
||||
|
@ -716,7 +747,7 @@ minetest.register_decoration({
|
|||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {
|
||||
"ethereal:prairie_grass", "ethereal:green_dirt",
|
||||
"ethereal:prairie_grass", "default:dirt_with_grass",
|
||||
"ethereal:grove_dirt", "ethereal:bamboo_dirt"
|
||||
},
|
||||
sidelen = 16,
|
||||
|
@ -754,7 +785,7 @@ minetest.register_decoration({
|
|||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"ethereal:green_dirt", "default:sand"},
|
||||
place_on = {"default:dirt_with_grass", "default:sand"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
|
@ -772,3 +803,14 @@ minetest.register_decoration({
|
|||
})
|
||||
|
||||
end
|
||||
|
||||
if ethereal.desert and minetest.get_modpath("wine") then
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:desert_sand"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.001,
|
||||
biomes = {"desert"},
|
||||
decoration = {"wine:blue_agave"},
|
||||
})
|
||||
end
|
||||
|
|
|
@ -13,7 +13,7 @@ minetest.register_craft({
|
|||
recipe = {
|
||||
{"flowers:mushroom_brown"},
|
||||
{"flowers:mushroom_brown"},
|
||||
{"ethereal:bowl"},
|
||||
{"group:food_bowl"},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ minetest.register_craftitem("ethereal:wild_onion_plant", {
|
|||
description = S("Wild Onion"),
|
||||
inventory_image = "wild_onion.png",
|
||||
wield_image = "wild_onion.png",
|
||||
groups = {food_onion = 1, flammable = 2},
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:wild_onion_1")
|
||||
end,
|
||||
|
|
|
@ -70,7 +70,7 @@ minetest.register_node("ethereal:vine", {
|
|||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 1},
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
legacy_wallmounted = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
@ -78,9 +78,9 @@ minetest.register_node("ethereal:vine", {
|
|||
minetest.register_craft({
|
||||
output = "ethereal:vine 2",
|
||||
recipe = {
|
||||
{"group:leaves", "group:leaves"},
|
||||
{"group:leaves", "group:leaves"},
|
||||
{"group:leaves", "group:leaves"},
|
||||
{"group:leaves", "", "group:leaves"},
|
||||
{"", "group:leaves", ""},
|
||||
{"group:leaves", "", "group:leaves"},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -100,7 +100,7 @@ minetest.register_node("ethereal:lightstring", {
|
|||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 1},
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
legacy_wallmounted = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
@ -146,6 +146,7 @@ minetest.register_node("ethereal:fern", {
|
|||
minetest.register_craftitem("ethereal:fern_tubers", {
|
||||
description = S("Fern Tubers"),
|
||||
inventory_image = "fern_tubers.png",
|
||||
groups = {food_tuber = 1, flammable = 2},
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
|
||||
|
@ -161,7 +162,7 @@ minetest.register_node("ethereal:dry_shrub", {
|
|||
waving = 1,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 2},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
|
|
@ -34,7 +34,7 @@ minetest.register_decoration({
|
|||
-- Grass
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"ethereal:prairie_dirt", "ethereal:green_dirt"},
|
||||
place_on = {"ethereal:prairie_dirt", "default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.005,
|
||||
biomes = {"prairie", "grassy", "grassytwo"},
|
||||
|
@ -48,7 +48,7 @@ minetest.register_decoration({
|
|||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {
|
||||
"ethereal:prairie_grass", "ethereal:green_dirt",
|
||||
"ethereal:prairie_grass", "default:dirt_with_grass",
|
||||
"ethereal:grove_dirt", "ethereal:bamboo_dirt"
|
||||
},
|
||||
sidelen = 16,
|
||||
|
@ -63,7 +63,7 @@ minetest.register_decoration({
|
|||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {
|
||||
"ethereal:prairie_grass", "ethereal:green_dirt",
|
||||
"ethereal:prairie_grass", "default:dirt_with_grass",
|
||||
"ethereal:grove_dirt"
|
||||
},
|
||||
sidelen = 16,
|
||||
|
@ -79,7 +79,7 @@ minetest.register_decoration({
|
|||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {
|
||||
"ethereal:prairie_grass", "ethereal:green_dirt",
|
||||
"ethereal:prairie_grass", "default:dirt_with_grass",
|
||||
"ethereal:grove_dirt", "ethereal:jungle_grass",
|
||||
"ethereal:gray_dirt", "default:dirt_with_rainforest_litter"
|
||||
},
|
||||
|
@ -96,7 +96,7 @@ minetest.register_decoration({
|
|||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"ethereal:jungle_dirt", "ethereal:green_dirt", "default:dirt_with_rainforest_litter"},
|
||||
place_on = {"ethereal:jungle_dirt", "default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.007,
|
||||
biomes = {"junglee", "jumble"},
|
||||
|
@ -144,7 +144,7 @@ minetest.register_decoration({
|
|||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:sand", "ethereal:green_dirt"},
|
||||
place_on = {"default:sand", "default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.015,
|
||||
biomes = {"sandclay", "grassy_ocean", "grassy", "grassytwo", "jumble", "swamp"},
|
||||
|
@ -161,7 +161,7 @@ minetest.register_decoration({
|
|||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {
|
||||
"ethereal:mushroom_dirt", "ethereal:green_dirt",
|
||||
"ethereal:mushroom_dirt", "default:dirt_with_grass",
|
||||
"ethereal:gray_dirt", "ethereal:cold_dirt",
|
||||
"ethereal:dirt_with_snow", "ethereal:jungle_dirt",
|
||||
"ethereal:prairie_dirt", "ethereal:grove_dirt",
|
||||
|
@ -184,7 +184,7 @@ minetest.register_decoration({
|
|||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {
|
||||
"ethereal:green_dirt",
|
||||
"default:dirt_with_grass",
|
||||
},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.004,
|
||||
|
|
|
@ -12,8 +12,8 @@ minetest.register_node("ethereal:bamboo_sprout", {
|
|||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = {
|
||||
snappy = 3, attached_node = 1, flammable = 2,
|
||||
dig_immediate = 3, ethereal_sapling = 1
|
||||
food_bamboo_sprout = 1, snappy = 3, attached_node = 1, flammable = 2,
|
||||
dig_immediate = 3, ethereal_sapling = 1, sapling = 1,
|
||||
},
|
||||
sounds = default.node_sound_defaults(),
|
||||
selection_box = {
|
||||
|
@ -165,7 +165,6 @@ ethereal.grow_sapling = function (pos, node)
|
|||
ethereal.grow_yellow_tree(pos)
|
||||
|
||||
elseif node.name == "ethereal:big_tree_sapling"
|
||||
--and under == "ethereal:green_dirt" then
|
||||
and under == "default:dirt_with_grass" then
|
||||
ethereal.grow_big_tree(pos)
|
||||
|
||||
|
@ -203,7 +202,6 @@ ethereal.grow_sapling = function (pos, node)
|
|||
ethereal.grow_bamboo_tree(pos)
|
||||
|
||||
elseif node.name == "ethereal:birch_sapling"
|
||||
--and under == "ethereal:green_dirt" then
|
||||
and under == "default:dirt_with_grass" then
|
||||
ethereal.grow_birch_tree(pos)
|
||||
end
|
||||
|
|
|
@ -17,7 +17,7 @@ minetest.register_node("ethereal:seaweed", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
|
||||
},
|
||||
post_effect_color = {a = 64, r = 100, g = 100, b = 200},
|
||||
groups = {snappy = 3},
|
||||
groups = {food_seaweed = 1, snappy = 3, flammable = 3},
|
||||
on_use = minetest.item_eat(1),
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
after_dig_node = function(pos, node, metadata, digger)
|
||||
|
@ -31,6 +31,25 @@ minetest.register_craft( {
|
|||
recipe = {"ethereal:seaweed",},
|
||||
})
|
||||
|
||||
-- agar powder
|
||||
minetest.register_craftitem("ethereal:agar_powder", {
|
||||
description = S("Agar Powder"),
|
||||
inventory_image = "ethereal_agar_powder.png",
|
||||
groups = {food_gelatin = 1, flammable = 2},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "ethereal:agar_powder 3",
|
||||
recipe = {
|
||||
{"group:food_seaweed", "group:food_seaweed", "group:food_seaweed"},
|
||||
{"bucket:bucket_water", "bucket:bucket_water", "default:torch"},
|
||||
{"bucket:bucket_water", "bucket:bucket_water", "default:torch"},
|
||||
},
|
||||
replacements = {
|
||||
{"bucket:bucket_water", "bucket:bucket_empty 4"},
|
||||
},
|
||||
})
|
||||
|
||||
-- Blue Coral
|
||||
minetest.register_node("ethereal:coral2", {
|
||||
description = S("Blue Coral"),
|
||||
|
|
|
@ -6,6 +6,7 @@ minetest.register_craftitem("ethereal:strawberry", {
|
|||
description = S("Strawberry"),
|
||||
inventory_image = "strawberry.png",
|
||||
wield_image = "strawberry.png",
|
||||
groups = {food_strawberry = 1, flammable = 2},
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:strawberry_1")
|
||||
end,
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 148 B |
Binary file not shown.
Before Width: | Height: | Size: 186 B |
Binary file not shown.
Before Width: | Height: | Size: 116 B |
Binary file not shown.
After Width: | Height: | Size: 148 B |
|
@ -117,7 +117,7 @@ minetest.register_abm({
|
|||
if node == "ethereal:dry_dirt" then
|
||||
minetest.swap_node(pos, {name = "default:dirt"})
|
||||
else
|
||||
minetest.swap_node(pos, {name = "ethereal:green_dirt"})
|
||||
minetest.swap_node(pos, {name = "default:dirt_with_grass"})
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue