summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-29 21:56:21 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-29 21:56:21 -0300
commitf79aad484e598763850e8bda83c150dacbd4ccae (patch)
treea14cf4b57498753f1a18be5fa6fea70aac692382
parent39c7308503aa2d924cf9a8121141dcccd44014c5 (diff)
downloadsdk-f79aad484e598763850e8bda83c150dacbd4ccae.tar.gz
sdk-f79aad484e598763850e8bda83c150dacbd4ccae.tar.bz2
sdk-f79aad484e598763850e8bda83c150dacbd4ccae.tar.xz
sdk-f79aad484e598763850e8bda83c150dacbd4ccae.zip
Better calculation for new quests
-rw-r--r--qeditor.rpy10
1 files changed, 5 insertions, 5 deletions
diff --git a/qeditor.rpy b/qeditor.rpy
index e8b9810..eb047de 100644
--- a/qeditor.rpy
+++ b/qeditor.rpy
@@ -240,15 +240,15 @@ init python:
allquests.append({
"quest_id": qeid,
- "difficulty": 0,
- "requeriment": 0,
+ "difficulty": qeid*5,
+ "requeriment": qeid-1,
"cost": qec,
"flags": qefl,
"music": "bgm03",
"loot": [
- ["1010", 1000],
- ["1020", 100],
- ["1030", 10]
+ ["1010", 1000+(qeid/5*25)],
+ ["1020", 100+(qeid/5*10)],
+ ["1030", 10+(qeid/5)]
],
"waves": []})
renpy.notify("New quest added: %d" % qeid)