CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.65k stars 4.18k forks source link

Farms should be affected by pests #72051

Closed Standing-Storm closed 6 months ago

Standing-Storm commented 8 months ago

Is your feature request related to a problem? Please describe.

In the real world, something like 30% of global crop production is lost to pests every year and that's after accounting for all of humanity's pest-control measures. In a world without those measures, that number would be much higher. But if you stroll up to a farm on the first day of fall, there will be fields of corn rippling in the breeze, ready for the picking, with only the occasional empty spot to represent a particularly choosy animal.

Solution you would like.

Some sort of abstract way to represent pest damage. Actually spawning animals would only affect crops in the reality bubble (and looking through PRs, it was already tried before in an Aristotelian spontaneous generation sort of way), so it'd be better as a catch-up days after Cataclysm modifier, or some kind of tracking of locusts hordes of the overmap, or something similar. If you show up to a farm in summer or fall, more than half the crops should probably have been eaten.

Of course, this should also apply to your own crops if you spend weeks away and don't task any NPCs with looking after them.

Describe alternatives you have considered.

No response

Additional context

No response

fairyarmadillo commented 8 months ago

I believe a desired feature is to de-hardcode hordes and make them break things and consume resources depending on their members, so that seems like it will handle the locusts and aphids.

I've been working on farming. I want to make unattended crops die based on stuff like weather, irrigation, etc. That will take care of the more natural sorts of die-off. The main thing I need to learn about to do this is where/how/if map tiles store stuff like precipitation and temperature.

Brambor commented 8 months ago

The main thing I need to learn about to do this is where/how/if map tiles store stuff like precipitation and temperature.

I think temperature is used for food spoilage, so it is a part of the catch-up system.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.