I'm starting to go down a very hacky route and need to check to see if there's an easy way that I don't know about.
My goal is to show a bar event at all markets, conditional on some parameters only known after game load (after loading other files). The bar event will have an arbitrary number of options, also only known after game load.
My first approach was extending `BaseBarEventCreator` with `isPriority` true, a frequency weight of 100, and also having `isAlwaysShow()` return true in my `BarEvent`. But it still isn't showing up in all markets, maybe it only shows up in one at a time? It's also possible that I didn't wait long enough for the game to recalculate bar events for all markets...
Code:
https://bitbucket.org/CodingTartiflette/magiclib/src/MagicBounties/src/data/scripts/util/bounty/My second approach is to make a rule in `rules.csv` that triggers on `AddBarEvents`, with only the condition `$hasMarket`, and to fire a custom script that is a subclass of `AddBarEvent` where the `execute` decides whether the bar event should show up. However, next I need a way to have it fire my `BarEvent` subclass, which I guess has to happen from `FireBest`, and that's where I decided to stop and see if maybe there was a proper way to do this that doesn't involve working
around vanilla code.
If it helps to visualize, it's a bounty board; so, something that all bars will have, and will always be on display as long as there are bounties to take.
Thanks, and sorry for the wall of text.