I wrote an RPG-style script for capitalism lab that lets you turn your character's personal cash into expertise. I figured it would be a fun way both to add personal character progress to the game, and to give a fun reason to receive dividends and receive a salary. Unfortunately I discovered I can only read the player's full wealth including stocks.
Would it be difficult to add Player Cash as a main goal/sub goal value?
(as a less important request, might it be possible to get some values for reading the value of the player's mansion(s), to give the player character a fun bonus for having an expensive mansion?)
Thanks for everything you guys do.
Player Cash visible through scripting API
-
- Posts: 4
- Joined: Fri Jul 24, 2020 6:40 am
Player Cash visible through scripting API
Last edited by Mitchell Brown on Sat Jul 25, 2020 10:21 pm, edited 1 time in total.
-
- Translation Contributor
- Posts: 783
- Joined: Tue May 24, 2016 4:22 pm
- Has thanked: 6 times
- Been thanked: 7 times
Re: Player Cash visible through scripting API
To implement an additional option, I advise you to create a "poll".
Hopefully, there will be enough requesters for the people who improve the game to take this into consideration
Hopefully, there will be enough requesters for the people who improve the game to take this into consideration

-
- Posts: 4
- Joined: Fri Jul 24, 2020 6:40 am
- David
- Community and Marketing Manager at Enlight
- Posts: 10430
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 78 times
- Been thanked: 226 times
Re: Player Cash visible through scripting API
Since the player can personally buy bonds and make bank deposits, cash alone may not be a very good indicator of the player's wealth.
I would recommend using the script variable "Player Wealth" instead.
By the way, would you be interested in posting your script in the Script forum and share it with the community?
I would recommend using the script variable "Player Wealth" instead.
By the way, would you be interested in posting your script in the Script forum and share it with the community?