1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
end
self : CreateModeData ( SI_STORE_MODE_SELL , self . mode , "EsoUI/Art/Vendor/vendor_tabIcon_sell_up.dds" , fragment , self . keybindStripDescriptor )
end
if sellsUsed == totalSells then
ZO_Alert ( UI_ALERT_CATEGORY_ALERT , SOUNDS . NEGATIVE_CLICK , GetString ( "SI_STOREFAILURE" , STORE_FAILURE_AT_FENCE_LIMIT ) )
return
end
local itemData = { }
itemData . stackCount = selectedData . stackCount
if itemData . stackCount > 0 then
if itemData . quality >= ITEM_QUALITY_ARCANE then
else
end
end
else
if itemData . stackCount > 1 then
STORE_WINDOW_GAMEPAD : SetupSpinner ( itemData . stackCount , itemData . stackCount , selectedData . sellPrice , selectedData . currencyType1 )
else
if itemData . quality >= ITEM_QUALITY_ARCANE then
else
end
end
end
end
function ZO_GamepadFenceSell : SetupEntry ( control , data , selected , selectedDuringRebuild , enabled , activated )
local price = self . confirmationMode and selected and data . sellPrice * STORE_WINDOW_GAMEPAD : GetSpinnerValue ( ) or data . sellPrice
self : SetupStoreItem ( control , data , selected , selectedDuringRebuild , enabled , activated , price , ZO_STORE_FORCE_VALID_PRICE , self . mode )
end
end |