Disabling particular product classes

Discussions about scenario games and user-defined scripts.
Post Reply
kg79
Level 3 user
Posts: 52
Joined: Tue Feb 16, 2016 10:13 pm

Disabling particular product classes

Post by kg79 »

Hello!

I'm wondering how I can disable particular product classes via script. I'm using the RW mod with its script, but I'd like to disable hotels, insurance, telecom products and public utilities, as I think these do not really fit to the game mechanics or they are better handled in the DLCs. I always forget to disable it by hand, so I'd like to include it in the script, but can't find the lines for it.

Generally it's very hard to find the scripting parameters, as over time they are spread across the website. It would be nice if there would be one single list and updated regulary if something changes or new stuff comes with a game update or DLC. One big sample script including all the possibilities with some explanations would also do it.
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9356
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 17 times
Been thanked: 48 times

Re: Disabling particular product classes

Post by David »

Please see this web page about using a script for disabling specific product classes: https://www.capitalismlab.com/scripts/script-products/

You may download the sample script file from the link at the bottom of the web page.
kg79
Level 3 user
Posts: 52
Joined: Tue Feb 16, 2016 10:13 pm

Re: Disabling particular product classes

Post by kg79 »

Thx, that's what I was looking for, but did not find it via the main page.
Post Reply