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

mob_stat_at_least

Passes when the mob held in a blackboard key has a stat value at that is at least X. Higher is more dead.

Vars

keyBlackboard key holding the mob to check.
min_statMinimum stat value (inclusive) for the condition to pass. Default: CONSCIOUS.
observed_mobThe mob currently being observed. Tracked so we can unregister when the key changes or teardown runs.

Procs

on_mob_key_changedFires when the blackboard key changes. Rebinds the stat observer to the new mob and re-evaluates.

Var Details

key

Blackboard key holding the mob to check.

min_stat

Minimum stat value (inclusive) for the condition to pass. Default: CONSCIOUS.

observed_mob

The mob currently being observed. Tracked so we can unregister when the key changes or teardown runs.

Proc Details

on_mob_key_changed

Fires when the blackboard key changes. Rebinds the stat observer to the new mob and re-evaluates.