From f82955035ced37326b609fb9672fb66f029bd31d Mon Sep 17 00:00:00 2001 From: StealthyX Date: Fri, 12 May 2023 05:35:24 -0400 Subject: [PATCH] Update anger_level.json (#175) Updated the anger_level.json "default_annoyingness" can be a float, int, or string, and the warden is currently using an integer so I've made a change so this will use a "number" instead of a "string" for its value type as it's more flexible. Also added a missing warden argument called "default_projectile_annoyingness": 35 Added some documentation for the above. --- .../entities/format/components/anger_level.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/behavior/entities/format/components/anger_level.json b/source/behavior/entities/format/components/anger_level.json index 39fc11e5..c5233663 100644 --- a/source/behavior/entities/format/components/anger_level.json +++ b/source/behavior/entities/format/components/anger_level.json @@ -28,10 +28,16 @@ }, "default_annoyingness": { "title": "Default Annoyingness", - "type": "string", - "default": "0", + "type": "number", + "default": 0, "description": "The default amount of annoyingness for any given nuisance. Specifies how much to raise anger level on each provocation" }, + "default_projectile_annoyingness": { + "title": "Default Projectile Annoyingness", + "type": "number", + "default": 0, + "description": "The default amount of annoyingness for projectile nuisance. Specifies how much to raise anger level on each provocation" + }, "max_anger": { "title": "Maximum Anger", "type": "integer",