Project Zomboid

Project Zomboid

[B42/41] Improved Farming Info Window
46 条留言
SkyBlue  [作者] 10 月 30 日 上午 6:47 
@WOwowowo
When you open the info window, do you see a flickering highlight square appear over the crops?
I mainly play on Build 41, but I’ve never experienced that issue myself.

If you open the following file:
steamapps\workshop\content\108600\3470852353\mods\Improved Farming Info Window\Contents\mods\Improved Farming Info Window\media\lua\client\zISFarmingInfo.lua

Search for the line:
if Plant_List_Timer >= 60 then
Then try changing 60 to 30 or a smaller value, save the file, and test again to see if it helps.
WOwowowo 10 月 30 日 上午 6:00 
Hello, when I use this mod in B41, the highlight box keeps flickering. I hope this issue can be fixed. Thank you.
SkyBlue  [作者] 10 月 22 日 下午 6:55 
@XaonGames420
Ah… it was originally a 42 only mod,
but it turned out to be so convenient that I later made it work on 41 as well.
I just realized the tag was missing
thanks for pointing it out!
XaonGames420 10 月 22 日 下午 4:14 
why b41 if no b41 tag.... :(
galkinzhenia 9 月 28 日 上午 5:53 
Спасибо большое
SkyBlue  [作者] 9 月 27 日 上午 7:56 
@eggcup3665
No, it’s okay. The update caused some confusion, and conflicts with other mods can also occur. If you encounter any issues, please let me know anytime
eggcup3665 9 月 27 日 上午 7:40 
@SkyBlue
Dear Developer, I sincerely apologize. I misunderstood and thought the error was caused by your mode, but it was actually from a different one. Your mode is truly excellent. I'm very sorry once again.
SkyBlue  [作者] 9 月 25 日 上午 10:40 
@galkinzhenia, @eggcup3665
Please let me know exactly where and what problem occurs in version 42.12.

If you’re getting any errors, please upload the log as well.

I tested it myself and didn’t encounter any errors, nor did I find any issues with the mod’s functionality.

Also, the vanilla code that this mod overwrites hasn’t changed at all between 42.11 and 42.12.
eggcup3665 9 月 25 日 上午 9:52 
If you're experiencing an error where the game won't start, clear this mod. Unfortunately, this mod causes an error. I've loved this mod a lot in the meantime. Unfortunately, I'll come back when it gets updated. Thank you.
galkinzhenia 9 月 25 日 上午 9:31 
Обновите до 42.12
RunYouCleverBoy 9 月 1 日 上午 12:01 
can u please make hotkey for look at that menu
and color for cursed plants
Katatonik 8 月 16 日 下午 9:57 
Thank you.
My playstyle is apocalypse farmer and this mod makes it better!
yayie 6 月 12 日 上午 11:40 
Perfect. 10/10
yayie 6 月 12 日 上午 11:36 
wow, thank you. I'll check it out.
SkyBlue  [作者] 6 月 12 日 上午 11:00 
@yayie
Sandbox options to check for harvestable crops and seed-bearing crops have been added.
yayie 6 月 12 日 上午 9:27 
@SkyBlue Yes but only when its in Blooming Stage, the final stage. The one where we can get seeds when harvested.
SkyBlue  [作者] 6 月 12 日 上午 9:17 
@yayie
Do you mean that you'd like the crops to be highlighted with a square when they're ready to be harvested?
yayie 6 月 12 日 上午 5:41 
Love the mod. Thank you, however, could you add an indication when the crops is blooming? For example, if I select an info for a crop, it will tell me which crops are not healthy (pest flies etc) but in similar fashion, I want it to tell me which one is blooming.
SkyBlue  [作者] 5 月 16 日 下午 10:41 
@Estredar
For detailed information on cold-hardy, please refer to the Farming Wiki mod linked below.
You can find specific data for all crops there.
(If a crop does not have a "cold hardy" entry, it means the crop is not cold-hardy.)

If a crop is cold-hardy, it should be able to survive even during winterthough I haven't tested it myself.
Estredar 5 月 16 日 下午 10:34 
Ok, so about winter wheat, barley and flax, can these grow right now? They are best planted in october, but temperature is already reaching in the negatives C right now. Are these cold-hardy or doomed to be planted outside their season and die anyway?

Your quick answer is really appreciated btw, and there is no irony or undertones to anything i'm writing, just thanks alot!
SkyBlue  [作者] 5 月 16 日 下午 10:30 
@Estredar
I came up with a simpler solution and updated the mod right away.
By syncing with the outdated temperature system that's no longer used,
crops will no longer die from a curse if they were planted in the proper season, have enough water, and the temperature is above 10°C.
Estredar 5 月 16 日 下午 10:27 
Ok, i see your point, which crops are cold-hardy though? I expect that, if i plant something in its "best" month and that month happens to be september (lemongrass), then it will live to its harvest considering i gave it compost at the two growth stage i got before my whole field died... or am i getting it all wrong

From what i could read it was that every single crop received the curse debuff since the game was not doing it's seasoncheck correctly, missing a "not" somewhere. But, hey, i'm not really good at touching code beyond R, so i can't read lines that well.

Any help or updates to your mod you make are really welcome!
SkyBlue  [作者] 5 月 16 日 下午 9:46 
@Estredar
if you experienced a curse despite not over-fertilizing or planting season, it’s likely because — in addition to the conditions I mentioned in my previous comment —
each crop also has specific months where a curse can occur.
You can refer to the mod I made for detailed crop information here:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3473886171

If I remove the curse months from all crops,
the remaining conditions are manageable by the player,
so I’ll consider implementing that approach.
SkyBlue  [作者] 5 月 16 日 下午 9:41 
@Estredar
I checked the code after reading your comment, and it seems the issue is as follows:

One of the conditions for crop health to decrease is:
"If the temperature is below 10°C and the crop is not cold-hardy."
However, the temperature is not being pulled from the current Project Zomboid temperature system, but from an outdated system that doesn't work properly.
As a result, crop health decreases regardless of actual temperature.

Normally, if the crop isn’t cursed, the negative health effects are offset by positive factors.
But if the crop is cursed, the negative effects are doubled while the positive ones are halved, so they can no longer cancel each other out.
Estredar 5 月 16 日 下午 8:47 
Nah, i'm planting in season and everything just dies, the bug has been reported on the official forums as well. As soon as you enable Plant Growing Seasons, you are doomed to never being abble to farm since the check for growing season is not done properly in the code.

Saddly the mod to fix it was removed from the workshop for some reason.
SkyBlue  [作者] 5 月 16 日 下午 8:25 
@Estredar
No, aside from crops dying when the mildew level is 60 or higher,
this mod only provides information it does not change any game mechanics.

Please check the following conditions under which a crop can become cursed:

1. When the crop has been fertilized 3 or more times.

2. If the sandbox option "Plant Growing Seasons" is enabled, and the crop is outdoors, not in its planting season, and is not cold-hardy.

3. If the sandbox option "Plant Growing Seasons" is enabled, and the crop is outdoors during winter, and is not cold-hardy.
Estredar 5 月 16 日 下午 8:09 
Does this mod remove the "cursed" tag on every crop and allows to actually farm?
SkyBlue  [作者] 5 月 14 日 下午 2:14 
@Rusty #DopeRust
Ah, I understand now.
You meant that it's hard to be 100% sure about the frame rate difference because the number of rendered squares is different.
Some parts of the translation were a bit unnatural.

If you have any other issues or suggestions for improvements, feel free to leave a comment.
Thank you!
Rusty #DopeRust 5 月 14 日 上午 8:03 
@SkyBlue, what i mean by the same amount of scares is, when i start a new fresh test save and spawn in a place, like the example i gave in my report, i dont control the growth or ready to harvest crops already in the ground, so in my previous test's it detected a higher amount because it had more dying, sick, etc crops, in this recent test after the update, it didnt, so that is why i would give more feedback after further test's, since i wasnt able to full reproduce the amount i had in my previous test's.

Hope you understand what i mean and sorry if i didnt express myself correctly earlier.

Cheers.
SkyBlue  [作者] 5 月 14 日 上午 7:34 
@Rusty #DopeRust
I'm having trouble understanding the part about the number of squares being different.
Red square = dying crop (Health 30 or below)
Orange square = crops with disease (at least one of mildew, flies, slugs, or aphids)
Blue square = current water level is below the amount needed for growth
Other cases = no square displayed

If the location is different, then it's normal for the visible squares to differ, since the crop conditions are different.

https://i.imgur.com/PJJ3fNY.png
As you can see in the screenshot from the link, there doesn't seem to be any issue with display even when there are a lot of crops.
Rusty #DopeRust 5 月 14 日 上午 6:41 
@SkyBlue, thank you for the update/patch, i did a quick test and it didnt frop the FPS now, but it wasnt detecting the same amount of squares as the time i reported, i will do more test and if i find something i will report back.

Either way, awesome work, please keep it going.

Cheers.
SkyBlue  [作者] 5 月 14 日 上午 2:53 
@Rusty #DopeRust
I was aware that the more crops that needed to be displayed, the more the frame would drop,
but it took some time to find a better solution.
After the update, the frame drops should be significantly reduced.
Thanks for the report!
Rusty #DopeRust 5 月 11 日 下午 1:16 
@SkyBlue, firsstly, thank you for sharing your mods with the community of PZ, awesome QoL mods, good work.

Secondly, i want to give you some feedback, while testing the mod, on a new test save, if you spawn in the McCoy Estate, it has an farming area on the back of the house, with alot of ready to harvest and cultivated areas, i tested the mod there, i dont know if it depends on the amount of the squares it detects, but my FPS dropped from 120/130 to 15/20, then i tested in another farm areas, and it didnt detect the same amount of squares, and this didnt happen, so i dont know, i figure i should let you know this.

Keep the awesome work.

Cheers.
raskumar2183 5 月 8 日 上午 11:37 
оооо, спасибо за новое обновление!!! полезная штука
Flexible Games 5 月 6 日 下午 10:22 
You'd think that after 12 years the devs would have learned how to code by now.
SkyBlue  [作者] 5 月 6 日 下午 7:54 
@Flexible Games
It's a vanilla bug
Flexible Games 5 月 6 日 下午 7:34 
Is it a base-game bug where I fertilize and add compost and this shows "yes" on both, for a minute and if I go back and check again it's "No" again. both seem to be "Yes" very briefly, no matter what stage the plant is currently in.
SkyBlue  [作者] 5 月 3 日 上午 6:06 
@312948730
:steamhappy: Thx
SkyBlue  [作者] 5 月 3 日 上午 6:06 
@mediterna, @Reverence
nope
SkyBlue  [作者] 5 月 3 日 上午 6:01 
@raskumar2183
Since the goal is simply to provide more information, there are no plans to change the system.
SkyBlue  [作者] 5 月 3 日 上午 6:01 
@Kenpachi
:steamhappy: Thx
Reverence 5 月 2 日 上午 4:48 
does this mod also fix crops being "cursed" in any season?
312948730 5 月 2 日 上午 3:43 
perfect,i love it
mediterna 4 月 29 日 下午 3:29 
if you read the seed packet and have the growing months, are you able to view that in the window?
raskumar2183 4 月 29 日 上午 3:18 
я бы очень хотел в подобном моде увидеть дополнительную возможности в информационном окне:
- кнопку полить
- кнопку добавить удобрение
- кнопку лечить
- кнопку собрать урожай
Меня лично очень напрягает текущая система фермерства: сначала нужно посмотреть информацию о растении (два дейстия мышкой), потом что бы полить ещё 3-4 действия на каждое растение
Kenpa 4 月 26 日 上午 7:33 
Brilliant.