From d27986045d06069057c2221b3135d8d3a6b4f41a Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Sat, 16 May 2020 09:46:41 +0200 Subject: [PATCH] Added type field to classify entities --- data/mapdata/mapEntities.json | 57 +++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 19 deletions(-) diff --git a/data/mapdata/mapEntities.json b/data/mapdata/mapEntities.json index af3325e..be75d37 100644 --- a/data/mapdata/mapEntities.json +++ b/data/mapdata/mapEntities.json @@ -11,7 +11,8 @@ "stamina" : 5, "thirst" : 0, "hunger" : -20 - } + }, + "type" : "food" }, { @@ -26,7 +27,8 @@ "stamina" : 5, "thirst" : -2, "hunger" : -10 - } + }, + "type" : "food" }, { @@ -41,7 +43,8 @@ "stamina": -5, "thirst": -5, "hunger": -40 - } + }, + "type" : "food" }, { @@ -73,7 +76,8 @@ "stamina": 0, "thirst": 0, "hunger": -25 - } + }, + "type" : "food" }, { "name" : "firepit", @@ -87,7 +91,8 @@ "stamina": 15, "thirst": 0, "hunger": 0 - } + }, + "type" : "rest" }, { "name" : "purewater", @@ -101,7 +106,8 @@ "stamina": 2, "thirst": -40, "hunger": 0 - } + }, + "type" : "water" }, { "name" : "purewater", @@ -115,7 +121,8 @@ "stamina": 2, "thirst": -40, "hunger": 0 - } + }, + "type" : "water" }, { "name" : "purewater", @@ -129,7 +136,8 @@ "stamina": 2, "thirst": -40, "hunger": 0 - } + }, + "type" : "water" }, { "name" : "purewater", @@ -143,7 +151,8 @@ "stamina": 2, "thirst": -40, "hunger": 0 - } + }, + "type" : "water" }, { "name" : "purewater", @@ -157,7 +166,8 @@ "stamina": 2, "thirst": -40, "hunger": 0 - } + }, + "type" : "water" }, { "name" : "purewater", @@ -171,7 +181,8 @@ "stamina": 2, "thirst": -40, "hunger": 0 - } + }, + "type" : "water" }, { "name" : "rock", @@ -337,7 +348,8 @@ "stamina" : 5, "thirst" : -2, "hunger" : -10 - } + }, + "type" : "food" }, { "name" : "berry", @@ -351,7 +363,8 @@ "stamina" : 5, "thirst" : 0, "hunger" : -20 - } + }, + "type" : "food" }, { "name" : "cranberry", @@ -365,7 +378,8 @@ "stamina" : 5, "thirst" : -2, "hunger" : -10 - } + }, + "type" : "food" }, { "name" : "cranberry", @@ -379,7 +393,8 @@ "stamina" : 5, "thirst" : -2, "hunger" : -10 - } + }, + "type" : "food" }, { "name" : "tree", @@ -426,7 +441,8 @@ "stamina": -5, "thirst": -5, "hunger": -40 - } + }, + "type" : "food" }, { "name" : "rabbit", @@ -440,7 +456,8 @@ "stamina": -5, "thirst": -5, "hunger": -40 - } + }, + "type" : "food" }, { "name" : "berry", @@ -454,7 +471,8 @@ "stamina" : 5, "thirst" : 0, "hunger" : -20 - } + }, + "type" : "food" }, { "name" : "berry", @@ -468,7 +486,8 @@ "stamina" : 5, "thirst" : 0, "hunger" : -20 - } + }, + "type" : "food" }, { "name" : "bush",