mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-07 02:40:30 -05:00
Merge pull request #362 from GreatArgorath/ShortBiggoron
Adds option for shorter Biggoron quest
This commit is contained in:
commit
d3436fc1e4
@ -878,6 +878,8 @@ namespace SohImGui {
|
||||
{
|
||||
EnhancementSliderInt("Text Speed: %dx", "##TEXTSPEED", "gTextSpeed", 1, 5, "");
|
||||
EnhancementSliderInt("King Zora Speed: %dx", "##WEEPSPEED", "gMweepSpeed", 1, 5, "");
|
||||
EnhancementSliderInt("Biggoron Forge Time: %d days", "##FORGETIME", "gForgeTime", 0, 3, "");
|
||||
Tooltip("Allows you to change the number of days it takes for Biggoron to forge the Biggoron Sword");
|
||||
EnhancementSliderInt("Vine/Ladder Climb speed +%d", "##CLIMBSPEED", "gClimbSpeed", 0, 12, "");
|
||||
EnhancementSliderInt("Damage Multiplier %dx", "##DAMAGEMUL", "gDamageMul", 1, 4, "");
|
||||
Tooltip("Modifies all sources of damage not affected by other sliders");
|
||||
|
@ -35,6 +35,7 @@ void BootCommands_Init()
|
||||
CVar_RegisterS32("gNewDrops", 0);
|
||||
CVar_RegisterS32("gVisualAgony", 0);
|
||||
CVar_RegisterS32("gLanguages", 0); //0 = English / 1 = German / 2 = French
|
||||
CVar_RegisterS32("gForgeTime", 3);
|
||||
CVar_RegisterS32("gGravediggingTourFix", 1);
|
||||
CVar_RegisterS32("gHudColors", 1); //0 = N64 / 1 = NGC / 2 = Custom
|
||||
CVar_RegisterS32("gUseNaviCol", 0);
|
||||
|
@ -96,7 +96,7 @@ u16 EnGo_GetTextID(GlobalContext* globalCtx, Actor* thisx) {
|
||||
if (gSaveContext.bgsFlag) {
|
||||
return 0x305E;
|
||||
} else if (INV_CONTENT(ITEM_TRADE_ADULT) >= ITEM_CLAIM_CHECK) {
|
||||
if (Environment_GetBgsDayCount() >= 3) {
|
||||
if (Environment_GetBgsDayCount() >= CVar_GetS32("gForgeTime", 3)) {
|
||||
return 0x305E;
|
||||
} else {
|
||||
return 0x305D;
|
||||
|
@ -1021,14 +1021,14 @@ void EnGo2_BiggoronSetTextId(EnGo2* this, GlobalContext* globalCtx, Player* play
|
||||
|
||||
} else if (!gSaveContext.bgsFlag && (INV_CONTENT(ITEM_TRADE_ADULT) == ITEM_CLAIM_CHECK)) {
|
||||
if (func_8002F368(globalCtx) == EXCH_ITEM_CLAIM_CHECK) {
|
||||
if (Environment_GetBgsDayCount() >= 3) {
|
||||
if (Environment_GetBgsDayCount() >= CVar_GetS32("gForgeTime", 3)) {
|
||||
textId = 0x305E;
|
||||
} else {
|
||||
textId = 0x305D;
|
||||
}
|
||||
this->actor.textId = textId;
|
||||
} else {
|
||||
if (Environment_GetBgsDayCount() >= 3) {
|
||||
if (Environment_GetBgsDayCount() >= CVar_GetS32("gForgeTime", 3)) {
|
||||
textId = 0x3002;
|
||||
} else {
|
||||
textId = 0x305D;
|
||||
|
Loading…
Reference in New Issue
Block a user