mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
[Time Saver] Reset Navi Timer (#3818)
* Reset Navi Timer * Force Rebuild * Prefix
This commit is contained in:
parent
270d0b836e
commit
ed85a1b0e2
@ -687,6 +687,14 @@ void RegisterMirrorModeHandler() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void RegisterResetNaviTimer() {
|
||||||
|
GameInteractor::Instance->RegisterGameHook<GameInteractor::OnSceneInit>([](int32_t sceneNum) {
|
||||||
|
if (CVarGetInteger("gEnhancements.ResetNaviTimer", 0)) {
|
||||||
|
gSaveContext.naviTimer = 0;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
f32 triforcePieceScale;
|
f32 triforcePieceScale;
|
||||||
|
|
||||||
void RegisterTriforceHunt() {
|
void RegisterTriforceHunt() {
|
||||||
@ -1271,6 +1279,7 @@ void InitMods() {
|
|||||||
RegisterBonkDamage();
|
RegisterBonkDamage();
|
||||||
RegisterMenuPathFix();
|
RegisterMenuPathFix();
|
||||||
RegisterMirrorModeHandler();
|
RegisterMirrorModeHandler();
|
||||||
|
RegisterResetNaviTimer();
|
||||||
RegisterTriforceHunt();
|
RegisterTriforceHunt();
|
||||||
RegisterGrantGanonsBossKey();
|
RegisterGrantGanonsBossKey();
|
||||||
RegisterEnemyDefeatCounts();
|
RegisterEnemyDefeatCounts();
|
||||||
|
@ -574,6 +574,8 @@ void DrawEnhancementsMenu() {
|
|||||||
"This doesn't work if the save was made in a grotto.");
|
"This doesn't work if the save was made in a grotto.");
|
||||||
UIWidgets::PaddedEnhancementCheckbox("No Forced Navi", "gNoForcedNavi", true, false);
|
UIWidgets::PaddedEnhancementCheckbox("No Forced Navi", "gNoForcedNavi", true, false);
|
||||||
UIWidgets::Tooltip("Prevent forced Navi conversations");
|
UIWidgets::Tooltip("Prevent forced Navi conversations");
|
||||||
|
UIWidgets::PaddedEnhancementCheckbox("Navi Timer Resets", "gEnhancements.ResetNaviTimer", true, false);
|
||||||
|
UIWidgets::Tooltip("Resets the Navi timer on scene change. If you have already talked to her, she will try and talk to you again, instead of needing a save warp or death. ");
|
||||||
UIWidgets::PaddedEnhancementCheckbox("No Skulltula Freeze", "gSkulltulaFreeze", true, false);
|
UIWidgets::PaddedEnhancementCheckbox("No Skulltula Freeze", "gSkulltulaFreeze", true, false);
|
||||||
UIWidgets::Tooltip("Stops the game from freezing the player when picking up Gold Skulltulas");
|
UIWidgets::Tooltip("Stops the game from freezing the player when picking up Gold Skulltulas");
|
||||||
UIWidgets::PaddedEnhancementCheckbox("Nighttime GS Always Spawn", "gNightGSAlwaysSpawn", true, false);
|
UIWidgets::PaddedEnhancementCheckbox("Nighttime GS Always Spawn", "gNightGSAlwaysSpawn", true, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user