target_has_reagent 
Gates child on the atom held in a blackboard key having a specific reagent in its reagent list. Use "invert": true to gate on the reagent being absent.
Vars | |
| key | Blackboard key holding the atom to check. |
|---|---|
| observed_holder | Tracked so we can rebind signals when the key or its reagents change. |
| reagent_type | Typepath of the reagent to look for. |
Procs | |
| on_target_key_changed | Fires when the blackboard key changes. Rebinds the reagent holder observer to the new target and re-evaluates. |
Var Details
key 
Blackboard key holding the atom to check.
observed_holder 
Tracked so we can rebind signals when the key or its reagents change.
reagent_type 
Typepath of the reagent to look for.
Proc Details
on_target_key_changed
Fires when the blackboard key changes. Rebinds the reagent holder observer to the new target and re-evaluates.