mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
ChecksFinder: itempool naming/typing (#3797)
* Rename itempool * Update comment
This commit is contained in:
@@ -44,15 +44,15 @@ class ChecksFinderWorld(World):
|
|||||||
self.multiworld.regions += [menu, board]
|
self.multiworld.regions += [menu, board]
|
||||||
|
|
||||||
def create_items(self):
|
def create_items(self):
|
||||||
# Generate item pool
|
# Generate list of items
|
||||||
itempool = []
|
items_to_create = []
|
||||||
# Add the map width and height stuff
|
# Add the map width and height stuff
|
||||||
itempool += ["Map Width"] * 5 # 10 - 5
|
items_to_create += ["Map Width"] * 5 # 10 - 5
|
||||||
itempool += ["Map Height"] * 5 # 10 - 5
|
items_to_create += ["Map Height"] * 5 # 10 - 5
|
||||||
# Add the map bombs
|
# Add the map bombs
|
||||||
itempool += ["Map Bombs"] * 15 # 20 - 5
|
items_to_create += ["Map Bombs"] * 15 # 20 - 5
|
||||||
# Convert itempool into real items
|
# Convert list into real items
|
||||||
itempool = [self.create_item(item) for item in itempool]
|
itempool = [self.create_item(item) for item in items_to_create]
|
||||||
|
|
||||||
self.multiworld.itempool += itempool
|
self.multiworld.itempool += itempool
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user