Steam installeren
inloggen
|
taal
简体中文 (Chinees, vereenvoudigd)
繁體中文 (Chinees, traditioneel)
日本語 (Japans)
한국어 (Koreaans)
ไทย (Thai)
Български (Bulgaars)
Čeština (Tsjechisch)
Dansk (Deens)
Deutsch (Duits)
English (Engels)
Español-España (Spaans - Spanje)
Español - Latinoamérica (Spaans - Latijns-Amerika)
Ελληνικά (Grieks)
Français (Frans)
Italiano (Italiaans)
Bahasa Indonesia (Indonesisch)
Magyar (Hongaars)
Norsk (Noors)
Polski (Pools)
Português (Portugees - Portugal)
Português - Brasil (Braziliaans-Portugees)
Română (Roemeens)
Русский (Russisch)
Suomi (Fins)
Svenska (Zweeds)
Türkçe (Turks)
Tiếng Việt (Vietnamees)
Українська (Oekraïens)
Een vertaalprobleem melden
AddCookerRecipe(cooker, {
name = "mudrock_juice",
weight = 1,
test = function(cooker, names, tags)
local inedible = tags.inedible or 0 -- 确保 inedible 不是 nil
local fruit = tags.fruit or 0 -- 确保 fruit 不是 nil
return names.rocks and (names.pomegranate or names.pomegranate_cooked) and fruit >= 2 and inedible <= 2 and not tags.meat
end,
priority = 15,
foodtype = FOODTYPE.GOODIES,
health = 10,
hunger = 25,
sanity = 20,
perishtime = 480 * 8,
cooktime = 1,
potlevel = "low",
stacksize = 1,
}, true)
end
/scripts/main/mudrock_recipes.lua,后面修改成这样:
for _, cooker in ipairs(cookers) do
AddCookerRecipe(cooker, {
name = "mudrock_cake_covered",
weight = 1,
test = function(cooker, names, tags)
local inedible = tags.inedible or 0 -- 确保 inedible 不是 nil
return names.rocks and tags.dairy and tags.sweetener and inedible <= 2 and not tags.meat
end,
priority = 20,
foodtype = FOODTYPE.GOODIES,
health = 10,
hunger = 100,
sanity = 20,
perishtime = nil,
cooktime = 1.5,
tags = {
"honeyed"
},
potlevel = "low",
stacksize = 4,
}, true)
Best of luck on your test