请问一下新实验脚本变量加入到脚本的什么位置,才没报错出现

Discussions of Capitalism Lab in Chinese
Post Reply
zhouowen
Posts: 7
Joined: Tue Apr 27, 2021 7:34 am

请问一下新实验脚本变量加入到脚本的什么位置,才没报错出现

Post by zhouowen »

我将新变量如下,放入脚本任一位置都出现报错,请问怎解决?
Migration Rate Modifier=5
//It modifies the rate at which people immigrate to a city. 100 is the standard value. A lower value means a slower migration rate.

Disable Local Economy=Yes
//When the local economy is disabled, there will be no local competitors selling products and no local businesses creating jobs.

Firm Employment Effect=10
// The effect of firms' job creations on the city's total employment.
// If this is larger than 1, then for each job created by a firm, the city's employed population size will be increased by 1 x <Firm Employment Effect> times.

Public Facilities Capacity Modifier=10
//It modifies the capacity of all public facilities. 100 is the standard value. It also modifies the setup cost and operating expenses of all public facilities.
报错出现这个文档显示。。。
Script file: SCRIPT\21.4.23.txt
Error: the following lines cannot be recognized by the script system.
line 6: Migration Rate Modifier=5
line 8: Disable Local Economy=Yes
line 10: Firm Employment Effect=10
line 12: Public Facilities Capacity Modifier=10

能有示范文件或要更改放置位置,还是暂时不能用??
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9433
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 24 times
Been thanked: 66 times

Re: 请问一下新实验脚本变量加入到脚本的什么位置,才没报错出现

Post by David »

Please put them under the [CES DLC] header.

[CES DLC]
Migration Rate Modifier=5
//It modifies the rate at which people immigrate to a city. 100 is the standard value. A lower value means a slower migration rate.

Disable Local Economy=Yes
//When the local economy is disabled, there will be no local competitors selling products and no local businesses creating jobs.

Firm Employment Effect=1
// The effect of firms' job creations on the city's total employment.
// If this is larger than 1, then for each job created by a firm, the city's employed population size will be increased by 1 x <Firm Employment Effect> times.
zhouowen
Posts: 7
Joined: Tue Apr 27, 2021 7:34 am

Re: 请问一下新实验脚本变量加入到脚本的什么位置,才没报错出现

Post by zhouowen »

感谢大卫的回复,试过可以用!!谢谢
Post Reply