summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qeditor.rpy2
-rw-r--r--qeditor_adv.rpy2
2 files changed, 2 insertions, 2 deletions
diff --git a/qeditor.rpy b/qeditor.rpy
index 2137e0b..3ad8c48 100644
--- a/qeditor.rpy
+++ b/qeditor.rpy
@@ -233,7 +233,7 @@ init python:
alltquests["Main"].sort(key=lambda x: x["quest_id"])
allquests=alltquests["Main"]
f=open(get_path("quests.editor.json"), "w")
- json.dump(allquests, f, indent=4, separators=(',', ': '))
+ json.dump(allquests, f, indent=4, separators=(',', ': '), sort_keys=True)
f.close()
renpy.notify("File saved as quests.editor.json")
return
diff --git a/qeditor_adv.rpy b/qeditor_adv.rpy
index be86f04..4c23d3c 100644
--- a/qeditor_adv.rpy
+++ b/qeditor_adv.rpy
@@ -114,7 +114,7 @@ label qeditor_supernew:
"quest_id": queid,
"difficulty": qdif, # FIXME too steep
"requeriment": qeid-1,
- "cost": 1+(qeid / 5),
+ "cost": 1+(qeid // 5),
"flags": qefl,
"music": "bgm03",
"bg": "battle",