Feed
Feeds the player, filling up their hunger bar as if they had eaten a food item with the provided values.
Type ID: apoli:feed
Note
The actual food saturation level is determined by the food * saturation * 2 equation.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
food |
Integer | The food amount to restore. | |
saturation |
Float | The saturation amount to restore. |
Example
"entity_action": {
"type": "apoli:feed",
"food": 4,
"saturation": 2
}
This action feeds the player 2 hunger shanks (4 hunger points), and 16 saturation points.