diff --git a/CREDITS.md b/CREDITS.md index 2324f43..93ef0c7 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -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 - License: OGA-BY 3.0 +- `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) diff --git a/mods/lzr_decor/init.lua b/mods/lzr_decor/init.lua index 884d56d..53e00e9 100644 --- a/mods/lzr_decor/init.lua +++ b/mods/lzr_decor/init.lua @@ -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(), +}) + diff --git a/mods/lzr_decor/textures/default_gold_block.png b/mods/lzr_decor/textures/default_gold_block.png new file mode 100644 index 0000000..f56cce6 Binary files /dev/null and b/mods/lzr_decor/textures/default_gold_block.png differ diff --git a/mods/lzr_decor/textures/lzr_decor_ocean_pillar.png b/mods/lzr_decor/textures/lzr_decor_ocean_pillar.png new file mode 100644 index 0000000..f2bef66 Binary files /dev/null and b/mods/lzr_decor/textures/lzr_decor_ocean_pillar.png differ diff --git a/mods/lzr_decor/textures/lzr_decor_ocean_pillar_top.png b/mods/lzr_decor/textures/lzr_decor_ocean_pillar_top.png new file mode 100644 index 0000000..5b63182 Binary files /dev/null and b/mods/lzr_decor/textures/lzr_decor_ocean_pillar_top.png differ diff --git a/mods/lzr_decor/textures/lzr_decor_ship_lightbox.png b/mods/lzr_decor/textures/lzr_decor_ship_lightbox.png new file mode 100644 index 0000000..85c7b20 Binary files /dev/null and b/mods/lzr_decor/textures/lzr_decor_ship_lightbox.png differ diff --git a/mods/lzr_decor/textures/xocean_brick.png b/mods/lzr_decor/textures/xocean_brick.png new file mode 100644 index 0000000..283f73e Binary files /dev/null and b/mods/lzr_decor/textures/xocean_brick.png differ diff --git a/mods/lzr_decor/textures/xocean_carved.png b/mods/lzr_decor/textures/xocean_carved.png new file mode 100644 index 0000000..a4a8814 Binary files /dev/null and b/mods/lzr_decor/textures/xocean_carved.png differ diff --git a/mods/lzr_decor/textures/xocean_circular.png b/mods/lzr_decor/textures/xocean_circular.png new file mode 100644 index 0000000..e59d529 Binary files /dev/null and b/mods/lzr_decor/textures/xocean_circular.png differ diff --git a/mods/lzr_decor/textures/xocean_cobble.png b/mods/lzr_decor/textures/xocean_cobble.png new file mode 100644 index 0000000..a8d1da1 Binary files /dev/null and b/mods/lzr_decor/textures/xocean_cobble.png differ diff --git a/mods/lzr_decor/textures/xocean_lantern.png b/mods/lzr_decor/textures/xocean_lantern.png new file mode 100644 index 0000000..d573f67 Binary files /dev/null and b/mods/lzr_decor/textures/xocean_lantern.png differ diff --git a/mods/lzr_decor/textures/xocean_stone.png b/mods/lzr_decor/textures/xocean_stone.png new file mode 100644 index 0000000..9019543 Binary files /dev/null and b/mods/lzr_decor/textures/xocean_stone.png differ