Files
Grinch-AP/worlds/stardew_valley/data/game_item.py
agilbert1412 5eadbc9840 Major Game Update: Stardew Valley v3.x.x - The BK Update (#1686)
This is a major update for Stardew Valley, for version 3.x.x.
Changes include a large number of new features, including Seasons Randomizer, SeedShuffle, Museumsanity, Friendsanity, Complete Collection Goal, Full House Goal, friendship multiplier

Co-authored-by: Jouramie <jouramie@hotmail.com>
2023-04-11 01:44:59 +02:00

14 lines
247 B
Python

from dataclasses import dataclass
@dataclass(frozen=True)
class GameItem:
name: str
item_id: int
def __repr__(self):
return f"{self.name} [{self.item_id}]"
def __lt__(self, other):
return self.name < other.name