Teleporters

by Klonan

Adds Teleporters

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

g Fix for Factorio 2.1

a month 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

a month ago

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

12 days ago

Big thank you! I will only add that also zip file and folder file name must be changed as well

New response