change texture names to begin with ethereal_

This commit is contained in:
tenplus1 2021-04-02 21:06:43 +01:00
parent ebfeb42159
commit 026d59bedd
119 changed files with 529 additions and 529 deletions

View File

@ -21,6 +21,7 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
- Added new Fishing mechanics (inspired by Rootyjr's on mineclone2)
- Added fishing api to add new items (read API.txt file)
- Certain fish can only be found in specific biomes
- Rename textures so they begin with ethereal_ (sorry texture pack folks)
### 1.27

View File

@ -1,13 +1,14 @@
local S = ethereal.intllib
-- Crystal Spike (Hurts if you touch it - thanks to ZonerDarkRevention for his DokuCraft DeviantArt crystal texture)
-- Crystal Spike (Hurts if you touch it)
-- thanks to ZonerDarkRevention for his DokuCraft DeviantArt crystal texture
minetest.register_node("ethereal:crystal_spike", {
description = S("Crystal Spike"),
drawtype = "plantlike",
tiles = { "crystal_spike.png" },
inventory_image = "crystal_spike.png",
wield_image = "crystal_spike.png",
tiles = {"ethereal_crystal_spike.png"},
inventory_image = "ethereal_crystal_spike.png",
wield_image = "ethereal_crystal_spike.png",
paramtype = "light",
light_source = 7,
sunlight_propagates = true,
@ -22,14 +23,14 @@ minetest.register_node("ethereal:crystal_spike", {
node_box = {
type = "fixed",
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0, 5 / 16},
},
}
})
-- Crystal Ingot
minetest.register_craftitem("ethereal:crystal_ingot", {
description = S("Crystal Ingot"),
inventory_image = "crystal_ingot.png",
wield_image = "crystal_ingot.png",
inventory_image = "ethereal_crystal_ingot.png",
wield_image = "ethereal_crystal_ingot.png"
})
if minetest.get_modpath("builtin_item") then
@ -98,11 +99,11 @@ minetest.register_craft({
-- Crystal Block
minetest.register_node("ethereal:crystal_block", {
description = S("Crystal Block"),
tiles = {"crystal_block.png"},
tiles = {"ethereal_crystal_block.png"},
light_source = 9,
is_ground_content = false,
groups = {cracky = 1, level = 2, puts_out_fire = 1, cools_lava = 1},
sounds = default.node_sound_glass_defaults(),
sounds = default.node_sound_glass_defaults()
})
minetest.register_craft({
@ -124,8 +125,8 @@ minetest.register_craft({
-- Crystal Sword (Powerful wee beastie)
minetest.register_tool("ethereal:sword_crystal", {
description = S("Crystal Sword"),
inventory_image = "crystal_sword.png",
wield_image = "crystal_sword.png",
inventory_image = "ethereal_crystal_sword.png",
wield_image = "ethereal_crystal_sword.png",
tool_capabilities = {
full_punch_interval = 0.6,
max_drop_level = 1,
@ -139,7 +140,7 @@ minetest.register_tool("ethereal:sword_crystal", {
damage_groups = {fleshy = 10},
},
groups = {sword = 1},
sound = {breaks = "default_tool_breaks"},
sound = {breaks = "default_tool_breaks"}
})
minetest.register_craft({
@ -147,15 +148,15 @@ minetest.register_craft({
recipe = {
{"ethereal:crystal_ingot"},
{"ethereal:crystal_ingot"},
{"default:steel_ingot"},
{"default:steel_ingot"}
}
})
-- Crystal Axe
minetest.register_tool("ethereal:axe_crystal", {
description = S("Crystal Axe"),
inventory_image = "crystal_axe.png",
wield_image = "crystal_axe.png",
inventory_image = "ethereal_crystal_axe.png",
wield_image = "ethereal_crystal_axe.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level = 1,
@ -164,12 +165,12 @@ minetest.register_tool("ethereal:axe_crystal", {
times = {[1] = 2.00, [2] = 0.80, [3] = 0.40},
uses = 40,
maxlevel = 3
},
}
},
damage_groups = {fleshy = 7},
},
groups = {axe = 1},
sound = {breaks = "default_tool_breaks"},
sound = {breaks = "default_tool_breaks"}
})
minetest.register_craft({
@ -177,7 +178,7 @@ minetest.register_craft({
recipe = {
{"ethereal:crystal_ingot", "ethereal:crystal_ingot"},
{"ethereal:crystal_ingot", "default:steel_ingot"},
{"", "default:steel_ingot"},
{"", "default:steel_ingot"}
}
})
@ -186,15 +187,15 @@ minetest.register_craft({
recipe = {
{"ethereal:crystal_ingot", "ethereal:crystal_ingot"},
{"default:steel_ingot", "ethereal:crystal_ingot"},
{"default:steel_ingot", ""},
{"default:steel_ingot", ""}
}
})
-- Crystal Pick (This will last a while)
minetest.register_tool("ethereal:pick_crystal", {
description = S("Crystal Pickaxe"),
inventory_image = "crystal_pick.png",
wield_image = "crystal_pick.png",
inventory_image = "ethereal_crystal_pick.png",
wield_image = "ethereal_crystal_pick.png",
tool_capabilities = {
full_punch_interval = 0.7,
max_drop_level = 3,
@ -203,12 +204,12 @@ minetest.register_tool("ethereal:pick_crystal", {
times = {[1] = 1.8, [2] = 0.8, [3] = 0.40},
uses = 40,
maxlevel = 3
},
}
},
damage_groups = {fleshy = 6},
},
groups = {pickaxe = 1},
sound = {breaks = "default_tool_breaks"},
sound = {breaks = "default_tool_breaks"}
})
minetest.register_craft({
@ -216,7 +217,7 @@ minetest.register_craft({
recipe = {
{"ethereal:crystal_ingot", "ethereal:crystal_ingot", "ethereal:crystal_ingot"},
{"", "default:steel_ingot", ""},
{"", "default:steel_ingot", ""},
{"", "default:steel_ingot", ""}
}
})
@ -242,8 +243,8 @@ end
minetest.register_tool("ethereal:shovel_crystal", {
description = "Crystal Shovel",
inventory_image = "crystal_shovel.png",
wield_image = "crystal_shovel.png^[transformR90",
inventory_image = "ethereal_crystal_shovel.png",
wield_image = "ethereal_crystal_shovel.png^[transformR90",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1,
@ -252,12 +253,12 @@ minetest.register_tool("ethereal:shovel_crystal", {
times = {[1] = 1.10, [2] = 0.50, [3] = 0.30},
uses = 30,
maxlevel = 3
},
}
},
damage_groups = {fleshy = 4},
},
groups = {shovel = 1},
sound = {breaks = "default_tool_breaks"},
sound = {breaks = "default_tool_breaks"}
})
minetest.register_craft({
@ -265,21 +266,21 @@ minetest.register_craft({
recipe = {
{"ethereal:crystal_ingot"},
{"default:steel_ingot"},
{"default:steel_ingot"},
{"default:steel_ingot"}
}
})
-- Crystal Gilly Staff (replenishes air supply when used)
minetest.register_tool("ethereal:crystal_gilly_staff", {
description = S("Crystal Gilly Staff"),
inventory_image = "crystal_gilly_staff.png",
wield_image = "crystal_gilly_staff.png",
inventory_image = "ethereal_crystal_gilly_staff.png",
wield_image = "ethereal_crystal_gilly_staff.png",
on_use = function(itemstack, user, pointed_thing)
if user:get_breath() < 10 then
user:set_breath(10)
end
end,
end
})
minetest.register_craft({

View File

@ -237,7 +237,7 @@ if not minetest.get_modpath("bakedclay") then
tiles = {"baked_clay_red.png"},
groups = {cracky = 3},
is_ground_content = ethereal.cavedirt,
sounds = default.node_sound_stone_defaults(),
sounds = default.node_sound_stone_defaults()
})
minetest.register_node(":bakedclay:orange", {
@ -245,7 +245,7 @@ if not minetest.get_modpath("bakedclay") then
tiles = {"baked_clay_orange.png"},
groups = {cracky = 3},
is_ground_content = ethereal.cavedirt,
sounds = default.node_sound_stone_defaults(),
sounds = default.node_sound_stone_defaults()
})
minetest.register_node(":bakedclay:grey", {
@ -253,7 +253,7 @@ if not minetest.get_modpath("bakedclay") then
tiles = {"baked_clay_grey.png"},
groups = {cracky = 3},
is_ground_content = ethereal.cavedirt,
sounds = default.node_sound_stone_defaults(),
sounds = default.node_sound_stone_defaults()
})
end
@ -275,7 +275,7 @@ minetest.register_node("ethereal:quicksand", {
climbable = false,
post_effect_color = {r = 230, g = 210, b = 160, a = 245},
groups = {crumbly = 3, sand = 1, liquid = 3, disable_jump = 1},
sounds = default.node_sound_sand_defaults(),
sounds = default.node_sound_sand_defaults()
})
-- Quicksand (new style, sinking inside shows yellow effect with or without noclip,
@ -297,7 +297,7 @@ minetest.register_node("ethereal:quicksand2", {
climbable = false,
post_effect_color = {r = 230, g = 210, b = 160, a = 245},
groups = {crumbly = 3, sand = 1, liquid = 3, disable_jump = 1},
sounds = default.node_sound_sand_defaults(),
sounds = default.node_sound_sand_defaults()
})
-- craft quicksand
@ -306,7 +306,7 @@ minetest.register_craft({
recipe = {
{"group:sand", "group:sand", "group:sand"},
{"group:sand", "bucket:bucket_water", "group:sand"},
{"group:sand", "group:sand", "group:sand"},
{"group:sand", "group:sand", "group:sand"}
},
replacements = {
{"bucket:bucket_water", "bucket:bucket_empty"}

View File

@ -21,9 +21,9 @@ minetest.register_node("ethereal:etherium_ore", {
minetest.register_node("ethereal:bamboo_floor", {
description = S("Bamboo Floor"),
drawtype = "nodebox",
tiles = { "bamboo_floor.png" },
wield_image = "bamboo_floor.png",
inventory_image = "bamboo_floor.png",
tiles = {"ethereal_bamboo_floor.png"},
wield_image = "ethereal_bamboo_floor.png",
inventory_image = "ethereal_bamboo_floor.png",
paramtype = "light",
paramtype2 = "wallmounted",
walkable = true,
@ -31,11 +31,11 @@ minetest.register_node("ethereal:bamboo_floor", {
type = "wallmounted",
wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5}
},
selection_box = {type = "wallmounted"},
groups = {snappy = 3, choppy = 3 , flammable = 2},
sounds = default.node_sound_wood_defaults(),
sounds = default.node_sound_wood_defaults()
})
-- Craft Bamboo into Bamboo Flooring
@ -43,7 +43,7 @@ minetest.register_craft({
output = "ethereal:bamboo_floor 2",
recipe = {
{"ethereal:bamboo", "ethereal:bamboo"},
{"ethereal:bamboo", "ethereal:bamboo"},
{"ethereal:bamboo", "ethereal:bamboo"}
}
})
@ -58,10 +58,10 @@ minetest.register_craft({
-- Bamboo Block
minetest.register_node("ethereal:bamboo_block", {
description = S("Bamboo Block"),
tiles = { "bamboo_floor.png" },
tiles = {"ethereal_bamboo_floor.png"},
paramtype = "light",
groups = {snappy = 3, choppy = 3 , flammable = 2, wood = 1},
sounds = default.node_sound_wood_defaults(),
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
@ -69,7 +69,7 @@ minetest.register_craft({
recipe = {
{"ethereal:bamboo", "ethereal:bamboo", "ethereal:bamboo"},
{"ethereal:bamboo", "ethereal:bamboo", "ethereal:bamboo"},
{"ethereal:bamboo", "ethereal:bamboo", "ethereal:bamboo"},
{"ethereal:bamboo", "ethereal:bamboo", "ethereal:bamboo"}
}
})
@ -79,7 +79,7 @@ minetest.register_craft({
recipe = {
{"ethereal:bamboo", "ethereal:bamboo"},
{"ethereal:bamboo", "ethereal:bamboo"},
{"ethereal:bamboo", "ethereal:bamboo"},
{"ethereal:bamboo", "ethereal:bamboo"}
}
})
@ -102,7 +102,7 @@ for n = 1, #cheat do
recipe = {
{cheat[n][1], "", cheat[n][1]},
{"", cheat[n][1], ""},
{cheat[n][1], "", cheat[n][1]},
{cheat[n][1], "", cheat[n][1]}
}
})
end
@ -120,8 +120,8 @@ minetest.register_craft({
-- Palm Wax
minetest.register_craftitem("ethereal:palm_wax", {
description = S("Palm Wax"),
inventory_image = "palm_wax.png",
wield_image = "palm_wax.png",
inventory_image = "ethereal_palm_wax.png",
wield_image = "ethereal_palm_wax.png"
})
minetest.register_craft({
@ -135,18 +135,18 @@ minetest.register_craft({
minetest.register_node("ethereal:candle", {
description = S("Candle"),
drawtype = "plantlike",
inventory_image = "candle_static.png",
wield_image = "candle_static.png",
inventory_image = "ethereal_candle_static.png",
wield_image = "ethereal_candle_static.png",
tiles = {
{
name = "candle.png",
name = "ethereal_candle.png",
animation = {
type="vertical_frames",
aspect_w = 32,
aspect_h = 32,
length = 1.0
}
},
}
},
paramtype = "light",
light_source = 11,
@ -157,7 +157,7 @@ minetest.register_node("ethereal:candle", {
selection_box = {
type = "fixed",
fixed = { -0.15, -0.5, -0.15, 0.15, 0, 0.15 }
},
}
})
minetest.register_craft({
@ -165,15 +165,15 @@ minetest.register_craft({
recipe = {
{"farming:string"},
{"ethereal:palm_wax"},
{"ethereal:palm_wax"},
{"ethereal:palm_wax"}
}
})
-- Wooden Bowl
minetest.register_craftitem("ethereal:bowl", {
description = S("Bowl"),
inventory_image = "bowl.png",
groups = {food_bowl = 1, flammable = 2},
inventory_image = "ethereal_bowl.png",
groups = {food_bowl = 1, flammable = 2}
})
-- use farming redo's recipe if found
@ -183,7 +183,7 @@ if not minetest.registered_items["farming:bowl"] then
output = "ethereal:bowl 4",
recipe = {
{"group:wood", "", "group:wood"},
{"", "group:wood", ""},
{"", "group:wood", ""}
}
})
end
@ -192,9 +192,9 @@ end
minetest.register_node("ethereal:stone_ladder", {
description = S("Stone Ladder"),
drawtype = "signlike",
tiles = {"stone_ladder.png"},
inventory_image = "stone_ladder.png",
wield_image = "stone_ladder.png",
tiles = {"ethereal_stone_ladder.png"},
inventory_image = "ethereal_stone_ladder.png",
wield_image = "ethereal_stone_ladder.png",
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "wallmounted",
@ -202,11 +202,11 @@ minetest.register_node("ethereal:stone_ladder", {
climbable = true,
is_ground_content = false,
selection_box = {
type = "wallmounted",
type = "wallmounted"
},
groups = {cracky = 3, oddly_breakable_by_hand = 1},
legacy_wallmounted = true,
sounds = default.node_sound_stone_defaults(),
sounds = default.node_sound_stone_defaults()
})
minetest.register_craft({
@ -214,7 +214,7 @@ minetest.register_craft({
recipe = {
{"group:stone", "", "group:stone"},
{"group:stone", "group:stone", "group:stone"},
{"group:stone", "", "group:stone"},
{"group:stone", "", "group:stone"}
}
})
@ -222,9 +222,9 @@ minetest.register_craft({
minetest.register_node("ethereal:paper_wall", {
drawtype = "nodebox",
description = S("Paper Wall"),
tiles = {"paper_wall.png"},
inventory_image_image = "paper_wall.png",
wield_image = "paper_wall.png",
tiles = {"ethereal_paper_wall.png"},
inventory_image_image = "ethereal_paper_wall.png",
wield_image = "ethereal_paper_wall.png",
paramtype = "light",
groups = {snappy = 3},
sounds = default.node_sound_wood_defaults(),
@ -241,7 +241,7 @@ minetest.register_node("ethereal:paper_wall", {
fixed = {
{ -0.5, -0.5, 5/11, 0.5, 0.5, 8/16 }
}
},
}
})
minetest.register_craft({
@ -249,18 +249,18 @@ minetest.register_craft({
recipe = {
{"group:stick", "default:paper", "group:stick"},
{"group:stick", "default:paper", "group:stick"},
{"group:stick", "default:paper", "group:stick"},
{"group:stick", "default:paper", "group:stick"}
}
})
-- Glostone (A little bit of light decoration)
minetest.register_node("ethereal:glostone", {
description = S("Glo Stone"),
tiles = {"glostone.png"},
tiles = {"ethereal_glostone.png"},
groups = {cracky = 3},
light_source = 13,
drop = "ethereal:glostone",
sounds = default.node_sound_stone_defaults(),
sounds = default.node_sound_stone_defaults()
})
minetest.register_craft({
@ -272,7 +272,7 @@ minetest.register_craft({
-- Charcoal Lump
minetest.register_craftitem("ethereal:charcoal_lump", {
description = S("Lump of Charcoal"),
inventory_image = "charcoal_lump.png",
inventory_image = "ethereal_charcoal_lump.png"
})
minetest.register_craft({
@ -292,7 +292,7 @@ minetest.register_craft({
minetest.register_craft({
type = "fuel",
recipe = "ethereal:charcoal_lump",
burntime = 10,
burntime = 10
})
-- Make Torch from Charcoal Lump
@ -300,15 +300,15 @@ minetest.register_craft({
output = "default:torch 4",
recipe = {
{"ethereal:charcoal_lump"},
{"default:stick"},
{"default:stick"}
}
})
-- Staff of Light (by Xanthin)
minetest.register_tool("ethereal:light_staff", {
description = S("Staff of Light"),
inventory_image = "light_staff.png",
wield_image = "light_staff.png",
inventory_image = "ethereal_light_staff.png",
wield_image = "ethereal_light_staff.png",
sound = {breaks = "default_tool_breaks"},
stack_max = 1,
on_use = function(itemstack, user, pointed_thing)
@ -339,8 +339,7 @@ minetest.register_tool("ethereal:light_staff", {
return itemstack
end
end,
end
})
minetest.register_craft({

View File

@ -3,7 +3,7 @@ local S = ethereal.intllib
default.register_fence("ethereal:fence_scorched", {
description = S("Scorched Fence"),
texture = "scorched_tree.png",
texture = "ethereal_scorched_tree.png",
material = "ethereal:scorched_tree",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
@ -12,7 +12,7 @@ default.register_fence("ethereal:fence_scorched", {
default.register_fence("ethereal:fence_frostwood", {
description = S("Frost Fence"),
texture = "frost_wood.png",
texture = "ethereal_frost_wood.png",
material = "ethereal:frost_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
@ -21,7 +21,7 @@ default.register_fence("ethereal:fence_frostwood", {
default.register_fence("ethereal:fence_redwood", {
description = S("Redwood Fence"),
texture = "redwood_wood.png",
texture = "ethereal_redwood_wood.png",
material = "ethereal:redwood_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
@ -30,7 +30,7 @@ default.register_fence("ethereal:fence_redwood", {
default.register_fence("ethereal:fence_willow", {
description = S("Willow Fence"),
texture = "willow_wood.png",
texture = "ethereal_willow_wood.png",
material = "ethereal:willow_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
@ -39,7 +39,7 @@ default.register_fence("ethereal:fence_willow", {
default.register_fence("ethereal:fence_yellowwood", {
description = S("Healing Wood Fence"),
texture = "yellow_wood.png",
texture = "ethereal_yellow_wood.png",
material = "ethereal:yellow_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
@ -57,7 +57,7 @@ default.register_fence("ethereal:fence_palm", {
default.register_fence("ethereal:fence_banana", {
description = S("Banana Wood Fence"),
texture = "banana_wood.png",
texture = "ethereal_banana_wood.png",
material = "ethereal:banana_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
@ -66,7 +66,7 @@ default.register_fence("ethereal:fence_banana", {
default.register_fence("ethereal:fence_mushroom", {
description = S("Mushroom Fence"),
texture = "mushroom_trunk.png",
texture = "ethereal_mushroom_trunk.png",
material = "ethereal:mushroom_trunk",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
@ -97,7 +97,7 @@ if default.register_fence_rail then
default.register_fence_rail("ethereal:fence_rail_scorched", {
description = S("Scorched Fence Rail"),
texture = "scorched_tree.png",
texture = "ethereal_scorched_tree.png",
material = "ethereal:scorched_tree",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults()
@ -105,7 +105,7 @@ default.register_fence_rail("ethereal:fence_rail_scorched", {
default.register_fence_rail("ethereal:fence_rail_frostwood", {
description = S("Frost Fence Rail"),
texture = "frost_wood.png",
texture = "ethereal_frost_wood.png",
material = "ethereal:frost_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults()
@ -113,7 +113,7 @@ default.register_fence_rail("ethereal:fence_rail_frostwood", {
default.register_fence_rail("ethereal:fence_rail_redwood", {
description = S("Redwood Fence Rail"),
texture = "redwood_wood.png",
texture = "ethereal_redwood_wood.png",
material = "ethereal:redwood_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults()
@ -121,7 +121,7 @@ default.register_fence_rail("ethereal:fence_rail_redwood", {
default.register_fence_rail("ethereal:fence_rail_willow", {
description = S("Willow Fence Rail"),
texture = "willow_wood.png",
texture = "ethereal_willow_wood.png",
material = "ethereal:willow_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults()
@ -129,7 +129,7 @@ default.register_fence_rail("ethereal:fence_rail_willow", {
default.register_fence_rail("ethereal:fence_rail_yellowwood", {
description = S("Healing Wood Fence Rail"),
texture = "yellow_wood.png",
texture = "ethereal_yellow_wood.png",
material = "ethereal:yellow_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults()
@ -145,7 +145,7 @@ default.register_fence_rail("ethereal:fence_rail_palm", {
default.register_fence_rail("ethereal:fence_rail_banana", {
description = S("Banana Wood Fence Rail"),
texture = "banana_wood.png",
texture = "ethereal_banana_wood.png",
material = "ethereal:banana_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults()
@ -153,7 +153,7 @@ default.register_fence_rail("ethereal:fence_rail_banana", {
default.register_fence_rail("ethereal:fence_rail_mushroom", {
description = S("Mushroom Fence Rail"),
texture = "mushroom_trunk.png",
texture = "ethereal_mushroom_trunk.png",
material = "ethereal:mushroom_trunk",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults()

View File

@ -530,8 +530,8 @@ minetest.register_craft({
-- Sashimi (Thanks to Natalia Grosner for letting me use the sashimi image)
minetest.register_craftitem("ethereal:sashimi", {
description = S("Sashimi"),
inventory_image = "sashimi.png",
wield_image = "sashimi.png",
inventory_image = "ethereal_sashimi.png",
wield_image = "ethereal_sashimi.png",
on_use = minetest.item_eat(4)
})
@ -545,14 +545,14 @@ minetest.register_craft({
-- Worm
minetest.register_craftitem("ethereal:worm", {
description = S("Worm"),
inventory_image = "worm.png",
wield_image = "worm.png",
inventory_image = "ethereal_worm.png",
wield_image = "ethereal_worm.png"
})
minetest.register_craft({
output = "ethereal:worm",
recipe = {
{"default:dirt","default:dirt"},
{"default:dirt","default:dirt"}
}
})

View File

@ -5,9 +5,9 @@ local S = ethereal.intllib
minetest.register_node("ethereal:banana", {
description = S("Banana"),
drawtype = "torchlike",
tiles = {"banana_single.png"},
inventory_image = "banana_single.png",
wield_image = "banana_single.png",
tiles = {"ethereal_banana_single.png"},
inventory_image = "ethereal_banana_single.png",
wield_image = "ethereal_banana_single.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
@ -26,16 +26,16 @@ minetest.register_node("ethereal:banana", {
if placer:is_player() then
minetest.set_node(pos, {name = "ethereal:banana", param2 = 1})
end
end,
end
})
-- Banana Bunch
minetest.register_node("ethereal:banana_bunch", {
description = S("Banana Bunch"),
drawtype = "torchlike",
tiles = {"banana_bunch.png"},
inventory_image = "banana_bunch.png",
wield_image = "banana_bunch.png",
tiles = {"ethereal_banana_bunch.png"},
inventory_image = "ethereal_banana_bunch.png",
wield_image = "ethereal_banana_bunch.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
@ -54,7 +54,7 @@ minetest.register_node("ethereal:banana_bunch", {
if placer:is_player() then
minetest.set_node(pos, {name = "ethereal:banana_bunch", param2 = 1})
end
end,
end
})
-- Bunch to Single
@ -73,7 +73,7 @@ minetest.register_craft({
-- Banana Dough
minetest.register_craftitem("ethereal:banana_dough", {
description = S("Banana Dough"),
inventory_image = "banana_dough.png",
inventory_image = "ethereal_banana_dough.png"
})
minetest.register_craft({
@ -120,19 +120,19 @@ minetest.register_node("ethereal:orange", {
-- Pine Nuts (Heals 1/2 heart when eaten)
minetest.register_craftitem("ethereal:pine_nuts", {
description = S("Pine Nuts"),
inventory_image = "pine_nuts.png",
wield_image = "pine_nuts.png",
inventory_image = "ethereal_pine_nuts.png",
wield_image = "ethereal_pine_nuts.png",
groups = {food_pine_nuts = 1, flammable = 2},
on_use = minetest.item_eat(1),
on_use = minetest.item_eat(1)
})
-- Banana Loaf (Heals 3 hearts when eaten)
minetest.register_craftitem("ethereal:banana_bread", {
description = S("Banana Loaf"),
inventory_image = "banana_bread.png",
wield_image = "banana_bread.png",
inventory_image = "ethereal_banana_bread.png",
wield_image = "ethereal_banana_bread.png",
groups = {food_bread = 1, flammable = 3},
on_use = minetest.item_eat(6),
on_use = minetest.item_eat(6)
})
-- Coconut (Gives 4 coconut slices, each heal 1/2 heart)
@ -154,7 +154,7 @@ minetest.register_node("ethereal:coconut", {
choppy = 1, flammable = 1, leafdecay = 3, leafdecay_drop = 1
},
drop = "ethereal:coconut_slice 4",
sounds = default.node_sound_wood_defaults(),
sounds = default.node_sound_wood_defaults()
})
-- Coconut Slice (Heals half heart when eaten)
@ -163,7 +163,7 @@ minetest.register_craftitem("ethereal: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),
on_use = minetest.item_eat(1)
})
-- Golden Apple (Found on Healing Tree, heals all 10 hearts)
@ -197,15 +197,15 @@ minetest.register_node("ethereal:golden_apple", {
if placer:is_player() then
minetest.set_node(pos, {name = "ethereal:golden_apple", param2 = 1})
end
end,
end
})
-- Hearty Stew (Heals 5 hearts - thanks to ZonerDarkRevention for his DokuCraft DeviantArt bowl texture)
minetest.register_craftitem("ethereal:hearty_stew", {
description = S("Hearty Stew"),
inventory_image = "hearty_stew.png",
wield_image = "hearty_stew.png",
on_use = minetest.item_eat(10, "ethereal:bowl"),
inventory_image = "ethereal_hearty_stew.png",
wield_image = "ethereal_hearty_stew.png",
on_use = minetest.item_eat(10, "ethereal:bowl")
})
minetest.register_craft({
@ -213,7 +213,7 @@ minetest.register_craft({
recipe = {
{"group:food_onion","flowers:mushroom_brown", "group:food_tuber"},
{"","flowers:mushroom_brown", ""},
{"","group:food_bowl", ""},
{"","group:food_bowl", ""}
}
})
@ -224,7 +224,7 @@ minetest.register_craft({
recipe = {
{"group:food_onion","flowers:mushroom_brown", "group:food_beans"},
{"","flowers:mushroom_brown", ""},
{"","group:food_bowl", ""},
{"","group:food_bowl", ""}
}
})
end
@ -253,7 +253,7 @@ minetest.register_craftitem("ethereal:firethorn_jelly", {
inventory_image = "ethereal_firethorn_jelly.png",
wield_image = "ethereal_firethorn_jelly.png",
on_use = minetest.item_eat(2, "vessels:glass_bottle"),
groups = {vessel = 1},
groups = {vessel = 1}
})
if minetest.registered_items["farming:bowl"] then
@ -264,12 +264,12 @@ minetest.register_craft({
recipe = {
"farming:mortar_pestle","vessels:glass_bottle",
"ethereal:firethorn", "ethereal:firethorn", "ethereal:firethorn",
"bucket:bucket_water", "bucket:bucket_water", "bucket:bucket_water",
"bucket:bucket_water", "bucket:bucket_water", "bucket:bucket_water"
},
replacements = {
{"bucket:bucket_water", "bucket:bucket_empty 3"},
{"farming:mortar_pestle", "farming:mortar_pestle"},
},
{"farming:mortar_pestle", "farming:mortar_pestle"}
}
})
end
@ -278,9 +278,9 @@ end
minetest.register_node("ethereal:lemon", {
description = S("Lemon"),
drawtype = "plantlike",
tiles = {"lemon.png"},
inventory_image = "lemon_fruit.png",
wield_image = "lemon_fruit.png",
tiles = {"ethereal_lemon.png"},
inventory_image = "ethereal_lemon_fruit.png",
wield_image = "ethereal_lemon_fruit.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
@ -299,7 +299,7 @@ minetest.register_node("ethereal:lemon", {
if placer:is_player() then
minetest.set_node(pos, {name = "ethereal:lemon", param2 = 1})
end
end,
end
})
-- Candied Lemon
@ -308,7 +308,7 @@ minetest.register_craftitem("ethereal:candied_lemon", {
inventory_image = "ethereal_candied_lemon.png",
wield_image = "ethereal_candied_lemon.png",
groups = {food_candied_lemon = 1},
on_use = minetest.item_eat(5),
on_use = minetest.item_eat(5)
})
minetest.register_craft({
@ -319,7 +319,7 @@ minetest.register_craft({
},
replacements = {
{"farming:baking_tray", "farming:baking_tray"}
},
}
})
-- Lemonade
@ -356,9 +356,9 @@ minetest.register_craft({
minetest.register_node("ethereal:olive", {
description = S("Olive"),
drawtype = "plantlike",
tiles = {"olive.png"},
inventory_image = "olive_fruit.png",
wield_image = "olive_fruit.png",
tiles = {"ethereal_olive.png"},
inventory_image = "ethereal_olive_fruit.png",
wield_image = "ethereal_olive_fruit.png",
visual_scale = 0.2,
paramtype = "light",
sunlight_propagates = true,
@ -378,7 +378,7 @@ minetest.register_node("ethereal:olive", {
if placer:is_player() then
minetest.set_node(pos, {name = "ethereal:olive", param2 = 1})
end
end,
end
})
-- Olive Oil
@ -386,7 +386,7 @@ minetest.register_craftitem("ethereal:olive_oil", {
description = S("Olive Oil"),
inventory_image = "ethereal_olive_oil.png",
wield_image = "ethereal_olive_oil.png",
groups = {food_oil = 1, food_olive_oil = 1, vessel = 1},
groups = {food_oil = 1, food_olive_oil = 1, vessel = 1}
})
minetest.register_craft({
@ -399,14 +399,14 @@ minetest.register_craft({
},
replacements = {
{"farming:juicer", "farming:juicer"}
},
}
})
-- Kappa Maki (sushi with cucumber)
minetest.register_craftitem("ethereal:sushi_kappamaki", {
description = S("Kappa Maki Sushi"),
inventory_image = "ethereal_sushi_kappa_maki.png",
on_use = minetest.item_eat(3),
on_use = minetest.item_eat(3)
})
minetest.register_craft({
@ -420,7 +420,7 @@ minetest.register_craft({
minetest.register_craftitem("ethereal:sushi_nigiri", {
description = S("Nigiri Sushi"),
inventory_image = "ethereal_sushi_nigiri.png",
on_use = minetest.item_eat(2),
on_use = minetest.item_eat(2)
})
minetest.register_craft({
@ -434,7 +434,7 @@ minetest.register_craft({
minetest.register_craftitem("ethereal:sushi_tamago", {
description = S("Tamago Sushi"),
inventory_image = "ethereal_sushi_tamago.png",
on_use = minetest.item_eat(2),
on_use = minetest.item_eat(2)
})
minetest.register_craft({

View File

@ -5,35 +5,35 @@ local S = ethereal.intllib
doors.register_fencegate("ethereal:fencegate_scorched", {
description = S("Scorched Wood Fence Gate"),
texture = "scorched_tree.png",
texture = "ethereal_scorched_tree.png",
material = "ethereal:scorched_tree",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
})
doors.register_fencegate("ethereal:fencegate_frostwood", {
description = S("Frost Wood Fence Gate"),
texture = "frost_wood.png",
texture = "ethereal_frost_wood.png",
material = "ethereal:frost_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
})
doors.register_fencegate("ethereal:fencegate_redwood", {
description = S("Redwood Fence Gate"),
texture = "redwood_wood.png",
texture = "ethereal_redwood_wood.png",
material = "ethereal:redwood_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
})
doors.register_fencegate("ethereal:fencegate_willow", {
description = S("Willow Wood Fence Gate"),
texture = "willow_wood.png",
texture = "ethereal_willow_wood.png",
material = "ethereal:willow_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
})
doors.register_fencegate("ethereal:fencegate_yellowwood", {
description = S("Healing Wood Fence Gate"),
texture = "yellow_wood.png",
texture = "ethereal_yellow_wood.png",
material = "ethereal:yellow_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
})
@ -47,14 +47,14 @@ doors.register_fencegate("ethereal:fencegate_palm", {
doors.register_fencegate("ethereal:fencegate_banana", {
description = S("Banana Wood Fence Gate"),
texture = "banana_wood.png",
texture = "ethereal_banana_wood.png",
material = "ethereal:banana_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
})
doors.register_fencegate("ethereal:fencegate_mushroom", {
description = S("Mushroom Trunk Fence Gate"),
texture = "mushroom_trunk.png",
texture = "ethereal_mushroom_trunk.png",
material = "ethereal:mushroom_trunk",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
})

View File

@ -73,9 +73,9 @@ minetest.override_item("default:aspen_leaves", {
minetest.register_node("ethereal:willow_twig", {
description = S("Willow Twig"),
drawtype = "plantlike",
tiles = {"willow_twig.png"},
inventory_image = "willow_twig.png",
wield_image = "willow_twig.png",
tiles = {"ethereal_willow_twig.png"},
inventory_image = "ethereal_willow_twig.png",
wield_image = "ethereal_willow_twig.png",
paramtype = "light",
walkable = ethereal.leafwalk,
visual_scale = leafscale,
@ -89,7 +89,7 @@ minetest.register_node("ethereal:willow_twig", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- redwood leaves
@ -97,9 +97,9 @@ minetest.register_node("ethereal:redwood_leaves", {
description = S("Redwood Leaves"),
drawtype = leaftype,
visual_scale = leafscale,
tiles = {"redwood_leaves.png"},
inventory_image = "redwood_leaves.png",
wield_image = "redwood_leaves.png",
tiles = {"ethereal_redwood_leaves.png"},
inventory_image = "ethereal_redwood_leaves.png",
wield_image = "ethereal_redwood_leaves.png",
paramtype = "light",
walkable = ethereal.leafwalk,
waving = 1,
@ -112,7 +112,7 @@ minetest.register_node("ethereal:redwood_leaves", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- orange tree leaves
@ -120,9 +120,9 @@ minetest.register_node("ethereal:orange_leaves", {
description = S("Orange Leaves"),
drawtype = leaftype,
visual_scale = leafscale,
tiles = {"orange_leaves.png"},
inventory_image = "orange_leaves.png",
wield_image = "orange_leaves.png",
tiles = {"ethereal_orange_leaves.png"},
inventory_image = "ethereal_orange_leaves.png",
wield_image = "ethereal_orange_leaves.png",
paramtype = "light",
walkable = ethereal.leafwalk,
waving = 1,
@ -135,7 +135,7 @@ minetest.register_node("ethereal:orange_leaves", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- banana tree leaves
@ -143,9 +143,9 @@ minetest.register_node("ethereal:bananaleaves", {
description = S("Banana Leaves"),
drawtype = leaftype,
visual_scale = leafscale,
tiles = {"banana_leaf.png"},
inventory_image = "banana_leaf.png",
wield_image = "banana_leaf.png",
tiles = {"ethereal_banana_leaf.png"},
inventory_image = "ethereal_banana_leaf.png",
wield_image = "ethereal_banana_leaf.png",
paramtype = "light",
walkable = ethereal.leafwalk,
waving = 1,
@ -158,7 +158,7 @@ minetest.register_node("ethereal:bananaleaves", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- healing tree leaves
@ -166,9 +166,9 @@ minetest.register_node("ethereal:yellowleaves", {
description = S("Healing Tree Leaves"),
drawtype = leaftype,
visual_scale = leafscale,
tiles = {"yellow_leaves.png"},
inventory_image = "yellow_leaves.png",
wield_image = "yellow_leaves.png",
tiles = {"ethereal_yellow_leaves.png"},
inventory_image = "ethereal_yellow_leaves.png",
wield_image = "ethereal_yellow_leaves.png",
paramtype = "light",
walkable = ethereal.leafwalk,
waving = 1,
@ -184,7 +184,7 @@ minetest.register_node("ethereal:yellowleaves", {
on_use = minetest.item_eat(1),
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
light_source = 9,
light_source = 9
})
-- palm tree leaves
@ -207,7 +207,7 @@ minetest.register_node("ethereal:palmleaves", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- birch tree leaves
@ -230,7 +230,7 @@ minetest.register_node("ethereal:birch_leaves", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- frost tree leaves
@ -254,7 +254,7 @@ minetest.register_node("ethereal:frost_leaves", {
},
light_source = 9,
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- bamboo stalk leaves
@ -262,9 +262,9 @@ minetest.register_node("ethereal:bamboo_leaves", {
description = S("Bamboo Leaves"),
drawtype = leaftype,
visual_scale = leafscale,
tiles = {"bamboo_leaves.png"},
inventory_image = "bamboo_leaves.png",
wield_image = "bamboo_leaves.png",
tiles = {"ethereal_bamboo_leaves.png"},
inventory_image = "ethereal_bamboo_leaves.png",
wield_image = "ethereal_bamboo_leaves.png",
paramtype = "light",
walkable = ethereal.leafwalk,
waving = 1,
@ -277,7 +277,7 @@ minetest.register_node("ethereal:bamboo_leaves", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- sakura leaves
@ -300,7 +300,7 @@ minetest.register_node("ethereal:sakura_leaves", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
minetest.register_node("ethereal:sakura_leaves2", {
@ -322,7 +322,7 @@ minetest.register_node("ethereal:sakura_leaves2", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- lemon tree leaves
@ -330,9 +330,9 @@ minetest.register_node("ethereal:lemon_leaves", {
description = S("Lemon Tree Leaves"),
drawtype = leaftype,
visual_scale = leafscale,
tiles = {"lemon_leaves.png"},
inventory_image = "lemon_leaves.png",
wield_image = "lemon_leaves.png",
tiles = {"ethereal_lemon_leaves.png"},
inventory_image = "ethereal_lemon_leaves.png",
wield_image = "ethereal_lemon_leaves.png",
paramtype = "light",
walkable = ethereal.leafwalk,
waving = 1,
@ -345,7 +345,7 @@ minetest.register_node("ethereal:lemon_leaves", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- olive tree leaves
@ -353,9 +353,9 @@ minetest.register_node("ethereal:olive_leaves", {
description = S("Olive Tree Leaves"),
drawtype = leaftype,
visual_scale = leafscale,
tiles = {"olive_leaves.png"},
inventory_image = "olive_leaves.png",
wield_image = "olive_leaves.png",
tiles = {"ethereal_olive_leaves.png"},
inventory_image = "ethereal_olive_leaves.png",
wield_image = "ethereal_olive_leaves.png",
paramtype = "light",
walkable = ethereal.leafwalk,
waving = 1,
@ -368,13 +368,13 @@ minetest.register_node("ethereal:olive_leaves", {
}
},
sounds = default.node_sound_leaves_defaults(),
after_place_node = default.after_place_leaves,
after_place_node = default.after_place_leaves
})
-- mushroom tops
minetest.register_node("ethereal:mushroom", {
description = S("Mushroom Cap"),
tiles = {"mushroom_block.png"},
tiles = {"ethereal_mushroom_block.png"},
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, leafdecay = 3},
drop = {
max_items = 1,
@ -383,31 +383,31 @@ minetest.register_node("ethereal:mushroom", {
{items = {"ethereal:mushroom"}}
}
},
sounds = default.node_sound_wood_defaults(),
sounds = default.node_sound_wood_defaults()
})
minetest.register_craft({
type = "fuel",
recipe = "ethereal:mushroom",
burntime = 10,
burntime = 10
})
-- mushroom pore (spongelike material found inside giant shrooms)
minetest.register_node("ethereal:mushroom_pore", {
description = S("Mushroom Pore"),
tiles = {"mushroom_pore.png"},
tiles = {"ethereal_mushroom_pore.png"},
groups = {
snappy = 3, cracky = 3, choppy = 3, oddly_breakable_by_hand = 3,
flammable = 2, disable_jump = 1, fall_damage_add_percent = -100,
leafdecay = 3
},
sounds = default.node_sound_dirt_defaults(),
sounds = default.node_sound_dirt_defaults()
})
minetest.register_craft({
type = "fuel",
recipe = "ethereal:mushroom_pore",
burntime = 3,
burntime = 3
})
-- hedge block
@ -416,7 +416,7 @@ minetest.register_node("ethereal:bush", {
tiles = {"ethereal_bush.png"},
walkable = true,
groups = {snappy = 3, flammable = 2},
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft({
@ -424,14 +424,14 @@ minetest.register_craft({
recipe = {
{"group:leaves", "group:leaves", "group:leaves"},
{"group:leaves", "ethereal:bamboo_leaves", "group:leaves"},
{"group:leaves", "group:leaves", "group:leaves"},
{"group:leaves", "group:leaves", "group:leaves"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "ethereal:bush",
burntime = 1,
burntime = 1
})
-- bush block #2
@ -442,7 +442,7 @@ minetest.register_node("ethereal:bush2", {
paramtype = "light",
walkable = true,
groups = {snappy = 3, flammable = 2},
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft({
@ -450,14 +450,14 @@ minetest.register_craft({
recipe = {
{"group:leaves", "group:leaves", "group:leaves"},
{"group:leaves", "default:aspen_leaves", "group:leaves"},
{"group:leaves", "group:leaves", "group:leaves"},
{"group:leaves", "group:leaves", "group:leaves"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "ethereal:bush2",
burntime = 1,
burntime = 1
})
-- bush block #3
@ -468,7 +468,7 @@ minetest.register_node("ethereal:bush3", {
paramtype = "light",
walkable = true,
groups = {snappy = 3, flammable = 2},
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft({
@ -476,14 +476,14 @@ minetest.register_craft({
recipe = {
{"group:leaves", "group:leaves", "group:leaves"},
{"group:leaves", "default:pine_needles", "group:leaves"},
{"group:leaves", "group:leaves", "group:leaves"},
{"group:leaves", "group:leaves", "group:leaves"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "ethereal:bush3",
burntime = 1,
burntime = 1
})
-- compatibility check for new mt version with leafdecay function

View File

@ -4,9 +4,9 @@ local S = ethereal.intllib
-- mushroom soup (Heals 1 heart)
minetest.register_craftitem("ethereal:mushroom_soup", {
description = S("Mushroom Soup"),
inventory_image = "mushroom_soup.png",
inventory_image = "ethereal_mushroom_soup.png",
groups = {drink = 1},
on_use = minetest.item_eat(5, "ethereal:bowl"),
on_use = minetest.item_eat(5, "ethereal:bowl")
})
minetest.register_craft({
@ -14,7 +14,7 @@ minetest.register_craft({
recipe = {
{"flowers:mushroom_brown"},
{"flowers:mushroom_brown"},
{"group:food_bowl"},
{"group:food_bowl"}
}
})
@ -23,6 +23,6 @@ minetest.register_craft({
output = "ethereal:mushroom",
recipe = {
{"flowers:mushroom_red", "flowers:mushroom_red"},
{"flowers:mushroom_red", "flowers:mushroom_red"},
{"flowers:mushroom_red", "flowers:mushroom_red"}
}
})

View File

@ -4,8 +4,8 @@ local S = ethereal.intllib
-- wild onion
minetest.register_craftitem("ethereal:wild_onion_plant", {
description = S("Wild Onion"),
inventory_image = "wild_onion.png",
wield_image = "wild_onion.png",
inventory_image = "ethereal_wild_onion.png",
wield_image = "ethereal_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")
@ -56,7 +56,7 @@ minetest.register_node("ethereal:onion_4", table.copy(crop_def))
--stage 5
crop_def.tiles = {"ethereal_wild_onion_5.png"}
crop_def.groups.growing = 0
crop_def.groups.growing = nil
crop_def.drop = {
items = {
{items = {"ethereal:wild_onion_plant 2"}, rarity = 1},

View File

@ -17,8 +17,8 @@ minetest.register_node("ethereal:firethorn", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16},
},
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16}
}
})
-- Fire Flower
@ -38,7 +38,7 @@ minetest.register_node("ethereal:fire_flower", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 1 / 2, 5 / 16},
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 1 / 2, 5 / 16}
},
on_punch = function(pos, node, puncher)
@ -47,52 +47,52 @@ minetest.register_node("ethereal:fire_flower", {
full_punch_interval = 1.0,
damage_groups = {fleshy = 2}
}, nil)
end,
end
})
minetest.register_craft({
type = "fuel",
recipe = "ethereal:fire_flower",
burntime = 20,
burntime = 20
})
-- Fire Dust
minetest.register_craftitem("ethereal:fire_dust", {
description = S("Fire Dust"),
inventory_image = "fire_dust.png",
inventory_image = "ethereal_fire_dust.png"
})
minetest.register_craft({
output = "ethereal:fire_dust 2",
recipe = {
{"ethereal:fire_flower"},
{"ethereal:fire_flower"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "ethereal:fire_dust",
burntime = 10,
burntime = 10
})
-- vines
minetest.register_node("ethereal:vine", {
description = S("Vine"),
drawtype = "signlike",
tiles = {"vine.png"},
inventory_image = "vine.png",
wield_image = "vine.png",
tiles = {"ethereal_vine.png"},
inventory_image = "ethereal_vine.png",
wield_image = "ethereal_vine.png",
paramtype = "light",
paramtype2 = "wallmounted",
walkable = false,
climbable = true,
is_ground_content = false,
selection_box = {
type = "wallmounted",
type = "wallmounted"
},
groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2},
legacy_wallmounted = true,
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft({
@ -100,7 +100,7 @@ minetest.register_craft({
recipe = {
{"group:leaves", "", "group:leaves"},
{"", "group:leaves", ""},
{"group:leaves", "", "group:leaves"},
{"group:leaves", "", "group:leaves"}
}
})
@ -108,9 +108,9 @@ minetest.register_craft({
minetest.register_node("ethereal:lightstring", {
description = S("Light String Vine"),
drawtype = "signlike",
tiles = {"lightstring.png"},
inventory_image = "lightstring.png",
wield_image = "lightstring.png",
tiles = {"ethereal_lightstring.png"},
inventory_image = "ethereal_lightstring.png",
wield_image = "ethereal_lightstring.png",
paramtype = "light",
paramtype2 = "wallmounted",
light_source = 10,
@ -118,11 +118,11 @@ minetest.register_node("ethereal:lightstring", {
climbable = true,
is_ground_content = false,
selection_box = {
type = "wallmounted",
type = "wallmounted"
},
groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2},
legacy_wallmounted = true,
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft({
@ -130,8 +130,8 @@ minetest.register_craft({
recipe = {
{"ethereal:vine", "ethereal:vine", "ethereal:vine"},
{"ethereal:vine", "ethereal:fire_dust", "ethereal:vine"},
{"ethereal:vine", "ethereal:vine", "ethereal:vine"},
},
{"ethereal:vine", "ethereal:vine", "ethereal:vine"}
}
})
-- Fern (boston)
@ -139,9 +139,9 @@ minetest.register_node("ethereal:fern", {
description = S("Fern"),
drawtype = "plantlike",
visual_scale = 1.4,
tiles = {"fern.png"},
inventory_image = "fern.png",
wield_image = "fern.png",
tiles = {"ethereal_fern.png"},
inventory_image = "ethereal_fern.png",
wield_image = "ethereal_fern.png",
paramtype = "light",
sunlight_propagates = true,
waving = 1,
@ -158,16 +158,16 @@ minetest.register_node("ethereal:fern", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0.67, 5 / 16},
},
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0.67, 5 / 16}
}
})
-- Boston Ferns sometimes drop edible Tubers (heals 1/2 heart when eaten)
minetest.register_craftitem("ethereal:fern_tubers", {
description = S("Fern Tubers"),
inventory_image = "fern_tubers.png",
inventory_image = "ethereal_fern_tubers.png",
groups = {food_tuber = 1, flammable = 2},
on_use = minetest.item_eat(1),
on_use = minetest.item_eat(1)
})
-- Red Shrub (not flammable)
@ -186,8 +186,8 @@ minetest.register_node("ethereal:dry_shrub", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16},
},
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16}
}
})
-- Grey Shrub (not Flammable - too cold to burn)
@ -207,8 +207,8 @@ minetest.register_node("ethereal:snowygrass", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 5 / 16, 5 / 16},
},
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 5 / 16, 5 / 16}
}
})
-- Crystal Shrub (not Flammable - too cold to burn)
@ -228,8 +228,8 @@ minetest.register_node("ethereal:crystalgrass", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 5 / 16, 5 / 16},
},
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 5 / 16, 5 / 16}
}
})
-- Define Moss Types (Has grass textures on all sides)
@ -260,9 +260,9 @@ add_moss( "green", "Green", "default_grass.png", "default:jungleleaves")
minetest.register_node("ethereal:illumishroom", {
description = S("Red Illumishroom"),
drawtype = "plantlike",
tiles = { "illumishroom.png" },
inventory_image = "illumishroom.png",
wield_image = "illumishroom.png",
tiles = {"ethereal_illumishroom_red.png"},
inventory_image = "ethereal_illumishroom_red.png",
wield_image = "ethereal_illumishroom_red.png",
paramtype = "light",
light_source = 5,
sunlight_propagates = true,
@ -271,16 +271,16 @@ minetest.register_node("ethereal:illumishroom", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16},
},
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16}
}
})
minetest.register_node("ethereal:illumishroom2", {
description = S("Green Illumishroom"),
drawtype = "plantlike",
tiles = { "illumishroom2.png" },
inventory_image = "illumishroom2.png",
wield_image = "illumishroom2.png",
tiles = {"ethereal_illumishroom_green.png"},
inventory_image = "ethereal_illumishroom_green.png",
wield_image = "ethereal_illumishroom_green.png",
paramtype = "light",
light_source = 5,
sunlight_propagates = true,
@ -289,16 +289,16 @@ minetest.register_node("ethereal:illumishroom2", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16},
},
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16}
}
})
minetest.register_node("ethereal:illumishroom3", {
description = S("Cyan Illumishroom"),
drawtype = "plantlike",
tiles = { "illumishroom3.png" },
inventory_image = "illumishroom3.png",
wield_image = "illumishroom3.png",
tiles = {"ethereal_illumishroom_cyan.png"},
inventory_image = "ethereal_illumishroom_cyan.png",
wield_image = "ethereal_illumishroom_cyan.png",
paramtype = "light",
light_source = 5,
sunlight_propagates = true,
@ -307,6 +307,6 @@ minetest.register_node("ethereal:illumishroom3", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16},
},
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16}
}
})

View File

@ -13,7 +13,7 @@ minetest.register_decoration({
decoration = {
"xanadu:cactus_echinocereus", "xanadu:cactus_matucana",
"xanadu:cactus_baseball", "xanadu:cactus_golden"
},
}
})
-- Desert Plants
@ -26,7 +26,7 @@ minetest.register_decoration({
decoration = {
"xanadu:desert_kangaroo", "xanadu:desert_brittle",
"xanadu:desert_ocotillo", "xanadu:desert_whitesage"
},
}
})
--= Prairie Biome
@ -41,7 +41,7 @@ minetest.register_decoration({
decoration = {
"xanadu:grass_prairie", "xanadu:grass_cord",
"xanadu:grass_wheatgrass", "xanadu:desert_whitesage"
},
}
})
-- Flowers
@ -57,7 +57,7 @@ minetest.register_decoration({
decoration = {
"xanadu:flower_jacobsladder", "xanadu:flower_thistle",
"xanadu:flower_wildcarrot"
},
}
})
minetest.register_decoration({
@ -72,7 +72,7 @@ minetest.register_decoration({
decoration = {
"xanadu:flower_delphinium", "xanadu:flower_celosia",
"xanadu:flower_daisy", "xanadu:flower_bluerose"
},
}
})
-- Shrubs
@ -89,7 +89,7 @@ minetest.register_decoration({
"prairie", "grassy", "grassytwo", "grove", "junglee",
"grayness", "jumble"
},
decoration = {"xanadu:shrub_kerria", "xanadu:shrub_spicebush"},
decoration = {"xanadu:shrub_kerria", "xanadu:shrub_spicebush"}
})
--= Jungle Biome
@ -104,7 +104,7 @@ minetest.register_decoration({
"xanadu:rainforest_guzmania", "xanadu:rainforest_devil",
"xanadu:rainforest_lazarus", "xanadu:rainforest_lollipop",
"xanadu:mushroom_woolly"
},
}
})
--= Cold Biomes
@ -122,8 +122,7 @@ minetest.register_decoration({
"xanadu:mountain_edelweiss", "xanadu:mountain_armeria",
"xanadu:mountain_bellflower", "xanadu:mountain_willowherb",
"xanadu:mountain_bistort"
},
}
})
--= Mushroom Biome
@ -137,7 +136,7 @@ minetest.register_decoration({
decoration = {
"xanadu:mushroom_powderpuff", "xanadu:mushroom_chanterelle",
"xanadu:mushroom_parasol"
},
}
})
--= Lakeside
@ -153,7 +152,7 @@ minetest.register_decoration({
"xanadu:wetlands_mannagrass", "xanadu:wetlands_turtle"
},
spawn_by = "default:water_source",
num_spawn_by = 1,
num_spawn_by = 1
})
--= Harsh Biomes
@ -176,7 +175,7 @@ minetest.register_decoration({
"junglee", "grassy", "grassytwo", "jumble", "snowy", "alpine",
"fiery", "mesa", "bamboo"
},
decoration = {"xanadu:spooky_thornbush", "xanadu:spooky_baneberry"},
decoration = {"xanadu:spooky_thornbush", "xanadu:spooky_baneberry"}
})
--= Poppy's growing in Clearing Biome in memory of RealBadAngel
@ -189,5 +188,5 @@ minetest.register_decoration({
sidelen = 16,
fill_ratio = 0.004,
biomes = {"clearing"},
decoration = {"xanadu:poppy"},
decoration = {"xanadu:poppy"}
})

View File

@ -5,9 +5,9 @@ local S = ethereal.intllib
minetest.register_node("ethereal:bamboo_sprout", {
description = S("Bamboo Sprout"),
drawtype = "plantlike",
tiles = {"bamboo_sprout.png"},
inventory_image = "bamboo_sprout.png",
wield_image = "bamboo_sprout.png",
tiles = {"ethereal_bamboo_sprout.png"},
inventory_image = "ethereal_bamboo_sprout.png",
wield_image = "ethereal_bamboo_sprout.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
@ -21,7 +21,7 @@ minetest.register_node("ethereal:bamboo_sprout", {
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0, 4 / 16}
},
on_use = minetest.item_eat(2),
grown_height = 11,
grown_height = 11
})
-- Register Saplings
@ -46,23 +46,23 @@ local register_sapling = function(name, desc, texture, height)
ethereal_sapling = 1, attached_node = 1, sapling = 1
},
sounds = default.node_sound_leaves_defaults(),
grown_height = height,
grown_height = height
})
end
register_sapling("ethereal:willow", "Willow", "willow_sapling", 14)
register_sapling("ethereal:yellow_tree", "Healing", "yellow_tree_sapling", 19)
register_sapling("ethereal:willow", "Willow", "ethereal_willow_sapling", 14)
register_sapling("ethereal:yellow_tree", "Healing", "ethereal_yellow_tree_sapling", 19)
register_sapling("ethereal:big_tree", "Big", "ethereal_big_tree_sapling", 7)
register_sapling("ethereal:banana_tree", "Banana", "banana_tree_sapling", 8)
register_sapling("ethereal:banana_tree", "Banana", "ethereal_banana_tree_sapling", 8)
register_sapling("ethereal:frost_tree", "Frost", "ethereal_frost_tree_sapling", 19)
register_sapling("ethereal:mushroom", "Mushroom", "ethereal_mushroom_sapling", 11)
register_sapling("ethereal:palm", "Palm", "moretrees_palm_sapling", 9)
register_sapling("ethereal:redwood", "Redwood", "redwood_sapling", 31)
register_sapling("ethereal:orange_tree", "Orange", "orange_tree_sapling", 6)
register_sapling("ethereal:redwood", "Redwood", "ethereal_redwood_sapling", 31)
register_sapling("ethereal:orange_tree", "Orange", "ethereal_orange_tree_sapling", 6)
register_sapling("ethereal:birch", "Birch", "moretrees_birch_sapling", 7)
register_sapling("ethereal:sakura", "Sakura", "ethereal_sakura_sapling", 10)
register_sapling("ethereal:lemon_tree", "Lemon", "lemon_tree_sapling", 7)
register_sapling("ethereal:olive_tree", "Olive", "olive_tree_sapling", 10)
register_sapling("ethereal:lemon_tree", "Lemon", "ethereal_lemon_tree_sapling", 7)
register_sapling("ethereal:olive_tree", "Olive", "ethereal_olive_tree_sapling", 10)
local add_tree = function (pos, ofx, ofy, ofz, schem, replace)
@ -260,5 +260,5 @@ minetest.register_abm({
end
grow_sapling(pos, node)
end,
end
})

View File

@ -5,9 +5,9 @@ local S = ethereal.intllib
minetest.register_node("ethereal:seaweed", {
description = S("Seaweed"),
drawtype = "plantlike",
tiles = {"seaweed.png"},
inventory_image = "seaweed.png",
wield_image = "seaweed.png",
tiles = {"ethereal_seaweed.png"},
inventory_image = "ethereal_seaweed.png",
wield_image = "ethereal_seaweed.png",
paramtype = "light",
walkable = false,
climbable = true,
@ -22,20 +22,20 @@ minetest.register_node("ethereal:seaweed", {
sounds = default.node_sound_leaves_defaults(),
after_dig_node = function(pos, node, metadata, digger)
default.dig_up(pos, node, digger)
end,
end
})
minetest.register_craft( {
type = "shapeless",
output = "dye:dark_green 3",
recipe = {"ethereal:seaweed",},
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},
groups = {food_gelatin = 1, flammable = 2}
})
minetest.register_craft({
@ -43,103 +43,103 @@ minetest.register_craft({
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"},
{"bucket:bucket_water", "bucket:bucket_water", "default:torch"}
},
replacements = {
{"bucket:bucket_water", "bucket:bucket_empty 4"},
},
{"bucket:bucket_water", "bucket:bucket_empty 4"}
}
})
-- Blue Coral
minetest.register_node("ethereal:coral2", {
description = S("Blue Glow Coral"),
drawtype = "plantlike",
tiles = {"coral2.png"},
inventory_image = "coral2.png",
wield_image = "coral2.png",
tiles = {"ethereal_coral_blue.png"},
inventory_image = "ethereal_coral_blue.png",
wield_image = "ethereal_coral_blue.png",
paramtype = "light",
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 1 / 4, 6 / 16},
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 1 / 4, 6 / 16}
},
light_source = 3,
groups = {snappy = 3},
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft( {
type = "shapeless",
output = "dye:cyan 3",
recipe = {"ethereal:coral2",},
recipe = {"ethereal:coral2"}
})
-- Orange Coral
minetest.register_node("ethereal:coral3", {
description = S("Orange Glow Coral"),
drawtype = "plantlike",
tiles = {"coral3.png"},
inventory_image = "coral3.png",
wield_image = "coral3.png",
tiles = {"ethereal_coral_orange.png"},
inventory_image = "ethereal_coral_orange.png",
wield_image = "ethereal_coral_orange.png",
paramtype = "light",
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 1 / 4, 6 / 16},
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 1 / 4, 6 / 16}
},
light_source = 3,
groups = {snappy = 3},
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft( {
type = "shapeless",
output = "dye:orange 3",
recipe = {"ethereal:coral3",},
recipe = {"ethereal:coral3"}
})
-- Pink Coral
minetest.register_node("ethereal:coral4", {
description = S("Pink Glow Coral"),
drawtype = "plantlike",
tiles = {"coral4.png"},
inventory_image = "coral4.png",
wield_image = "coral4.png",
tiles = {"ethereal_coral_pink.png"},
inventory_image = "ethereal_coral_pink.png",
wield_image = "ethereal_coral_pink.png",
paramtype = "light",
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 8 / 16, 6 / 16},
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 8 / 16, 6 / 16}
},
light_source = 3,
groups = {snappy = 3},
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft( {
type = "shapeless",
output = "dye:pink 3",
recipe = {"ethereal:coral4",},
recipe = {"ethereal:coral4"}
})
-- Green Coral
minetest.register_node("ethereal:coral5", {
description = S("Green Glow Coral"),
drawtype = "plantlike",
tiles = {"coral5.png"},
inventory_image = "coral5.png",
wield_image = "coral5.png",
tiles = {"ethereal_coral_green.png"},
inventory_image = "ethereal_coral_green.png",
wield_image = "ethereal_coral_green.png",
paramtype = "light",
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 3 / 16, 6 / 16},
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 3 / 16, 6 / 16}
},
light_source = 3,
groups = {snappy = 3},
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
})
minetest.register_craft( {
type = "shapeless",
output = "dye:green 3",
recipe = {"ethereal:coral5",},
recipe = {"ethereal:coral5"}
})
-- Undersea Sand
@ -151,7 +151,7 @@ minetest.register_node("ethereal:sandy", {
crumbly = 3, falling_node = 1, sand = 1, not_in_creative_inventory = 1
},
drop = "default:sand",
sounds = default.node_sound_sand_defaults(),
sounds = default.node_sound_sand_defaults()
})
-- randomly generate coral or seaweed and have seaweed grow up to 14 high
@ -220,7 +220,7 @@ minetest.register_node("ethereal:sponge_air", {
sunlight_propagates = true,
pointable = false,
drop = "",
groups = {not_in_creative_inventory = 1},
groups = {not_in_creative_inventory = 1}
})
@ -267,7 +267,7 @@ minetest.register_node("ethereal:sponge_wet", {
description = S("Wet sponge"),
tiles = {"ethereal_sponge_wet.png"},
groups = {crumbly = 3},
sounds = default.node_sound_sand_defaults(),
sounds = default.node_sound_sand_defaults()
})
-- cook wet sponge into dry sponge
@ -275,7 +275,7 @@ minetest.register_craft({
type = "cooking",
recipe = "ethereal:sponge_wet",
output = "ethereal:sponge",
cooktime = 3,
cooktime = 3
})
-- use leaf decay to remove sponge air nodes
@ -289,5 +289,5 @@ default.register_leafdecay({
minetest.register_craft({
type = "fuel",
recipe = "ethereal:sponge",
burntime = 5,
burntime = 5
})

View File

@ -53,7 +53,7 @@ do_stair(
"crystal_block",
"ethereal:crystal_block",
{cracky = 1, level = 2, puts_out_fire = 1, cools_lava = 1},
{"crystal_block.png"},
{"ethereal_crystal_block.png"},
default.node_sound_glass_defaults())
do_stair(
@ -61,7 +61,7 @@ do_stair(
"icebrick",
"ethereal:icebrick",
{cracky = 3, puts_out_fire = 1, cools_lava = 1},
{"brick_ice.png"},
{"ethereal_brick_ice.png"},
default.node_sound_glass_defaults())
do_stair(
@ -69,7 +69,7 @@ do_stair(
"snowbrick",
"ethereal:snowbrick",
{crumbly = 3, puts_out_fire = 1, cools_lava = 1},
{"brick_snow.png"},
{"ethereal_brick_snow.png"},
default.node_sound_dirt_defaults({
footstep = {name = "default_snow_footstep", gain = 0.25},
dug = {name = "default_snow_footstep", gain = 0.75},
@ -88,7 +88,7 @@ do_stair(
"mushroom_trunk",
"ethereal:mushroom_trunk",
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
{"mushroom_trunk.png"},
{"ethereal_mushroom_trunk.png"},
default.node_sound_wood_defaults())
do_stair(
@ -96,7 +96,7 @@ do_stair(
"mushroom",
"ethereal:mushroom",
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
{"mushroom_block.png"},
{"ethereal_mushroom_block.png"},
default.node_sound_wood_defaults())
do_stair(
@ -104,7 +104,7 @@ do_stair(
"frost_wood",
"ethereal:frost_wood",
{choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
{"frost_wood.png"},
{"ethereal_frost_wood.png"},
default.node_sound_wood_defaults())
do_stair(
@ -112,7 +112,7 @@ do_stair(
"yellow_wood",
"ethereal:yellow_wood",
{choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
{"yellow_wood.png"},
{"ethereal_yellow_wood.png"},
default.node_sound_wood_defaults())
do_stair(
@ -136,7 +136,7 @@ do_stair(
"banana_wood",
"ethereal:banana_wood",
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
{"banana_wood.png"},
{"ethereal_banana_wood.png"},
default.node_sound_wood_defaults())
do_stair(
@ -144,7 +144,7 @@ do_stair(
"willow_wood",
"ethereal:willow_wood",
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
{"willow_wood.png"},
{"ethereal_willow_wood.png"},
default.node_sound_wood_defaults())
do_stair(
@ -152,7 +152,7 @@ do_stair(
"redwood_wood",
"ethereal:redwood_wood",
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
{"redwood_wood.png"},
{"ethereal_redwood_wood.png"},
default.node_sound_wood_defaults())
do_stair(
@ -160,7 +160,7 @@ do_stair(
"bamboo_wood",
"ethereal:bamboo_block",
{snappy = 3, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
{"bamboo_floor.png"},
{"ethereal_bamboo_floor.png"},
default.node_sound_wood_defaults())
do_stair(
@ -176,5 +176,5 @@ do_stair(
"olive_wood",
"ethereal:olive_wood",
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
{"olive_wood.png"},
{"ethereal_olive_wood.png"},
default.node_sound_wood_defaults())

View File

@ -4,19 +4,19 @@ local S = ethereal.intllib
-- Strawberry (can also be planted as seed)
minetest.register_craftitem("ethereal:strawberry", {
description = S("Strawberry"),
inventory_image = "strawberry.png",
wield_image = "strawberry.png",
inventory_image = "ethereal_strawberry.png",
wield_image = "ethereal_strawberry.png",
groups = {food_strawberry = 1, food_berry = 1, flammable = 2},
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:strawberry_1")
end,
on_use = minetest.item_eat(1),
on_use = minetest.item_eat(1)
})
-- Define Strawberry Bush growth stages
local crop_def = {
drawtype = "plantlike",
tiles = {"strawberry_1.png"},
tiles = {"ethereal_strawberry_1.png"},
paramtype = "light",
sunlight_propagates = true,
waving = 1,
@ -31,55 +31,55 @@ local crop_def = {
snappy = 3, flammable = 2, plant = 1, attached_node = 1,
not_in_creative_inventory = 1, growing = 1
},
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_leaves_defaults()
}
--stage 1
minetest.register_node("ethereal:strawberry_1", table.copy(crop_def))
-- stage 2
crop_def.tiles = {"strawberry_2.png"}
crop_def.tiles = {"ethereal_strawberry_2.png"}
minetest.register_node("ethereal:strawberry_2", table.copy(crop_def))
-- stage 3
crop_def.tiles = {"strawberry_3.png"}
crop_def.tiles = {"ethereal_strawberry_3.png"}
minetest.register_node("ethereal:strawberry_3", table.copy(crop_def))
-- stage 4
crop_def.tiles = {"strawberry_4.png"}
crop_def.tiles = {"ethereal_strawberry_4.png"}
minetest.register_node("ethereal:strawberry_4", table.copy(crop_def))
-- stage 5
crop_def.tiles = {"strawberry_5.png"}
crop_def.tiles = {"ethereal_strawberry_5.png"}
minetest.register_node("ethereal:strawberry_5", table.copy(crop_def))
-- stage 6
crop_def.tiles = {"strawberry_6.png"}
crop_def.tiles = {"ethereal_strawberry_6.png"}
crop_def.drop = {
items = {
{items = {"ethereal:strawberry 1"},rarity = 2},
{items = {"ethereal:strawberry 2"},rarity = 3},
{items = {"ethereal:strawberry 2"},rarity = 3}
}
}
minetest.register_node("ethereal:strawberry_6", table.copy(crop_def))
-- stage 7
crop_def.tiles = {"strawberry_7.png"}
crop_def.tiles = {"ethereal_strawberry_7.png"}
crop_def.drop = {
items = {
{items = {"ethereal:strawberry 1"},rarity = 1},
{items = {"ethereal:strawberry 2"},rarity = 3},
{items = {"ethereal:strawberry 2"},rarity = 3}
}
}
minetest.register_node("ethereal:strawberry_7", table.copy(crop_def))
-- stage 8
crop_def.tiles = {"strawberry_8.png"}
crop_def.groups.growing = 0
crop_def.tiles = {"ethereal_strawberry_8.png"}
crop_def.groups.growing = nil
crop_def.drop = {
items = {
{items = {"ethereal:strawberry 2"},rarity = 1},
{items = {"ethereal:strawberry 3"},rarity = 3},
{items = {"ethereal:strawberry 3"},rarity = 3}
}
}
minetest.register_node("ethereal:strawberry_8", table.copy(crop_def))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 B

View File

Before

Width:  |  Height:  |  Size: 564 B

After

Width:  |  Height:  |  Size: 564 B

View File

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 219 B

View File

Before

Width:  |  Height:  |  Size: 367 B

After

Width:  |  Height:  |  Size: 367 B

View File

Before

Width:  |  Height:  |  Size: 207 B

After

Width:  |  Height:  |  Size: 207 B

View File

Before

Width:  |  Height:  |  Size: 385 B

After

Width:  |  Height:  |  Size: 385 B

View File

Before

Width:  |  Height:  |  Size: 251 B

After

Width:  |  Height:  |  Size: 251 B

View File

Before

Width:  |  Height:  |  Size: 193 B

After

Width:  |  Height:  |  Size: 193 B

View File

Before

Width:  |  Height:  |  Size: 421 B

After

Width:  |  Height:  |  Size: 421 B

View File

Before

Width:  |  Height:  |  Size: 200 B

After

Width:  |  Height:  |  Size: 200 B

View File

Before

Width:  |  Height:  |  Size: 177 B

After

Width:  |  Height:  |  Size: 177 B

View File

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 218 B

View File

Before

Width:  |  Height:  |  Size: 208 B

After

Width:  |  Height:  |  Size: 208 B

View File

Before

Width:  |  Height:  |  Size: 210 B

After

Width:  |  Height:  |  Size: 210 B

View File

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 314 B

View File

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 272 B

View File

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 166 B

View File

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 229 B

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 186 B

View File

Before

Width:  |  Height:  |  Size: 257 B

After

Width:  |  Height:  |  Size: 257 B

View File

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 348 B

View File

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 209 B

View File

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 216 B

View File

Before

Width:  |  Height:  |  Size: 181 B

After

Width:  |  Height:  |  Size: 181 B

View File

Before

Width:  |  Height:  |  Size: 306 B

After

Width:  |  Height:  |  Size: 306 B

View File

Before

Width:  |  Height:  |  Size: 179 B

After

Width:  |  Height:  |  Size: 179 B

View File

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 232 B

View File

Before

Width:  |  Height:  |  Size: 204 B

After

Width:  |  Height:  |  Size: 204 B

View File

Before

Width:  |  Height:  |  Size: 184 B

After

Width:  |  Height:  |  Size: 184 B

View File

Before

Width:  |  Height:  |  Size: 380 B

After

Width:  |  Height:  |  Size: 380 B

View File

Before

Width:  |  Height:  |  Size: 183 B

After

Width:  |  Height:  |  Size: 183 B

View File

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 214 B

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 161 B

After

Width:  |  Height:  |  Size: 161 B

View File

Before

Width:  |  Height:  |  Size: 269 B

After

Width:  |  Height:  |  Size: 269 B

View File

Before

Width:  |  Height:  |  Size: 524 B

After

Width:  |  Height:  |  Size: 524 B

View File

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 334 B

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 382 B

After

Width:  |  Height:  |  Size: 382 B

View File

Before

Width:  |  Height:  |  Size: 407 B

After

Width:  |  Height:  |  Size: 407 B

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 206 B

View File

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 361 B

View File

Before

Width:  |  Height:  |  Size: 201 B

After

Width:  |  Height:  |  Size: 201 B

View File

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 232 B

View File

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 247 B

View File

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 312 B

View File

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 209 B

View File

Before

Width:  |  Height:  |  Size: 277 B

After

Width:  |  Height:  |  Size: 277 B

View File

Before

Width:  |  Height:  |  Size: 465 B

After

Width:  |  Height:  |  Size: 465 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 262 B

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 884 B

After

Width:  |  Height:  |  Size: 884 B

View File

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

View File

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 622 B

View File

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 190 B

View File

Before

Width:  |  Height:  |  Size: 165 B

After

Width:  |  Height:  |  Size: 165 B

View File

Before

Width:  |  Height:  |  Size: 325 B

After

Width:  |  Height:  |  Size: 325 B

View File

Before

Width:  |  Height:  |  Size: 140 B

After

Width:  |  Height:  |  Size: 140 B

View File

Before

Width:  |  Height:  |  Size: 969 B

After

Width:  |  Height:  |  Size: 969 B

View File

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 226 B

View File

Before

Width:  |  Height:  |  Size: 867 B

After

Width:  |  Height:  |  Size: 867 B

View File

Before

Width:  |  Height:  |  Size: 822 B

After

Width:  |  Height:  |  Size: 822 B

View File

Before

Width:  |  Height:  |  Size: 654 B

After

Width:  |  Height:  |  Size: 654 B

View File

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 485 B

View File

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 272 B

View File

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 272 B

View File

Before

Width:  |  Height:  |  Size: 506 B

After

Width:  |  Height:  |  Size: 506 B

View File

Before

Width:  |  Height:  |  Size: 181 B

After

Width:  |  Height:  |  Size: 181 B

View File

Before

Width:  |  Height:  |  Size: 382 B

After

Width:  |  Height:  |  Size: 382 B

View File

Before

Width:  |  Height:  |  Size: 116 B

After

Width:  |  Height:  |  Size: 116 B

View File

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 137 B

View File

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

View File

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 209 B

View File

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 234 B

View File

Before

Width:  |  Height:  |  Size: 240 B

After

Width:  |  Height:  |  Size: 240 B

Some files were not shown because too many files have changed in this diff Show More