Steam'i Yükleyin
giriş
|
dil
简体中文 (Basitleştirilmiş Çince)
繁體中文 (Geleneksel Çince)
日本語 (Japonca)
한국어 (Korece)
ไทย (Tayca)
Български (Bulgarca)
Čeština (Çekçe)
Dansk (Danca)
Deutsch (Almanca)
English (İngilizce)
Español - España (İspanyolca - İspanya)
Español - Latinoamérica (İspanyolca - Latin Amerika)
Ελληνικά (Yunanca)
Français (Fransızca)
Italiano (İtalyanca)
Bahasa Indonesia (Endonezce)
Magyar (Macarca)
Nederlands (Hollandaca)
Norsk (Norveççe)
Polski (Lehçe)
Português (Portekizce - Portekiz)
Português - Brasil (Portekizce - Brezilya)
Română (Rumence)
Русский (Rusça)
Suomi (Fince)
Svenska (İsveççe)
Tiếng Việt (Vietnamca)
Українська (Ukraynaca)
Bir çeviri sorunu bildirin
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