|
@@ -74,9 +74,9 @@ if $ARGS[0] = 'start':
|
|
|
bankDebtLimit = 5000
|
|
|
end
|
|
|
|
|
|
- '<br>You deposited <<kartaIN>> <b>₽</b>, your account balance is now <<karta>> <b>₽</b>.'
|
|
|
+ '<br>You deposited <<kartaIN>> <b>₽</b>, your account balance is now ' + iif(karta >= 0,'<<karta>>','<font color="red"><<karta>></font>') + ' <b>₽</b>.'
|
|
|
end
|
|
|
-
|
|
|
+ killvar 'kartaIN'
|
|
|
act 'Walk away':gt 'bank', 'start'
|
|
|
end
|
|
|
end
|
|
@@ -100,6 +100,7 @@ if $ARGS[0] = 'start':
|
|
|
'<br>You withdraw <<kartaOUT>> <b>₽</b>. <font color="red">Your bank account is overdrawn by <b><<karta>> ₽</b>.</font>'
|
|
|
end
|
|
|
end
|
|
|
+ killvar 'kartaOUT'
|
|
|
act 'Walk away':gt 'bank', 'start'
|
|
|
end
|
|
|
end
|