mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
[Time Saver Enhancement] Dampe Appears All Night (#2618)
* Dampe Appears All Night * Take out time check
This commit is contained in:
parent
ca23d87a3a
commit
b099b5649b
@ -129,6 +129,7 @@ const std::vector<const char*> enhancementsCvars = {
|
||||
"gTimeFlowFileSelect",
|
||||
"gInjectItemCounts",
|
||||
"gDayGravePull",
|
||||
"gDampeAllNight",
|
||||
"gSkipScarecrow",
|
||||
"gBlueFireArrows",
|
||||
"gSunlightArrows",
|
||||
|
@ -354,6 +354,8 @@ namespace GameMenuBar {
|
||||
"to the guard next to the gate.");
|
||||
UIWidgets::PaddedEnhancementCheckbox("Faster Farore's Wind", "gFastFarores", true, false);
|
||||
UIWidgets::Tooltip("Greatly decreases cast time of Farore's Wind magic spell.");
|
||||
UIWidgets::PaddedEnhancementCheckbox("Dampe Appears All Night", "gDampeAllNight", true, false);
|
||||
UIWidgets::Tooltip("Makes Dampe appear anytime during it's night, not just his usual working hours.");
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
|
@ -502,8 +502,12 @@ void EnTk_Init(Actor* thisx, PlayState* play) {
|
||||
|
||||
CollisionCheck_SetInfo2(&this->actor.colChkInfo, NULL, &sColChkInfoInit);
|
||||
|
||||
if (gSaveContext.dayTime <= 0xC000 || gSaveContext.dayTime >= 0xE000 || !!LINK_IS_ADULT ||
|
||||
play->sceneNum != SCENE_SPOT02) {
|
||||
if (CVarGetInteger("gDampeAllNight", 0)) {
|
||||
if (!!LINK_IS_ADULT || play->sceneNum != SCENE_SPOT02) {
|
||||
Actor_Kill(&this->actor);
|
||||
return;
|
||||
}
|
||||
} else if (gSaveContext.dayTime <= 0xC000 || gSaveContext.dayTime >= 0xE000 || !!LINK_IS_ADULT || play->sceneNum != SCENE_SPOT02) {
|
||||
Actor_Kill(&this->actor);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user