From c626618221f6973294c5aebd8050ae9ea57cf462 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 6 Apr 2023 00:08:41 -0400 Subject: [PATCH] Update ArchipIDLE's documentation and create items in `create_items` func. (#1669) --- worlds/archipidle/__init__.py | 16 ++++++++-------- worlds/archipidle/docs/en_ArchipIDLE.md | 5 +++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/worlds/archipidle/__init__.py b/worlds/archipidle/__init__.py index dc980f13..768b7604 100644 --- a/worlds/archipidle/__init__.py +++ b/worlds/archipidle/__init__.py @@ -21,7 +21,7 @@ class ArchipIDLEWebWorld(WebWorld): class ArchipIDLEWorld(World): """ - An idle game which sends a check every thirty seconds, up to one hundred checks. + An idle game which sends a check every thirty seconds, up to two hundred checks. """ game = "ArchipIDLE" topology_present = False @@ -41,7 +41,13 @@ class ArchipIDLEWorld(World): location_name_to_id[f"IDLE item number {i}"] = start_id start_id += 1 - def generate_basic(self): + def set_rules(self): + set_rules(self.multiworld, self.player) + + def create_item(self, name: str) -> Item: + return Item(name, ItemClassification.progression, self.item_name_to_id[name], self.player) + + def create_items(self): item_table_copy = list(item_table) self.multiworld.random.shuffle(item_table_copy) @@ -57,12 +63,6 @@ class ArchipIDLEWorld(World): self.multiworld.itempool += item_pool - def set_rules(self): - set_rules(self.multiworld, self.player) - - def create_item(self, name: str) -> Item: - return Item(name, ItemClassification.progression, self.item_name_to_id[name], self.player) - def create_regions(self): self.multiworld.regions += [ create_region(self.multiworld, self.player, 'Menu', None, ['Entrance to IDLE Zone']), diff --git a/worlds/archipidle/docs/en_ArchipIDLE.md b/worlds/archipidle/docs/en_ArchipIDLE.md index 066f3f05..3d57e3a0 100644 --- a/worlds/archipidle/docs/en_ArchipIDLE.md +++ b/worlds/archipidle/docs/en_ArchipIDLE.md @@ -2,8 +2,9 @@ ## What is this game? -ArchipIDLE is the 2022 Archipelago April Fools' Day joke. It is an idle game that sends a location check every -thirty seconds, up to one hundred checks. +ArchipIDLE was originally the 2022 Archipelago April Fools' Day joke. It is an idle game that sends a location check +on regular intervals. Updated annually with more items, gimmicks, and features, the game is visible +only during the month of April. ## Where is the settings page?