small patch to match 2ship (#6197)
This commit is contained in:
@@ -65,6 +65,10 @@ void RegisterItemUnequip() {
|
|||||||
shouldUnequip = true;
|
shouldUnequip = true;
|
||||||
} else if (cursorItem == ITEM_ARROW_LIGHT && equippedItem == ITEM_BOW_ARROW_LIGHT) {
|
} else if (cursorItem == ITEM_ARROW_LIGHT && equippedItem == ITEM_BOW_ARROW_LIGHT) {
|
||||||
shouldUnequip = true;
|
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) {
|
if (shouldUnequip) {
|
||||||
|
|||||||
@@ -752,7 +752,7 @@ void SohMenu::AddMenuEnhancements() {
|
|||||||
.Options(CheckboxOptions().Tooltip(
|
.Options(CheckboxOptions().Tooltip(
|
||||||
"Equip items and equipment on the D-pad. If used with \"D-pad on Pause Screen\", you must "
|
"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."));
|
"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"))
|
.CVar(CVAR_ENHANCEMENT("ItemUnequip"))
|
||||||
.Options(CheckboxOptions().Tooltip("Allows unequipping items from C-Buttons/D-pad by hovering over an equipped "
|
.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."));
|
"item and pressing the button it's equipped to."));
|
||||||
|
|||||||
Reference in New Issue
Block a user