Project Zomboid

Project Zomboid

[B42/41] Improved Farming Info Window
34 Comments
yayie 12 Jun @ 11:40am 
Perfect. 10/10
yayie 12 Jun @ 11:36am 
wow, thank you. I'll check it out.
SkyBlue  [author] 12 Jun @ 11:00am 
@yayie
Sandbox options to check for harvestable crops and seed-bearing crops have been added.
yayie 12 Jun @ 9:27am 
@SkyBlue Yes but only when its in Blooming Stage, the final stage. The one where we can get seeds when harvested.
SkyBlue  [author] 12 Jun @ 9:17am 
@yayie
Do you mean that you'd like the crops to be highlighted with a square when they're ready to be harvested?
yayie 12 Jun @ 5:41am 
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  [author] 16 May @ 10:41pm 
@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 16 May @ 10:34pm 
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  [author] 16 May @ 10:30pm 
@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 16 May @ 10:27pm 
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  [author] 16 May @ 9:46pm 
@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://steamhost.cn/steamcommunity_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  [author] 16 May @ 9:41pm 
@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 16 May @ 8:47pm 
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  [author] 16 May @ 8:25pm 
@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 16 May @ 8:09pm 
Does this mod remove the "cursed" tag on every crop and allows to actually farm?
SkyBlue  [author] 14 May @ 2:14pm 
@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 14 May @ 8:03am 
@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  [author] 14 May @ 7:34am 
@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 14 May @ 6:41am 
@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  [author] 14 May @ 2:53am 
@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 11 May @ 1:16pm 
@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 8 May @ 11:37am 
оооо, спасибо за новое обновление!!! полезная штука
Flexible Games 6 May @ 10:22pm 
You'd think that after 12 years the devs would have learned how to code by now.
SkyBlue  [author] 6 May @ 7:54pm 
@Flexible Games
It's a vanilla bug
Flexible Games 6 May @ 7:34pm 
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  [author] 3 May @ 6:06am 
@312948730
:steamhappy: Thx
SkyBlue  [author] 3 May @ 6:06am 
@mediterna, @Reverence
nope
SkyBlue  [author] 3 May @ 6:01am 
@raskumar2183
Since the goal is simply to provide more information, there are no plans to change the system.
SkyBlue  [author] 3 May @ 6:01am 
@Kenpachi
:steamhappy: Thx
Reverence 2 May @ 4:48am 
does this mod also fix crops being "cursed" in any season?
312948730 2 May @ 3:43am 
perfect,i love it
mediterna 29 Apr @ 3:29pm 
if you read the seed packet and have the growing months, are you able to view that in the window?
raskumar2183 29 Apr @ 3:18am 
я бы очень хотел в подобном моде увидеть дополнительную возможности в информационном окне:
- кнопку полить
- кнопку добавить удобрение
- кнопку лечить
- кнопку собрать урожай
Меня лично очень напрягает текущая система фермерства: сначала нужно посмотреть информацию о растении (два дейстия мышкой), потом что бы полить ещё 3-4 действия на каждое растение
Kenpa 26 Apr @ 7:33am 
Brilliant.