Foundry-free utilities: constants, collection types, and general helpers.

Namespaces

collection

Classes

InvalidHtmlError
Itr

Interfaces

BrandType
DefinedType
HandlebarsLike
ResolveShortcodeOptions
SubTypeOption

Type Aliases

ActionSubType
ActiveEffectScope
ActorKind
ActorMetadata
AffiliationEffectKey
AfflictionCode
AfflictionEffectKey
AfflictionOutcome
AfflictionSubType
AfflictionTransmission
Amputability
ArmorGearEffectKey
AttackMishap
AttributeCode
AttributeEffectKey
BleedingSusceptibility
BodyRole
CohortMemberRole
ConcoctionGearEffectKey
ConcoctionGearPotency
ConcoctionGearSubType
ContainerGearEffectKey
DefendResultMishap
DialogRenderCallback
DocumentUuid
FatigueCategory
FearCategory
FilePath
GearKind
HTMLString
ImpactAspect
ImpactVariant
ItemKind
ItemMetadata
KindConstructor
LogLevel
MeleeStrikeModeEffectKey
MiscGearEffectKey
MissileStrikeModeEffectKey
MoraleCategory
MovementMedium
MysteryEffectKey
MysterySubType
MysticalAbilityEffectKey
MysticalAbilitySubType
OpposedTestResultTieBreak
ProjectileGearEffectKey
ProjectileGearSubType
Reaction
SkillCode
SkillCombatCategory
SkillEffectKey
SkillSubType
SohlActionScope
SohlContextMenuSortGroup
SohlSettingValue
SohlSpeakerRollMode
SohlSpeakerSound
SohlSpeakerStyle
StatusEffect
StrikeModeType
SuccessLevel
SuccessTestResultMishap
SuccessTestResultMovement
TacticalAdvantage
TestType
TraumaEffectKey
TraumaPhyscondCategory
TraumaPsycondCategory
TraumaSubType
ValueDeltaInfo
ValueDeltaOperator
ValueDeltaValue
VehicleOccupantRole
WeaponGearEffectKey

Variables

