User Tools

Site Tools


scripting:reference:system_functions:accountsources

Account Source

The (sysAddWealth) and (sysRemoveWealth) script functions use an 'Account Source' parameter to specify the 'type' of cash that is being given. (Unlike the *grantcash command which always shows up as 'Gifts from God' in the player's accounts).

If you're making a full economy world it can be important for the players to have the accounts view available and correctly categorised (so they can see how much they're making in sales vs investment, etc etc). This data can also be used to generate econ stats delivered to an external website (See Economy Data Tracking on Website).

The valid accounts categories are:

"sales"

"exports"

"imports"

(These all show as either 'Sales' or 'Purchases' on the player accounts but are tracked differently on the web econonmy view).

"wages"

(Either 'Wages Earnt' or 'Wages Paid' in the player accounts)

"property"

(Shows as either 'Property Sales' or 'Property Purchases' in the player accounts depending on whether you're adding or removing the wealth).

"rent"

"bounty"

"prizes"

(Shows as 'Prize Money' or 'Competition Fees' in the player accounts)

"cash"

"invest"

"welfare"

"fees"

( → also 'Competition Fees' in player accounts)

"tax"

scripting/reference/system_functions/accountsources.txt · Last modified: 2020/01/30 03:28 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki