Skip to content

account

Source: base/tealdef/game_mechanics/finance/account.d.tl

Notes

Params of the finances window.

FinanceToolParam

record global base/tealdef/game_mechanics/finance/account.d.tl:3

global record FinanceToolParam is ToolReactUtil.IToolParam

Load: local FinanceTool = ug_require "/game_mechanics/finance/account.tl"

Notes

Params of the finances window.

Fields

Name Type Description
initialTabKey TabKey Tab shown when the window opens.
isMoneyEditable boolean Shows the money editor (sandbox and similar modes).

FinanceToolParam.TabKey

enum base/tealdef/game_mechanics/finance/account.d.tl:4

enum TabKey

Notes

Tab of the finances window.

Used in the base game: 2 times in 1 file

base/content/gui/gui/main/game.tl:290

react.onEvent("openFinanceWindow", function(__ : string, param : FinanceToolParam.TabKey)

Value Description
"Overview" Overview.
"Finances" Income and expenses.
"Assets" Assets.
"Loans" Loans.
"CargoLifetime" Cargo statistics over the game's lifetime.