City Cash Bonus does not work in the scripts

Technical support requests for Capitalism Lab
Post Reply
User avatar
Stylesjl
Mod Expert
Mod Expert
Posts: 1022
Joined: Sun Oct 29, 2023 4:01 am
Location: Sydney, Australia
Has thanked: 71 times
Been thanked: 117 times

City Cash Bonus does not work in the scripts

Post by Stylesjl »

I just noticed that the goal City Cash Bonus or City Cash Change does not work at all:

Code: Select all

[HEADER]
Title=Test
Description=Test

Reset All Settings=Yes

[ENVIRONMENT]
Number of Cities=1
Your Start-up Capital=High
Random Events=Never
Game Starting Year=1990
Retail Store Type=Many
Inflation=Inverse
Inflation Strength=Normal
Retail Store Floors=Multiple
Technology Disruption=Yes
Stock Market=Yes
Alternative Stock Sim=Yes

[COMPETITORS]
Number of Competitors=30
Competitor Start-up Capital=High
AI Expansion Aggressiveness=Very High
AI Pricing Aggressiveness=Moderate
AI Expertise Level=Moderate
Competence of Local Competitors=Moderate
Show Competitor Trade Secrets=Yes

[CITIES]
City=Test City

[SPECIAL RULES]
Unlimited Natural Resources=Yes
Anti-exploitation Game Rules=Yes

[CITY ECONOMIC SIMULATION DLC]
Developed City=No
City Initial Cash Level=High
City Setup Cost=10000
Donations to Rival Political Parties=0

[GOAL REWARD SETTINGS]
Knowledge Points System=Yes
Initial Knowledge Points=0

[MAIN GOAL]
Goal Title=Test Goal
Goal Description=Should add cash
Number of Game Years=10

[MAIN GOAL VALUES]
City Cash Bonus=400
I tried a few variations such as naming the city to apply the bonus but it does not seem to work. Does this script line work at all, or does it only work in Survival Mode/New Cities?
User avatar
David
Community and Marketing Manager at Enlight
Posts: 10964
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 131 times
Been thanked: 406 times

Re: City Cash Bonus does not work in the scripts

Post by David »

The dev team informed me that the “City Cash Change” script command only works for city goals that are automatically generated by the goal set and it is for internal use only and not yet listed on https://www.capitalismlab.com/scripts/s ... penalties/

They will improve it and release it for public use in the next major version where you can now specify the city that the cash change will be applied, in a script format such as: City Cash Change=50, London.
Post Reply