Strawberry Cake added.
This commit is contained in:
parent
5f459767dd
commit
c86bcc163b
@ -1,3 +1,4 @@
|
||||
Sea Strawbery Cake added.
|
||||
Sea Cucumber added.
|
||||
Salt added.
|
||||
description.txt added.
|
||||
|
@ -60,4 +60,8 @@ default
|
||||
## optional Depends
|
||||
hunger_ng<br>
|
||||
hunger<br>
|
||||
diet
|
||||
diet<br>
|
||||
signs_bot<br>
|
||||
dye<br>
|
||||
farming<br>
|
||||
bucket<br>
|
||||
|
@ -30,5 +30,11 @@ Sea Salt=Meersalz
|
||||
dry=getrocknet
|
||||
|
||||
### sea_strawberry.lua ###
|
||||
### sea_strawberry_recipes.lua ###
|
||||
|
||||
Sea Strawberry=Meeres Erdbeeren
|
||||
|
||||
### sea_strawberry_recipes.lua ###
|
||||
|
||||
Cake=Kuchen
|
||||
Piece=Stück
|
||||
|
@ -30,5 +30,11 @@ Sea Salt=
|
||||
dry=
|
||||
|
||||
### sea_strawberry.lua ###
|
||||
### sea_strawberry_recipes.lua ###
|
||||
|
||||
Sea Strawberry=
|
||||
|
||||
### sea_strawberry_recipes.lua ###
|
||||
|
||||
Cake=
|
||||
Piece=
|
||||
|
2
mod.conf
2
mod.conf
@ -1,3 +1,3 @@
|
||||
name = aqua_farming
|
||||
depends = default
|
||||
optional_depends = hunger_ng, hunger, diet, signs_bot
|
||||
optional_depends = hunger_ng, hunger, diet, signs_bot, dye, farming, bucket
|
||||
|
@ -43,4 +43,6 @@ if(signs_bot) then
|
||||
|
||||
end
|
||||
|
||||
dofile(aqua_farming.modpath .. "/sea_strawberry_recipes.lua")
|
||||
|
||||
aqua_farming.report(" module " .. name .. ".lua loaded.")
|
||||
|
47
sea_strawberry_recipes.lua
Normal file
47
sea_strawberry_recipes.lua
Normal file
@ -0,0 +1,47 @@
|
||||
local S = aqua_farming.S
|
||||
local name = "aqua_farming:sea_strawberry"
|
||||
local desc = S("Sea Strawberry")
|
||||
|
||||
minetest.register_craftitem(name .. "_cake", {
|
||||
description = desc .. " " .. S("Cake"),
|
||||
groups = {food = 1, food_vegan = 1, food_sweet = 1},
|
||||
inventory_image = "aqua_farming_" .. name:split(":")[2] .. "_cake.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem(name .. "_cake_piece", {
|
||||
description = desc .. " " .. S("Cake") .. " " .. S("Piece"),
|
||||
groups = {food = 1, food_vegan = 1, food_sweet = 1},
|
||||
inventory_image = "aqua_farming_" .. name:split(":")[2] .. "_cake_piece.png",
|
||||
on_use = minetest.item_eat(3)
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = name .. "_cake",
|
||||
recipe = {
|
||||
{name .. "_item", name .. "_item", name .. "_item"},
|
||||
{"group:food_flour", "dye:pink", "group:food_flour"},
|
||||
{"", "bucket:bucket_water", ""},
|
||||
},
|
||||
replacements = {
|
||||
{"bucket:bucket_water", "bucket:bucket_empty"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = name .. "_cake",
|
||||
recipe = {
|
||||
{name .. "_item", name .. "_item", name .. "_item"},
|
||||
{"group:food_flour", "dye:pink", "group:food_flour"},
|
||||
{"", "bucket:bucket_river_water", ""},
|
||||
},
|
||||
replacements = {
|
||||
{"bucket:bucket_river_water", "bucket:bucket_empty"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = name .. "_cake_piece 8",
|
||||
recipe = {
|
||||
{name .. "_cake"},
|
||||
},
|
||||
})
|
@ -4,7 +4,8 @@
|
||||
{'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},
|
||||
{'aqua_farming:sea_cucumber_item', 4, nil, nil, nil, nil},
|
||||
{'aqua_farming:sea_strawberry_cake_piece', 4, nil, nil, nil, nil},
|
||||
|
||||
}
|
||||
|
||||
|
BIN
textures/aqua_farming_sea_strawberry_cake.png
Normal file
BIN
textures/aqua_farming_sea_strawberry_cake.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 432 B |
BIN
textures/aqua_farming_sea_strawberry_cake_piece.png
Normal file
BIN
textures/aqua_farming_sea_strawberry_cake_piece.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 354 B |
Loading…
x
Reference in New Issue
Block a user