StrangeLoopGames / EcoIssues

131 stars 21 forks source link

9.1.4 not possible to query custom stats for "none" #19269

Open DanielKispert opened 3 years ago

DanielKispert commented 3 years ago
  1. create a law that contains a Citizen Trigger
  2. put in a component that allows for a Custom Stat Query e.g. a compare in the "if"
  3. query a custom stat and select "none" for a citizen
  4. "none" is briefly selected before the selection snaps back to "Citizen"

this makes it impossible to store server-wide custom stats and reference them again, like counting the number of citizens.

IcedForge commented 3 years ago

With this pr https://github.com/StrangeLoopGames/Eco/pull/7033 could this be made possible to fetch data from collective server stats by having a new civic option in player statistics? So instead of "Citizen" you could select "World" statistics instead? Probably needs to be have a look at, assigned all 3 to review and post thoughts.

DanielKispert commented 3 years ago

just adding some screenshots: first recording a custom stat for "none", which is the default grafik tooltip of Record Custom Stat tells me that Person is optional grafik when doing a tax on that stat, the citizen is preselected for the custom stat query grafik at this point, it's possible to replace "Citizen" with any player but not with the "None" player user tooltip also telling me that it's optional grafik

Azzurite commented 2 years ago

I could not reproduce the custom stat not working... I thought it was not working at first, but my issue was a different one. I tested it again, and "none" seems to work