interaction.set_reward
Overview
- Overrides InteractionRewards.Reward (autonomy selection weight) of an InteractionBag at runtime, applied to all its reward entries. For tuning autonomous selection frequency (e.g. autonomous pregnancy: Co_TryToHaveChildren). Resets on restart.
Metadata
| Field | Value |
|---|---|
| Display | Set Interaction Autonomy Reward |
| Category | interaction |
| Access | UserCheat |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| interaction_bag_id | name | yes | — | InteractionBag row name (e.g. Co_TryToHaveChildren) |
| reward | int | yes | — | New autonomy reward weight applied to all InteractionRewards entries |
Usage
await inzoi.cli.execute('interaction.set_reward', {
interaction_bag_id: '',
reward: 0,
});