Set restrictive algorithm to default and add flag for beatable only setting to seed hash.

This commit is contained in:
LLCoolDave
2017-06-23 22:32:29 +02:00
parent 28a2e3cf2d
commit 8f2e8505d1
2 changed files with 3 additions and 2 deletions

View File

@@ -201,7 +201,8 @@ class World(object):
shuffle = ['vanilla', 'simple', 'restricted', 'full', 'madness', 'insanity', 'dungeonsfull', 'dungeonssimple'].index(self.shuffle)
difficulty = ['normal', 'timed', 'timed-ohko', 'timed-countdown'].index(self.difficulty)
algorithm = ['freshness', 'flood', 'vt21', 'vt22', 'restrictive'].index(self.algorithm)
return logic | (mode << 1) | (dungeonitems << 2) | (goal << 3) | (shuffle << 6) | (difficulty << 10) | (algorithm << 12)
beatableonly = 1 if self.check_beatable_only else 0
return logic | (mode << 1) | (dungeonitems << 2) | (goal << 3) | (shuffle << 6) | (difficulty << 10) | (algorithm << 12) | (beatableonly << 15)
class CollectionState(object):