mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
CVar updates I missed
This commit is contained in:
parent
c95eb9fe6d
commit
60ff880397
2 changed files with 5 additions and 5 deletions
|
@ -354,10 +354,10 @@ void SohMenu::AddMenuEnhancements() {
|
|||
|
||||
AddWidget(path, "Text", WIDGET_SEPARATOR_TEXT);
|
||||
AddWidget(path, "Skip Bottle Pickup Messages", WIDGET_CVAR_CHECKBOX)
|
||||
.CVar(CVAR_ENHANCEMENT("FastDrops"))
|
||||
.CVar(CVAR_ENHANCEMENT("FastBottles"))
|
||||
.Options(CheckboxOptions().Tooltip("Skip Pickup Messages for Bottle Swipes."));
|
||||
AddWidget(path, "Skip Consumable Item Pickup Messages", WIDGET_CVAR_CHECKBOX)
|
||||
.CVar(CVAR_ENHANCEMENT("FastConsumables"))
|
||||
.CVar(CVAR_ENHANCEMENT("FastDrops"))
|
||||
.Options(CheckboxOptions().Tooltip("Skip Pickup Messages for new Consumable Items."));
|
||||
AddWidget(path, "Skip Forced Dialog", WIDGET_CVAR_COMBOBOX)
|
||||
.CVar(CVAR_ENHANCEMENT("TimeSavers.SkipForcedDialog"))
|
||||
|
|
|
@ -14697,7 +14697,7 @@ void Player_Action_SwingBottle(Player* this, PlayState* play) {
|
|||
if (LinkAnimation_Update(play, &this->skelAnime)) {
|
||||
if (this->av1.bottleCatchType != BOTTLE_CATCH_NONE) {
|
||||
if (!this->av2.startedTextbox) {
|
||||
if (CVarGetInteger(CVAR_ENHANCEMENT("FastDrops"), 0)) {
|
||||
if (CVarGetInteger(CVAR_ENHANCEMENT("FastBottles"), 0)) {
|
||||
this->av1.bottleCatchType = BOTTLE_CATCH_NONE;
|
||||
} else {
|
||||
// 1 is subtracted because `sBottleCatchInfo` does not have an entry for `BOTTLE_CATCH_NONE`
|
||||
|
@ -14740,13 +14740,13 @@ void Player_Action_SwingBottle(Player* this, PlayState* play) {
|
|||
this->av1.bottleCatchType = i + 1;
|
||||
|
||||
this->av2.startedTextbox = false;
|
||||
if (!CVarGetInteger(CVAR_ENHANCEMENT("FastDrops"), 0)) {
|
||||
if (!CVarGetInteger(CVAR_ENHANCEMENT("FastBottles"), 0)) {
|
||||
this->stateFlags1 |= PLAYER_STATE1_IN_ITEM_CS | PLAYER_STATE1_IN_CUTSCENE;
|
||||
}
|
||||
this->interactRangeActor->parent = &this->actor;
|
||||
|
||||
Player_UpdateBottleHeld(play, this, catchInfo->itemId, ABS(catchInfo->itemAction));
|
||||
if (!CVarGetInteger(CVAR_ENHANCEMENT("FastDrops"), 0)) {
|
||||
if (!CVarGetInteger(CVAR_ENHANCEMENT("FastBottles"), 0)) {
|
||||
Player_AnimPlayOnceAdjusted(play, this, swingEntry->catchAnimation);
|
||||
func_80835EA4(play, 4);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue