Add nodes from islands mod
|
@ -17,6 +17,7 @@ Textures:
|
|||
- Mirror textures: by Wuzzy (CC0)
|
||||
- Screwdriver texture: by 12Me21 (CC0)
|
||||
- Hotbar textures are a recolored version from from the hotbar textures of the Isabella Texture Pack by Bonemouse (http://www.minecraftforum.net/topic/242175-Isabella/) (CC BY 3.0)
|
||||
- `default_dirt.png`, `default_sand.png`, `lzr_core_seabed.png`, `lzr_core_shrub_leaves.png`, `lzr_core_palm_leaves.png`. `lzr_core_palm_leaves_top.png`, `lzr_core_palm_tree.png`, `lzr_core_palm_tree_top.png`: by TheThermos (MIT)
|
||||
|
||||
Models:
|
||||
- Player models comes from Minetest Game (see license of Minetest Game 5.4.1 for details)
|
||||
|
|
|
@ -7,6 +7,69 @@ minetest.register_node("lzr_core:stone", {
|
|||
sounds = lzr_sounds.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("lzr_core:seabed", {
|
||||
description = S("Seabed"),
|
||||
tiles = {"lzr_core_seabed.png"},
|
||||
groups = { breakable = 1 },
|
||||
sounds = lzr_sounds.node_sound_sand_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("lzr_core:sand", {
|
||||
description = S("Sand"),
|
||||
tiles = {"default_sand.png"},
|
||||
groups = { breakable = 1 },
|
||||
sounds = lzr_sounds.node_sound_sand_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("lzr_core:dirt", {
|
||||
description = S("Dirt"),
|
||||
tiles = {"default_dirt.png"},
|
||||
groups = { breakable = 1 },
|
||||
sounds = lzr_sounds.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("lzr_core:shrub_leaves", {
|
||||
description = S("Shrub Leaves"),
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
tiles = {"lzr_core_shrub_leaves.png"},
|
||||
use_texture_alpha = "clip",
|
||||
groups = { breakable = 1 },
|
||||
sounds = lzr_sounds.node_sound_leaves_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("lzr_core:bright_palm_leaves", {
|
||||
description = S("Bright Palm Leaves"),
|
||||
paramtype = "light",
|
||||
drawtype = "nodebox",
|
||||
tiles = {
|
||||
{name="lzr_core_palm_leaves_top.png",backface_culling = false},
|
||||
{name="blank.png"},
|
||||
{name="lzr_core_palm_leaves.png",backface_culling = false},
|
||||
},
|
||||
use_texture_alpha = "clip",
|
||||
groups = { breakable = 1 },
|
||||
sounds = lzr_sounds.node_sound_leaves_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
|
||||
minetest.register_node("lzr_core:dark_palm_leaves", {
|
||||
description = S("Dark Palm Leaves"),
|
||||
paramtype = "light",
|
||||
drawtype = "nodebox",
|
||||
tiles = {
|
||||
{name="lzr_core_palm_leaves_top.png",backface_culling = false},
|
||||
{name="blank.png"},
|
||||
{name="lzr_core_palm_leaves.png",backface_culling = false},
|
||||
},
|
||||
color = "#00B000",
|
||||
use_texture_alpha = "clip",
|
||||
groups = { breakable = 1 },
|
||||
sounds = lzr_sounds.node_sound_leaves_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
|
||||
minetest.register_node("lzr_core:tree", {
|
||||
description = S("Tree Trunk"),
|
||||
|
@ -19,6 +82,17 @@ minetest.register_node("lzr_core:tree", {
|
|||
on_place = minetest.rotate_node
|
||||
})
|
||||
|
||||
minetest.register_node("lzr_core:palm_tree", {
|
||||
description = S("Palm Tree Trunk"),
|
||||
tiles = {"lzr_core_palm_tree_top.png", "lzr_core_palm_tree_top.png", "lzr_core_palm_tree.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = { breakable = 1 },
|
||||
sounds = lzr_sounds.node_sound_wood_defaults(),
|
||||
|
||||
on_place = minetest.rotate_node
|
||||
})
|
||||
|
||||
minetest.register_node("lzr_core:wood", {
|
||||
description = S("Wood Planks"),
|
||||
tiles = {"default_wood.png"},
|
||||
|
@ -27,6 +101,8 @@ minetest.register_node("lzr_core:wood", {
|
|||
sounds = lzr_sounds.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
|
||||
|
||||
minetest.register_node("lzr_core:water_source", {
|
||||
description = S("Water Source"),
|
||||
drawtype = "liquid",
|
||||
|
|
After Width: | Height: | Size: 713 B |
After Width: | Height: | Size: 491 B |
After Width: | Height: | Size: 609 B |
After Width: | Height: | Size: 656 B |
After Width: | Height: | Size: 697 B |
After Width: | Height: | Size: 710 B |
After Width: | Height: | Size: 361 B |
After Width: | Height: | Size: 218 B |
|
@ -21,6 +21,11 @@ function lzr_sounds.node_sound_stone_defaults(table)
|
|||
return table
|
||||
end
|
||||
|
||||
-- TODO: sand
|
||||
lzr_sounds.node_sound_sand_defaults = lzr_sounds.node_sound_defaults
|
||||
-- TODO: leaves
|
||||
lzr_sounds.node_sound_leaves_defaults = lzr_sounds.node_sound_defaults
|
||||
|
||||
function lzr_sounds.node_sound_dirt_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
|
|