[ArchipIDLE] Rename locations to indicate the time required to wait
This commit is contained in:
parent
0714be6b73
commit
0c57af40dc
|
@ -16,24 +16,24 @@ class ArchipIDLELogic(LogicMixin):
|
|||
def set_rules(world: MultiWorld, player: int):
|
||||
for i in range(1, 16):
|
||||
set_rule(
|
||||
world.get_location(f"Location {i}", player),
|
||||
world.get_location(f"IDLE for {int(i / 2)} minutes {30 if (i % 2) > 0 else 0} seconds", player),
|
||||
lambda state: state._archipidle_location_is_accessible(player, 0)
|
||||
)
|
||||
|
||||
for i in range(16, 31):
|
||||
set_rule(
|
||||
world.get_location(f"Location {i}", player),
|
||||
world.get_location(f"IDLE for {int(i / 2)} minutes {30 if (i % 2) > 0 else 0} seconds", player),
|
||||
lambda state: state._archipidle_location_is_accessible(player, 4)
|
||||
)
|
||||
|
||||
for i in range(31, 51):
|
||||
set_rule(
|
||||
world.get_location(f"Location {i}", player),
|
||||
world.get_location(f"IDLE for {int(i / 2)} minutes {30 if (i % 2) > 0 else 0} seconds", player),
|
||||
lambda state: state._archipidle_location_is_accessible(player, 10)
|
||||
)
|
||||
|
||||
for i in range(51, 101):
|
||||
set_rule(
|
||||
world.get_location(f"Location {i}", player),
|
||||
world.get_location(f"IDLE for {int(i / 2)} minutes {30 if (i % 2) > 0 else 0} seconds", player),
|
||||
lambda state: state._archipidle_location_is_accessible(player, 20)
|
||||
)
|
||||
|
|
|
@ -18,7 +18,7 @@ class ArchipIDLEWorld(World):
|
|||
location_name_to_id = {}
|
||||
start_id = 9000
|
||||
for i in range(1, 101):
|
||||
location_name_to_id[f"Location {i}"] = start_id
|
||||
location_name_to_id[f"IDLE for {int(i / 2)} minutes {30 if (i % 2) > 0 else 0} seconds"] = start_id
|
||||
start_id += 1
|
||||
|
||||
def generate_basic(self):
|
||||
|
|
Loading…
Reference in New Issue