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>
This commit is contained in:
13
worlds/stardew_valley/data/game_item.py
Normal file
13
worlds/stardew_valley/data/game_item.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user