small patch to match 2ship (#6197)

This commit is contained in:
OtherBlue 2026-01-26 00:26:16 -03:00 committed by GitHub
parent 077fda8749
commit 16ee01404a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -65,6 +65,10 @@ void RegisterItemUnequip() {
shouldUnequip = true;
} else if (cursorItem == ITEM_ARROW_LIGHT && equippedItem == ITEM_BOW_ARROW_LIGHT) {
shouldUnequip = true;
} else if (cursorItem == ITEM_BOW &&
(equippedItem == ITEM_BOW_ARROW_FIRE || equippedItem == ITEM_BOW_ARROW_ICE ||
equippedItem == ITEM_BOW_ARROW_LIGHT)) {
shouldUnequip = true;
}
if (shouldUnequip) {

View file

@ -752,7 +752,7 @@ void SohMenu::AddMenuEnhancements() {
.Options(CheckboxOptions().Tooltip(
"Equip items and equipment on the D-pad. If used with \"D-pad on Pause Screen\", you must "
"hold C-Up to equip instead of navigate."));
AddWidget(path, "Unequip C-Items on Re-press", WIDGET_CVAR_CHECKBOX)
AddWidget(path, "Allow unequipping Items", WIDGET_CVAR_CHECKBOX)
.CVar(CVAR_ENHANCEMENT("ItemUnequip"))
.Options(CheckboxOptions().Tooltip("Allows unequipping items from C-Buttons/D-pad by hovering over an equipped "
"item and pressing the button it's equipped to."));