Posting this here because it has helped me with testing my (as yet to be released) Five Kingdoms mod. Originally from the "Cheats" thread in the main forum: https://forums.elementalgame.com/372995
I wanted to point out an important discovery I made; you can run the game in AI only mode by pressing Ctrl+Z, and Ctrl+Z again to pause. This is great for testing long term implications of modding on the AI.
The other shortcuts from the original thread - note that you have to have the -cheat command line switch in your shortcut to launch Elemental:
Ctrl+A = Opens a list of unit actions that you can make the currently selected unit perform. Might be helpful for modding new units.
Ctrl+B = Complete que'd buildings in selected City
Ctrl+C = Make a copy of selected unit [clone]
Ctrl+D = Makes selected target yours [works on unit's I haven't tried yet on city's]
Ctrl+E = Research all spells
Ctrl+F = Spawns a Spouse and Children for your sovereign. I believe Ctrl+N only spawns a spouse.
Ctrl+G = Toggle Grid
Ctrl+H = Gives 100 mana
Ctrl+I = Give one of every item in the game to yourself (dead rats, potions, books, etc.)
Ctrl+J = Complete all que'd units in selected city
Ctrl+K = Kill selected target [city, unit or group will not work on individuals inside a city from what I have seen tho]
Ctrl+L = ?? Nothing ??
Ctrl+M = Give 1000 Resources
Ctrl+N = Give yourself a spouse and children
Ctrl+O = Spawns a child if you already have a spouse.
Ctrl+P = Grant selected unit/group's leader enough xp to instantly level
Ctrl+Q = Insta-learn current spell
Ctrl+R = Research everything
Ctrl+S = Quick Save
Ctrl+T = Teleport selected unit/group to cursor
Ctrl+U = Reveal Map [2nd time brings fog back]
Ctrl+V = Instantly have your Child reach adulthood
Ctrl+W = Cycles through wall types for city.
Ctrl+X = Toggle UI (Hide/Unhide)
Ctrl+Y = ?? Nothing ??
Ctrl+Z = Runs the game in AI Only Mode. Ctrl+Z again to pause it.
Shift+Ctrl+L = Lose the game
Shift+Ctrl+V = Win the game (eliminates all other factions)