Add runtime access to SpacePlatformStarterPackPrototype.trigger

ignatio
Long Handed Inserter
Long Handed Inserter
Posts: 97
Joined: Mon Jun 27, 2016 3:59 pm
Contact:

Add runtime access to SpacePlatformStarterPackPrototype.trigger

Post by ignatio »

What?

See title.

Why?

It's useful to determine how space-platform-hub entities are created. I'd like to use that info in a mod that extracts data for a calculator tool.

(Apologies if this exists already and I simply missed it. I expected to find it as LuaItemPrototype.trigger, or some field in that class with TriggerItem in the type.)
Koub
Global Moderator
Global Moderator
Posts: 7987
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Add runtime access to SpacePlatformStarterPackPrototype.trigger

Post by Koub »

[Koub] Moved to Modding interface requests.
Koub - Please consider English is not my native language.
Bilka
Factorio Staff
Factorio Staff
Posts: 3647
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Add runtime access to SpacePlatformStarterPackPrototype.trigger

Post by Bilka »

This was added as LuaItemPrototype::trigger.
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”