add 3 new fish, 3 new food, 1 new lucky block

This commit is contained in:
tenplus1 2023-04-25 10:47:55 +01:00
parent f0b0e9f77a
commit b01b3a3d66
10 changed files with 86 additions and 23 deletions

View File

@ -19,7 +19,7 @@ TODO:
#### Lucky Blocks
It provides 59 new lucky blocks if the mod is detected.
It provides 60 new lucky blocks if the mod is detected.
## Technical info
-----------------

View File

@ -18,6 +18,8 @@ local fish_items = {
{"ethereal:fish_pufferfish", "desert_ocean"},
{"ethereal:fish_cichlid", "junglee_ocean"},
{"ethereal:fish_coy", "sakura"},
{"ethereal:fish_tilapia", "sakura"},
{"ethereal:fish_trevally", "sakura"},
{"ethereal:fish_angler", "ocean"},
{"ethereal:fish_jellyfish", "ocean"},
{"ethereal:fish_seahorse", "ocean"},
@ -25,6 +27,7 @@ local fish_items = {
{"ethereal:fish_seahorse_pink", "mushroom_ocean"},
{"ethereal:fish_seahorse_blue", "frost_ocean"},
{"ethereal:fish_seahorse_yellow", "desert_ocean"},
{"ethereal:fish_parrot", "desert"},
{"ethereal:fish_piranha", "jungle"},
{"ethereal:fish_tuna", "jungle"},
{"ethereal:fish_trout", "ocean"},
@ -526,6 +529,9 @@ local fish = {
{"Humboldt Squid", "squid", 0},
{"White Shrimp", "shrimp", 0},
{"Neon Tetra", "tetra", 1},
{"Tilapia", "tilapia", 2},
{"Golden Trevally", "trevally", 2},
{"Stoplight Parrotfish", "parrot", 2}
}
for n = 1, #fish do

View File

@ -604,6 +604,23 @@ minetest.register_craft({
})
-- garlic butter shrimp
minetest.register_craftitem("ethereal:garlic_shrimp", {
description = S("Garlic Butter Shrimp"),
inventory_image = "ethereal_garlic_butter_shrimp.png",
on_use = minetest.item_eat(6)
})
minetest.register_craft({
output = "ethereal:garlic_shrimp",
recipe = {
{"farming:skillet", "ethereal:fish_shrimp", "ethereal:fish_shrimp"},
{"group:food_butter", "group:food_garlic_clove", "ethereal:lemon"}
},
replacements = {{"farming:skillet", "farming:skillet"}}
})
-- jellyfish salad
minetest.register_craftitem("ethereal:jellyfish_salad", {
description = S("Jellyfish Salad"),
@ -649,3 +666,20 @@ minetest.register_craft({
},
replacements = {{"farming:skillet", "farming:skillet"}}
})
-- fish & chips
minetest.register_craftitem("ethereal:fish_n_chips", {
description = S("Fish & Chips"),
inventory_image = "ethereal_fish_chips.png",
on_use = minetest.item_eat(6)
})
minetest.register_craft({
output = "ethereal:fish_n_chips",
recipe = {
{"farming:baking_tray", "group:ethereal_fish", "group:food_potato"}
},
replacements = {
{"farming:baking_tray", "farming:baking_tray"}
}
})

View File

@ -36,6 +36,7 @@ Textures by BlueTangs Rock (CC BY-SA 3.0):
ethereal_fish_flounder.png
ethereal_fish_jellyfish.png
ethereal_fish_mackerel.png
ethereal_fish_parrot.png
ethereal_fish_pike.png
ethereal_fish_piranha.png
ethereal_fish_plaice.png
@ -46,12 +47,16 @@ Textures by BlueTangs Rock (CC BY-SA 3.0):
ethereal_fish_shrimp_cooked.png
ethereal_fish_squid.png
ethereal_fish_tetra.png
ethereal_fish_tilapia.png
ethereal_fish_trevally.png
ethereal_fish_tuna.png
ethereal_fish_trout.png
ethereal_sashimi.png
ethereal_fugu.png
ethereal_fish_chips.png
ethereal_calamari_raw.png
ethereal_calamari_cooked.png
ethereal_garlic_butter_shrimp.png
Texture by Sirrobzeroone (CC0)
ethereal_fish_seahorse*.png

View File

@ -70,32 +70,35 @@ lucky_block:add_blocks({
{"dro", {"ethereal:blue_marble", "ethereal:blue_marble_tile"}, 8},
{"dro", {"ethereal:etherium_ore"}, 5},
{"nod", "default:chest", 0, {
{name = "ethereal:fish_bluefin", max = 7},
{name = "ethereal:fish_blueram", max = 7},
{name = "ethereal:fish_catfish", max = 7},
{name = "ethereal:fish_clownfish", max = 7},
{name = "ethereal:fish_pike", max = 7},
{name = "ethereal:fish_flathead", max = 7},
{name = "ethereal:fish_plaice", max = 7},
{name = "ethereal:fish_pufferfish", max = 5},
{name = "ethereal:fish_salmon", max = 7},
{name = "ethereal:fish_cichlid", max = 7},
{name = "ethereal:fish_trout", max =7},
{name = "ethereal:fish_bluefin", max = 4},
{name = "ethereal:fish_blueram", max = 4},
{name = "ethereal:fish_catfish", max = 4},
{name = "ethereal:fish_clownfish", max = 4},
{name = "ethereal:fish_pike", max = 4},
{name = "ethereal:fish_flathead", max = 4},
{name = "ethereal:fish_plaice", max = 4},
{name = "ethereal:fish_pufferfish", max = 4},
{name = "ethereal:fish_salmon", max = 4},
{name = "ethereal:fish_cichlid", max = 4},
{name = "ethereal:fish_trout", max = 4},
{name = "ethereal:fish_tilapia", max = 4},
{name = "ethereal:fish_parrot", max = 4},
{name = "ethereal:fishing_rod", max = 1},
{name = "ethereal:worm", max = 10}
}},
{"nod", "default:chest", 0, {
{name = "ethereal:fish_carp", max = 7},
{name = "ethereal:fish_coy", max = 7},
{name = "ethereal:fish_flounder", max = 7},
{name = "ethereal:fish_jellyfish", max = 7},
{name = "ethereal:fish_mackerel", max = 7},
{name = "ethereal:fish_redsnapper", max = 7},
{name = "ethereal:fish_tuna", max = 7},
{name = "ethereal:fish_squid", max = 7},
{name = "ethereal:fish_shrimp", max = 7},
{name = "ethereal:fish_angler", max = 7},
{name = "ethereal:fish_piranha", max = 7},
{name = "ethereal:fish_carp", max = 4},
{name = "ethereal:fish_coy", max = 4},
{name = "ethereal:fish_flounder", max = 4},
{name = "ethereal:fish_jellyfish", max = 4},
{name = "ethereal:fish_mackerel", max = 4},
{name = "ethereal:fish_redsnapper", max = 4},
{name = "ethereal:fish_tuna", max = 4},
{name = "ethereal:fish_squid", max = 4},
{name = "ethereal:fish_shrimp", max = 4},
{name = "ethereal:fish_angler", max = 4},
{name = "ethereal:fish_piranha", max = 4},
{name = "ethereal:fish_trevally", max = 4},
{name = "ethereal:fishing_rod", max = 1},
{name = "ethereal:worm", max = 10}
}},
@ -115,6 +118,21 @@ lucky_block:add_blocks({
{"nod", "ethereal:candle_orange", 0},
{"nod", "ethereal:candle", 0},
{"dro", {"ethereal:fish_tetra", "ethereal:fish_shrimp", "ethereal:worm"}, 1},
{"nod", "default:chest", 0, {
{name = "ethereal:fish_n_chips", max = 1},
{name = "ethereal:calamari_cooked", max = 1},
{name = "ethereal:jellyfish_salad", max = 1},
{name = "ethereal:garlic_shrimp", max = 1},
{name = "ethereal:fish_shrimp_cooked", max = 1},
{name = "ethereal:mushroom_soup", max = 1},
{name = "ethereal:teriyaki_beed", max = 1},
{name = "ethereal:teriyaki_chicken", max = 1},
{name = "ethereal:fugu", max = 1},
{name = "ethereal:sushu_tamago", max = 1},
{name = "ethereal:sushi_nigiri", max = 1},
{name = "ethereal:sushi_kappamaki", max = 1},
{name = "ethereal:hearty_stew", max = 1},
}}
})
if minetest.get_modpath("3d_armor") then

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B