Feedback on scripts tutorial

Discussions about scenario games and user-defined scripts.
Post Reply
User avatar
Hyronymus77
Posts: 11
Joined: Sat Jun 13, 2020 6:11 pm

Feedback on scripts tutorial

Post by Hyronymus77 »

By following the scripts tutorial at https://www.capitalismlab.com/scripts/ I think I got a working script. When following the tutorial I came across a few options that weren't (clearly) explained or were missing an essential part. For future wannabe scripters it might be good to update the following script options: EDIT #1: I dsicovered that Real Wage Rate only applies to the city it is placed after directly. I had this code in my script:

Code: Select all

[CITIES]
City=Rotterdam
City=Glasgow
City=Hamburg
City=Copenhagen

Real Wage Rate=50
After wondering why it was always Copenhagen that had cheap labour I experimented a bit and found that you can actually specify it per city:

Code: Select all

[CITIES]
City=Rotterdam
Real Wage Rate=50
City=Glasgow
City=Hamburg
Real Wage Rate=70
City=Copenhagen
Since the tutorial at https://www.capitalismlab.com/scripts/script-cities/ doesn't explain anything about Real Wage Rate nor has an example script I like to suggest to add an example script with more detailed information on how the city options work.
Post Reply