Cài đặt Steam
Đăng nhập
|
Ngôn ngữ
简体中文 (Hán giản thể)
繁體中文 (Hán phồn thể)
日本語 (Nhật)
한국어 (Hàn Quốc)
ไทย (Thái)
Български (Bungari)
Čeština (CH Séc)
Dansk (Đan Mạch)
Deutsch (Đức)
English (Anh)
Español - España (Tây Ban Nha - TBN)
Español - Latinoamérica (Tây Ban Nha cho Mỹ Latin)
Ελληνικά (Hy Lạp)
Français (Pháp)
Italiano (Ý)
Bahasa Indonesia (tiếng Indonesia)
Magyar (Hungary)
Nederlands (Hà Lan)
Norsk (Na Uy)
Polski (Ba Lan)
Português (Tiếng Bồ Đào Nha - BĐN)
Português - Brasil (Bồ Đào Nha - Brazil)
Română (Rumani)
Русский (Nga)
Suomi (Phần Lan)
Svenska (Thụy Điển)
Türkçe (Thổ Nhĩ Kỳ)
Українська (Ukraine)
Báo cáo lỗi dịch thuật
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