Player Cash visible through scripting API

You may post your suggestions about Capitalism Lab here
Post Reply

Should modders be able to access how much personal cash the player has?

Yes
8
89%
No
1
11%
 
Total votes: 9

Mitchell Brown
Posts: 4
Joined: Fri Jul 24, 2020 6:40 am

Player Cash visible through scripting API

Post 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.
Last edited by Mitchell Brown on Sat Jul 25, 2020 10:21 pm, edited 1 time in total.
paulwoman
Translation Contributor
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

Post 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 :)
Mitchell Brown
Posts: 4
Joined: Fri Jul 24, 2020 6:40 am

Re: Player Cash visible through scripting API

Post by Mitchell Brown »

Thanks! Added a poll.
User avatar
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

Post 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?
Post Reply