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

  • Repairing Whispers of Yenwood or Blade of the Endless Paths, or forging their shards into Whispers of the Endless Paths.
  • Waiting for the guests to arrive during Dirty Laundry.
  • When you bribe Ifren 500 coins for information on Arkemyr's Vault.
  • When you arrive at (Spoilers)Ukaizo(Spoilers).
  • When you approach Fort Deadlight during daytime and choose to wait until nightfall to sneakily row to the shore.
  • In the Boot-suck Bog scripted interaction.
  • In the Kōhatekana Expanse scripted interaction.
  • In the Tiebe o Waiapu scripted interaction.
  • When attempting to pick the lock of the Central Stacks Vault Door in The Forgotten Sanctum.
  • The final conversations with (Spoilers)the Gods at Ukaizo(Spoilers).
  • When searching shipwrecks for loot.
  • Looting the shipwrecked Vailian galleon.
  • Looting the plague-struck Kind Wayfarer ship.
  • When sleeping with a crew member during the "Immodest Proposal" ship event.
  • Handing out extra rations of grog to your crew during the "Injured Drunk" ship event.
  • Praying to Ondra during the "Omen Cloud" ship event.
  • During the "Sick Crew" ship event.
  • During the "Fog at Deep Sea" ship event.
  • 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
        }
    ]
}