Shadows of Forbidden Gods

Shadows of Forbidden Gods

Community Library
Showing 111-120 of 156 entries
< 1 ... 10  11  12  13  14 ... 16 >
Update: 15 Nov, 2023 @ 9:49am

Update: 30 Sep, 2023 @ 5:25am

Version 1.7.03 (AI Ritual Fix):
- Fixed Agent AI attempting to perform rituals in invalid locations.

Update: 24 Sep, 2023 @ 6:06am

Version 1.7.02:
This update breaks save files.

- Implemented `Pan To Holy Order Screen` mod option (true by default). If enabled, clicking "GO TO" on a map message will automatically open the holy order screen to that holy order.
- Implemented `link_locations X Y` console command. X and Y must be integer values. They represent the internal index of the locations in the map's locations list. If the locations are already linked, it will instead remove the link. This cannot remove the last link a location has. Also, if you create a disconnected portion of the map with this command, it may cause errors.
- Added unified message to link_locations command.

Update: 23 Sep, 2023 @ 8:55am

- Added catches to pathfinding for when the destination is the start point. The resulting path will now have length of 0.
- Implemented `getTravelTimeTo` function in ModCore that accounts for movement constraints and calls the required travelTime hook if pathLength is greater than 0.
- Updated patches for travel time dependent tasks to instead use the new `getTravelTime` function.

Update: 23 Sep, 2023 @ 6:39am

- Implemented conditional redirect for `UA.getChallengeUtility` to ensure correct results for agents assigned to the Community Library's Agent AI.
- Implemented a blind `AgentAI.getChallengeUtility` overload. Pass in any agent and challenge and it will automatically determine whether to use the Agent AI's pipeline, or the base game's. If checking a ritual against a location other than the agent's when checking for a ritual, you will need to pass in a target location.
- Implemented a blind `AgentAI.getChallengeIsValid` overload. Pass in any agent and challenge and it will automatically determine whether to use the Agent AI's validity pipeline, or return the result of the challenge's `valid` and `validFor` functions. If checking a ritual against a location other than the agent's when checking for a ritual, you will need to pass in a target location.

Update: 20 Sep, 2023 @ 11:24am

This update has remerged the 1.0 and 1.1 branches to prevent future merge conflicts. This shouldn't effect any mods, but there is a small chance that it does. Anyone developing a dependent mod for game version 1.0 may wish to recompile and update their mods.

- Added `onGraphicalLinkUpdated` hook.

- Added `considerAllRituals` control parameter to agent AI. If true, the agent will consider rituals that are attached to them or their items for their current location.
- Fixed Agent AI ignoring rituals for which they were not given an AI Challenge, if they had no AI challenges for rituals assigned to them, regardless of the state of the `considerAll` control parameters.
- Separated functionality of `considerAllChallenges` and `considerAllRituals` control parameters. Both must be set to true to mimic the behaviour of the base game's good agents..
- Set default `considerAllRituals` to true for all agents.

Update: 30 Aug, 2023 @ 7:28am

- 1.0 & 1.1 - Removed cap on refunding movement points due to incompatibility with Covens, Curses, and Curios' cursed boots.

Update: 29 Aug, 2023 @ 10:16am

- Removed `unitAgentAI_getChallengeUtility_getDistanceForDivisor` and `onAgentAI_GetChallengeUtility_GetDistanceForDivisor` hooks.
- Replaced removed hooks with `onUnitAI_GetsDistanceToLocation` hook.
- `onUnitAI_GetsDistanceToLocation` hook is now connected to the base game Agent AI, the Community Library's agent AI, and the distance-as-duration tasks (attack, disrupt, bodyguard, etc. See documentation for full list).
- Implemented `onGraphicalUnitUpdated` hook.
- Backported all hooks from 1.1 branch to 1.0 branch, to account for scheduled update.
- Updated Documentation.

Update: 26 Aug, 2023 @ 10:48am

- 1.1 - Updated all transpilers to the modern format.
- 1.1 - Implemented debugging in all transpilers. This should reduce silent errors, and make fixing bug reports faster.
- 1.1 - Fixed `interceptReplaceItem` hook.
- Updated Documentation on Github wiki for many old hooks and the last batch of new hooks, which were not yet documented.

Update: 24 Aug, 2023 @ 1:53pm

- 1.0 & 1.1 - Deep ones now have a means of escaping locations where they can't get to any valid tasks or locations.