Yes, that is the code I was referring to . The GitHub page says it hasn't been updated in 5 years, so I assume it is not the most recent version. I think a setup with a configurable Throne Room priority, like is supported the Dominiate simulator would be a great addition, however, I agree that it would not be a minor change. Skimming through the code, an alternative that I would consider to be a more minor change, would be to display a selection of strategy options to choose from for Throne Room (and/or King's Court), like occurs with many of the other cards. Those strategies option could be a simple, complex, broad, or general as desired. A broad strategy might have a few general rules that can override priorities like favoring + actions when you need extra actions to play other cards in hand, only throne rooming trashing when there are num times things you want to trash, etc. It wouldn't be perfect, but it would be enough for Throne Room to shine in many situations where it does not with the existing sim. Another broad strategy could be selected from the piulldown for other cases where these rules and the existing default both don't work well. I'd be interested in adding similar strategy options for a couple other cards. For example, it would be interesting to see whether Chancellor could become more useful in sims, with an option to avoid discarding your deck when a powerful card is ready to be drawn or when you've added a lot of green to your deck, instead of always discarding.
Another Throne Room / King's Court alternative that I think would not be that complex would be to add a MultiplicationCardPriority number for each card instead of using the general play priorities that aren't ideal for Throne Room / King's Court, such as ranking Chapel and Libaray ranking higher priority than Festival, in my earlier example. Sure, there are a few cases where you want to Throne Room a Chapel, but the vast majority of times both Library and Chapel would be lower priority than Festival, and could be ranked that way in the MultiplicationCardPriority numbers. However, this type of update would be a pain because of the large number of cards, rather than the complexity. There may also be other issues that I am not aware of.
That said, I am really impressed by Geronmioo's simulator, and do not intend to come off as criticizing. It is an outstanding piece of code that is very well written and well documented. I think it's superior to the vast majority of professional code I've seen at tech companies. This relates to why I'm interested in updating Geronimoo's sim instead of just using the existing Dominiate sim that already supports this. I prefer the additional features, ease of building complex sims, and faster run time with Geronmioo's sim.