View Issue Details

IDProjectCategoryLast Update
0027820Heart Of The MachineBug - OtherMay 3, 2023 1:38 pm
ReporterChris_McElligottPark Assigned ToDraco18s  
Status resolvedResolutionfixed 
Summary0027820: req_considering_cohort_has_status_level -- ability to tie to "any subcohort"
DescriptionThis comes back to 0027818, which is primarily about better error reporting. You'll notice that in that prior one you didn't actually fix anything. This ticket is about actually fixing the thing once the error reporting on it is better.

This line fails because it's looking for a cohort status directly on the cohort itself:

<req_considering_cohort_has_status_level cohort_status_type="Wealth" must_be_at_least="500" must_be_at_most="1000"/>

What I would like is a way to say "on the cohort or any subcohort."

Basically, the easiest would be to say:

<req_considering_cohort_has_status_level cohort_status_type="Wealth" must_be_at_least="500" must_be_at_most="1000" check_sub_cohorts_if_needed="true"/>

Or something like that. In the case of all of these, it could look to any of the religious subcohorts, and it will find a Wealth stat just fine. If any of them are in the required range, then hooray, we pass the requirement check.

This would probably also need to be implemented for bonus_considering_cohort_has_status_level
TagsNo tags attached.

Relationships

has duplicate 0027818 resolvedDraco18s Spawning logic errors -- to detect on game startup. 

Activities

Draco18s

May 1, 2023 8:00 pm

manager   ~0067651

Fixed for next build

Issue History

Date Modified Username Field Change
May 1, 2023 4:57 pm Chris_McElligottPark New Issue
May 1, 2023 4:57 pm Chris_McElligottPark Status new => assigned
May 1, 2023 4:57 pm Chris_McElligottPark Assigned To => Draco18s
May 1, 2023 4:57 pm Chris_McElligottPark Relationship added related to 0027818
May 1, 2023 8:00 pm Draco18s Status assigned => resolved
May 1, 2023 8:00 pm Draco18s Resolution open => fixed
May 1, 2023 8:00 pm Draco18s Note Added: 0067651
May 1, 2023 8:00 pm Draco18s Relationship replaced has duplicate 0027818