diff --git a/source/behavior/entities/format/components/experience_reward.json b/source/behavior/entities/format/components/experience_reward.json index ca51b414..edf0c3ee 100644 --- a/source/behavior/entities/format/components/experience_reward.json +++ b/source/behavior/entities/format/components/experience_reward.json @@ -6,13 +6,13 @@ "additionalProperties": false, "properties": { "on_bred": { - "type": "string", + "type": ["string", "number"], "default": 0, "description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.", "title": "On Bred" }, "on_death": { - "type": "string", + "type": ["string", "number"], "default": 0, "description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.", "title": "On Death"