ACTION_SUBTYPE
ActionSubTypeLabels
ActionSubTypes
ACTIVE_EFFECT_SCOPE
ActiveEffectScopes
ACTOR_KIND
ACTOR_METADATA
actorKindLabels
ActorKinds
actorMetadataLabels
ActorMetadatas
AFFILIATION_EFFECT_KEY
affiliationEffectKeyLabels
AffiliationEffectKeys
AFFLICTION_CODE
AFFLICTION_EFFECT_KEY
AFFLICTION_OUTCOME
AFFLICTION_SUBTYPE
AFFLICTION_TRANSMISSION
AfflictionCodes
afflictionEffectKeyLabels
AfflictionEffectKeys
AfflictionOutcomeChoices
AfflictionOutcomeLabels
AfflictionOutcomes
AfflictionSubTypeChoices
AfflictionSubTypeLabels
AfflictionSubTypes
AfflictionTransmissionChoices
AfflictionTransmissionLabels
AfflictionTransmissions
Amputabilities
AMPUTABILITY
AmputabilityChoices
amputabilityLabels
ARMORGEAR_EFFECT_KEY
armorGearEffectKeyLabels
ArmorGearEffectKeys
AsyncFunction
ATTACK_MISHAP
AttackMishaps
ATTRIBUTE_CODE
ATTRIBUTE_EFFECT_KEY
AttributeCodes
attributeEffectKeyLabels
AttributeEffectKeys
BASE_INJURY_THRESHOLDS
BLEEDING_SUSCEPTIBILITY
BleedingSusceptibilities
BleedingSusceptibilityChoices
bleedingSusceptibilityLabels
BODY_ROLE
BodyRoleChoices
bodyRoleLabels
BodyRoles
BRAND
CHAT_MODE_LABEL_BY_ROLL_MODE
COHORT_MEMBER_ROLE
CohortMemberRoleChoices
cohortMemberRoleLabels
CohortMemberRoles
CONCOCTIONGEAR_EFFECT_KEY
CONCOCTIONGEAR_POTENCY
CONCOCTIONGEAR_SUBTYPE
concoctionGearEffectKeyLabels
ConcoctionGearEffectKeys
ConcoctionGearPotencies
ConcoctionGearPotencyChoices
ConcoctionGearSubTypeChoices
ConcoctionGearSubTypes
CONTAINERGEAR_EFFECT_KEY
containerGearEffectKeyLabels
ContainerGearEffectKeys
CRITICAL_FAILURE
CRITICAL_SUCCESS
DEFEND_MISHAP
DefendResultMishaps
EXPRESSION_FIELD_PARTIAL
EXPRESSION_FIELD_PARTIAL_NAME
FATIGUE_CATEGORY
FatigueCategories
FatigueCategoryChoices
FatigueCategoryLabels
FEAR_CATEGORY
FearCategories
FearCategoryChoices
FearCategoryLabels
FENCE_EXPERIMENTAL_LABEL_KEY
FENCED_TYPES
FILE_PATH_REGEX
GEAR_KIND
gearKindLabels
GearKinds
IMPACT_ASPECT
IMPACT_ASPECT_CHAR
IMPACT_VARIANT
ImpactAspectChoices
ImpactAspects
ImpactVariantChoices
ImpactVariants
ITEM_KIND
ITEM_METADATA
itemKindLabels
ItemKinds
itemMetadataLabels
ItemMetadatas
KIND_KEY
LOGLEVEL
LogLevels
MARGINAL_FAILURE
MARGINAL_SUCCESS
MELEESTRIKEMODE_EFFECT_KEY
meleeStrikeModeEffectKeyLabels
MeleeStrikeModeEffectKeys
MESSAGE_MODE_BY_ROLL_MODE
MISCGEAR_EFFECT_KEY
miscGearEffectKeyLabels
MiscGearEffectKeys
MISSILESTRIKEMODE_EFFECT_KEY
missileStrikeModeEffectKeyLabels
MissileStrikeModeEffectKeys
MORALE_CATEGORY
MoraleCategories
MoraleCategoryChoices
MoraleCategoryLabels
MOVEMENT_MEDIUM
MovementMediumChoices
movementMediumLabels
MovementMediums
MYSTERY_EFFECT_KEY
MYSTERY_SUBTYPE
mysteryEffectKeyLabels
MysteryEffectKeys
MysterySubTypeChoices
MysterySubTypes
MYSTICALABILITY_EFFECT_KEY
MYSTICALABILITY_SUBTYPE
mysticalAbilityEffectKeyLabels
MysticalAbilityEffectKeys
MysticalAbilitySubTypeChoices
MysticalAbilitySubTypes
OPPOSED_TEST_RESULT_TIEBREAK
OpposedTestResultTieBreaks
PROJECTILEGEAR_EFFECT_KEY
PROJECTILEGEAR_SUBTYPE
projectileGearEffectKeyLabels
ProjectileGearEffectKeys
ProjectileGearSubTypeChoices
ProjectileGearSubTypes
REACTION
reactionLabels
Reactions
SCHEMA_VERSION_KEY
SHARED_COHORTS_PARTIAL
SHARED_COHORTS_PARTIAL_NAME
SHORTCODE_REF_PARTIAL
SHORTCODE_REF_PARTIAL_NAME
SKILL_CODE
SKILL_COMBAT_CATEGORY
SKILL_EFFECT_KEYS
SKILL_SUBTYPE
SkillCodes
SkillCombatCategories
SkillCombatCategoryChoices
skillEffectKeyLabels
SkillEffectKeys
SkillSubTypeChoices
SkillSubTypes
SOHL_ACTION_SCOPE
SOHL_CONTEXT_MENU_SORT_GROUP
SOHL_SPEAKER_ROLL_MODE
SOHL_SPEAKER_SOUND
SOHL_SPEAKER_STYLE
SohlActionScopes
SohlContextMenuSortGroups
SohlSpeakerRollModes
SohlSpeakerSounds
SohlSpeakerStyles
STATUS_EFFECT
StatusEffects
STRIKE_MODE_TYPE
StrikeModeTypeChoices
StrikeModeTypes
SUCCESS_TEST_RESULT_MISHAP
SUCCESS_TEST_RESULT_MOVEMENT
SuccessTestResultMishaps
SuccessTestResultMovements
SYMBOL
TACTICAL_ADVANTAGES
tacticalAdvantages
TEST_TYPE
TestTypes
TRAUMA_EFFECT_KEY
TRAUMA_PHYSCOND_CATEGORY
TRAUMA_PSYCOND_CATEGORY
TRAUMA_SUBTYPE
traumaEffectKeyLabels
TraumaEffectKeys
TraumaPhyscondCategories
TraumaPhyscondCategoryChoices
TraumaPhyscondCategoryLabels
TraumaPsycondCategories
TraumaPsycondCategoryChoices
TraumaPsycondCategoryLabels
TraumaSubTypeChoices
TraumaSubTypes
VALUE_DELTA_ID
VALUE_DELTA_INFO
VALUE_DELTA_OPERATOR
VALUE_DELTA_OPERATOR_ORDER
ValueDeltaInfos
ValueDeltaOperators
VEHICLE_OCCUPANT_ROLE
VehicleOccupantRoleChoices
VehicleOccupantRoles
WEAPONGEAR_EFFECT_KEY
weaponGearEffectKeyLabels
WeaponGearEffectKeys
WORLD_HOST_SHORTCODE

