Version MFF.

master
sys4-fr 4 years ago
parent 58e245a94f
commit 9fe7b77283
  1. 0
      clams/depends.txt
  2. 8
      clams/init.lua
  3. 0
      clams/readme.txt
  4. BIN
      clams/textures/clams_algae.png
  5. BIN
      clams/textures/clams_algaeused.png
  6. BIN
      clams/textures/clams_collectedalgae.png
  7. BIN
      clams/textures/clams_crushedwhite.png
  8. BIN
      clams/textures/clams_whiteshell.png
  9. 0
      modpack.txt
  10. 0
      noairblocks/depends.txt
  11. 28
      noairblocks/init.lua
  12. 0
      noairblocks/readme.txt
  13. 0
      seacobble/depends.txt
  14. 0
      seacobble/init.lua
  15. 0
      seacobble/readme.txt
  16. BIN
      seacobble/textures/seacobble_seacobble.png
  17. BIN
      seacobble/textures/seacobble_seacobble_aqua.png
  18. BIN
      seacobble/textures/seacobble_seacobble_cyan.png
  19. BIN
      seacobble/textures/seacobble_seacobble_lime.png
  20. BIN
      seacobble/textures/seacobble_seacobble_magenta.png
  21. BIN
      seacobble/textures/seacobble_seacobble_redviolet.png
  22. BIN
      seacobble/textures/seacobble_seacobble_skyblue.png
  23. 0
      seacoral/depends.txt
  24. 22
      seacoral/init.lua
  25. 0
      seacoral/readme.txt
  26. BIN
      seacoral/textures/seacoral_coralaqua.png
  27. BIN
      seacoral/textures/seacoral_coralcyan.png
  28. BIN
      seacoral/textures/seacoral_corallime.png
  29. BIN
      seacoral/textures/seacoral_coralmagenta.png
  30. BIN
      seacoral/textures/seacoral_coralredviolet.png
  31. BIN
      seacoral/textures/seacoral_coralskyblue.png
  32. 0
      seaglass/depends.txt
  33. 0
      seaglass/init.lua
  34. 0
      seaglass/readme.txt
  35. BIN
      seaglass/textures/seaglass_seaglass.png
  36. BIN
      seaglass/textures/seaglass_seaglass_black.png
  37. BIN
      seaglass/textures/seaglass_seaglass_blue.png
  38. BIN
      seaglass/textures/seaglass_seaglass_red.png
  39. BIN
      seaglass/textures/seaglass_seaglass_white.png
  40. BIN
      seaglass/textures/seaglass_seaglass_yellow.png
  41. 0
      seagravel/depends.txt
  42. 14
      seagravel/init.lua
  43. 0
      seagravel/readme.txt
  44. BIN
      seagravel/textures/seagravel_seagravel.png
  45. BIN
      seagravel/textures/seagravel_seagravel_aqua.png
  46. BIN
      seagravel/textures/seagravel_seagravel_cyan.png
  47. BIN
      seagravel/textures/seagravel_seagravel_lime.png
  48. BIN
      seagravel/textures/seagravel_seagravel_magenta.png
  49. BIN
      seagravel/textures/seagravel_seagravel_redviolet.png
  50. BIN
      seagravel/textures/seagravel_seagravel_skyblue.png
  51. 0
      sealamps/depends.txt
  52. 6
      sealamps/init.lua
  53. 0
      sealamps/readme.txt
  54. BIN
      sealamps/textures/sealamps_lantern.png
  55. BIN
      sealamps/textures/sealamps_lantern_on_ceiling.png
  56. BIN
      sealamps/textures/sealamps_lantern_on_floor.png
  57. BIN
      sealamps/textures/sealamps_torch_animated.png
  58. BIN
      sealamps/textures/sealamps_torch_on_ceiling_animated.png
  59. BIN
      sealamps/textures/sealamps_torch_on_floor.png
  60. BIN
      sealamps/textures/sealamps_torch_on_floor_animated.png
  61. 0
      seaplants/depends.txt
  62. 19
      seaplants/init.lua
  63. 0
      seaplants/readme.txt
  64. BIN
      seaplants/textures/seaplants_kelpbrown.png
  65. BIN
      seaplants/textures/seaplants_kelpbrownmiddle.png
  66. BIN
      seaplants/textures/seaplants_kelpgreen.png
  67. BIN
      seaplants/textures/seaplants_kelpgreenmiddle.png
  68. BIN
      seaplants/textures/seaplants_seagrassgreen.png
  69. BIN
      seaplants/textures/seaplants_seagrassred.png
  70. BIN
      seaplants/textures/seaplants_seasaladmix.png
  71. 0
      seastone/depends.txt
  72. 0
      seastone/init.lua
  73. 0
      seastone/readme.txt
  74. BIN
      seastone/textures/seastone_seastone.png
  75. BIN
      seastone/textures/seastone_seastone_aqua.png
  76. BIN
      seastone/textures/seastone_seastone_cyan.png
  77. BIN
      seastone/textures/seastone_seastone_lime.png
  78. BIN
      seastone/textures/seastone_seastone_magenta.png
  79. BIN
      seastone/textures/seastone_seastone_redviolet.png
  80. BIN
      seastone/textures/seastone_seastone_skyblue.png
  81. 0
      seastonebrick/depends.txt
  82. 0
      seastonebrick/init.lua
  83. 0
      seastonebrick/readme.txt
  84. BIN
      seastonebrick/textures/seastonebrick_seastonebrick.png
  85. BIN
      seastonebrick/textures/seastonebrick_seastonebrick_aqua.png
  86. BIN
      seastonebrick/textures/seastonebrick_seastonebrick_cyan.png
  87. BIN
      seastonebrick/textures/seastonebrick_seastonebrick_lime.png
  88. BIN
      seastonebrick/textures/seastonebrick_seastonebrick_magenta.png
  89. BIN
      seastonebrick/textures/seastonebrick_seastonebrick_redviolet.png
  90. BIN
      seastonebrick/textures/seastonebrick_seastonebrick_skyblue.png
  91. 0
      seawrecks/depends.txt
  92. 303
      seawrecks/init.lua
  93. 0
      seawrecks/readme.txt
  94. BIN
      seawrecks/textures/seawrecks_uboot_inventory.png
  95. BIN
      seawrecks/textures/seawrecks_woodship_inventory.png
  96. 0
      stairsshine/README.txt
  97. 0
      stairsshine/depends.txt
  98. 2
      stairsshine/init.lua
  99. 0
      whiteshell/depends.txt
  100. 2
      whiteshell/init.lua
  101. Some files were not shown because too many files have changed in this diff Show More

