Teleporters

by Klonan

Adds Teleporters

Content
1 year, 9 months ago
0.17 - 2.0
99.3K
Transportation

g Fix for Factorio 2.1

9 days ago

I was playing around with v2.1 and noticed this mod broke.... And I really love this mod!!
Fixing this isn't that hard, so for anyone else who wants to use this for 2.1. This is what I changed to get it running again:

info.json changes:
- Line 9:
Changed: "factorio_version": "2.0"
To: "factorio_version": "2.1"

script/teleporters.lua changes:
- Line 119:
Changed: if player.character then player.character.active = true end
To: if player.character then player.character.disabled_by_script = false end
- Line 123:
Changed: source.active = true
To: source.disabled_by_script = false
- Line 508:
Changed: entity.active = false
To: entity.disabled_by_script = true
- Line 510:
Changed: character.active = false
To: character.disabled_by_script = true

9 days ago

Just found the Github and apparently jmerdich already made a pull request for this :)

New response