/tg/ Station 13 - Modules - TypesVar Details - Proc Details

basic

Vars

check_factions_exactlyWhen we do our basic faction check, do we look for exact faction matches?
custom_faction_checkSet to TRUE on subtypes that override faction_check() with custom logic, routing the check through the proc instead of the inlined macro
ignore_factionWhether we skip faction checks entirely, never rejecting a target over factions
ignore_sightWhether we care for seeing the target or not
ignore_target_statusWhether we ignore faction checks
invert_faction_checkIf TRUE the faction check is inverted, making us only target mobs that DO share a faction with us
minimum_stat_keyBlackboard key containing the minimum stat of a living mob to target
target_wounded_keyIf this blackboard key is TRUE, makes us only target wounded mobs

Procs

faction_checkReturns true if the mob and target share factions. Slow path for subtypes with custom_faction_check set; everything else uses TARGETING_FACTION_CHECK directly

Var Details

check_factions_exactly

When we do our basic faction check, do we look for exact faction matches?

custom_faction_check

Set to TRUE on subtypes that override faction_check() with custom logic, routing the check through the proc instead of the inlined macro

ignore_faction

Whether we skip faction checks entirely, never rejecting a target over factions

ignore_sight

Whether we care for seeing the target or not

ignore_target_status

Whether we ignore faction checks

invert_faction_check

If TRUE the faction check is inverted, making us only target mobs that DO share a faction with us

minimum_stat_key

Blackboard key containing the minimum stat of a living mob to target

target_wounded_key

If this blackboard key is TRUE, makes us only target wounded mobs

Proc Details

faction_check

Returns true if the mob and target share factions. Slow path for subtypes with custom_faction_check set; everything else uses TARGETING_FACTION_CHECK directly