XCOM 2 GiveResource Command
On this page documenation for the GiveResource console command, you will find a list of all 6 XCOM 2 resource IDs to use with the command.
Resource Name | Resource ID |
---|---|
Alien Alloys | AlienAlloy |
Elerium Core | EleriumCore |
Elerium Crystals | EleriumDust |
Intel | Intel |
Supplies | Supplies |
Ability Point WOTC | Abilitypoint |
GiveResource Command Documentation
giveresource [resource id] [amount] Avenger
This console command is capable to give you the resource with the particular ID. You can also denote an amount of the resource you want to add - e.g. 100. You must have at least one of the resources you need to add in order for this to work. Use the additem command to add a resource if you don't already have one.
Resource ID | The ID of the resource you wish to add. |
Amount | The amount of the resource you wish to add. |
Examples
Below you will find the working samples of the GiveResource command.
GiveResource AlienAlloy 1
This command would give you 1 Alien Alloy, provided you already have at least one.
GiveResource EleriumDust 25
"EleriumDust" is the ID code for Elerium Crystals - this console command would give you 25 Elerium Crystals, provided you already had at least one.
AddItem EleriumDust 1
If you don't already have 1 Elerium Crystal for the example above this one, using the above command will give you one Elerium Crystal.