Compare commits

...

5 Commits

Author SHA1 Message Date
tenplus1 ad9269569c add black kitty skin 2022-07-19 15:37:33 +01:00
tenplus1 998810af89 add clownfish to kitty food 2022-07-10 07:41:28 +01:00
tenplus1 409ac55224 update screenshot.png (thanks sirrobzeroone) 2022-07-07 15:32:52 +01:00
tenplus1 6ef76b06e0 remove unneeded local S 2022-06-11 10:47:30 +01:00
tenplus1 cca7169b9e add missing butter recipe for wooden buckets 2022-05-26 08:03:07 +01:00
5 changed files with 16 additions and 15 deletions

27
cow.lua
View File

@ -212,21 +212,18 @@ minetest.register_craftitem(":mobs:butter", {
groups = {food_butter = 1, flammable = 2}
})
if minetest.get_modpath("farming") and farming and farming.mod then
local salt_item = "default:sapling" -- some saplings are high in sodium
minetest.register_craft({
output = "mobs:butter",
recipe = {{"mobs:bucket_milk", "farming:salt"}},
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
})
else -- some saplings are high in sodium so makes a good replacement item
minetest.register_craft({
output = "mobs:butter",
recipe = {{"mobs:bucket_milk", "default:sapling"}},
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
})
if minetest.get_modpath("farming") and farming and farming.mod then
salt_item = "farming:salt"
end
minetest.register_craft({
output = "mobs:butter",
recipe = {{"mobs:bucket_milk", salt_item}},
replacements = {{"mobs:bucket_milk", "bucket:bucket_empty"}}
})
-- cheese wedge
minetest.register_craftitem(":mobs:cheese", {
description = S("Cheese"),
@ -299,4 +296,10 @@ if minetest.get_modpath("wooden_bucket") then
{"group:food_milk_glass", "vessels:drinking_glass 4"}
}
})
minetest.register_craft({
output = "mobs:butter",
recipe = {{"mobs:wooden_bucket_milk", salt_item}},
replacements = {{"mobs:wooden_bucket_milk", "wooden_bucket:bucket_wood_empty"}}
})
end

View File

@ -1,7 +1,5 @@
local path = minetest.get_modpath(minetest.get_current_modname()) .. "/"
local S
-- Check for translation method
local S
if minetest.get_translator ~= nil then

View File

@ -54,7 +54,7 @@ stepheight = 1.1,
},
follow = {
"mobs_animal:rat", "group:food_fish_raw",
"mobs_fish:tropical", "xocean:fish_edible"
"mobs_fish:tropical", "mobs_fish:clownfish", "xocean:fish_edible"
},
view_range = 8,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 229 KiB

BIN
textures/mobs_kitten_black.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B