This mod adds a basic RPG system to the game (XP, level-up and skills)
New ways to deal with enemies, be it attack or defense.
Armors or armor equipment.
Thanks!
This script seem to handle opening/closing the RPG frame by itself. I guess it should rather listen on defines.events.on_gui_switch_state_changed and not on_event("key-I", foo). So even the key i is fixed.
defines.events.on_gui_switch_state_changed
on_event("key-I", foo)
i