Page 1 of 1

LuaSpacePlatform fileds use SpaceLocationID

Posted: Mon Jun 15, 2026 12:45 pm
by Osmo
https://lua-api.factorio.com/latest/cla ... e_location and https://lua-api.factorio.com/latest/cla ... connection say they use LuaSpaceLocationPrototype, but they actually use SpaceLocationID as passing a string with the name is valid.

Re: LuaSpacePlatform fileds use SpaceLocationID

Posted: Mon Jun 15, 2026 1:34 pm
by Bilka
Thanks for noticing that, fixed for 2.1. Note that they're different types (one is SpaceLocationID, the other is SpaceConnectionID).