Add decor ocean blocks, gold block and lightbox

master
Wuzzy 2022-02-14 04:42:20 +01:00
parent 87ec660a8f
commit f94c895b2d
12 changed files with 78 additions and 6 deletions

View File

@ -10,7 +10,7 @@ External mods used:
---
Textures:
- Water, wood, tree, stone, tools, hand, player textures, crates come from “PixelBOX” texture pack by jp (CC0)
- Water, wood, tree, stone, tools, hand, gold block, ship lightbox, player textures, crates come from “PixelBOX” texture pack by jp (CC0)
- Textures in `lzr_decor` mod made by jp (CC0)
- Crosshair, wieldhand, `smoke_puff.png`: trivial textures by Wuzzy (CC0)
- Emitter, detector textures: Derivate works of xdecor textures by jp (CC0)
@ -26,6 +26,17 @@ Textures:
- Hook texture: CraftPix.net 2D Game Assets
- Derivate work of <https://opengameart.org/content/48-pirate-stuff-icons>
- License: OGA-BY 3.0 <https://static.opengameart.org/OGA-BY-3.0.txt>
- `xocean_*.png`:
- By StarNinjas
- License: MIT License
- `lzr_decor_ocean_pillar.png`:
- By StarNinjas
- License: MIT License
- Original file name `xocean_pillar.png`
- `lzr_decor_ocean_pillar_top.png`:
- By StarNinjas and Wuzzy
- Derivate work of `xocean_pillar.png`
- License: MIT License
Models:
- Player models comes from Minetest Game (see license of Minetest Game 5.4.1 for details)

View File

@ -257,16 +257,17 @@ minetest.register_node("lzr_decor:lantern", {
})
local lightbox = {
iron = S("Iron Light Box"),
wooden2 = S("Wooden Light Box"),
iron = { S("Iron Light Box"), "xdecor_iron_lightbox.png" },
wooden2 = { S("Wooden Light Box"), "xdecor_wooden2_lightbox.png" },
ship = { S("Ship Light Box"), "lzr_decor_ship_lightbox.png" },
}
for l, desc in pairs(lightbox) do
for l, data in pairs(lightbox) do
minetest.register_node("lzr_decor:" .. l .. "_lightbox", {
description = desc,
description = data[1],
paramtype = "light",
sunlight_propagates = true,
tiles = {"xdecor_" .. l .. "_lightbox.png"},
tiles = {data[2]},
groups = { breakable = 1 },
light_source = 13,
sounds = lzr_sounds.node_sound_glass_defaults()
@ -331,3 +332,63 @@ minetest.register_node("lzr_decor:woodframed_glass", {
sounds = lzr_sounds.node_sound_glass_defaults()
})
minetest.register_node("lzr_decor:ocean_stone", {
description = S("Ocean Stone"),
tiles = {"xocean_stone.png"},
groups = { breakable = 1 },
sounds = lzr_sounds.node_sound_stone_defaults(),
})
minetest.register_node("lzr_decor:ocean_cobble", {
description = S("Ocean Cobblestone"),
tiles = {"xocean_cobble.png"},
groups = { breakable = 1 },
sounds = lzr_sounds.node_sound_stone_defaults(),
})
minetest.register_node("lzr_decor:ocean_carved", {
description = S("Carved Ocean Stone"),
tiles = {"xocean_carved.png"},
groups = { breakable = 1 },
sounds = lzr_sounds.node_sound_stone_defaults(),
})
minetest.register_node("lzr_decor:ocean_circular", {
description = S("Circular Ocean Stone"),
tiles = {"xocean_circular.png"},
groups = { breakable = 1 },
sounds = lzr_sounds.node_sound_stone_defaults(),
})
minetest.register_node("lzr_decor:ocean_bricks", {
description = S("Ocean Bricks"),
tiles = {"xocean_brick.png"},
groups = { breakable = 1 },
sounds = lzr_sounds.node_sound_stone_defaults(),
})
minetest.register_node("lzr_decor:ocean_pillar", {
description = S("Ocean Pillar"),
paramtype2 = "facedir",
tiles = {
"lzr_decor_ocean_pillar_top.png",
"lzr_decor_ocean_pillar_top.png^[transformFY",
"lzr_decor_ocean_pillar.png^[transformFX",
"lzr_decor_ocean_pillar.png",
"lzr_decor_ocean_pillar.png^[transformFX",
"lzr_decor_ocean_pillar.png",
},
groups = { breakable = 1, rotatable = 3 },
sounds = lzr_sounds.node_sound_stone_defaults(),
})
minetest.register_node("lzr_decor:ocean_lantern", {
description = S("Ocean Lantern"),
light_source = minetest.LIGHT_MAX,
tiles = {"xocean_lantern.png"},
groups = { breakable = 1 },
sounds = lzr_sounds.node_sound_glass_defaults(),
})
minetest.register_node("lzr_decor:gold_block", {
description = S("Gold Block"),
tiles = {"default_gold_block.png"},
groups = { breakable = 1 },
sounds = lzr_sounds.node_sound_metal_defaults(),
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 805 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B