[16.21] Enable_all_prototypes open all hidden items

Bugs that are actually features.
User avatar
WIZ4
Fast Inserter
Fast Inserter
Posts: 209
Joined: Thu Apr 07, 2016 1:36 pm
Contact:

[16.21] Enable_all_prototypes open all hidden items

Post by WIZ4 »

I used it, and I had all the items opened and even those that were hidden

Code: Select all

/c game.forces.player.enable_all_prototypes()
gif.gif
gif.gif (506.65 KiB) Viewed 1923 times
And he should open all the items?
My native language is russian. Sorry if my messages are difficult to read.
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2545
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [16.21] Enable_all_prototypes open all hidden items

Post by Jap2.0 »

What were you expecting it to do?
There are 10 types of people: those who get this joke and those who don't.
User avatar
WIZ4
Fast Inserter
Fast Inserter
Posts: 209
Joined: Thu Apr 07, 2016 1:36 pm
Contact:

Re: [16.21] Enable_all_prototypes open all hidden items

Post by WIZ4 »

Jap2.0 wrote:What were you expecting it to do?
initially hidden objects will not be displayed
My native language is russian. Sorry if my messages are difficult to read.
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: [16.21] Enable_all_prototypes open all hidden items

Post by impetus maximus »

i think WIZ4 was expecting it to just open the hidden items.
the loaders, small plane, railgun and darts, player port (teleporter when dead), infinity chests.
doesn't seem to unlock the belt belt-immunity-equipment. maybe that can't be researched?
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [16.21] Enable_all_prototypes open all hidden items

Post by posila »

Then function does what its name suggests, it enables all prototypes. There no difference bettween loader recipe prototype and nuclear reactor recipe prototype, except there happens to be technology which unlocks nuclear reactor recipe.

There is not recipe to craft belt-immunity-equipment item defined in vanilla prototypes, so you can't have it in crafting menu even after enabling all prototypes.

Not a bug.
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: [16.21] Enable_all_prototypes open all hidden items

Post by impetus maximus »

posila wrote: There is not recipe to craft belt-immunity-equipment item defined in vanilla prototypes, so you can't have it in crafting menu even after enabling all prototypes.
thanks :)
Post Reply

Return to “Not a bug”