note that technology's enabled & visible when disabled persist

User avatar
Quezler
Filter Inserter
Filter Inserter
Posts: 327
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

note that technology's enabled & visible when disabled persist

Post by Quezler »

i was caught off guard that these behave like settings in terms of only being relevant for new worlds and then just staying at whichever value they were on.

a note saying that these are the default or something in order to warn people that these prototype properties don't actually influence existing games.

i guess recipes kinda function the same way with enabled being on the prototype but it'd be less noticable due to the automatic technology unlock resets.

if it were not for that similarity i'd practically suggest just removing it from the prototype stage and making it control stage only since you need control anyways.

https://lua-api.factorio.com/latest/pro ... n_disabled
https://lua-api.factorio.com/latest/cla ... n_disabled

start & end at the space exploration discord:
https://discord.com/channels/4195267147 ... 0737886411
https://discord.com/channels/4195267147 ... 0608249026
Bilka
Factorio Staff
Factorio Staff
Posts: 3761
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: note that technology's enabled & visible when disabled persist

Post by Bilka »

I did not read the linked discord discussion, but I've added this information to the prototype properties and also noted that LuaForce::reset_technologies does not reset the enabled/visible when disabled states.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”