@ -226,7 +226,7 @@ minetest.register_abm({
local y = {x = pos.x, y = pos.y + 1, z = pos.z }
local yy = {x = pos.x, y = pos.y + 2, z = pos.z }
if minetest.get_node(y).name == "default:water_source" or
minetest.get_node(y).name == "noairblocks:water_sourcex" then
minetest.get_node(y).name == "noairblocks:water_sourcex" then
if minetest.get_node(yy).name == "default:water_source" or
minetest.get_node(yy).name == "noairblocks:water_sourcex" then
minetest.add_node(pos, {name = "clams:sandalgae"}) else
@ -244,7 +244,7 @@ minetest.register_abm({
local y = {x = pos.x, y = pos.y + 1, z = pos.z }
local yy = {x = pos.x, y = pos.y + 2, z = pos.z }
if minetest.get_node(y).name == "default:water_source" or
minetest.get_node(y).name == "noairblocks:water_sourcex" then
minetest.get_node(y).name == "noairblocks:water_sourcex" then
if minetest.get_node(yy).name == "default:water_source" or
minetest.get_node(yy).name == "noairblocks:water_sourcex" then
minetest.add_node(pos, {name = "clams:dirtalgae"}) else
@ -264,7 +264,7 @@ minetest.register_abm({
if (active_object_count_wider + active_object_count_wider) > 40 then
return
elseif (minetest.get_node(y).name == "default:water_source" or
minetest.get_node(y).name == "noairblocks:water_sourcex") then
minetest.get_node(y).name == "noairblocks:water_sourcex") then
if (minetest.get_node(yy).name == "default:water_source" or
minetest.get_node(yy).name == "noairblocks:water_sourcex") then
pos.y=pos.y + 1
@ -284,7 +284,7 @@ minetest.register_abm({
if (active_object_count_wider + active_object_count_wider) > 40 then
return
elseif (minetest.get_node(y).name == "default:water_source" or
minetest.get_node(y).name == "noairblocks:water_sourcex") then
minetest.get_node(y).name == "noairblocks:water_sourcex") then
if (minetest.get_node(yy).name == "default:water_source" or
minetest.get_node(yy).name == "noairblocks:water_sourcex") then
pos.y=pos.y + 1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 997 B

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 989 B

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 870 B

@ -29,7 +29,8 @@ minetest.register_node("noairblocks:water_flowingx", {
liquidtype = "flowing",
liquid_alternative_flowing = "noairblocks:water_flowingx",
liquid_alternative_source = "noairblocks:water_sourcex",
liquid_viscosity = WATER_VISC,
liquid_viscosity = 1,
liquid_range = 6,
freezemelt = "default:snow",
post_effect_color = {a=64, r=100, g=100, b=200},
groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1, freezes=1, melt_around=1},
@ -61,7 +62,8 @@ minetest.register_node("noairblocks:water_sourcex", {
liquidtype = "source",
liquid_alternative_flowing = "noairblocks:water_flowingx",
liquid_alternative_source = "noairblocks:water_sourcex",
liquid_viscosity = WATER_VISC,
liquid_viscosity = 1,
liquid_range = 6,
freezemelt = "default:ice",
post_effect_color = {a=64, r=100, g=100, b=200},
groups = {water=3, liquid=3, puts_out_fire=1, freezes=1},
@ -84,11 +86,11 @@ action = function(pos, node, active_object_count, active_object_count_wider)
local xnyp= {x = pos.x - 1, y = pos.y + 1, z = pos.z}
if minetest.get_node(xn).name == "default:water_source" and
minetest.get_node(yp).name ~= "air" and
minetest.get_node(xnyp).name ~= "air" then
minetest.get_node(xnyp).name ~= "air" then
minetest.add_node(xn, {name = "noairblocks:water_sourcex"}) else
if minetest.get_node(xn).name == "default:water_flowing" and
minetest.get_node(yp).name ~= "air" and
minetest.get_node(xnyp).name ~= "air" then
minetest.get_node(xnyp).name ~= "air" then
minetest.add_node(xn, {name = "noairblocks:water_flowingx"}) else
return
end
@ -106,11 +108,11 @@ action = function(pos, node, active_object_count, active_object_count_wider)
local xpyp= {x = pos.x + 1, y = pos.y + 1, z = pos.z}
if minetest.get_node(xp).name == "default:water_source" and
minetest.get_node(yp).name ~= "air" and
minetest.get_node(xpyp).name ~= "air" then
minetest.get_node(xpyp).name ~= "air" then
minetest.add_node(xp, {name = "noairblocks:water_sourcex"}) else
if minetest.get_node(xp).name == "default:water_flowing" and
minetest.get_node(yp).name ~= "air" and
minetest.get_node(xpyp).name ~= "air" then
minetest.get_node(xpyp).name ~= "air" then
minetest.add_node(xp, {name = "noairblocks:water_flowingx"}) else
return
end
@ -128,11 +130,11 @@ action = function(pos, node, active_object_count, active_object_count_wider)
local znyp= {x = pos.x, y = pos.y + 1, z = pos.z - 1}
if minetest.get_node(zn).name == "default:water_source" and
minetest.get_node(yp).name ~= "air" and
minetest.get_node(znyp).name ~= "air" then
minetest.get_node(znyp).name ~= "air" then
minetest.add_node(zn, {name = "noairblocks:water_sourcex"}) else
if minetest.get_node(zn).name == "default:water_flowing" and
minetest.get_node(yp).name ~= "air" and
minetest.get_node(znyp).name ~= "air" then
minetest.get_node(znyp).name ~= "air" then
minetest.add_node(zn, {name = "noairblocks:water_flowingx"}) else
return
end
@ -150,11 +152,11 @@ action = function(pos, node, active_object_count, active_object_count_wider)
local zpyp= {x = pos.x, y = pos.y + 1, z = pos.z + 1}
if minetest.get_node(zp).name == "default:water_source" and
minetest.get_node(yp).name ~= "air" and
minetest.get_node(zpyp).name ~= "air" then
minetest.get_node(zpyp).name ~= "air" then
minetest.add_node(zp, {name = "noairblocks:water_sourcex"}) else
if minetest.get_node(zp).name == "default:water_flowing" and
minetest.get_node(yp).name ~= "air" and
minetest.get_node(zpyp).name ~= "air" then
minetest.get_node(zpyp).name ~= "air" then
minetest.add_node(zp, {name = "noairblocks:water_flowingx"}) else
return
end
@ -168,7 +170,7 @@ interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
local yp= {x = pos.x, y = pos.y + 1, z = pos.z}
if minetest.get_node(yp).name == "default:water_source" then
if minetest.get_node(yp).name == "default:water_source" then
minetest.add_node(yp, {name = "noairblocks:water_sourcex"}) else
if minetest.get_node(yp).name == "default:water_flowing" then
minetest.add_node(yp, {name = "noairblocks:water_flowingx"}) else
@ -186,10 +188,10 @@ action = function(pos, node, active_object_count, active_object_count_wider)
local yn = {x = pos.x, y = pos.y - 1, z = pos.z}
local yp= {x = pos.x, y = pos.y + 1, z = pos.z}
if minetest.get_node(yn).name == "default:water_source" and
minetest.get_node(yp).name ~= "air" then
minetest.get_node(yp).name ~= "air" then
minetest.add_node(yn, {name = "noairblocks:water_sourcex"}) else
if minetest.get_node(yn).name == "default:water_flowing" and
minetest.get_node(yp).name ~= "air" then
minetest.get_node(yp).name ~= "air" then
minetest.add_node(yn, {name = "noairblocks:water_flowingx"}) else
return
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 387 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 376 B

@ -1,5 +1,7 @@
-- NODES
-- Lightened nodes for MFF
local sea_light_source = 5
minetest.register_node("seacoral:coralcyan", {
description = "Cyan Coral",
@ -12,6 +14,7 @@ minetest.register_node("seacoral:coralcyan", {
climbable = true,
drowning = 1,
is_ground_content = true,
light_source = sea_light_source,
selection_box = {
type = "fixed",
fixed = {-0.3, -0.3, -0.3, 0.3, 0.3, 0.3}
@ -29,6 +32,7 @@ minetest.register_node("seacoral:coralmagenta", {
wield_image = "seacoral_coralmagenta.png",
paramtype = "light",
walkable = false,
light_source = sea_light_source,
climbable = true,
drowning = 1,
is_ground_content = true,
@ -44,6 +48,7 @@ minetest.register_node("seacoral:coralmagenta", {
minetest.register_node("seacoral:coralaqua", {
description = "Aqua Coral",
drawtype = "plantlike",
light_source = sea_light_source,
tiles = {"seacoral_coralaqua.png"},
inventory_image = "seacoral_coralaqua.png",
wield_image = "seacoral_coralaqua.png",
@ -67,6 +72,7 @@ minetest.register_node("seacoral:corallime", {
tiles = {"seacoral_corallime.png"},
inventory_image = "seacoral_corallime.png",
wield_image = "seacoral_corallime.png",
light_source = sea_light_source,
paramtype = "light",
walkable = false,
climbable = true,
@ -90,6 +96,7 @@ minetest.register_node("seacoral:coralskyblue", {
paramtype = "light",
walkable = false,
climbable = true,
light_source = sea_light_source,
drowning = 1,
is_ground_content = true,
selection_box = {
@ -111,6 +118,7 @@ minetest.register_node("seacoral:coralredviolet", {
walkable = false,
climbable = true,
drowning = 1,
light_source = sea_light_source,
is_ground_content = true,
selection_box = {
type = "fixed",
@ -124,6 +132,7 @@ minetest.register_node("seacoral:coralredviolet", {
minetest.register_node("seacoral:seacoralsandcyan", {
description = "Sea coral sand cyan",
tiles = {"default_sand.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
@ -133,6 +142,7 @@ minetest.register_node("seacoral:seacoralsandcyan", {
minetest.register_node("seacoral:seacoraldirtcyan", {
description = "Sea coral dirt cyan",
tiles = {"default_dirt.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
drop = 'default:dirt',
@ -143,6 +153,7 @@ minetest.register_node("seacoral:seacoralsandmagenta", {
description = "Sea coral sand magenta",
tiles = {"default_sand.png"},
is_ground_content = true,
light_source = sea_light_source,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
sounds = default.node_sound_sand_defaults(),
@ -150,6 +161,7 @@ minetest.register_node("seacoral:seacoralsandmagenta", {
minetest.register_node("seacoral:seacoraldirtmagenta", {
description = "Sea coral dirt magenta",
light_source = sea_light_source,
tiles = {"default_dirt.png"},
is_ground_content = true,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
@ -160,6 +172,7 @@ minetest.register_node("seacoral:seacoraldirtmagenta", {
minetest.register_node("seacoral:seacoralsandaqua", {
description = "Sea coral sand aqua",
tiles = {"default_sand.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
@ -169,6 +182,7 @@ minetest.register_node("seacoral:seacoralsandaqua", {
minetest.register_node("seacoral:seacoraldirtaqua", {
description = "Sea coral dirt aqua",
tiles = {"default_dirt.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
drop = 'default:dirt',
@ -179,6 +193,7 @@ minetest.register_node("seacoral:seacoralsandlime", {
description = "Sea coral sand lime",
tiles = {"default_sand.png"},
is_ground_content = true,
light_source = sea_light_source,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
sounds = default.node_sound_sand_defaults(),
@ -188,6 +203,7 @@ minetest.register_node("seacoral:seacoraldirtlime", {
description = "Sea coral dirt lime",
tiles = {"default_dirt.png"},
is_ground_content = true,
light_source = sea_light_source,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
drop = 'default:dirt',
sounds = default.node_sound_dirt_defaults(),
@ -197,6 +213,7 @@ minetest.register_node("seacoral:seacoralsandskyblue", {
description = "Sea coral sand skyblue",
tiles = {"default_sand.png"},
is_ground_content = true,
light_source = sea_light_source,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
sounds = default.node_sound_sand_defaults(),
@ -207,6 +224,7 @@ minetest.register_node("seacoral:seacoraldirtskyblue", {
tiles = {"default_dirt.png"},
is_ground_content = true,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
light_source = sea_light_source,
drop = 'default:dirt',
sounds = default.node_sound_dirt_defaults(),
})
@ -214,6 +232,7 @@ minetest.register_node("seacoral:seacoraldirtskyblue", {
minetest.register_node("seacoral:seacoralsandredviolet", {
description = "Sea coral sand redviolet",
tiles = {"default_sand.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
@ -223,6 +242,7 @@ minetest.register_node("seacoral:seacoralsandredviolet", {
minetest.register_node("seacoral:seacoraldirtredviolet", {
description = "Sea coral dirt redviolet",
tiles = {"default_dirt.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
drop = 'default:dirt',
@ -647,4 +667,4 @@ minetest.register_alias("seadye:magenta","dye:magenta")
minetest.register_alias("seadye:lime","dye:lime")
minetest.register_alias("seadye:aqua","dye:aqua")
minetest.register_alias("seadye:skyblue","dye:skyblue")
minetest.register_alias("seadye:redviolet","dye:redviolet")
minetest.register_alias("seadye:redviolet","dye:redviolet")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

@ -90,7 +90,7 @@ stairs.register_stair_and_slab("seagravel", "seagravel:seagravel",
default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}))
}))
stairs.register_stair_and_slab("seagravel_cyan", "seagravel:seagravel_cyan",
{crumbly=2, falling_node=1},
@ -100,7 +100,7 @@ stairs.register_stair_and_slab("seagravel_cyan", "seagravel:seagravel_cyan",
default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}))
}))
stairs.register_stair_and_slab("seagravel_magenta", "seagravel:seagravel_magenta",
{crumbly=2, falling_node=1},
@ -110,7 +110,7 @@ stairs.register_stair_and_slab("seagravel_magenta", "seagravel:seagravel_magenta
default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}))
}))
stairs.register_stair_and_slab("seagravel_lime", "seagravel:seagravel_lime",
{cracky=3, stone=2},
@ -120,7 +120,7 @@ stairs.register_stair_and_slab("seagravel_lime", "seagravel:seagravel_lime",
default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}))
}))
stairs.register_stair_and_slab("seagravel_aqua", "seagravel:seagravel_aqua",
{crumbly=2, falling_node=1},
@ -130,7 +130,7 @@ stairs.register_stair_and_slab("seagravel_aqua", "seagravel:seagravel_aqua",
default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}))
}))
stairs.register_stair_and_slab("seagravel_skyblue", "seagravel:seagravel_skyblue",
{crumbly=2, falling_node=1},
@ -140,7 +140,7 @@ stairs.register_stair_and_slab("seagravel_skyblue", "seagravel:seagravel_skyblue
default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}))
}))
stairs.register_stair_and_slab("seagravel_redviolet", "seagravel:seagravel_redviolet",
{crumbly=2, falling_node=1},
@ -150,7 +150,7 @@ stairs.register_stair_and_slab("seagravel_redviolet", "seagravel:seagravel_redvi
default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}))
}))
-- CRAFTING

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 172 B

@ -14,7 +14,7 @@ minetest.register_node("sealamps:torch", {
paramtype2 = "wallmounted",
sunlight_propagates = true,
walkable = false,
light_source = LIGHT_MAX-1,
light_source = default.LIGHT_MAX-1,
selection_box = {
type = "wallmounted",
wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1},
@ -40,7 +40,7 @@ minetest.register_node("sealamps:lantern", {
paramtype2 = "wallmounted",
sunlight_propagates = true,
walkable = false,
light_source = LIGHT_MAX-1,
light_source = default.LIGHT_MAX-1,
selection_box = {
type = "wallmounted",
wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1},
@ -71,4 +71,4 @@ minetest.register_craft({
recipe = {
{'default:steel_ingot', 'default:bronze_ingot', 'default:glass'},
},
})
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 991 B

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1012 B

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 661 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 615 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 972 B

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 603 B

@ -1,5 +1,8 @@
-- NODES
-- Lightened nodes for MFF
local sea_light_source = 5
minetest.register_node("seaplants:kelpgreen", {
description = "Green Kelp",
drawtype = "plantlike",
@ -10,6 +13,7 @@ minetest.register_node("seaplants:kelpgreen", {
walkable = false,
climbable = true,
drowning = 1,
light_source = sea_light_source,
is_ground_content = true,
selection_box = {
type = "fixed",
@ -32,6 +36,7 @@ minetest.register_node("seaplants:kelpgreenmiddle", {
climbable = true,
drowning = 1,
is_ground_content = true,
light_source = sea_light_source,
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
@ -52,6 +57,7 @@ minetest.register_node("seaplants:kelpbrown", {
walkable = false,
climbable = true,
drowning = 1,
light_source = sea_light_source,
is_ground_content = true,
selection_box = {
type = "fixed",
@ -74,6 +80,7 @@ minetest.register_node("seaplants:kelpbrownmiddle", {
climbable = true,
drowning = 1,
is_ground_content = true,
light_source = sea_light_source,
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
@ -95,6 +102,7 @@ minetest.register_node("seaplants:seagrassgreen", {
climbable = true,
drowning = 1,
is_ground_content = true,
light_source = sea_light_source,
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.3, 0.3}
@ -116,6 +124,7 @@ minetest.register_node("seaplants:seagrassred", {
climbable = true,
drowning = 1,
is_ground_content = true,
light_source = sea_light_source,
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.3, 0.3}
@ -132,6 +141,7 @@ minetest.register_node("seaplants:seaplantssandkelpgreen", {
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
light_source = sea_light_source,
sounds = default.node_sound_sand_defaults(),
})
@ -142,12 +152,14 @@ minetest.register_node("seaplants:seaplantsdirtkelpgreen", {
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
drop = 'default:dirt',
sounds = default.node_sound_dirt_defaults(),
light_source = sea_light_source,
})
minetest.register_node("seaplants:seaplantssandkelpbrown", {
description = "Sea plants sand kelp brown",
tiles = {"default_sand.png"},
is_ground_content = true,
light_source = sea_light_source,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
sounds = default.node_sound_sand_defaults(),
@ -156,6 +168,7 @@ minetest.register_node("seaplants:seaplantssandkelpbrown", {
minetest.register_node("seaplants:seaplantsdirtkelpbrown", {
description = "Sea plants dirt kelp brown",
tiles = {"default_dirt.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
drop = 'default:dirt',
@ -166,6 +179,7 @@ minetest.register_node("seaplants:seaplantssandseagrassgreen", {
description = "Sea plants sand seagrass green",
tiles = {"default_sand.png"},
is_ground_content = true,
light_source = sea_light_source,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
sounds = default.node_sound_sand_defaults(),
@ -174,6 +188,7 @@ minetest.register_node("seaplants:seaplantssandseagrassgreen", {
minetest.register_node("seaplants:seaplantsdirtseagrassgreen", {
description = "Sea plants dirt seagrass green",
tiles = {"default_dirt.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
drop = 'default:dirt',
@ -183,6 +198,7 @@ minetest.register_node("seaplants:seaplantsdirtseagrassgreen", {
minetest.register_node("seaplants:seaplantssandseagrassred", {
description = "Sea plants sand seagrass red",
tiles = {"default_sand.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
drop = 'default:sand',
@ -192,6 +208,7 @@ minetest.register_node("seaplants:seaplantssandseagrassred", {
minetest.register_node("seaplants:seaplantsdirtseagrassred", {
description = "Sea plants dirt seagrass red",
tiles = {"default_dirt.png"},
light_source = sea_light_source,
is_ground_content = true,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
drop = 'default:dirt',
@ -536,4 +553,4 @@ minetest.register_alias("seaplants:chewstickgreen","seaplants:kelpgreen")
minetest.register_alias("seaplants:chewstickbrown","seaplants:kelpbrown")
minetest.register_alias("seaplants:leavysnackgreen","seaplants:seagrassgreen")
minetest.register_alias("seaplants:leavysnackblue","seaplants:seagrassred")
minetest.register_alias("seaplants:seasalad","seaplants:seasaladmix")
minetest.register_alias("seaplants:seasalad","seaplants:seasaladmix")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -4,16 +4,18 @@
minetest.register_node("seawrecks:woodship", {
description = "Sand for the wooden ship",
tiles = {"default_sand.png"},
inventory_image = "seawrecks_woodship_inventory.png",
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1, soil=1, not_in_creative_inventory=1},
groups = {crumbly=3, falling_node=1, sand=1, soil=1},
sounds = default.node_sound_sand_defaults(),
})
minetest.register_node("seawrecks:uboot", {
description = "Dirt for the U-boot",
tiles = {"default_dirt.png"},
inventory_image = "seawrecks_uboot_inventory.png",
is_ground_content = true,
groups = {crumbly=3,soil=1, not_in_creative_inventory=1},
groups = {crumbly=3,soil=1},
sounds = default.node_sound_dirt_defaults(),
})
@ -29,6 +31,21 @@ minetest.register_node("seawrecks:woodshipchest", {
sounds = default.node_sound_wood_defaults(),
on_construct = function(pos)
local meta = minetest.get_meta(pos)
local kind_of_price = math.random(0,2)
local amount_of_price = math.random(1, 5)
local ingot_price = {"default:steel_ingot","default:copper_ingot","default:gold_ingot","default:tin_ingot","default:silver_ingot"}
local price_group = {"",""}
local choosen_ingot = math.random(1, #ingot_price)
price_group[1] = ingot_price[choosen_ingot].." "..amount_of_price
if (kind_of_price == 0) then -- Ingots AND mese
price_group[2] = "default:mese_crystal "..math.random(1, 2)
elseif (kind_of_price == 1) then -- Ingots AND diamond
price_group[2] = "default:diamond "..math.random(1,3)
else
price_group[2] = ""
end
meta:set_string("formspec",
"size[8,9]"..
"list[current_name;main;0,0;8,4;]"..
@ -40,7 +57,7 @@ minetest.register_node("seawrecks:woodshipchest", {
inv:set_size("main", 8*4)
meta:from_table({
inventory = {
main = {[1] = "default:tree 99", [2] = "default:jungletree 99", [3] = "default:wood 99", [4] = "default:junglewood 99", [5] = "default:sapling 99", [6] = "default:junglesapling 99", [7] = "default:grass_1 99", [8] = "default:junglegrass 99", [32] = ""}
main = {[1] = price_group[1], [2] = price_group[2], [32] = ""}
},
fields = {
formspec = "size[8,9;]list[context;main;0,0;8,4;]list[current_player;main;0,5;8,4;]" ..
@ -81,6 +98,21 @@ minetest.register_node("seawrecks:ubootchest", {
sounds = default.node_sound_wood_defaults(),
on_construct = function(pos)
local meta = minetest.get_meta(pos)
local kind_of_price = math.random(0,2)
local amount_of_price = math.random(1, 20)
local ingot_price = {"default:steel_ingot","default:copper_ingot","default:gold_ingot","default:tin_ingot","default:silver_ingot"}
local price_group = {"",""}
local choosen_ingot = math.random(1, #ingot_price)
price_group[1] = ingot_price[choosen_ingot].." "..amount_of_price
if (kind_of_price == 0) then -- Ingots AND mese
price_group[2] = "default:mese_crystal "..math.random(1, 7)
elseif (kind_of_price == 1) then -- Ingots AND diamond
price_group[2] = "default:diamond "..math.random(1,5)
else
price_group[2] = ""
end
meta:set_string("formspec",
"size[8,9]"..
"list[current_name;main;0,0;8,4;]"..
@ -92,7 +124,8 @@ minetest.register_node("seawrecks:ubootchest", {
inv:set_size("main", 8*4)
meta:from_table({
inventory = {
main = {[1] = "default:gold_ingot 99", [2] = "default:mese_crystal 99", [3] = "default:diamond 99", [32] = ""}
main = {[1] = price_group[1], [2] = price_group[2], [32] = ""}
--main = {[1] = "default:wood", [2] = "default:tree", [32] = ""}
},
fields = {
formspec = "size[8,9;]list[context;main;0,0;8,4;]list[current_player;main;0,5;8,4;]" ..
@ -382,7 +415,7 @@ local yp = {x = pos.x, y = pos.y + 8, z = pos.z}