Console commands

*Tyranny* inherits many of the console commands from *Pillars of Eternity*, which allow for manipulating inventory, character stats, and more.

## Enabling console commands

* In order to activate console commands, you need press the tilde key (`~`), hit Enter, and type in `iroll20s`.
* Once entered, the command activates cheat mode and disables achievements for this particular game. Reloading a save where cheats weren't activated enables them again.

## Basic commands

Most commands require a target; the player character is simply called `player`.
* `AttributeScore character attribute value`: Sets base value of given attribute.
* `Skill character skill value`: Sets base value of given skill (eg. skill player lore 100).
* `AddAbility target abilityname`: Adds an ability.
* `AddItem itemcode quantity`: Adds an item in the specified quantity to the player character's inventory.
* `GiveItem itemcode quantity`: Adds an item in the specified quantity to the stash (recommended).
* `AddExperience amount`: Adds the specified amount of experience.
* `addbelief amount`: Adds power (used to cast Edicts).
* `advancetimebyhours amount`: Advances time by the specified amount of hours.
* `StartQuest questid`: Starts the specified quest.
* `SetGlobalValue globalid value`: Sets the specified global value to the specified value.
* `AreaTransition MapName PointLocation`: Teleport to the specified area.
* `reputationsetaxisrank [id] [1 = wrath, 0 = favor] [ammount 0-6] -1`: Set Loyalty/Fear or Favor/Wrath for the specified id (see below).

## Codes

* To find specific item codes, consult the individual item pages (eg. rings for money, artifacts for artifacts etc.). A quick way to fatten your wallet with 100,000 rings and 50 each of Spire resources is the following:

```
additem money_01_ir 10
giveitem RES_SkyPillar_AlchemySupplies 50
giveitem RES_SkyPillar_Ingot_Bronze 50
giveitem RES_SkyPillar_Ingot_Iron 50
giveitem RES_SkyPillar_Scrolls 50
giveitem RES_SkyPillar_Hide 50

```

* For a list of global variables, see List of global variables in Tyranny.
* For a list of location map names, see List of maps.
* Another command that may be useful is "`exec spellcreation`". This will unlock all sigils, accents, and expressions, save for a few of the last tiers of accents.

## Reputation IDs

The following IDs can be used with the "reputationsetaxisrank" command. For example, if you wanted to set your favor with Graven Ashe to 6 (maximum), you would use the command "`reputationsetaxisrank 25 0 6 -1`". Some reputations are flags for obtained artifacts.

```
1 = Scarlet Chorus
2 = Disfavored
3 = Kills-in-shadow
4 = Barik
7 = Lantry
8 = Verse
9 = Eb
10 = Sirin
12 = Unbroken
13 = Vendrian Guard
15 = Bronze Brotherhood
16 = Stonestalker Tribe
18 = Sages' Guild
19 = Forge-Bound
20 = Princes In Exile (Unimplemented)
21 = Cutters Guild (Unimplemented)
24 = Tunon
25 = Graven Ashe
26 = Voices of Nerat
27 = Bleden Mark
28 = Dauntless
29 = Steadfast Insignia
31 = Helm of the First Regent
32 = Magebane Helm
33 = Azure Shield
34 = Staff of Hours
35 = Face of Judgment
36 = Peacemaker
37 = Final Scream
38 = Bindings of Shadows
41 = Lethian's Crossing
42 = Stone Sea Villagers
43 = Bastard City  (Unimplemented)
44 = Stone Sea Villagers  (Unimplemented)
45 = Gravebow
46 = Sunlance
47 = Tempest
48 = Deathbringer
49 = Snowfang
50 = Staff of Cairn
51 = Heart's Blood
52 = Nightwalker Boots
53 = Baneward
54 = Commander's Plate
55 = Hierarch's Robes
56 = Alchemist's Gloves
57 = Scales of Mercy
58 = Banner of Ardent
59 = Hammer of Sunder
62 = Bastard City  (Unimplemented)
63 = Regents of Stalwart  (Unimplemented)
64 = Jaspos  (Unimplemented)
65 = Wagstaff  (Unimplemented)
66 = Bastard's Wound  (Unimplemented)
67 = Woundkin  (Unimplemented)
68 = Sleepless  (Unimplemented)
101 = Circular Reason
103 = Edict's Crescent
105 = Edict's Mallet
107 = Weeping Whispers
109 = Wave's Crest
111 = Infused Shadows
112 = Songbird's Encore
113 = Penumbra

```

## Skill IDs

This is an **unfinished** list of the Skill IDs for the Skill command. Feel free to edit with the correct ids below.

```
(Name - id)
Weapons
Unarmed Combat - unarmed
One-Handed Weapons - one_handed
Two-Handed Weapons - two_handed
Dual Wield - dual_wield
Bows - bows
Magic Staff -

Support
Athletics - athletics
Parry - parry
Dodge - dodge
Lore - lore
Subterfuge - stealth

Magic
Control Atrophy - spell_weaken
Control Emotions - spell_fear
Control Fire - spell_fire
Control Force - spell_gravity
Control Frost - spell_frost
Control Gravelight - spell_drain
Control Illusions - spell_hallucination
Control Life - spell_heal
Control Lightning - spell_lightning
Control Stone - spell_stone
Control Vigor - spell_strengthen

Companion only
Tidecasting (Eb) - spell_tidecasting
Performance (Sirin) -

Untested ids
May be Performance - spell_spiritcall
 - spell_frenzy

```