Toggle Map Editor


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

Utilities
4 years ago
0.17
70
Owner:
The-Bloke
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
4 years ago
Latest Version:
1.0.0 (4 years ago)
Factorio version:
0.17
Downloaded by:
70 users

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:
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!