Legends of Ellaria

Legends of Ellaria

Not enough ratings
Console Command Cheats
By Larkon Studio
This is the one year aniversary Console Command Cheats guide.

The console commands window allows you to run cheat / test commands during gameplay to add money, items, XP, soldiers, skip quests, teleport and much more.

The console commands are accessed by pressing the ~ key after starting / loading a new game.
4
   
Award
Favorite
Favorited
Unfavorite
Press the tilde (~) key after starting / loading a game to open the console
The opened console will have some basic descriptions of commands and usage. The console window works by typing text and reading the results. A successful command will usually contain no text while command errors will be displayed directly in the console as a developer text. You can scroll the console up and down with the middle mouse button or by dragging the text.
Player Commands
Player_AddExp(XP) Adds XP to the player. Will automatically level up
Example: Player_AddExp(1000)

Player_AddStat(STAT, AMOUNT) permanently increases a base stat for the player. Works on base stats such as "strength", "constitution", etc. Does not work on combat stats, such as "health", since these stats are calculated from base stats.
Example: Player_AddStat('strength', 10)

Player_AddStatValue(STAT, AMOUNT) restores combat stats, such as health, mana. Stats are: all, health, mana, stamina.
Example: Player_AddStatValue('all', 100000) : Fully restores all health, mana, stamina

Player_AddAttributePoints(X): Permanently adds attribute points regardless of player level.
Example: Player_AddAttributePoints(100)

Player_AddProficiencyPoint(X): Permanently adds proficiency points regardless of player level.
Example: Player_AddProficiencyPoint(100)

Player_AddSkillPoints(X) : Permanently adds skill points regardless of player level.
Example: Player_AddSkillPoints(50)

Player_ResetClass(): Resets player attributes, proficiencies and skill points and returns the points to be reused. This command can be use to completely change the player's class.

AddItem(ITEM, AMOUNT) Adds AMOUNT number of ITEM to the player. Any item will go into the inventory. Gold / Silver will go into the kingdom treasuty. You can also add spells to the spell book the spells may be reset when not learned through their skills.
Example: AddItem('Gold', 1000) AddItem('Ring Of Epicness', 1) AddItem('Firebolt', 1)
Kingdom Commands
UnlockAllConstructions()[/i] Unlocks all constructions in your kingdom

PlayerFaction_AddResources(NAME, AMOUNT) Adds resources to your kingdom
Example: PlayerFaction_AddResources('wood',1000) adds 1000 wood to your kingdom
Infinite Research Example: PlayerFaction_AddResources('research', 99999)

PlayerFaction_SetKingdomStat(NAME, AMOUNT) Permanently sets kingdom stat
PlayerFaction_SetKingdomStat('Army Morale', 200)

CreateHero(HERO NAME): Creates a new hero at player's location. The hero acts as an army general. Available heroes are Krassus, Aria, Portia, Ambrose
Example: CreateHero('Krassus')

AddSoldierToPlayerArmy(SOLDIER NAME, AMOUNT) Adds soldiers to the player army. Soldiers in your army will act like a regular soldier, including morale and upkeep
Example: AddSoldierToPlayerArmy('CreatureNormal_UMA_Royal Guard', 100)
Some soldiers examples: CreatureNormal_UMA_Royal Guard, CreatureNormal_UMA_ArchMage, CreatureNormal_UMA_RoyalArcher, Golem_Strong, CreatureNormal_UMA_Northern_Elite, CreatureNormal_UMA_NorthernArcher_Elite, CreatureNormal_UMA_EvilSoldier_Long, CreatureNormal_UMA_EvilSoldier_1Hand, CreatureNormal_UMA_MageDark

CreateNewAttackingArmy(FACTION): Creates a new army at the closest available faction base, which will immediately attack your closest town or stronghold. Available factions are: Goblin, Bandit, Ancient, Undead, Northens, Dark Ones
World Commands
UnlockAllDoors(): Unlocks quest related doors inside the current location that you are in. This is useful for skipping buttons or quest related locations.

GoToChapter(NAME): Instantly finishes your chapter and teleports you to a the new chapter. Some chapters will also keep some or all of your army and / or resources.
Available chapters (in sequence) are First Chapter, Arag, Dark Ones, The Dark Realm
Example: GoToChapter('Dark Ones')

UnlockChapter(NAME): Permanently unlocks a chapter in the "New Game" menu. The chapter names are the same as in GoToChapter

Unistorm_SetTime(HOUR, MINUTE): Sets the time of day.
Examplle: Unistorm_SetTime(14,0)

Unistorm_SetDate(YEAR, MONTH, DAY): Sets the date. In game date starts from Year 1, Month 1, Day 1.
Example: Unistorm_SetDate(1,1,25): Sets the day to day 25

Unistorm_SetWeather(WEATHER): Sets the weather. Weathers are:
Clear Sky, Cloudy 1, Cloudy 2, Cloudy 3, Cloudy 4, Foggy, Heavy Rain, Heavy Snow, Light Rain, Light Snow, Storm
Example: Unistorm_SetWeather('Foggy')

SetQuestState(QUEST,STATE): Sets a quest state to active / unassigned / success. success quests cannot be restarted. Its recommended to use SetQuestEntryState since completing quests does not complete its inner entries (stages).
Example: SetQuestState('True Heroes - Aria', 'success')

SetQuestEntryState(QUEST, ENTRY INDEX, STATE): Sets a quest entry state to active / unassigned / success. Each quest has a number of entries (Quest stages). advancing to the last entry usually completes the quest
Example: SetQuestEntryState('True Heroes - Aria', 1, success')
To display a list of commands, type "list"
There are several types of commands and parameters, shown next to the command name:
  • LuaMethodFunction - Lua Commands
  • Console Function - Internal Commands
  • Other (LuaTable, LuaString, etc.) - Unused

Since we're using LUA to communicate between quests and the engine, we have two types of commands. Lua Commands and Internal Commands
Lua Commands look like this:
Unistorm_SetTime(13, 30) - Sets the time to 1:30pm
Internal commands look like this:
Player_SetStat Health Current 100
To receive information about a command, type "help [Command Name]"
Typing help on Lua Commands will show you the body and parameters of the command, but with no help description

Example :
help City_AddResources
Result:
City_AddResource(String resourceName, Single quantity)

this will give you a help description of how the command should work.
the String represents a text, which means that you'll have to enclose it with the ('), and a Single represents a number. usually, the parameter name (resouceName, etc.) will give you an indication of what the parameter writes

From the above help, you would then type:
City_AddResource('Gold', 100)

Typing help on an internal command is simpler. it will show you a description of the command and available parameters.

Example:
help list_items
Result:
list_items - displays all items and spells. write a filter text or add space for all items

Internal commands are run by typing the command and then the parameters, separated by spaces. No " ' " or " ( " is required and the parameters are auto-completed. However, internal commands don't support text spaces in the parameters.

From the above help, you would then type:
list_items
or
list_items Sword
1 Comments
thebadassofthewest 1 Apr, 2022 @ 3:25pm 
Oooh ;]