Sea cucumber added.
@ -1,3 +1,4 @@
|
||||
Sea Cucumber added.
|
||||
Salt added.
|
||||
description.txt added.
|
||||
Support for Signs_bot added.
|
||||
|
@ -26,12 +26,16 @@ The fruits of the sea strawberry are delicious.
|
||||
## Sea grass
|
||||
|
||||
Sea grass is like kelp and you can find it everywhere. It grows often next to kelp. Sea grass isn't eatable in it's raw state, but maybe you find some recipes
|
||||
for this grass. It' decorative.
|
||||
for this grass. It' decorative. I heard it rumble, that the sea grass is used to extract salt and green dye, when you roast it.
|
||||
|
||||
## Sea anemone
|
||||
|
||||
The Sea anemone is a carnivorus seaplant. It grows on on barren ground and in cold water, so the plant must obtain its nutrients in a different way. It 'eats' plankton, very small crabs and small water insects. The plant itself is eatable and some people say that the plant has an healing effect.
|
||||
|
||||
## Sea Cucumber
|
||||
|
||||
The Sea cucumber lifes like the Sea anemone in cooler water, but not to cold, like ice. You can find sea cucumber often next from the sea anemone. You can eat the sea cucumber raw, it satiates a lot. The sea cucumber is often a eatable decoration in main courses.
|
||||
|
||||
##
|
||||
## API
|
||||
You can define and register your own plants and let them growing.
|
||||
|
18
init.lua
@ -47,11 +47,27 @@ minetest.register_craft({
|
||||
},
|
||||
})
|
||||
|
||||
aqua_farming.plants = {
|
||||
"alga",
|
||||
"sea_strawberry",
|
||||
"sea_grass",
|
||||
"sea_anemone",
|
||||
"sea_cucumber",
|
||||
}
|
||||
|
||||
dofile(aqua_farming.modpath .. "/lib.lua")
|
||||
dofile(aqua_farming.modpath .. "/alga.lua")
|
||||
|
||||
for _,name in pairs(aqua_farming.plants) do
|
||||
dofile(aqua_farming.modpath .. "/" .. name .. ".lua")
|
||||
|
||||
end
|
||||
|
||||
--[[
|
||||
dofile(aqua_farming.modpath .. "/sea_strawberry.lua")
|
||||
dofile(aqua_farming.modpath .. "/sea_grass.lua")
|
||||
dofile(aqua_farming.modpath .. "/sea_anemone.lua")
|
||||
]]--
|
||||
|
||||
dofile(aqua_farming.modpath .. "/support_mods.lua")
|
||||
|
||||
aqua_farming.report(" successfully loaded.")
|
||||
|
@ -19,6 +19,10 @@ Wild=Wilde
|
||||
(raw)=(roh)
|
||||
Sea Anemone=Seeanemone
|
||||
|
||||
### sea_cucumber.lua ###
|
||||
|
||||
Sea Cucumber=Seegurke
|
||||
|
||||
### sea_grass.lua ###
|
||||
|
||||
Sea Grass=Meergras
|
||||
|
@ -19,6 +19,10 @@ Wild=
|
||||
(raw)=
|
||||
Sea Anemone=
|
||||
|
||||
### sea_cucumber.lua ###
|
||||
|
||||
Sea Cucumber=
|
||||
|
||||
### sea_grass.lua ###
|
||||
|
||||
Sea Grass=
|
||||
|
84
mapgen_sea_cucumber.lua
Normal file
@ -0,0 +1,84 @@
|
||||
-- Sea Anemone
|
||||
|
||||
local name = "aqua_farming:sea_cucumber"
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:sand"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.04,
|
||||
scale = 0.3,
|
||||
spread = {x = 70, y = 70, z = 70},
|
||||
seed = 87112,
|
||||
octaves = 3,
|
||||
persist = 0.5
|
||||
},
|
||||
biomes = {
|
||||
"taiga_ocean",
|
||||
"tundra_ocean",
|
||||
"coniferous_forest_ocean",
|
||||
"cold_desert_ocean",
|
||||
},
|
||||
y_max = -5,
|
||||
y_min = -40,
|
||||
flags = "force_placement",
|
||||
decoration = name .. "_wild",
|
||||
param2 = 48,
|
||||
param2_max = 96,
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:silver_sand"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.04,
|
||||
scale = 0.3,
|
||||
spread = {x = 70, y = 70, z = 70},
|
||||
seed = 87112,
|
||||
octaves = 3,
|
||||
persist = 0.5
|
||||
},
|
||||
biomes = {
|
||||
"taiga_ocean",
|
||||
"tundra_ocean",
|
||||
"coniferous_forest_ocean",
|
||||
"cold_desert_ocean",
|
||||
},
|
||||
y_max = -5,
|
||||
y_min = -40,
|
||||
flags = "force_placement",
|
||||
decoration = name .. "_wild",
|
||||
param2 = 48,
|
||||
param2_max = 96,
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:desert_sand"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.04,
|
||||
scale = 0.3,
|
||||
spread = {x = 70, y = 70, z = 70},
|
||||
seed = 87112,
|
||||
octaves = 3,
|
||||
persist = 0.5
|
||||
},
|
||||
biomes = {
|
||||
"taiga_ocean",
|
||||
"tundra_ocean",
|
||||
"coniferous_forest_ocean",
|
||||
"cold_desert_ocean",
|
||||
},
|
||||
y_max = -5,
|
||||
y_min = -40,
|
||||
flags = "force_placement",
|
||||
decoration = name .. "_wild",
|
||||
param2 = 48,
|
||||
param2_max = 96,
|
||||
})
|
46
sea_cucumber.lua
Normal file
@ -0,0 +1,46 @@
|
||||
local S = aqua_farming.S
|
||||
|
||||
local step = 8
|
||||
local light = 6
|
||||
local del = 9
|
||||
local chan = 13
|
||||
local name = "aqua_farming:sea_cucumber"
|
||||
local desc = S("Sea Cucumber")
|
||||
|
||||
local def = {
|
||||
basenode = "default:sand",
|
||||
nodename = name,
|
||||
description = desc,
|
||||
steps = step,
|
||||
min_light = light,
|
||||
delay = del,
|
||||
chance = chan,
|
||||
drop = {items = {
|
||||
{items = {name .. "_seed 2"}},
|
||||
{items = {name .. "_item 4"}},
|
||||
{items = {name .. "_seed 3", rarity = 15}},
|
||||
},
|
||||
},
|
||||
} -- def
|
||||
|
||||
aqua_farming.register_plant(def)
|
||||
|
||||
minetest.register_craftitem(name .. "_item", {
|
||||
description = desc,
|
||||
groups = {food = 1, food_vegan = 1, seafood = 1, food_cucumber = 1},
|
||||
inventory_image = "aqua_farming_" .. name:split(":")[2] .. "_item.png",
|
||||
on_use = minetest.item_eat(4),
|
||||
})
|
||||
|
||||
dofile(aqua_farming.modpath .. "/mapgen_" .. name:split(":")[2] .. ".lua")
|
||||
|
||||
if(signs_bot) then
|
||||
local fs = signs_bot.register_farming_seed
|
||||
local fc = signs_bot.register_farming_crop
|
||||
|
||||
fs(name .. "_seed", name .. "_1")
|
||||
fc(name .. "_" .. step, name .. "_item", name .. "_seed")
|
||||
|
||||
end
|
||||
|
||||
aqua_farming.report(" module " .. name .. ".lua loaded.")
|
@ -1,10 +1,11 @@
|
||||
local af_items = {
|
||||
-- Name Saturation Replace with Poison Heal Sound
|
||||
-- crops
|
||||
{'aqua_farming:alga_items', 1, nil, nil, nil, nil},
|
||||
{'aqua_farming:sea_strawberry_item', 3, nil, nil, nil, nil},
|
||||
{'aqua_farming:sea_anemone_item', 3, nil, nil, 1, nil},
|
||||
|
||||
{'aqua_farming:alga_items', 1, nil, nil, nil, nil},
|
||||
{'aqua_farming:sea_strawberry_item', 3, nil, nil, nil, nil},
|
||||
{'aqua_farming:sea_anemone_item', 3, nil, nil, 1, nil},
|
||||
{'aqua_farming:sea_cucumber_item', 4, nil, nil, nil, nil},
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
BIN
textures/aqua_farming_sea_cucumber_1.png
Normal file
After Width: | Height: | Size: 119 B |
BIN
textures/aqua_farming_sea_cucumber_2.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
textures/aqua_farming_sea_cucumber_3.png
Normal file
After Width: | Height: | Size: 174 B |
BIN
textures/aqua_farming_sea_cucumber_4.png
Normal file
After Width: | Height: | Size: 182 B |
BIN
textures/aqua_farming_sea_cucumber_5.png
Normal file
After Width: | Height: | Size: 232 B |
BIN
textures/aqua_farming_sea_cucumber_6.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
textures/aqua_farming_sea_cucumber_7.png
Normal file
After Width: | Height: | Size: 250 B |
BIN
textures/aqua_farming_sea_cucumber_8.png
Normal file
After Width: | Height: | Size: 262 B |
BIN
textures/aqua_farming_sea_cucumber_item.png
Normal file
After Width: | Height: | Size: 245 B |
BIN
textures/aqua_farming_sea_cucumber_seed.png
Normal file
After Width: | Height: | Size: 142 B |