pmotschmann / Evolve

An incremental game about evolving a civilization
Mozilla Public License 2.0
824 stars 354 forks source link

Convert slaves into a normal resource #1012

Closed yarukishi closed 6 months ago

yarukishi commented 9 months ago

Currently, slaves are stored as a count on the slave pen structure, and they are mirrored as a global resource for display purposes. This causes a value mismatch when a tax riot occurs, where slaves appear to be killed but are not. Change all references to the slave pen version of slave count into the global resource version.