Testing Steam Items
Note
Only applicable in development builds and the Unity editor.
A temporary test inventory can be loaded from a file named TestInventory.dat
in the game folder.
It contains an Items
list of dictionaries, each with the following properties:
DefinitionId int32
Steam item definition ID. The item can exist locally, i.e., not in the Inventory Service.
Quantity int32 1
Number of items in stack. Optional.
InstanceId uint64 0
By default, a relatively stable instance ID is automatically created for each test item. Can optionally be overridden using this property if necessary.
RagdollEffect enum
Optional. Any of the ragdoll effect names.
ParticleEffect uint16 0
Optional legacy ID of a mythical effect. Works as if the item were crafted with this mythical effect. Useful for testing mythical effects, however cosmetic items only work on the main menu. (Unboxed mythicals unfortunately use an older, less flexible system.)
KillCounter enum
Optional. Can be set to Player
or Total
.