Pillars of Eternity 2: Deadfire
0 of 0

File information

Last updated

Original upload

Created by

noqn

Uploaded by

noqn

Virus scan

Safe to use

Tags for this mod

About this mod

You are no longer forced to rest and lose your Food Bonuses during certain story events.

Permissions and credits
Details

Several times throughout the game, some story events call the AdvanceTimeToHour, AdvanceTimeByHours, and Rest functions.

Annoyingly,these functions will not just advance time but also trigger resting. Meaning, the player will lose all their food bonuses and accumulated "until rest" bonuses (e.g. Dawnstar's Blessing) after these events.

No Forced Rests fixes this annoyance.


Installation

Download No Forced Rests.zip, and extract the contained folder to your override folder. (Pillars of Eternity II Deadfire\PillarsOfEternityII_Data\override)

When launching the game, make sure that No Forced Rests is enabled in the Mod Manager.


Forced Rests

  1. Repairing Whispers of Yenwood or Blade of the Endless Paths, or forging their shards into Whispers of the Endless Paths.
  2. Waiting for the guests to arrive during Dirty Laundry.
  3. When you bribe Ifren 500 coins for information on Arkemyr's Vault.
  4. When you arrive at (Spoilers)Ukaizo(Spoilers).
  5. When you approach Fort Deadlight during daytime and choose to wait until nightfall to sneakily row to the shore.
  6. In the Boot-suck Bog scripted interaction.
  7. In the Kōhatekana Expanse scripted interaction.
  8. In the Tiebe o Waiapu scripted interaction.
  9. When attempting to pick the lock of the Central Stacks Vault Door in The Forgotten Sanctum.
  10. The final conversations with (Spoilers)the Gods at Ukaizo(Spoilers).
  11. When searching shipwrecks for loot.
  12. Looting the shipwrecked Vailian galleon.
  13. Looting the plague-struck Kind Wayfarer ship.
  14. When sleeping with a crew member during the "Immodest Proposal" ship event.
  15. Handing out extra rations of grog to your crew during the "Injured Drunk" ship event.
  16. Praying to Ondra during the "Omen Cloud" ship event.
  17. During the "Sick Crew" ship event.
  18. During the "Fog at Deep Sea" ship event.
  19. Choosing to hunt the peaceful whale you encounter at sea.



Specifics

All instances of the Rest function have been replaced with AdvanceTimeByHoursNoRest (advancing time by 8 hours, the length of a standard Rest).

All instances of AdvanceTimeByHours have been reaplaced with AdvanceTimeByHoursNoRest.

All instances of AdvanceTimeToHour have been replaced with a 27 long chain of AdvanceTimeByHoursNoRest (Eora has 27 hours/day), only one of which will trigger decided by the present hour, and advance time by the corresponding number of hours, reaching the original target.

For example, this:

"Data": {
    "FullName": "Void AdvanceTimeToHour(Int32)",
    "Parameters": [
        "18"
    ],
    "Flags": "",
    "UnrealCall": "",
    "FunctionHash": -1377806721,
    "ParameterHash": -19720986
},
"Conditional": {
    "Operator": 0,
    "Components": []
}

Turns into 27 of these
:
(With adjusted values, of course.)

"Data": {
    "FullName": "Void AdvanceTimeByHoursNoRest(Int32)",
    "Parameters": [
        "19"
    ],
    "Flags": "",
    "UnrealCall": "",
    "FunctionHash": 0,
    "ParameterHash": 0
},
"Conditional": {
    "Operator": 0,
    "Components": [
        {
            "$type": "OEIFormats.FlowCharts.ConditionalCall, OEIFormats",
            "Data": {
                "FullName": "Boolean IsCurrentTime(Operator, Single)",
                "Parameters": [
                    "GreaterThanOrEqualTo",
                    "26"
                ],
                "Flags": "",
                "UnrealCall": "",
                "FunctionHash": 0,
                "ParameterHash": 0
            },
            "Not": false,
            "Operator": 0
        },
        {
            "$type": "OEIFormats.FlowCharts.ConditionalCall, OEIFormats",
            "Data": {
                "FullName": "Boolean IsCurrentTime(Operator, Single)",
                "Parameters": [
                    "LessThan",
                    "27"
                ],
                "Flags": "",
                "UnrealCall": "",
                "FunctionHash": 0,
                "ParameterHash": 0
            },
            "Not": false,
            "Operator": 0
        }
    ]
}