New 'libraries' page in documentation is missing 'changed' entries

Post Reply
User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 582
Joined: Tue May 19, 2015 1:56 am
Contact:

New 'libraries' page in documentation is missing 'changed' entries

Post by Reika »

That is, the game changes more lua libraries/functions than are listed at https://lua-api.factorio.com/latest/Libraries.html

One example I know of is the random.set_seed, whose "silent deletion" caused me unending headaches back in 2016 when I was designing Oreverhaul: viewtopic.php?f=25&t=34941&p=217395#p217550

I imagine this is not the only such missing function.
Image

Bilka
Factorio Staff
Factorio Staff
Posts: 3138
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: New 'libraries' page in documentation is missing 'changed' entries

Post by Bilka »

Reminder for future me: It's math.randomseed() which is deleted and math.random() which is changed to be deterministic.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Bilka
Factorio Staff
Factorio Staff
Posts: 3138
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: New 'libraries' page in documentation is missing 'changed' entries

Post by Bilka »

The functions are now documented.
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 “Implemented mod requests”