iPherian / Bannerlord_No_Dragon_Banner_Timeout

Bannerlord mod, take as long as you want to form a kingdom: https://www.nexusmods.com/mountandblade2bannerlord/mods/370
GNU Affero General Public License v3.0
0 stars 2 forks source link

Fix to be compatible with CommunityPatch mod #1

Closed iPherian closed 4 years ago

iPherian commented 4 years ago

As of 0.1.0-rc2 CommunityPatch modifies the FirstPhase storyline quests to show that they will fail after 10 game years. It does this by using the QuestDueTime property on top of how vanilla failed them which was through an unrelated tick handler. The result is the same, but the gui will display the days remaining.

We therefore modify them in the opposite way to remove the QuestDueTime setting. As CommunityPatch does this in an HourlyTick handler after the quest starts, we do our changes in the 2nd HourlyTick after quest start to reverse it.