Page 1 of 1

Player Cash visible through scripting API

Posted: Sat Jul 25, 2020 3:41 pm
by Mitchell Brown
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.

Re: Player Cash visible through scripting API

Posted: Sat Jul 25, 2020 9:12 pm
by paulwoman
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 :)

Re: Player Cash visible through scripting API

Posted: Sat Jul 25, 2020 10:22 pm
by Mitchell Brown
Thanks! Added a poll.

Re: Player Cash visible through scripting API

Posted: Mon Aug 10, 2020 10:17 am
by David
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?