Script [LOCKS] bug?

General Discussions about new beta versions of Capitalism Lab
User avatar
Black
Level 4 user
Posts: 110
Joined: Tue Feb 26, 2013 12:07 am

Script [LOCKS] bug?

Post by Black »

I tried to disable all retail for player in my script, but cant make it to work.

I put this in script file:

Code: Select all

[LOCKS]
Firm, Retail 
Firm, Supermarket
but retail building are all enabled anyway.

Then i tested:

Code: Select all

[LOCKS]
Firm, Factory
and this works, all factory buildings are disabled.
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: Script [LOCKS] bug?

Post by David »

There was a typo on the web page.

It should be "Firm, Retail Store" instead of "Firm, Retail" on http://www.capitalismlab.com/script---locks.html

The typo has been fixed.

And the Lock script only supports firm types (e.g. farm, retail store) and does not support specific retail store types (e.g. super market, convenience store)
Post Reply