Shadows of Forbidden Gods

Shadows of Forbidden Gods

Community Library
正在显示第 161 - 168 项,共 168 项条目
< 1 ... 15  16  17 >
更新于:2023 年 6 月 26 日 上午 8:00

- Final fix for the `interceptReplaceItem` hook. The Community Library no longer generates errors on launch for game version 1.0 (which is currently on the beta branch).
This was causing other features to fail. I apologies for it taking so long to identify and resolve.
- New Pathfinding algorithm is now available which can take arbitrary delegates for determining location validity. If you want to make a modded creature that can only walk in elf cities, or on land, you can now do that.
- This is accompanied by two new hooks: `interceptGetPathTo_Location` and `interceptGetPathTo_SocialGroup`. These hooks are called whenever the base game's pathfinding code is run, and can be used to conditionally replace it with the new pathfinding solution.

更新于:2023 年 6 月 21 日 下午 12:40

- Fixed danger not generating the required reason message in the Universal Agent AI. The value was correct, the reason simply wasn't displayed in the tooltip.

更新于:2023 年 6 月 21 日 下午 12:23

- Removed generalised system for handling temporary god powers due to instability around loading games, and starting multiple games without quitting to desktop in-between.

更新于:2023 年 6 月 21 日 上午 8:52

- Fixed `interceptReplaceItem` hook.

更新于:2023 年 6 月 21 日 上午 7:26

- Fixes issue around loading saved games.
- Adds new `onPlayerInfluenceHolyTenet` hook.
- Adds system for managing temporary god powers.
- Adds custom cheat codes to allow easier testing of holy orders. These are: 'influenceElder' and 'influenceHuman'. They can both be used as is, and can have numbers afterwards to specify the amount of influence change, including negative values. For example, 'influenceHuman -100' reduces human influence over the holy order by 100.

更新于:2023 年 6 月 11 日 上午 2:32

更新于:2023 年 6 月 3 日 下午 12:31

- Fixed error that resulted in the 'onArmyBattleVictory' hook being called every battle cycle, rather than only when a victory occurs.
- Implemented 'onArmyBattleCycle_DamageCalculated' hook. This hook fires after the damage that a unit is going to deal has been calculated, but before it is allocated to a target. It can be used to make fixed adjustments to the final damage value, such as giving a +1 or a +10% damage bonus.
- Implemented 'onRazeLocation_StartOfProcess' hook. It fires as part of the 'Task_RazeLocation.turnTick(Unit unit)' function, after validating that the task is still valid.
- Updated the github wiki with improved army battle hook descriptions and the new hooks.

NOTE:
A bug was discovered where Orcs were not permitted to settle over the hidden settlement type implemented by the Living Wilds mod. This prevented orcs from expanding into wilderness locations if Living Wilds was also enabled.
The Living Wilds mod now registers this hidden settlement type to the Community Library, so orcs should be able to settle new lands again.

更新于:2023 年 4 月 29 日 上午 8:12

BUGFIX: Fixed errors in orc's 'claim territory' and 'can settle' code.
Two errors allowed Orc Warlord's to use Claim Territory on witches covens, and orc social groups to expand onto any invalid settlement type.

Implemented two new hooks that allow you to add, remove or change the utility of national actions for monster races (Deep Ones and Orcs):

- void populatingMonsterActions(SG_ActionTakingMonster monster, List<MonsterAction> actions)
- void onActionTakingMonster_getUtility(SG_ActionTakingMonster monster, MonsterAction action, double utility, List<ReasonMsg> reasonMsgs)
NOTE: If a mod adds a new subtype of SG_ActionTakingMonster, and uses the base turnTick() function to choose nation actions, it will be automatically linked to these hooks.

Holy Order Fixes:

- 'Can influence holy order' message will not appear in the threats panel for dead religions (relgions where isGone() returns true).
- Divine Entities who's religion is gone no longer take actions, same as exiled DEs.

Agent AI's now list Rituals at their actual locations, rather than at the agent's current location, in the unit action UI.

Changed sub-version numbering on github to use X.X.01, X.X.02, etc.