Teleportation event handler, entity prototype flag

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
IronCartographer
Filter Inserter
Filter Inserter
Posts: 455
Joined: Tue Jun 28, 2016 2:07 pm
Contact:

Teleportation event handler, entity prototype flag

Post by IronCartographer »

Picker Dollies implements a custom event which provides other mods with {player_index, moved_entity, start_pos} when it teleports something. It also provides a blacklist for entities never to be teleported.

It would be useful for generic mod compatibility if there were an official event for teleportation. Additionally, entity prototypes could optionally include a teleportation_allowed flag (which belts would be denied from setting to true, despite it being the default for most things).

Inspiration: https://mods.factorio.com/mod/ForceFiel ... 000be1c9f3

Post Reply

Return to “Modding interface requests”