Common return value for all commands.
Types related to commands.
@ Cheat
A cheat of some sorts.
@ MoneyManagement
Management of money, i.e. loans.
@ ServerSetting
Pausing/removing companies/server settings.
@ NoEst
the command is never estimated.
@ Deity
the command may be executed by COMPANY_DEITY
@ Offline
the command cannot be executed in a multiplayer game; single-player only
@ Server
the command can only be initiated by the server
@ DecreaseLoan
decrease the loan from the bank
@ MoneyCheat
do the money cheat
@ IncreaseLoan
increase the loan from the bank
@ ChangeBankBalance
change bank balance to charge costs or give money from a GS
@ SetCompanyMaxLoan
sets the max loan for the company
Types related to the economy.
ExpensesType
Types of expenses.
CommandCost CmdMoneyCheat(DoCommandFlags flags, Money amount)
Change the financial flow of your company.
CommandCost CmdChangeBankBalance(DoCommandFlags flags, TileIndex tile, Money delta, CompanyID company, ExpensesType expenses_type)
Change the bank bank balance of a company by inserting or removing money without affecting the loan.
CommandCost CmdDecreaseLoan(DoCommandFlags flags, LoanCommand cmd, Money amount)
Decrease the loan of your company.
CommandCost CmdIncreaseLoan(DoCommandFlags flags, LoanCommand cmd, Money amount)
Increase the loan of your company.
CommandCost CmdPause(DoCommandFlags flags, PauseMode mode, bool pause)
Pause/Unpause the game (server-only).
CommandCost CmdSetCompanyMaxLoan(DoCommandFlags flags, CompanyID company, Money amount)
Sets the max loan amount of your company.
LoanCommand
Different ways to determine the amount to loan/repay.
@ Max
Loan/repay the maximum amount permitting money/settings.
@ Amount
Loan/repay the given amount.
@ Interval
Loan/repay LOAN_INTERVAL.
PauseMode
Modes of pausing we've got.