Skip to main content

Icon

This view allows you to display an icon.

The available icon names are:

Without custom color support:

  • ic_armor
  • ic_backpack
  • ic_battle
  • ic_d20
  • ic_death
  • ic_skills
  • ic_star
  • ic_weapon

With custom color support:

  • ic_badge
  • ic_conditions
  • ic_daytime
  • ic_edit
  • ic_more_horiz
  • ic_more_vert
  • ic_notes
  • ic_pets
  • ic_progression
  • ic_sort
  • ic_stars
  • ic_whatshot

If you have a request for an icon that is not available yet, please contact the app developer by reaching out to feedback@blastervla.com by email.

JSON Format

{
"type": "icon",
"id": ...,
"type": ...,
"margin_left": ...,
"margin_right": ...,
"margin_top": ...,
"margin_bottom": ...,
"is_visible": ...,
"validation_message": ...
}

Fields

FieldTypeRequiredDescription
idStringA unique identifier for the view. You can use it to reference view values in stat formulas by doing $view.view_id (where view_id is the id that was assigned to this view by you in the system definition)
typeRPGViewTypeThe type of this view. Note that these are all in camelCase.
margin_leftdoubleOptional. How much margin to add to the left of this view.
margin_rightdoubleOptional. How much margin to add to the right of this view.
margin_topdoubleOptional. How much margin to add to the top of this view.
margin_bottomdoubleOptional. How much margin to add to the bottom of this view.
is_visibleStatFormulaComponentOptional. A formula to specify if the view should be visible or not. Must return a bool.
validation_messageStatFormulaComponentOptional. If this view is an input, you can define this formula to return a message when the input value is invalid. If the input is valid, you should return null. Otherwise, make the formula return the string that should be shown to the user.