From 617ee0c2c23a4c7cf0973fd73676fdb0e664e8ec Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Sun, 5 Apr 2020 23:14:34 +0200 Subject: [PATCH] Added sample entities --- data/mapdata/mapEntities.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 data/mapdata/mapEntities.json diff --git a/data/mapdata/mapEntities.json b/data/mapdata/mapEntities.json new file mode 100644 index 0000000..cc221d2 --- /dev/null +++ b/data/mapdata/mapEntities.json @@ -0,0 +1,30 @@ +[ + { + "name" : "berry", + "position" : { + "x": 5, + "y": 5 + }, + "isPickupable" : true, + "effect" : { + "hp" : -10, + "stamina" : 5, + "thirst" : 0, + "hunger" : 20 + } + }, + { + "name" : "cranberry", + "position" : { + "x": 7, + "y": 1 + }, + "isPickupable" : true, + "effect" : { + "hp" : 0, + "stamina" : 5, + "thirst" : 2, + "hunger" : 10 + } + } +] \ No newline at end of file