Functions

ActiveEffectScopeChoices
asyncForEach
baseClassOf
buildActionScope
cloneInstance
combine
createHash16
createUniqueName
cyrb53
defaultFromJSON
defaultToJSON
defineType
escapeHTML
getChoicesMap
getCtorForKind
getKindForCtor
getStatic
hashToId
index
instanceFromJSON
isA
isActionSubType
isActiveEffectScope
isActorKind
isActorMetadata
isAffiliationEffectKey
isAfflictionCode
isAfflictionEffectKey
isAfflictionOutcome
isAfflictionSubType
isAfflictionTransmission
isAmputability
isArmorGearEffectKey
isAttackMishap
isAttributeCode
isAttributeEffectKey
isBigInt
isBleedingSusceptibility
isBodyRole
isBoolean
isCohortMemberRole
isConcoctionGearEffectKey
isConcoctionGearPotency
isConcoctionGearSubType
isContainerGearEffectKey
isDefendResultMishap
isDocumentId
isDocumentUuid
isFatigueCategory
isFearCategory
isFencedType
isFilePath
isFunction
isGearItem
isGearKind
isHTMLString
isImpactAspect
isImpactVariant
isItemKind
isItemMetadata
isItemWithSubType
isLogLevel
isMasteryItem
isMeleeStrikeModeEffectKey
isMiscGearEffectKey
isMissileStrikeModeEffectKey
isMoraleCategory
isMovementMedium
isMysteryEffectKey
isMysterySubType
isMysticalAbilityEffectKey
isMysticalAbilitySubType
isNull
isNumber
isObject
isOpposedTestResultTieBreak
isProjectileGearEffectKey
isProjectileGearSubType
isReaction
isSkillCode
isSkillCombatCategory
isSkillEffectKey
isSkillSubType
isSohlActionScope
isSohlContextMenuSortGroup
isSohlSpeakerRollMode
isSohlSpeakerSound
isSohlSpeakerStyle
isStatusEffect
isStrikeModeType
isString
isSuccessTestResultMishap
isSuccessTestResultMovement
isSymbol
isTacticalAdvantage
isTestType
isTraumaEffectKey
isTraumaPhyscondCategory
isTraumaPsycondCategory
isTraumaSubType
isUndefined
isValueDeltaInfo
isValueDeltaOperator
isValueDeltaValue
isVehicleOccupantRole
isWeaponGearEffectKey
labelWithFenceSuffix
maxPrecision
registerKind
registerPureHandlebarsHelpers
resolveShortcodeKey
romanize
secondaryModifier
setUuidResolver
slugifyShortcode
sortStrings
speakerRollModeOptions
subTypeOptionsFromChoices
textToFunction
toDocumentId
toDocumentUuid
toFilePath
toHTMLString
toMessageMode
toSohlContextMenuSortGroup
uniqueShortcode

References

DialogButtonSpec → sohl.core.DialogButtonSpec
DialogResultCallback → sohl.core.DialogResultCallback
DialogSpec → sohl.core.DialogSpec
INJURY_LEVELS → sohl.document.item.logic.INJURY_LEVELS