summaryrefslogtreecommitdiff
path: root/game/quest.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/quest.rpy')
-rw-r--r--game/quest.rpy10
1 files changed, 10 insertions, 0 deletions
diff --git a/game/quest.rpy b/game/quest.rpy
index 2185450..b0af279 100644
--- a/game/quest.rpy
+++ b/game/quest.rpy
@@ -36,6 +36,16 @@ init python:
return ERR_JSONDECODER
return bt
+ def loadsummon():
+ global Battle
+ # FIXME: Retrieve summon ID, etc
+ raw=send_packet("summon", "[1]")
+
+ bt=json_decode(raw)
+ if (bt == ERR_JSONDECODER):
+ return ERR_JSONDECODER
+ return bt
+
###################################################################
# TODO: Quest menus and selections should be auto-generated
# World map structure: ["name", min_level, {quest1}, {quest2} ...]