animal_product_quality
Determine iridium, gold, silver, and normal product quality chances per animal based on friendship, mood, and profession effects.
Instructions
Iridium/gold/silver/normal produce odds per animal (friendship + mood + Coopmaster/Shepherd). Reads all save animals, or models one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mood | No | Mood/happiness 0-255 for the hypothetical. | |
| save_path | No | Path to a save file OR a save folder (e.g. .../Saves/Farm_123 or .../Saves/Farm_123/Farm_123). Leave empty to use the save configured at server startup (--save/--save-dir or SDV_SAVE_PATH/SDV_SAVE_DIR). The server never auto-discovers saves; one must be configured or passed explicitly. | |
| friendship | No | Model one animal: friendship 0-1000. -1 = read save's animals. | |
| animal_type | No | Animal type label for the hypothetical. | |
| profession_bonus | No | Apply +0.333 Coopmaster/Shepherd bonus for the hypothetical. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| error | No | ||
| from_ | No | ||
| result | No | ||
| animals | No | ||
| animal_type | No |