features

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2025 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package features provides type definitions for feature-related constants. These types are used by rulebooks to define feature identifiers, sources, and activation types for character abilities and traits.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivationType

type ActivationType string

ActivationType identifies how a feature is activated. Example: const ActivationAction ActivationType = "action"

const (
	ActivationAction      ActivationType = "action"
	ActivationBonusAction ActivationType = "bonus_action"
	ActivationReaction    ActivationType = "reaction"
	ActivationPassive     ActivationType = "passive"
	ActivationTriggered   ActivationType = "triggered"
)

Common activation types that many systems use

type ID

type ID string

ID identifies a specific feature. Rulebooks define constants of this type for their features. Example: const Rage ID = "rage"

type Source

type Source string

Source identifies where a feature comes from. Example: const SourceBarbarian Source = "barbarian"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL