Toggle Map Editor (Updated to 2.0)


Provides the ability to toggle in and out of Map Editor via hotkey and Shortcut Bar icon. Updated by dimani128.

Utilities
a month ago
2.0
166
Cheats
Owner:
dimani128
Source:
https://github.com/dimani128/Updated-...
Homepage:
N/A
License:
MIT
Created:
a month ago
Latest Version:
1.0.0 (a month ago)
Factorio version:
2.0
Downloaded by:
166 users

Updated to 2.0 by dimani128. Original version by The-Bloke, updated to 1.1 by ApollonSys.

Toggle Map Editor

Provides a keyboard shortcut (default: Control-Alt-E) and Shortcut Bar icon for toggling in and out of the Map Editor.

This is identical to opening the console and typing /editor, but use of a keyboard shortcut allows accessing the Editor much faster, and without affecting your console history.

An unavoidable side-effect of this is that the mod will now enable use of the Map Editor without disabling in-game achievements. Previously the only way to enter Map Editor was to use a console command, which disabled all achievements. Steam achievements will still be disabled, as with installing any mod.

The Shortcut Bar icon will change its status to indicate whether you are currently in or out of Map Editor mode. If you add the mod to a save in which you are already in the Editor, the icon will not reflect this until you exit the Editor for the first time. After that, it will remain in sync.

Changelog:

2.0.0:
- Updated to Factorio version 2.0
1.0.0 :
- Added new shortcut bar icon, based on the Forces icon.
- Fixed shortcut bar icon toggling, so it now detects any toggle of the Map Editor, including manually using /editor. Thanks to flaghacker for pointing me to the new event that allows this!