summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick12115 <115201185+Patrick12115@users.noreply.github.com>2023-12-28 12:04:20 -0500
committerGitHub <noreply@github.com>2023-12-28 12:04:20 -0500
commitb80452b2b83d102fb1e9a2ddcf056a11969faf12 (patch)
treeff1f8519aa326621e552f20bd76391747738d77d
parentf6a6b880c9aee1914c701ba0989e2f7884a67c39 (diff)
Multiplier (#3395)
-rw-r--r--soh/soh/SohMenuBar.cpp2
-rw-r--r--soh/src/overlays/actors/ovl_En_Niw/z_en_niw.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/soh/soh/SohMenuBar.cpp b/soh/soh/SohMenuBar.cpp
index a970e3686..e46051969 100644
--- a/soh/soh/SohMenuBar.cpp
+++ b/soh/soh/SohMenuBar.cpp
@@ -733,6 +733,8 @@ void DrawEnhancementsMenu() {
UIWidgets::Tooltip("Always win the heart piece/purple rupee on the first dig in Dampe's grave digging game, just like in rando\nIn a rando file, this is unconditionally enabled");
UIWidgets::PaddedEnhancementCheckbox("All Dogs are Richard", "gAllDogsRichard", true, false);
UIWidgets::Tooltip("All dogs can be traded in and will count as Richard.");
+ UIWidgets::PaddedEnhancementSliderInt("Cuccos Stay Put Multiplier: %dx", "##CuccoStayDurationMultiplier", "gCuccoStayDurationMultiplier", 1, 5, "", 1, true, true, false);
+ UIWidgets::Tooltip("Cuccos will stay in place longer after putting them down, by a multiple of the value of the slider.");
UIWidgets::Spacer(0);
if (ImGui::BeginMenu("Potion Values"))
diff --git a/soh/src/overlays/actors/ovl_En_Niw/z_en_niw.c b/soh/src/overlays/actors/ovl_En_Niw/z_en_niw.c
index ddc9aea65..91730e5bf 100644
--- a/soh/src/overlays/actors/ovl_En_Niw/z_en_niw.c
+++ b/soh/src/overlays/actors/ovl_En_Niw/z_en_niw.c
@@ -666,7 +666,7 @@ void func_80AB6D08(EnNiw* this, PlayState* play) {
}
this->path = 1;
- this->timer5 = 80;
+ this->timer5 = 80 * CVarGetInteger("gCuccoStayDurationMultiplier", 1);
this->actor.speedXZ = 0.0f;
this->actor.velocity.y = 4.0f;
} else {