/tg/ Station 13 - Modules - TypesVar Details

type_weighted

Chooses a nonempty target type tier by weight, then randomly chooses a target within that tier. This prevents a large number of low-priority candidates from drowning out one high-priority candidate.

Vars

fallback_priority_keyBlackboard key holding the weight for targets which match no configured type.
priorities_keyBlackboard key holding an ordered associative list of target typepaths to weights.

Var Details

fallback_priority_key

Blackboard key holding the weight for targets which match no configured type.

priorities_key

Blackboard key holding an ordered associative list of target typepaths to weights.