Merged fallbacks for inputs
This commit is contained in:
parent
d9476ac786
commit
5cba6f3c76
Binary file not shown.
BIN
Skyrim.esm
BIN
Skyrim.esm
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -153,12 +153,24 @@ function Transfer(string TransferRate, string TransferAction)
|
|||||||
if TransferAction == "Deposit"
|
if TransferAction == "Deposit"
|
||||||
|
|
||||||
_00E_Bank_NotEnoughMoneyDeposit.Show()
|
_00E_Bank_NotEnoughMoneyDeposit.Show()
|
||||||
|
|
||||||
|
if ! EnderalFunctions.TextInputEnabled()
|
||||||
|
bTransferInAction = False
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
bRestartDeposit = True
|
bRestartDeposit = True
|
||||||
RegisterForSingleUpdate(1)
|
RegisterForSingleUpdate(1)
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
_00E_Bank_NotEnoughMoneyWithdraw.Show()
|
_00E_Bank_NotEnoughMoneyWithdraw.Show()
|
||||||
|
|
||||||
|
if ! EnderalFunctions.TextInputEnabled()
|
||||||
|
bTransferInAction = False
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
bRestartWithdraw = True
|
bRestartWithdraw = True
|
||||||
RegisterForSingleUpdate(1)
|
RegisterForSingleUpdate(1)
|
||||||
|
|
||||||
@ -170,14 +182,14 @@ function Transfer(string TransferRate, string TransferAction)
|
|||||||
|
|
||||||
getplayer().removeItem(Gold, CashFlow, False)
|
getplayer().removeItem(Gold, CashFlow, False)
|
||||||
REFdepositBox.additem(Gold, CashFlow)
|
REFdepositBox.additem(Gold, CashFlow)
|
||||||
SFXgoldDeposit.play(getplayer())
|
;SFXgoldDeposit.play(getplayer())
|
||||||
GLBcurrent.setValue(Deposited)
|
GLBcurrent.setValue(Deposited)
|
||||||
|
|
||||||
elseif TransferAction == "Withdraw"
|
elseif TransferAction == "Withdraw"
|
||||||
|
|
||||||
getplayer().additem(Gold, CashFlow, False)
|
getplayer().additem(Gold, CashFlow, False)
|
||||||
REFdepositBox.removeitem(Gold, CashFlow)
|
REFdepositBox.removeitem(Gold, CashFlow)
|
||||||
SFXgoldWithdraw.play(getplayer())
|
;SFXgoldWithdraw.play(getplayer())
|
||||||
GLBcurrent.setValue(Deposited)
|
GLBcurrent.setValue(Deposited)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user