Skip to content

Foraging methods refactor to reduce resuse #989

@TaranRallings

Description

@TaranRallings

There is significant redundancy in the foraging system whereby the foraging methods for non-animal resources are reused while being almost identical. This was tolerable with few such resources but as I am expanding to soils, mushrooms, seeds, etc it is blowing up. This is particularly the case with the delta_mass and calculate consumed_mass methods. The goal is to streamline into a reusable core structure for these foraging methods.

This issue is so that I behave responsibly and make this a SMALL PR ahead of the piping expansion instead of making you poor souls review a massive PR with 18 different changes.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions