CreateChip
This formula allows to create a ChipRPGView. It is most usually used for
the ListItemRPGView chips property. The chip view allows to display
either a text from a stat formula or can be provided with resource data and
automatically display resources for you in the form of text with the given
stat.
Returns
ChipRPGView
JSON Format
{
"type": "createChip",
"id": ...,
"text": ...,
"background_color": ...,
"border_color": ...,
"style": ...,
"resource_id": ...,
"resource_instance_ids_stat": ...,
"resource_display_stat": ...
}
RPG Script
This component can be written in RPG Script as:
createChip(...)
Fields
| Field | Type | Required | Description |
|---|---|---|---|
resource_display_stat | String | The stat of the resource that should be used to display in the chip. Most usually it's name. |