安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
I checked the vanilla code again after reading your comment.
In the file Steam\steamapps\common\ProjectZomboid\media\lua\server\Farming\SPlantGlobalObject.lua,
the reason for using getGameTime():getMonth() + 1 is not to apply a one-month offset,
but because getGameTime():getMonth() returns values from 0 to 11 (not 1 to 12).
Therefore, the correct sowing months for barley are August (8), September (9), and October (10).
I also confirmed that the vanilla crop info window shows these months correctly,
and that barley grows properly in August in-game.
Just one thing—regarding RiskMonth, I mistakenly added +1, thinking it required a simple offset as you mentioned.
I've now reverted it back to its original logic.
your mod shows the sowing times for barley as 8, 9, 10, which would imply it's august, september and october
except the actual sow months are september, october and november (9, 10, 11)
and that's not just an ingame typo, if you try to sow barley on august it will die immediately.
the problem is that the source code has all months offset by 1 so you're actually giving misleading info
please check and test stuff before posting the mod...