CreateEffect


This is an object.

Field Name Optional? Description Data Type

Fields from Trigger

trigger Type of trigger TriggerType
trigger_on_type This trigger happens for items that have an item type in this list
Default value: ['Any']
Array of ItemType
trigger_area This trigger happens for items that are in an area in this list
Default value: ['self']
Array of Area
trigger_distance Area distance to apply to the Areas in trigger_area. This further narrows the area radius to closest or adjacent items.
Default value: all
AreaDistance
needs_activation If this is true, then this trigger must first be activated by giving the item the ItemStatusEffect isActivated boolean
trigger_description Use, if the game cannot provide a description for this trigger or if you want to override it. See Custom Descriptions for more info. string
or
MultiLanguage

Fields from CreateEffect

type How the item(s) will be spawned
Default value: set
CreateType
create_areas Areas to create the item in Array of Area
create_items List of specific items to spawn. Array of string (Item Name)
or
ItemDefinition
create_types Used with byType and inOpenSpaceByType. Item Types in this list are considered for which item to spawn. Array of ItemType
create_rarities This is used when creating items by type to determine which Rarity the spawned item(s) can have.
Default value: ['Common', 'Uncommon', 'Rare', 'Legendary']
Array of Rarity
number_of_items Number of items to create
Default value: 1
integer
or
ValueChanger
description Use, if the game cannot provide a description for this create effect or if you want to override it. See Custom Descriptions for more info. string
or
MultiLanguage