mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Implement Cow of Time enhancement
This commit is contained in:
parent
daec428cb3
commit
b6064a4ab2
2 changed files with 3 additions and 1 deletions
|
@ -856,6 +856,8 @@ namespace SohImGui {
|
||||||
Tooltip("The default response to Kaepora Gaebora is always that you understood what he said");
|
Tooltip("The default response to Kaepora Gaebora is always that you understood what he said");
|
||||||
EnhancementCheckbox("Disable Navi Call Audio", "gDisableNaviCallAudio");
|
EnhancementCheckbox("Disable Navi Call Audio", "gDisableNaviCallAudio");
|
||||||
Tooltip("Disables the voice audio when Navi calls you");
|
Tooltip("Disables the voice audio when Navi calls you");
|
||||||
|
EnhancementCheckbox("Link's Cow in Both Time Periods", "gCowOfTime");
|
||||||
|
Tooltip("Allows the Lon Lon Ranch obstacle course reward to be shared across time periods");
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@ void EnCow_Init(Actor* thisx, GlobalContext* globalCtx) {
|
||||||
func_809DEE9C(this);
|
func_809DEE9C(this);
|
||||||
this->actionFunc = func_809DF96C;
|
this->actionFunc = func_809DF96C;
|
||||||
if (globalCtx->sceneNum == SCENE_LINK_HOME) {
|
if (globalCtx->sceneNum == SCENE_LINK_HOME) {
|
||||||
if (!LINK_IS_ADULT) {
|
if (!LINK_IS_ADULT && !CVar_GetS32("gCowOfTime", 0)) {
|
||||||
Actor_Kill(&this->actor);
|
Actor_Kill(&this->actor);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue