Force Fields


Adds multiple types of electric powered, self healing walls to keep the biters out.

Content
3 years ago
0.16 - 1.1
7.84K
Combat

i [Mod compatibility] Crashes after teleportation from Picker Dollies (since entities are not registered with blacklist)

4 years ago
(updated 4 years ago)

It's possible to blacklist entities within Picker Dollies to prevent teleportation, to prevent crashes like this.

Edit: Picker Dollies also includes a custom event for responding to its teleportation, though it requires handling the event properly rather than denying it.

I'm surprised there's no (official) event handler for teleportation. Looks like a good case to be made for adding it the API.

Edit2: API request submitted here- https://forums.factorio.com/viewtopic.php?f=28&t=78884

4 years ago

My mod does not do any teleportations, what mod list do you use?

4 years ago
(updated 4 years ago)

Sorry, to be clear I mean that https://mods.factorio.com/mod/PickerDollies allows players to teleport your entities, causing a crash lua error for the Forcefield logic.

That mod offers two ways to prevent this--one simple, and one more elaborate.

Hopefully the base game will support an official event system to avoid issues like this with all mods, rather than on a case by case basis.

4 years ago

I understand it now. I'll look into it.

New response