Literal
Literals encapsulate all the actual values you may want to use, from basic numbers to more Starfinder-specific ones like Damage Type or Magical Tradition.
Integer
Positive and negative whole numbers. E.g. 3, -1, 414.
Boolean
true or false
String
Any text. Strings must be enclosed in double quotes ("). For example, "item penalty to Will saving throws" is a valid string literal.
ID
An identifier referring to a specific item in the Hephaistos database. IDs, like strings, must be enclosed in double quotes (").
Starfinder-Specific Literals
- Attribute
- ArmorCategory
- Damage
- DamageType
- DiceSide
- EquipmentKind
- MagicalTradition
- Movement
- Proficiency
- Resistance
- Sense
- Size
- WeaponCategory
Filters & Filter Operations
Filters are used as part of Expressions, Statements and some Properties. Each filter type provides a variety of functions (e.g. feat_level, equipment_price and so on) which can be checked by providing it a filter operation.
Filter operations define the comparison to be made and a target value. For example, the filter operation gte(10) checks that a value is greater than or equal to 10.
Examples
feat_level(lte(3)) and feat_traits(contains("Skill"))
Check if a feat is less than or equal to level 3 and if it has the Skill trait.
equipment_weapon_category(eq(martial_weapon))
Check if a weapon is in the Martial category.