From 58a23ddadfc9afc4573601d9b950a38c1607e1e4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 11 Nov 2022 18:59:12 -0300 Subject: So. A crash it is. --- evolved.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/evolved.py b/evolved.py index 349b811..8b01942 100755 --- a/evolved.py +++ b/evolved.py @@ -330,6 +330,8 @@ class It: self.script=[] def ItAlloc(it): + if (it.aegis == "UnknownItem"): + return if (it.sl == "0" and it.ac) or (it.sl in ["1","2","3","4"] and not it.ac): print("WARNING, item id "+it.id+" invalid dye/card setting!") if (len(it.sl) > 1): @@ -390,7 +392,10 @@ def ItAlloc(it): return ## Save the Aegis ID - aegis.write("%s %s\n" % (it.aegis, it.id)) + if (it.aegis not in ["CaveSnakeLamp"]): + aegis.write("%s %s\n" % (it.aegis, it.id)) + else: + print("%s: Aegis reused as quest var (please purge)" % it.aegis) AllItems[it.aegis]=str(it.id) -- cgit v1.2.3-70-g09d2