Shadows of Forbidden Gods

Shadows of Forbidden Gods

Not enough ratings
Randomized Agent Pool
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
11.787 KB
6 May, 2024 @ 6:29am
17 Aug, 2024 @ 2:37pm
5 Change Notes ( view )

Subscribe to download
Randomized Agent Pool

Description
News
Current Version: Version 1.0.04 (Hotfix)
Date Released: 17/08/24 (dd/mm/yy)

Introduction
This is a very simple mod that allows you to have a reduced subset of available unique and generic agents.

The percentages of generic and unique agents can be configured separately, and can individually be switched from default mode, where the total number of available agents is reduced to the keep-percentage, to individual mode, where each agent has the keep-percentage as a chance to not be removed.

It was made in response to the sudden glut of unique agents released as part of the first community ModJam.

Github
This mod's code is open source on Github, where it is also released for those not using the Steam Workshop.
Github Project: https://github.com/ilikegoodfood/RandomAgentPool
4 Comments
ilikegoodfood  [author] 17 Aug, 2024 @ 2:38pm 
Version 1.0.04 (Hotfix):
- (Base Game & DLC) Fixed that the mod didn't randomise the agent pool when generating multiple games without quitting the game in between.
ilikegoodfood  [author] 12 May, 2024 @ 7:11am 
Version 1.0.03 (Compatibility Improvements):
- Moved agent pool logic from `afterMapGenAfterHistorical` to `onTurnStart`, thus ensuring that all modded agents have been added prior to operation. This code only runs once, via a boolean check.
- Reworked how agent pool is repopulated to maximize compatibility between this mod and others.
- - When processing the Broken Maker's sleep cycle, instead of replacing the existing agent pool with a subset from the master agent pool, which is populated after map gen, those not in the used-buffer or the recruitment pool, are repopulated form the master pool, and then the recruitment pool is trimmed.
ilikegoodfood  [author] 11 May, 2024 @ 7:41am 
Version 1.0.02 (Hotfix):
- Changed how the broken maker's used agent buffer is tracked, greatly improving performance.
ilikegoodfood  [author] 11 May, 2024 @ 4:06am 
Version 1.0.01 (Broken Maker):
This Update Breaks save compatibility.
Due to internal changes, this update is not compatible with saves made using the previous version. If you wish to continue those saves, you can download the release version via Github, and use that until your game is finished.
Apologies for the inconvenience.

- Implemented exact count mod options.
- - You can now select an exact number of generic or unique agents, configurable separately, that you wish to be present in a game, instead of using percentages.
- Implemented full Broken maker Compatibility.
- - At the start of the game, and each time the Broken Maker sleeps, the list of available agents will be randomly trimmed to the required level. This trimming occurs after the agent pool has had previously used agents removed, so 10% keep percentage size will be 10% of unused unique agents. Recommended with exact count option.
- - Removed Broken Maker mod option, as proper compatibility now exists.