Compare commits
5 Commits
eed132225c
...
ad9269569c
Author | SHA1 | Date |
---|---|---|
tenplus1 | ad9269569c | |
tenplus1 | 998810af89 | |
tenplus1 | 409ac55224 | |
tenplus1 | 6ef76b06e0 | |
tenplus1 | cca7169b9e |
27
cow.lua
27
cow.lua
|
@ -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
|
||||
|
|
2
init.lua
2
init.lua
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
||||
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 229 KiB |
Binary file not shown.
After Width: | Height: | Size: 166 B |
Loading…
Reference in New Issue