Added type field to classify entities

This commit is contained in:
Marcin Kostrzewski 2020-05-16 09:46:41 +02:00
parent d38b2ff7d5
commit d27986045d

View File

@ -11,7 +11,8 @@
"stamina" : 5, "stamina" : 5,
"thirst" : 0, "thirst" : 0,
"hunger" : -20 "hunger" : -20
} },
"type" : "food"
}, },
{ {
@ -26,7 +27,8 @@
"stamina" : 5, "stamina" : 5,
"thirst" : -2, "thirst" : -2,
"hunger" : -10 "hunger" : -10
} },
"type" : "food"
}, },
{ {
@ -41,7 +43,8 @@
"stamina": -5, "stamina": -5,
"thirst": -5, "thirst": -5,
"hunger": -40 "hunger": -40
} },
"type" : "food"
}, },
{ {
@ -73,7 +76,8 @@
"stamina": 0, "stamina": 0,
"thirst": 0, "thirst": 0,
"hunger": -25 "hunger": -25
} },
"type" : "food"
}, },
{ {
"name" : "firepit", "name" : "firepit",
@ -87,7 +91,8 @@
"stamina": 15, "stamina": 15,
"thirst": 0, "thirst": 0,
"hunger": 0 "hunger": 0
} },
"type" : "rest"
}, },
{ {
"name" : "purewater", "name" : "purewater",
@ -101,7 +106,8 @@
"stamina": 2, "stamina": 2,
"thirst": -40, "thirst": -40,
"hunger": 0 "hunger": 0
} },
"type" : "water"
}, },
{ {
"name" : "purewater", "name" : "purewater",
@ -115,7 +121,8 @@
"stamina": 2, "stamina": 2,
"thirst": -40, "thirst": -40,
"hunger": 0 "hunger": 0
} },
"type" : "water"
}, },
{ {
"name" : "purewater", "name" : "purewater",
@ -129,7 +136,8 @@
"stamina": 2, "stamina": 2,
"thirst": -40, "thirst": -40,
"hunger": 0 "hunger": 0
} },
"type" : "water"
}, },
{ {
"name" : "purewater", "name" : "purewater",
@ -143,7 +151,8 @@
"stamina": 2, "stamina": 2,
"thirst": -40, "thirst": -40,
"hunger": 0 "hunger": 0
} },
"type" : "water"
}, },
{ {
"name" : "purewater", "name" : "purewater",
@ -157,7 +166,8 @@
"stamina": 2, "stamina": 2,
"thirst": -40, "thirst": -40,
"hunger": 0 "hunger": 0
} },
"type" : "water"
}, },
{ {
"name" : "purewater", "name" : "purewater",
@ -171,7 +181,8 @@
"stamina": 2, "stamina": 2,
"thirst": -40, "thirst": -40,
"hunger": 0 "hunger": 0
} },
"type" : "water"
}, },
{ {
"name" : "rock", "name" : "rock",
@ -337,7 +348,8 @@
"stamina" : 5, "stamina" : 5,
"thirst" : -2, "thirst" : -2,
"hunger" : -10 "hunger" : -10
} },
"type" : "food"
}, },
{ {
"name" : "berry", "name" : "berry",
@ -351,7 +363,8 @@
"stamina" : 5, "stamina" : 5,
"thirst" : 0, "thirst" : 0,
"hunger" : -20 "hunger" : -20
} },
"type" : "food"
}, },
{ {
"name" : "cranberry", "name" : "cranberry",
@ -365,7 +378,8 @@
"stamina" : 5, "stamina" : 5,
"thirst" : -2, "thirst" : -2,
"hunger" : -10 "hunger" : -10
} },
"type" : "food"
}, },
{ {
"name" : "cranberry", "name" : "cranberry",
@ -379,7 +393,8 @@
"stamina" : 5, "stamina" : 5,
"thirst" : -2, "thirst" : -2,
"hunger" : -10 "hunger" : -10
} },
"type" : "food"
}, },
{ {
"name" : "tree", "name" : "tree",
@ -426,7 +441,8 @@
"stamina": -5, "stamina": -5,
"thirst": -5, "thirst": -5,
"hunger": -40 "hunger": -40
} },
"type" : "food"
}, },
{ {
"name" : "rabbit", "name" : "rabbit",
@ -440,7 +456,8 @@
"stamina": -5, "stamina": -5,
"thirst": -5, "thirst": -5,
"hunger": -40 "hunger": -40
} },
"type" : "food"
}, },
{ {
"name" : "berry", "name" : "berry",
@ -454,7 +471,8 @@
"stamina" : 5, "stamina" : 5,
"thirst" : 0, "thirst" : 0,
"hunger" : -20 "hunger" : -20
} },
"type" : "food"
}, },
{ {
"name" : "berry", "name" : "berry",
@ -468,7 +486,8 @@
"stamina" : 5, "stamina" : 5,
"thirst" : 0, "thirst" : 0,
"hunger" : -20 "hunger" : -20
} },
"type" : "food"
}, },
{ {
"name" : "bush", "name" : "bush",