mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
small patch to match 2ship (#6197)
This commit is contained in:
parent
077fda8749
commit
16ee01404a
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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."));
|
||||
|
|
|
|||
Loading…
Reference in a new issue