mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00

* build locations dict dynamically from the TotalLocations option. Minor styling cleanup * Minor items styling cleanup. remove unused event items * minor options cleanup. clarify preset toggle slightly better * make items.py more readable. add chaos weights dict to use as reference point for generation * small rules styling and consistency cleanup * create less regions and other init cleanup * move region creation to less function calls and move revivals calculation * typing * use enum instead of hardcoded ints. fix bug i introduced * better typing
14 lines
290 B
Python
14 lines
290 B
Python
from typing import Dict
|
|
from BaseClasses import Location
|
|
from .Options import TotalLocations
|
|
|
|
|
|
class RiskOfRainLocation(Location):
|
|
game: str = "Risk of Rain 2"
|
|
|
|
|
|
# 37006 - 37506
|
|
item_pickups: Dict[str, int] = {
|
|
f"ItemPickup{i+1}": 37000+i for i in range(TotalLocations.range_end)
|
|
}
|