Version MFF.

This commit is contained in:
sys4-fr 2018-09-08 16:11:33 +02:00
parent 58e245a94f
commit 9fe7b77283
101 changed files with 238 additions and 166 deletions

0
clams/depends.txt Normal file → Executable file
View File

8
clams/init.lua Normal file → Executable file
View File

@ -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

0
clams/readme.txt Normal file → Executable file
View File

BIN
clams/textures/clams_algae.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 271 B

BIN
clams/textures/clams_algaeused.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 997 B

After

Width:  |  Height:  |  Size: 213 B

BIN
clams/textures/clams_collectedalgae.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 316 B

BIN
clams/textures/clams_crushedwhite.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 989 B

After

Width:  |  Height:  |  Size: 179 B

BIN
clams/textures/clams_whiteshell.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 870 B

0
modpack.txt Normal file → Executable file
View File

0
noairblocks/depends.txt Normal file → Executable file
View File

28
noairblocks/init.lua Normal file → Executable file
View File

@ -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

0
noairblocks/readme.txt Normal file → Executable file
View File

0
seacobble/depends.txt Normal file → Executable file
View File

0
seacobble/init.lua Normal file → Executable file
View File

0
seacobble/readme.txt Normal file → Executable file
View File

BIN
seacobble/textures/seacobble_seacobble.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 280 B

BIN
seacobble/textures/seacobble_seacobble_aqua.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 390 B

BIN
seacobble/textures/seacobble_seacobble_cyan.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 389 B

BIN
seacobble/textures/seacobble_seacobble_lime.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 396 B

BIN
seacobble/textures/seacobble_seacobble_magenta.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 387 B

BIN
seacobble/textures/seacobble_seacobble_redviolet.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 377 B

BIN
seacobble/textures/seacobble_seacobble_skyblue.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 376 B

0
seacoral/depends.txt Normal file → Executable file
View File

22
seacoral/init.lua Normal file → Executable file
View File

@ -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")

0
seacoral/readme.txt Normal file → Executable file
View File

BIN
seacoral/textures/seacoral_coralaqua.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 259 B

BIN
seacoral/textures/seacoral_coralcyan.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 188 B

BIN
seacoral/textures/seacoral_corallime.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 356 B

BIN
seacoral/textures/seacoral_coralmagenta.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 209 B

BIN
seacoral/textures/seacoral_coralredviolet.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 255 B

BIN
seacoral/textures/seacoral_coralskyblue.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 219 B

0
seaglass/depends.txt Normal file → Executable file
View File

0
seaglass/init.lua Normal file → Executable file
View File

0
seaglass/readme.txt Normal file → Executable file
View File

BIN
seaglass/textures/seaglass_seaglass.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 252 B

BIN
seaglass/textures/seaglass_seaglass_black.png Normal file → Executable file

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

BIN
seaglass/textures/seaglass_seaglass_white.png Normal file → Executable file

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

0
seagravel/depends.txt Normal file → Executable file
View File

14
seagravel/init.lua Normal file → Executable file
View File

@ -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

0
seagravel/readme.txt Normal file → Executable file
View File

BIN
seagravel/textures/seagravel_seagravel.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 206 B

BIN
seagravel/textures/seagravel_seagravel_aqua.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 207 B

BIN
seagravel/textures/seagravel_seagravel_cyan.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 196 B

BIN
seagravel/textures/seagravel_seagravel_lime.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 210 B

BIN
seagravel/textures/seagravel_seagravel_magenta.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 195 B

BIN
seagravel/textures/seagravel_seagravel_redviolet.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 168 B

BIN
seagravel/textures/seagravel_seagravel_skyblue.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 172 B

0
sealamps/depends.txt Normal file → Executable file
View File

6
sealamps/init.lua Normal file → Executable file
View File

@ -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'},
},
})
})

0
sealamps/readme.txt Normal file → Executable file
View File

BIN
sealamps/textures/sealamps_lantern.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 991 B

After

Width:  |  Height:  |  Size: 204 B

BIN
sealamps/textures/sealamps_lantern_on_ceiling.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

After

Width:  |  Height:  |  Size: 231 B

BIN
sealamps/textures/sealamps_lantern_on_floor.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1012 B

After

Width:  |  Height:  |  Size: 229 B

BIN
sealamps/textures/sealamps_torch_animated.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 661 B

BIN
sealamps/textures/sealamps_torch_on_ceiling_animated.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 615 B

BIN
sealamps/textures/sealamps_torch_on_floor.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 972 B

After

Width:  |  Height:  |  Size: 220 B

BIN
sealamps/textures/sealamps_torch_on_floor_animated.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 603 B

0
seaplants/depends.txt Normal file → Executable file
View File

19
seaplants/init.lua Normal file → Executable file
View File

@ -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")

0
seaplants/readme.txt Normal file → Executable file
View File

BIN
seaplants/textures/seaplants_kelpbrown.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 271 B

BIN
seaplants/textures/seaplants_kelpbrownmiddle.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 408 B

BIN
seaplants/textures/seaplants_kelpgreen.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 426 B

BIN
seaplants/textures/seaplants_kelpgreenmiddle.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 543 B

BIN
seaplants/textures/seaplants_seagrassgreen.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 216 B

BIN
seaplants/textures/seaplants_seagrassred.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 198 B

BIN
seaplants/textures/seaplants_seasaladmix.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 503 B

0
seastone/depends.txt Normal file → Executable file
View File

0
seastone/init.lua Normal file → Executable file
View File

0
seastone/readme.txt Normal file → Executable file
View File

BIN
seastone/textures/seastone_seastone.png Normal file → Executable file

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

BIN
seastone/textures/seastone_seastone_redviolet.png Normal file → Executable file

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

0
seastonebrick/depends.txt Normal file → Executable file
View File

0
seastonebrick/init.lua Normal file → Executable file
View File

0
seastonebrick/readme.txt Normal file → Executable file
View File

BIN
seastonebrick/textures/seastonebrick_seastonebrick.png Normal file → Executable file

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

0
seawrecks/depends.txt Normal file → Executable file
View File

303
seawrecks/init.lua Normal file → Executable file
View File

@ -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
<