Version MFF.
0
seaplants/depends.txt
Normal file → Executable file
19
seaplants/init.lua
Normal file → Executable 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
BIN
seaplants/textures/seaplants_kelpbrown.png
Normal file → Executable file
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 271 B |
BIN
seaplants/textures/seaplants_kelpbrownmiddle.png
Normal file → Executable file
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 408 B |
BIN
seaplants/textures/seaplants_kelpgreen.png
Normal file → Executable file
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 426 B |
BIN
seaplants/textures/seaplants_kelpgreenmiddle.png
Normal file → Executable file
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 543 B |
BIN
seaplants/textures/seaplants_seagrassgreen.png
Normal file → Executable file
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 216 B |
BIN
seaplants/textures/seaplants_seagrassred.png
Normal file → Executable file
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 198 B |
BIN
seaplants/textures/seaplants_seasaladmix.png
Normal file → Executable file
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 503 B |