Add files via upload

pull/1/merge
Skandarella 2023-01-21 16:58:14 +01:00 committed by GitHub
parent 533c6b3a4b
commit 496018a6f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 194 additions and 91 deletions

View File

@ -1,5 +1,7 @@
local S = minetest.get_translator("marinara")
minetest.register_node("marinara:hardcoral_brown", { minetest.register_node("marinara:hardcoral_brown", {
description = ("Brown Hard Coral"), description = S("Brown Hard Coral"),
tiles = {"marinara_hardcoral_brown.png"}, tiles = {"marinara_hardcoral_brown.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
light_source = 2, light_source = 2,
@ -9,7 +11,7 @@ minetest.register_node("marinara:hardcoral_brown", {
}) })
minetest.register_node("marinara:hardcoral", { minetest.register_node("marinara:hardcoral", {
description = ("Hard Coral"), description = S("Hard Coral"),
tiles = {"marinara_hardcoral.png"}, tiles = {"marinara_hardcoral.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
light_source = 2, light_source = 2,
@ -19,7 +21,7 @@ minetest.register_node("marinara:hardcoral", {
}) })
minetest.register_node("marinara:hardcoral_blue", { minetest.register_node("marinara:hardcoral_blue", {
description = ("Blue Hard Coral"), description = S("Blue Hard Coral"),
tiles = {"marinara_hardcoral_blue.png"}, tiles = {"marinara_hardcoral_blue.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "marinara:hardcoral_blue", drop = "marinara:hardcoral_blue",
@ -29,7 +31,7 @@ minetest.register_node("marinara:hardcoral_blue", {
}) })
minetest.register_node("marinara:hardcoral_green", { minetest.register_node("marinara:hardcoral_green", {
description = ("Green Hard Coral"), description = S("Green Hard Coral"),
tiles = {"marinara_hardcoral_green.png"}, tiles = {"marinara_hardcoral_green.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
light_source = 2, light_source = 2,
@ -39,7 +41,7 @@ minetest.register_node("marinara:hardcoral_green", {
}) })
minetest.register_node("marinara:hardcoral_pink", { minetest.register_node("marinara:hardcoral_pink", {
description = ("Pink Hard Coral"), description = S("Pink Hard Coral"),
tiles = {"marinara_hardcoral_pink.png"}, tiles = {"marinara_hardcoral_pink.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
light_source = 2, light_source = 2,
@ -49,7 +51,7 @@ minetest.register_node("marinara:hardcoral_pink", {
}) })
minetest.register_node("marinara:hardcoral_red", { minetest.register_node("marinara:hardcoral_red", {
description = ("Red Hard Coral"), description = S("Red Hard Coral"),
tiles = {"marinara_hardcoral_red.png"}, tiles = {"marinara_hardcoral_red.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
light_source = 2, light_source = 2,
@ -59,7 +61,7 @@ minetest.register_node("marinara:hardcoral_red", {
}) })
minetest.register_node("marinara:hardcoral_violet", { minetest.register_node("marinara:hardcoral_violet", {
description = ("Violet Hard Coral"), description = S("Violet Hard Coral"),
tiles = {"marinara_hardcoral_violet.png"}, tiles = {"marinara_hardcoral_violet.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
light_source = 2, light_source = 2,
@ -69,7 +71,7 @@ minetest.register_node("marinara:hardcoral_violet", {
}) })
minetest.register_node("marinara:hardcoral_yellow", { minetest.register_node("marinara:hardcoral_yellow", {
description = ("Yellow Hard Coral"), description = S("Yellow Hard Coral"),
tiles = {"marinara_hardcoral_yellow.png"}, tiles = {"marinara_hardcoral_yellow.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
light_source = 2, light_source = 2,
@ -79,7 +81,7 @@ minetest.register_node("marinara:hardcoral_yellow", {
}) })
minetest.register_node("marinara:coastrock", { minetest.register_node("marinara:coastrock", {
description = ("Coastal Rock"), description = S("Coastal Rock"),
tiles = {"marinara_coastrock.png"}, tiles = {"marinara_coastrock.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "marinara:coastrock", drop = "marinara:coastrock",
@ -88,7 +90,7 @@ minetest.register_node("marinara:coastrock", {
}) })
minetest.register_node("marinara:coastrock_alage", { minetest.register_node("marinara:coastrock_alage", {
description = ("Coastal Rock with Alage"), description = S("Coastal Rock with Alage"),
tiles = {"marinara_coastrock_alage.png"}, tiles = {"marinara_coastrock_alage.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "marinara:coastrock_alage", drop = "marinara:coastrock_alage",
@ -97,7 +99,7 @@ minetest.register_node("marinara:coastrock_alage", {
}) })
minetest.register_node("marinara:seapocks", { minetest.register_node("marinara:seapocks", {
description = ("Sea Pocks"), description = S("Sea Pocks"),
tiles = {"marinara_seapocks.png"}, tiles = {"marinara_seapocks.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = "marinara:seapocks", drop = "marinara:seapocks",

View File

@ -1,15 +1,17 @@
local S = minetest.get_translator("marinara")
stairs.register_stair_and_slab( stairs.register_stair_and_slab(
"marinara_reed_node", "marinara_reed_node",
"marinara:reed_bundle", "marinara:reed_bundle",
{snappy = 3, oddly_breakable_by_hand = 0, flammable = 0}, {snappy = 3, oddly_breakable_by_hand = 0, flammable = 0},
{"marinara_reed_node_top.png", "marinara_reed_node.png", "marinara_reed_node_top.png"}, {"marinara_reed_node_top.png", "marinara_reed_node.png", "marinara_reed_node_top.png"},
("Reed Node Stair"), S("Reed Node Stair"),
("Reed Node Slab"), S("Reed Node Slab"),
default.node_sound_leaves_defaults() default.node_sound_leaves_defaults()
) )
minetest.register_node("marinara:reed_bundle", { minetest.register_node("marinara:reed_bundle", {
description = ("Reed Node"), description = S("Reed Node"),
tiles = { tiles = {
"marinara_reed_node.png", "marinara_reed_node.png",
"marinara_reed_node.png", "marinara_reed_node.png",
@ -24,7 +26,7 @@ minetest.register_craft({
output = "marinara:reed_bundle", output = "marinara:reed_bundle",
type = "shapeless", type = "shapeless",
recipe = recipe =
{"marinara:reed", "marinara:reed", "marinara:reed", "marinara:reed"} {"marinara:reed", "marinara:reed"}
}) })
@ -32,12 +34,12 @@ minetest.register_craft({
output = "marinara:reed_bundle", output = "marinara:reed_bundle",
type = "shapeless", type = "shapeless",
recipe = recipe =
{"marinara:reed_root", "marinara:reed_root", "marinara:reed_root", "marinara:reed_root"} {"marinara:reed_root", "marinara:reed_root"}
}) })
minetest.register_node("marinara:bountychest", { minetest.register_node("marinara:bountychest", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -52,7 +54,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest2", { minetest.register_node("marinara:bountychest2", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -67,7 +69,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest3", { minetest.register_node("marinara:bountychest3", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -82,7 +84,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest4", { minetest.register_node("marinara:bountychest4", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -97,7 +99,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest5", { minetest.register_node("marinara:bountychest5", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -112,7 +114,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest6", { minetest.register_node("marinara:bountychest6", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -142,7 +144,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest8", { minetest.register_node("marinara:bountychest8", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -157,7 +159,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest9", { minetest.register_node("marinara:bountychest9", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -172,7 +174,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest10", { minetest.register_node("marinara:bountychest10", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -187,7 +189,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest11", { minetest.register_node("marinara:bountychest11", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -202,7 +204,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:bountychest12", { minetest.register_node("marinara:bountychest12", {
description = ("Bounty Chest"), description = S("Bounty Chest"),
tiles = { tiles = {
"marinara_bootynode_top.png", "marinara_bootynode_top.png",
"marinara_bootynode_bottom.png", "marinara_bootynode_bottom.png",
@ -217,7 +219,7 @@ groups = {wood = 1, choppy = 2, flammable = 2},
}) })
minetest.register_node("marinara:sand_with_seashells", { minetest.register_node("marinara:sand_with_seashells", {
description = ("Sand with Seashells"), description = S("Sand with Seashells"),
tiles = {"default_sand.png^marinara_seashells.png"}, tiles = {"default_sand.png^marinara_seashells.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1}, groups = {crumbly = 3, falling_node = 1, sand = 1},
drop = "marinara:seashells", drop = "marinara:seashells",
@ -233,12 +235,12 @@ minetest.register_craft({
}) })
minetest.register_craftitem("marinara:seashells", { minetest.register_craftitem("marinara:seashells", {
description = ("Seashells"), description = S("Seashells"),
inventory_image = "marinara_seashells.png", inventory_image = "marinara_seashells.png",
}) })
minetest.register_node("marinara:seashellmobile", { minetest.register_node("marinara:seashellmobile", {
description = ("Seashell Mobile"), description = S("Seashell Mobile"),
drawtype = "plantlike", drawtype = "plantlike",
waving = 0, waving = 0,
tiles = {"marinara_seashellmobile.png"}, tiles = {"marinara_seashellmobile.png"},
@ -260,7 +262,7 @@ minetest.register_node("marinara:seashellmobile", {
end, end,
}) })
walls.register(":marinara:coastbrick_wall", "Coast Brick Wall", "marinara_coastbrick.png", walls.register(":marinara:coastbrick_wall", S"Coast Brick Wall", "marinara_coastbrick.png",
"marinara:coastbrick_wall", default.node_sound_stone_defaults()) "marinara:coastbrick_wall", default.node_sound_stone_defaults())
stairs.register_stair_and_slab( stairs.register_stair_and_slab(
@ -268,13 +270,13 @@ walls.register(":marinara:coastbrick_wall", "Coast Brick Wall", "marinara_coastb
"marinara:coastbricks", "marinara:coastbricks",
{cracky = 1, oddly_breakable_by_hand = 0, flammable = 0}, {cracky = 1, oddly_breakable_by_hand = 0, flammable = 0},
{"marinara_coastbrick.png"}, {"marinara_coastbrick.png"},
("Coast Rock Brick Stair"), S("Coast Rock Brick Stair"),
("Coast Rock Brick Slab"), S("Coast Rock Brick Slab"),
default.node_sound_stone_defaults() default.node_sound_stone_defaults()
) )
minetest.register_node("marinara:coastbricks", { minetest.register_node("marinara:coastbricks", {
description = ("Coast Bricks"), description = S("Coast Bricks"),
tiles = {"marinara_coastbrick.png"}, tiles = {"marinara_coastbrick.png"},
is_ground_content = false, is_ground_content = false,
groups = {cracky = 3, stone = 2}, groups = {cracky = 3, stone = 2},
@ -285,7 +287,7 @@ minetest.register_craft({
output = "marinara:coastbricks", output = "marinara:coastbricks",
type = "shapeless", type = "shapeless",
recipe = recipe =
{"marinara:coastrock", "marinara:coastrock", "marinara:coastrock", "marinara:coastrock"} {"marinara:coastrock", "marinara:coastrock"}
}) })
@ -294,12 +296,12 @@ minetest.register_craft({
output = "marinara:coastbrick_wall", output = "marinara:coastbrick_wall",
type = "shapeless", type = "shapeless",
recipe = recipe =
{"marinara:coastbricks", "marinara:coastbricks", "marinara:coastbricks", "marinara:coastbricks", "marinara:coastbricks", "marinara:coastbricks"} {"marinara:coastbricks"}
}) })
walls.register(":marinara:coastbrick_wall_alage", "Coast Brick Wall with Alage", "marinara_coastbrick_alage.png", walls.register(":marinara:coastbrick_wall_alage", S"Coast Brick Wall with Alage", "marinara_coastbrick_alage.png",
"marinara:coastbrick_wall_alage", default.node_sound_stone_defaults()) "marinara:coastbrick_wall_alage", default.node_sound_stone_defaults())
stairs.register_stair_and_slab( stairs.register_stair_and_slab(
@ -307,13 +309,13 @@ walls.register(":marinara:coastbrick_wall_alage", "Coast Brick Wall with Alage",
"marinara:coastbricks_alage", "marinara:coastbricks_alage",
{cracky = 1, oddly_breakable_by_hand = 0, flammable = 0}, {cracky = 1, oddly_breakable_by_hand = 0, flammable = 0},
{"marinara_coastbrick_alage.png"}, {"marinara_coastbrick_alage.png"},
("Coast Rock Brick Stair with Alage"), S("Coast Rock Brick Stair with Alage"),
("Coast Rock Brick Slab with Alage"), S("Coast Rock Brick Slab with Alage"),
default.node_sound_stone_defaults() default.node_sound_stone_defaults()
) )
minetest.register_node("marinara:coastbricks_alage", { minetest.register_node("marinara:coastbricks_alage", {
description = ("Coast Bricks with Alage"), description = S("Coast Bricks with Alage"),
tiles = {"marinara_coastbrick_alage.png"}, tiles = {"marinara_coastbrick_alage.png"},
is_ground_content = false, is_ground_content = false,
groups = {cracky = 3, stone = 2}, groups = {cracky = 3, stone = 2},
@ -324,7 +326,7 @@ minetest.register_craft({
output = "marinara:coastbricks_alage", output = "marinara:coastbricks_alage",
type = "shapeless", type = "shapeless",
recipe = recipe =
{"marinara:coastrock_alage", "marinara:coastrock_alage", "marinara:coastrock_alage", "marinara:coastrock_alage"} {"marinara:coastrock_alage", "marinara:coastrock_alage"}
}) })
@ -333,13 +335,13 @@ minetest.register_craft({
output = "marinara:coastbrick_wall_alage", output = "marinara:coastbrick_wall_alage",
type = "shapeless", type = "shapeless",
recipe = recipe =
{"marinara:coastbricks_alage", "marinara:coastbricks_alage", "marinara:coastbricks_alage", "marinara:coastbricks_alage", "marinara:coastbricks_alage", "marinara:coastbricks_alage"} {"marinara:coastbricks_alage"}
}) })
minetest.register_node("marinara:sand_with_seashells_orange", { minetest.register_node("marinara:sand_with_seashells_orange", {
description = ("Sand with Seashells Orange"), description = S("Sand with Seashells Orange"),
tiles = {"default_sand.png^marinara_seashells_orange.png"}, tiles = {"default_sand.png^marinara_seashells_orange.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1}, groups = {crumbly = 3, falling_node = 1, sand = 1},
drop = "marinara:seashells_orange", drop = "marinara:seashells_orange",
@ -355,12 +357,12 @@ minetest.register_craft({
}) })
minetest.register_craftitem("marinara:seashells_orange", { minetest.register_craftitem("marinara:seashells_orange", {
description = ("Seashells Orange"), description = S("Seashells Orange"),
inventory_image = "marinara_seashells_orange.png", inventory_image = "marinara_seashells_orange.png",
}) })
minetest.register_node("marinara:seashellmobile_orange", { minetest.register_node("marinara:seashellmobile_orange", {
description = ("Seashell Mobile Orange"), description = S("Seashell Mobile Orange"),
drawtype = "plantlike", drawtype = "plantlike",
waving = 0, waving = 0,
tiles = {"marinara_seashellmobile_orange.png"}, tiles = {"marinara_seashellmobile_orange.png"},
@ -383,7 +385,7 @@ minetest.register_node("marinara:seashellmobile_orange", {
}) })
minetest.register_node("marinara:sand_with_seashells_broken", { minetest.register_node("marinara:sand_with_seashells_broken", {
description = ("Sand with Seashells Broken"), description = S("Sand with Seashells Broken"),
tiles = {"default_sand.png^marinara_seashells_broken.png"}, tiles = {"default_sand.png^marinara_seashells_broken.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1}, groups = {crumbly = 3, falling_node = 1, sand = 1},
drop = "marinara:seashells_broken", drop = "marinara:seashells_broken",
@ -399,12 +401,12 @@ minetest.register_craft({
}) })
minetest.register_craftitem("marinara:seashells_broken", { minetest.register_craftitem("marinara:seashells_broken", {
description = ("Seashells Broken"), description = S("Seashells Broken"),
inventory_image = "marinara_seashells_broken.png", inventory_image = "marinara_seashells_broken.png",
}) })
minetest.register_node("marinara:seashellmobile_broken", { minetest.register_node("marinara:seashellmobile_broken", {
description = ("Seashell Mobile Broken"), description = S("Seashell Mobile Broken"),
drawtype = "plantlike", drawtype = "plantlike",
waving = 0, waving = 0,
tiles = {"marinara_seashellmobile_broken.png"}, tiles = {"marinara_seashellmobile_broken.png"},
@ -427,7 +429,7 @@ minetest.register_node("marinara:seashellmobile_broken", {
}) })
minetest.register_node("marinara:sand_with_seashells_pink", { minetest.register_node("marinara:sand_with_seashells_pink", {
description = ("Sand with Seashells Pink"), description = S("Sand with Seashells Pink"),
tiles = {"default_sand.png^marinara_seashells_pink.png"}, tiles = {"default_sand.png^marinara_seashells_pink.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1}, groups = {crumbly = 3, falling_node = 1, sand = 1},
drop = "marinara:seashells_pink", drop = "marinara:seashells_pink",
@ -443,12 +445,12 @@ minetest.register_craft({
}) })
minetest.register_craftitem("marinara:seashells_pink", { minetest.register_craftitem("marinara:seashells_pink", {
description = ("Seashells Pink"), description = S("Seashells Pink"),
inventory_image = "marinara_seashells_pink.png", inventory_image = "marinara_seashells_pink.png",
}) })
minetest.register_node("marinara:seashellmobile_pink", { minetest.register_node("marinara:seashellmobile_pink", {
description = ("Seashell Mobile Pink"), description = S("Seashell Mobile Pink"),
drawtype = "plantlike", drawtype = "plantlike",
waving = 0, waving = 0,
tiles = {"marinara_seashellmobile_pink.png"}, tiles = {"marinara_seashellmobile_pink.png"},
@ -471,7 +473,7 @@ minetest.register_node("marinara:seashellmobile_pink", {
}) })
minetest.register_node("marinara:sand_with_seashells_brown", { minetest.register_node("marinara:sand_with_seashells_brown", {
description = ("Sand with Seashells Brown"), description = S("Sand with Seashells Brown"),
tiles = {"default_sand.png^marinara_seashells_brown.png"}, tiles = {"default_sand.png^marinara_seashells_brown.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1}, groups = {crumbly = 3, falling_node = 1, sand = 1},
drop = "marinara:seashells_brown", drop = "marinara:seashells_brown",
@ -487,12 +489,12 @@ minetest.register_craft({
}) })
minetest.register_craftitem("marinara:seashells_brown", { minetest.register_craftitem("marinara:seashells_brown", {
description = ("Seashells Brown"), description = S("Seashells Brown"),
inventory_image = "marinara_seashells_brown.png", inventory_image = "marinara_seashells_brown.png",
}) })
minetest.register_node("marinara:seashellmobile_brown", { minetest.register_node("marinara:seashellmobile_brown", {
description = ("Seashell Mobile Brown"), description = S("Seashell Mobile Brown"),
drawtype = "plantlike", drawtype = "plantlike",
waving = 0, waving = 0,
tiles = {"marinara_seashellmobile_brown.png"}, tiles = {"marinara_seashellmobile_brown.png"},
@ -515,7 +517,7 @@ minetest.register_node("marinara:seashellmobile_brown", {
}) })
minetest.register_node("marinara:sand_with_seashells_yellow", { minetest.register_node("marinara:sand_with_seashells_yellow", {
description = ("Sand with Seashells Yellow"), description = S("Sand with Seashells Yellow"),
tiles = {"default_sand.png^marinara_seashells_yellow.png"}, tiles = {"default_sand.png^marinara_seashells_yellow.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1}, groups = {crumbly = 3, falling_node = 1, sand = 1},
drop = "marinara:seashells_yellow", drop = "marinara:seashells_yellow",
@ -531,12 +533,12 @@ minetest.register_craft({
}) })
minetest.register_craftitem("marinara:seashells_yellow", { minetest.register_craftitem("marinara:seashells_yellow", {
description = ("Seashells Yellow"), description = S("Seashells Yellow"),
inventory_image = "marinara_seashells_yellow.png", inventory_image = "marinara_seashells_yellow.png",
}) })
minetest.register_node("marinara:seashellmobile_yellow", { minetest.register_node("marinara:seashellmobile_yellow", {
description = ("Seashell Mobile Yellow"), description = S("Seashell Mobile Yellow"),
drawtype = "plantlike", drawtype = "plantlike",
waving = 0, waving = 0,
tiles = {"marinara_seashellmobile_yellow.png"}, tiles = {"marinara_seashellmobile_yellow.png"},
@ -559,7 +561,7 @@ minetest.register_node("marinara:seashellmobile_yellow", {
}) })
minetest.register_node("marinara:sand_with_seashells_white", { minetest.register_node("marinara:sand_with_seashells_white", {
description = ("Sand with Seashells"), description = S("Sand with Seashells White"),
tiles = {"default_sand.png^marinara_seashells_white.png"}, tiles = {"default_sand.png^marinara_seashells_white.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1}, groups = {crumbly = 3, falling_node = 1, sand = 1},
drop = "marinara:seashells_white", drop = "marinara:seashells_white",
@ -575,12 +577,12 @@ minetest.register_craft({
}) })
minetest.register_craftitem("marinara:seashells_white", { minetest.register_craftitem("marinara:seashells_white", {
description = ("Seashells White"), description = S("Seashells White"),
inventory_image = "marinara_seashells_white.png", inventory_image = "marinara_seashells_white.png",
}) })
minetest.register_node("marinara:seashellmobile_white", { minetest.register_node("marinara:seashellmobile_white", {
description = ("Seashell Mobile White"), description = S("Seashell Mobile White"),
drawtype = "plantlike", drawtype = "plantlike",
waving = 0, waving = 0,
tiles = {"marinara_seashellmobile_white.png"}, tiles = {"marinara_seashellmobile_white.png"},

View File

@ -28,8 +28,6 @@ local path = minetest.get_modpath(minetest.get_current_modname()) .. "/"
local S = minetest.get_translator and minetest.get_translator("marinara") or local S = minetest.get_translator and minetest.get_translator("marinara") or
dofile(path .. "intllib.lua") dofile(path .. "intllib.lua")
-- plants -- plants
dofile(path .. "coralnodes.lua") -- dofile(path .. "coralnodes.lua") --
dofile(path .. "plants.lua") -- dofile(path .. "plants.lua") --

87
locale/marinara.de.tr Normal file
View File

@ -0,0 +1,87 @@
# textdomain: marinara
### coralnodes.lua ###
Brown Hard Coral=Braune Steinkoralle
Hard Coral=Steinkoralle
Blue Hard Coral=Blaue Steinkoralle
Green Hard Coral=Grüne Steinkoralle
Pink Hard Coral=Pinke Steinkoralle
Red Hard Coral=Rote Steinkoralle
Violet Hard Coral=Violette Steinkoralle
Yellow Hard Coral=Gelbe Steinkoralle
Coastal Rock=Küstenfels
Coastal Rock with Alage=Algiger Küstenfels
Sea Pocks=Seepocken
### crafting.lua ###
Reed Node=Schilfblock
Reed Node Stair=Schilftreppe
Reed Node Slab=Schilfplatte
Bounty Chest=Beutetruhe
Sand with Seashells=Sand mit Muscheln
Seashells=Muscheln
Seashell Mobile=Muschel Mobile
Coast Bricks=Küstenziegel
Coast Brick Wall=Küstenziegelmauer
Coast Rock Brick Stair=Küstenziegel Treppe
Coast Rock Brick Slab=Küstenziegel Platte
Coast Brick Wall with Alage=Algige Küstenziegelmauer
Coast Rock Brick Stair with Alage=Algige Küstenziegel Treppe
Coast Bricks with Alage=Algige Küstenziegel
Sand with Seashells Orange=Sand mit orangen Muscheln
Seashell Mobile=Muschel Mobile
Seashells Orange=Orange Muscheln
Seashell Mobile Orange=Muschel Mobile Orange
Sand with Seashells Broken=Sand mit zerbrochenen Muscheln
Seashells Broken=Zerbrochene Muscheln
Seashell Mobile Broken=Muschel Mobile mit Bruchstücken
Sand with Seashells Pink=Sand mit pinken Muscheln
Seashells Pink=Pinke Muscheln
Seashell Mobile Pink=Muschel Mobile Pink
Sand with Seashells Brown=Sand mit braunen Muscheln
Seashells Brown=Braune Muscheln
Seashell Mobile Brown=Muschel Mobile Braun
Sand with Seashells Yellow=Sand mit gelben Muscheln
Seashells Yellow=Gelbe Muscheln
Seashell Mobile Yellow=Muschel Mobile Gelb
Sand with Seashells White=Sand mit weißen Muscheln
Seashells White=Weiße Muscheln
Seashell Mobile White=Muschel Mobile Weiß
### plants.lua ###
Reed Root=Schilf mit Wurzeln
Reed=Schilf
Long Seagrass=Langes Seegras
Seagrass=Seegras
Alage=Alge
Brown Alage=Braunalge
### reefstuff.lua ###
Yellow Soft Coral=Gelbe Weichkoralle
White Soft Coral=Weiße Weichkoralle
Red Soft Coral=Rote Weichkoralle
Green Soft Coral=Grüne Weichkoralle
Soft Coral=Weichkoralle
Brown Soft Coral=Braune Weichkoralle
Sea Anemone=Seeanemone
Sea Worm=Fächerwurm
Mussel Node=Muschelblock
Cooked Mussels=Gekochte Muscheln
Oister Bank=Austernbank
Raw Oisters=Rohe Austern

View File

@ -1,5 +1,7 @@
local S = minetest.get_translator("marinara")
minetest.register_node("marinara:reed_root", { minetest.register_node("marinara:reed_root", {
description = ("Reed Root"), description = S("Reed Root"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
visual_scale = 3.5, visual_scale = 3.5,
waving = 1, waving = 1,
@ -31,7 +33,7 @@ minetest.register_node("marinara:reed_root", {
}) })
minetest.register_node("marinara:reed", { minetest.register_node("marinara:reed", {
description = ("Reed"), description = S("Reed"),
drawtype = "plantlike", drawtype = "plantlike",
waving = 1, waving = 1,
visual_scale = 3.5, visual_scale = 3.5,
@ -127,7 +129,7 @@ minetest.register_node("marinara:sand_with_kelp", {
}) })
minetest.register_node("marinara:sand_with_seagrass2", { minetest.register_node("marinara:sand_with_seagrass2", {
description = ("Long Seagrass"), description = S("Long Seagrass"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
tiles = {"default_sand.png"}, tiles = {"default_sand.png"},
@ -199,7 +201,7 @@ minetest.register_node("marinara:sand_with_seagrass2", {
}) })
minetest.register_node("marinara:sand_with_seagrass", { minetest.register_node("marinara:sand_with_seagrass", {
description = ("Seagrass"), description = S("Seagrass"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
tiles = {"default_sand.png"}, tiles = {"default_sand.png"},
@ -271,7 +273,7 @@ minetest.register_node("marinara:sand_with_seagrass", {
}) })
minetest.register_node("marinara:sand_with_alage", { minetest.register_node("marinara:sand_with_alage", {
description = ("Alage"), description = S("Alage"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
tiles = {"default_sand.png"}, tiles = {"default_sand.png"},
@ -343,7 +345,7 @@ minetest.register_node("marinara:sand_with_alage", {
}) })
minetest.register_node("marinara:coastrock_with_brownalage", { minetest.register_node("marinara:coastrock_with_brownalage", {
description = ("Brown Alage"), description = S("Brown Alage"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
tiles = {"marinara_coastrock.png"}, tiles = {"marinara_coastrock.png"},

View File

@ -1,7 +1,9 @@
local S = minetest.get_translator("marinara")
-- soft corals -- soft corals
minetest.register_node("marinara:softcoral_yellow", { minetest.register_node("marinara:softcoral_yellow", {
description = ("Yellow Soft Coral"), description = S("Yellow Soft Coral"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 2.0, visual_scale = 2.0,
@ -33,7 +35,7 @@ special_tiles = {{name = "marinara_softcoral_yellow.png", tileable_vertical = tr
}) })
minetest.register_node("marinara:softcoral_white", { minetest.register_node("marinara:softcoral_white", {
description = ("White Soft Coral"), description = S("White Soft Coral"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 2.0, visual_scale = 2.0,
@ -65,7 +67,7 @@ special_tiles = {{name = "marinara_softcoral_white.png", tileable_vertical = tru
}) })
minetest.register_node("marinara:softcoral_red", { minetest.register_node("marinara:softcoral_red", {
description = ("Red Soft Coral"), description = S("Red Soft Coral"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 2.0, visual_scale = 2.0,
@ -97,7 +99,7 @@ special_tiles = {{name = "marinara_softcoral_red.png", tileable_vertical = true,
}) })
minetest.register_node("marinara:softcoral_green", { minetest.register_node("marinara:softcoral_green", {
description = ("Green Soft Coral"), description = S("Green Soft Coral"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 1.0, visual_scale = 1.0,
@ -129,7 +131,7 @@ special_tiles = {{name = "marinara_softcoral_green.png", tileable_vertical = tru
}) })
minetest.register_node("marinara:softcoral", { minetest.register_node("marinara:softcoral", {
description = ("Soft Coral"), description = S("Soft Coral"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 1.0, visual_scale = 1.0,
@ -161,7 +163,7 @@ special_tiles = {{name = "marinara_softcoral.png", tileable_vertical = true, wav
}) })
minetest.register_node("marinara:softcoral_brown", { minetest.register_node("marinara:softcoral_brown", {
description = ("Brown Soft Coral"), description = S("Brown Soft Coral"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 2.0, visual_scale = 2.0,
@ -195,7 +197,7 @@ special_tiles = {{name = "marinara_softcoral_brown.png", tileable_vertical = tru
--- sea anemones --- sea anemones
minetest.register_node("marinara:seaanemone_tentacle", { minetest.register_node("marinara:seaanemone_tentacle", {
description = ("Sea Anemone"), description = S("Sea Anemone"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 1.0, visual_scale = 1.0,
@ -227,7 +229,7 @@ special_tiles = {{name = "marinara_seaanemone_tentacle.png", tileable_vertical =
}) })
minetest.register_node("marinara:seaanemone_tentacle2", { minetest.register_node("marinara:seaanemone_tentacle2", {
description = ("Sea Anemone"), description = S("Sea Anemone"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 1.0, visual_scale = 1.0,
@ -259,7 +261,7 @@ special_tiles = {{name = "marinara_seaanemone_tentacle2.png", tileable_vertical
}) })
minetest.register_node("marinara:seaanemone_tentacle3", { minetest.register_node("marinara:seaanemone_tentacle3", {
description = ("Sea Anemone"), description = S("Sea Anemone"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 1.0, visual_scale = 1.0,
@ -291,7 +293,7 @@ special_tiles = {{name = "marinara_seaanemone_tentacle3.png", tileable_vertical
}) })
minetest.register_node("marinara:seaanemone_tentacle4", { minetest.register_node("marinara:seaanemone_tentacle4", {
description = ("Sea Anemone"), description = S("Sea Anemone"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 1.0, visual_scale = 1.0,
@ -325,7 +327,7 @@ special_tiles = {{name = "marinara_seaanemone_tentacle4.png", tileable_vertical
--- fan worms --- fan worms
minetest.register_node("marinara:seaworm", { minetest.register_node("marinara:seaworm", {
description = ("Sea Worm"), description = S("Sea Worm"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 1.0, visual_scale = 1.0,
@ -357,7 +359,7 @@ special_tiles = {{name = "marinara_seaworm.png", tileable_vertical = true, wavin
}) })
minetest.register_node("marinara:seaworm2", { minetest.register_node("marinara:seaworm2", {
description = ("Sea Worm"), description = S("Sea Worm"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 1.0, visual_scale = 1.0,
@ -389,7 +391,7 @@ special_tiles = {{name = "marinara_seaworm2.png", tileable_vertical = true, wavi
}) })
minetest.register_node("marinara:seaworm3", { minetest.register_node("marinara:seaworm3", {
description = ("Sea Worm"), description = S("Sea Worm"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 1, waving = 1,
visual_scale = 2.0, visual_scale = 2.0,
@ -423,7 +425,7 @@ special_tiles = {{name = "marinara_seaworm3.png", tileable_vertical = true, wavi
-- mussels and oisters -- mussels and oisters
minetest.register_node("marinara:mussels", { minetest.register_node("marinara:mussels", {
description = ("Mussel Node"), description = S("Mussel Node"),
tiles = { tiles = {
{ {
name = "marinara_mussles.png", name = "marinara_mussles.png",
@ -445,14 +447,14 @@ minetest.register_craft({
}) })
minetest.register_craftitem("marinara:mussels_cooked", { minetest.register_craftitem("marinara:mussels_cooked", {
description = ("Cooked Mussels"), description = S("Cooked Mussels"),
inventory_image = "marinara_mussles_cooked.png", inventory_image = "marinara_mussles_cooked.png",
on_use = minetest.item_eat(8), on_use = minetest.item_eat(8),
groups = {food_meat = 1, flammable = 2} groups = {food_meat = 1, flammable = 2}
}) })
minetest.register_node("marinara:oisterbank", { minetest.register_node("marinara:oisterbank", {
description = ("Oister Bank"), description = S("Oister Bank"),
drawtype = "plantlike_rooted", drawtype = "plantlike_rooted",
waving = 0, waving = 0,
visual_scale = 2.0, visual_scale = 2.0,
@ -485,7 +487,7 @@ special_tiles = {{name = "marinara_oisterbank.png", tileable_vertical = true}},
}) })
minetest.register_node("marinara:raw_oisters", { minetest.register_node("marinara:raw_oisters", {
description = ("Raw Oisters"), description = S("Raw Oisters"),
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"marinara_rawoisters.png"}, tiles = {"marinara_rawoisters.png"},
inventory_image = "marinara_rawoisters.png", inventory_image = "marinara_rawoisters.png",

10
settingtypes.txt Normal file
View File

@ -0,0 +1,10 @@
#marinara settings
#If enabled, will clear all registered biomes.
marinara.clear_biomes (Enable to clear registered biomes. true / false) bool true
#If enabled, will clear all registered decorations.
marinara.clear_decos (Enable to clear registered decorations. true / false) bool true
#If enabled, will clear all registered ores.
marinara.clear_ores (Enable to clear registered ores. true / false) bool false

View File

@ -526,7 +526,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"default:sand"}, place_on = {"default:sand", "naturalbiomes:palmbeach_sand"},
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
offset = -0.04, offset = -0.04,
@ -536,7 +536,7 @@ noise_params = {
octaves = 7, octaves = 7,
persist = 0.9 persist = 0.9
}, },
biomes = {"coniferous_forest_ocean", "deciduous_forest_ocean", "grassland_ocean", "sandstone_desert_ocean", "savanna_ocean", "rainforest_ocean", "tundra_ocean", "snowy_grassland_ocean",}, biomes = {"coniferous_forest_ocean", "deciduous_forest_ocean", "grassland_ocean", "sandstone_desert_ocean", "savanna_ocean", "rainforest_ocean", "tundra_ocean", "snowy_grassland_ocean", "naturalbiomes:palmbeach",},
flags = "place_center_x,place_center_z,force_placement", flags = "place_center_x,place_center_z,force_placement",
y_max = -3, y_max = -3,
y_min = -8, y_min = -8,
@ -547,7 +547,7 @@ noise_params = {
minetest.register_decoration({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"default:sand"}, place_on = {"default:sand", "naturalbiomes:palmbeach_sand"},
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
offset = -0.04, offset = -0.04,
@ -557,7 +557,7 @@ noise_params = {
octaves = 7, octaves = 7,
persist = 0.9 persist = 0.9
}, },
biomes = {"coniferous_forest_ocean", "deciduous_forest_ocean", "grassland_ocean", "sandstone_desert_ocean", "savanna_ocean", "rainforest_ocean", "tundra_ocean", "snowy_grassland_ocean",}, biomes = {"coniferous_forest_ocean", "deciduous_forest_ocean", "grassland_ocean", "sandstone_desert_ocean", "savanna_ocean", "rainforest_ocean", "tundra_ocean", "snowy_grassland_ocean", "naturalbiomes:palmbeach",},
flags = "place_center_x,place_center_z,force_placement", flags = "place_center_x,place_center_z,force_placement",
y_max = -4, y_max = -4,
y_min = -8, y_min = -8,
@ -568,7 +568,7 @@ noise_params = {
minetest.register_decoration({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"default:sand"}, place_on = {"default:sand", "naturalbiomes:palmbeach_sand"},
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
offset = -0.04, offset = -0.04,
@ -578,7 +578,7 @@ noise_params = {
octaves = 7, octaves = 7,
persist = 0.9 persist = 0.9
}, },
biomes = {"deciduous_forest_ocean", "grassland_ocean", "coniferous_forest_ocean"}, biomes = {"deciduous_forest_ocean", "grassland_ocean", "coniferous_forest_ocean", "naturalbiomes:palmbeach",},
flags = "place_center_x,place_center_z,force_placement", flags = "place_center_x,place_center_z,force_placement",
y_max = -0, y_max = -0,
y_min = -3, y_min = -3,