mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Changes
* Fix chests always being for yourself AND intended recipient for Race Rom seeds. * Fix MultiMystery not being able to correctly pack Race Rom seeds into a zip file. * Add tags to multidata for Race rom, Spoiler log, and Playthrough if spoiler log was generated.
This commit is contained in:
@@ -57,12 +57,12 @@ def main(args=None, callback=ERmain):
|
||||
seed = get_seed(args.seed)
|
||||
random.seed(seed)
|
||||
|
||||
if args.race:
|
||||
random.seed() # reset to time-based random source
|
||||
|
||||
seedname = "M" + (f"{random.randint(0, pow(10, seeddigits) - 1)}".zfill(seeddigits))
|
||||
print(f"Generating mystery for {args.multi} player{'s' if args.multi > 1 else ''}, {seedname} Seed {seed}")
|
||||
|
||||
if args.race:
|
||||
random.seed() # reset to time-based random source
|
||||
|
||||
weights_cache = {}
|
||||
if args.weights:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user