"Is campaign-only" tech property

Things that already exist in the current mod API
User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 583
Joined: Tue May 19, 2015 1:56 am
Contact:

"Is campaign-only" tech property

Post by Reika »

So that scripts/mods iterating the list can skip ones that do not appear in the normal singleplayer game, without hardcoding a big list and having it break every six versions.
Image
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3714
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: "Is campaign-only" tech property

Post by DaveMcW »

It already exists.

Code: Select all

enabled = false
User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 583
Joined: Tue May 19, 2015 1:56 am
Contact:

Re: "Is campaign-only" tech property

Post by Reika »

DaveMcW wrote: Sun Jun 23, 2019 5:29 am It already exists.

Code: Select all

enabled = false
...Why is it called 'enabled' of all things?
Image
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

Re: "Is campaign-only" tech property

Post by Deadlock989 »

Reika wrote: Sun Jun 23, 2019 6:08 am
DaveMcW wrote: Sun Jun 23, 2019 5:29 am It already exists.

Code: Select all

enabled = false
...Why is it called 'enabled' of all things?
Because it controls whether or not the technology is enabled. Shocking.
User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 583
Joined: Tue May 19, 2015 1:56 am
Contact:

Re: "Is campaign-only" tech property

Post by Reika »

Deadlock989 wrote: Sun Jun 23, 2019 7:48 am
Reika wrote: Sun Jun 23, 2019 6:08 am
DaveMcW wrote: Sun Jun 23, 2019 5:29 am It already exists.

Code: Select all

enabled = false
...Why is it called 'enabled' of all things?
Because it controls whether or not the technology is enabled. Shocking.
"Enabled" and "Available in Campaign only" are not remotely close to being the same thing.
Image
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

Re: "Is campaign-only" tech property

Post by Deadlock989 »

Reika wrote: Sun Jun 23, 2019 3:20 pm"Enabled" and "Available in Campaign only" are not remotely close to being the same thing.
*shrug* Oh well, if you want to be pedantic, no, they're not.

However, attached below is a list of vanilla technologies that are not used in the campaign and not enabled by default.

.
.
.
User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 583
Joined: Tue May 19, 2015 1:56 am
Contact:

Re: "Is campaign-only" tech property

Post by Reika »

Deadlock989 wrote: Sun Jun 23, 2019 3:29 pm
Reika wrote: Sun Jun 23, 2019 3:20 pm"Enabled" and "Available in Campaign only" are not remotely close to being the same thing.
*shrug* Oh well, if you want to be pedantic, no, they're not.

However, attached below is a list of vanilla technologies that are not used in the campaign and not enabled by default.

.
.
.
And you have what proof that that list remains that way in modded and for all future game versions?
Image
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

Re: "Is campaign-only" tech property

Post by Deadlock989 »

Reika wrote: Mon Jun 24, 2019 1:06 am And you have what proof that that list remains that way in modded and for all future game versions?
There's clearly something wrong with you.
Post Reply

Return to “Already exists”