Compare commits
5 Commits
87031b6051
...
b1cf8fb343
Author | SHA1 | Date |
---|---|---|
|
b1cf8fb343 | |
|
7737b6d44e | |
|
77fc2ab5d6 | |
|
1bd6be68e1 | |
|
c378e96af8 |
14
dirt.lua
14
dirt.lua
|
@ -1,5 +1,5 @@
|
|||
-- override default dirt (to stop caves cutting away dirt)
|
||||
minetest.override_item("default:dirt", {is_ground_content = false})
|
||||
minetest.override_item("default:dirt", {is_ground_content = ethereal.cavedirt})
|
||||
|
||||
-- green dirt
|
||||
minetest.register_node("ethereal:green_dirt", {
|
||||
|
@ -9,7 +9,7 @@ minetest.register_node("ethereal:green_dirt", {
|
|||
"default_dirt.png",
|
||||
"default_dirt.png^default_grass_side.png"
|
||||
},
|
||||
is_ground_content = false,
|
||||
is_ground_content = ethereal.cavedirt,
|
||||
groups = {crumbly = 3, soil = 1, ethereal_grass = 1},
|
||||
soil = {
|
||||
base = "ethereal:green_dirt",
|
||||
|
@ -24,7 +24,7 @@ minetest.register_node("ethereal:green_dirt", {
|
|||
minetest.register_node("ethereal:dry_dirt", {
|
||||
description = "Dried Dirt",
|
||||
tiles = {"ethereal_dry_dirt.png"},
|
||||
is_ground_content = false,
|
||||
is_ground_content = ethereal.cavedirt,
|
||||
groups = {crumbly = 3},
|
||||
sounds = default.node_sound_dirt_defaults()
|
||||
})
|
||||
|
@ -53,7 +53,7 @@ for n = 1, #dirts do
|
|||
"default_dirt.png",
|
||||
"default_dirt.png^ethereal_grass_"..name.."_side.png"
|
||||
},
|
||||
is_ground_content = false,
|
||||
is_ground_content = ethereal.cavedirt,
|
||||
groups = {crumbly = 3, soil = 1, ethereal_grass = 1},
|
||||
soil = {
|
||||
base = "ethereal:"..name.."_dirt",
|
||||
|
@ -143,7 +143,7 @@ if not minetest.get_modpath("bakedclay") then
|
|||
description = "Red Baked Clay",
|
||||
tiles = {"baked_clay_red.png"},
|
||||
groups = {cracky = 3},
|
||||
is_ground_content = false,
|
||||
is_ground_content = ethereal.cavedirt,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
|
@ -151,7 +151,7 @@ if not minetest.get_modpath("bakedclay") then
|
|||
description = "Orange Baked Clay",
|
||||
tiles = {"baked_clay_orange.png"},
|
||||
groups = {cracky = 3},
|
||||
is_ground_content = false,
|
||||
is_ground_content = ethereal.cavedirt,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
|
@ -159,7 +159,7 @@ if not minetest.get_modpath("bakedclay") then
|
|||
description = "Grey Baked Clay",
|
||||
tiles = {"baked_clay_grey.png"},
|
||||
groups = {cracky = 3},
|
||||
is_ground_content = false,
|
||||
is_ground_content = ethereal.cavedirt,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ minetest.register_abm({
|
|||
local fflower = minetest.find_nodes_in_area_under_air(
|
||||
pos0, pos1, {"ethereal:fire_flower"})
|
||||
|
||||
if #grass > 6
|
||||
if #grass > 7
|
||||
and #fflower < 1 then
|
||||
|
||||
grass = grass[math.random(#grass)]
|
||||
|
|
5
init.lua
5
init.lua
|
@ -9,8 +9,9 @@
|
|||
]]
|
||||
|
||||
ethereal = {}
|
||||
ethereal.leaftype = 1 -- 0 for 2D plantlike, 1 for 3D allfaces
|
||||
ethereal.leafwalk = true -- true for walkable leaves, false to fall through
|
||||
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
|
||||
|
||||
-- Set following to 1 to enable biome or 0 to disable
|
||||
ethereal.glacier = 1 -- Ice glaciers with snow
|
||||
|
|
10
leaves.lua
10
leaves.lua
|
@ -105,7 +105,7 @@ minetest.override_item("default:leaves", {
|
|||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"ethereal:tree_sapling"}, rarity = 20},
|
||||
{items = {"ethereal:tree_sapling"}, rarity = 15},
|
||||
{items = {"default:leaves"}}
|
||||
}
|
||||
},
|
||||
|
@ -126,7 +126,7 @@ minetest.register_node("ethereal:orange_leaves", {
|
|||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"ethereal:orange_tree_sapling"}, rarity = 20},
|
||||
{items = {"ethereal:orange_tree_sapling"}, rarity = 15},
|
||||
{items = {"ethereal:orange_leaves"}}
|
||||
}
|
||||
},
|
||||
|
@ -165,7 +165,7 @@ minetest.register_node("ethereal:bananaleaves", {
|
|||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"ethereal:banana_tree_sapling"}, rarity = 20},
|
||||
{items = {"ethereal:banana_tree_sapling"}, rarity = 15},
|
||||
{items = {"ethereal:bananaleaves"}}
|
||||
}
|
||||
},
|
||||
|
@ -214,7 +214,7 @@ minetest.register_node("ethereal:palmleaves", {
|
|||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"ethereal:palm_sapling"}, rarity = 20},
|
||||
{items = {"ethereal:palm_sapling"}, rarity = 15},
|
||||
{items = {"ethereal:palmleaves"}}
|
||||
}
|
||||
},
|
||||
|
@ -279,7 +279,7 @@ minetest.register_node("ethereal:frost_leaves", {
|
|||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"ethereal:frost_tree_sapling"}, rarity = 20},
|
||||
{items = {"ethereal:frost_tree_sapling"}, rarity = 15},
|
||||
{items = {"ethereal:frost_leaves"}}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -50,6 +50,37 @@ minetest.register_craft({
|
|||
burntime = 20,
|
||||
})
|
||||
|
||||
|
||||
-- light strings (glowing vine)
|
||||
minetest.register_node("ethereal:lightstring", {
|
||||
description = "Light String Vine",
|
||||
drawtype = "signlike",
|
||||
tiles = {"lightstring.png"},
|
||||
inventory_image = "lightstring.png",
|
||||
wield_image = "lightstring.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
light_source = 10,
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 1},
|
||||
legacy_wallmounted = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "ethereal:lightstring 8",
|
||||
recipe = {
|
||||
{"ethereal:vine", "ethereal:vine", "ethereal:vine"},
|
||||
{"ethereal:vine", "ethereal:fire_dust", "ethereal:vine"},
|
||||
{"ethereal:vine", "ethereal:vine", "ethereal:vine"},
|
||||
},
|
||||
})
|
||||
|
||||
-- Fern (boston)
|
||||
minetest.register_node("ethereal:fern", {
|
||||
description = "Fern",
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 201 B |
Loading…
Reference in New Issue