From 8fb30cbab97437ccfc628882cbdcef2ee601c638 Mon Sep 17 00:00:00 2001 From: Prince Date: Wed, 29 Apr 2020 21:40:23 +0530 Subject: [PATCH] added reward attribute to task prefabs --- assets/prefabs/BookQuest.prefab | 4 ++++ assets/prefabs/QuestCard.prefab | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/assets/prefabs/BookQuest.prefab b/assets/prefabs/BookQuest.prefab index 764cfc6..b92e81c 100644 --- a/assets/prefabs/BookQuest.prefab +++ b/assets/prefabs/BookQuest.prefab @@ -20,6 +20,10 @@ "Quest" : { "shortName" : "TestBookQuest", "description" : "Test this quest on book!", + "reward" : [ + {"uri" : "mud", "quantity" : 4}, + {"uri" : "sand", "quantity" : 7} + ], "tasks" : [ { "id" : "collectDirt", diff --git a/assets/prefabs/QuestCard.prefab b/assets/prefabs/QuestCard.prefab index 47b367c..f90d3fb 100644 --- a/assets/prefabs/QuestCard.prefab +++ b/assets/prefabs/QuestCard.prefab @@ -10,6 +10,10 @@ "Quest" : { "shortName" : "TestQuest", "description" : "Test this quest!", + "reward" : [ + {"uri" : "axe", "quantity" : 2}, + {"uri" : "sand", "quantity" : 3} + ], "tasks" : [ { "id" : "collectDirt",