diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-04-08 09:25:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-04-08 09:25:12 -0300 |
commit | d9ef8d92e65ea0680c89118392f0f42a55ac0c85 (patch) | |
tree | 44db34bf03b8cd634d8eb60304fd5a890f11f076 /npc/functions | |
parent | 3f4ba5f35dae01c10727f5a713716abb7df09daf (diff) | |
download | serverdata-d9ef8d92e65ea0680c89118392f0f42a55ac0c85.tar.gz serverdata-d9ef8d92e65ea0680c89118392f0f42a55ac0c85.tar.bz2 serverdata-d9ef8d92e65ea0680c89118392f0f42a55ac0c85.tar.xz serverdata-d9ef8d92e65ea0680c89118392f0f42a55ac0c85.zip |
Backport Chronos changes. But without personal trading limit.
The reason for the personal limit is the existing stacks of points.
These should be liquidated before the Evolved merge.
(And if not, this means BP costs go up, so.)
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/clear_vars.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/clear_vars.txt b/npc/functions/clear_vars.txt index 65d21291..537012c8 100644 --- a/npc/functions/clear_vars.txt +++ b/npc/functions/clear_vars.txt @@ -21,6 +21,12 @@ function script ClearVariables { setq Quest_Doomsday, 2; #DD5_TALLY = 0; // Whatever, one is enough } + if (#CHRONOS) { + #CHRONOS = 0; // No longer used + } + if (#X21) { + #X21 = 0; // Flag for old events + } if (#BankAccount) { BankVault += #BankAccount; #BankAccount = 0; |