Added three new thought constraints for more thought variety:
clan_missing_status_constraint: for detecting if the Clan is missing a leader/deputy/medcat
This is because the random_cat method for thoughts can only check if the random cat chosen has a given status. It can't actually detect if a status is absent from the Clan altogether.
herb_max_constraint: For thoughts related to herb stores. I do plan to find a way to calculate the needed herb amounts for the Clan's population in the future.
leader_life_constraint: For thoughts related to how many lives the leader has. I made it so it can take multiple values as a way to avoid needing both a max and a min constraint; let me know if you think it should be done differently!
Why This Is Good For ClanGen
It's always nice to have more thoughts directly related to the current state of the Clan. These will make the cats feel more connected to what's happening in the game.
Proof of Testing
Changelog/Credits
Added new thoughts:
Thoughts for when the Clan has no leader, deputy, and/or medicine cat
About The Pull Request
Added three new thought constraints for more thought variety:
This is because the random_cat method for thoughts can only check if the random cat chosen has a given status. It can't actually detect if a status is absent from the Clan altogether.
herb_max_constraint: For thoughts related to herb stores. I do plan to find a way to calculate the needed herb amounts for the Clan's population in the future.
leader_life_constraint: For thoughts related to how many lives the leader has. I made it so it can take multiple values as a way to avoid needing both a max and a min constraint; let me know if you think it should be done differently!
Why This Is Good For ClanGen
It's always nice to have more thoughts directly related to the current state of the Clan. These will make the cats feel more connected to what's happening in the game.
Proof of Testing
Changelog/Credits
Added new thoughts: