@fallow glade this is what I want to avoid
@dataclass
class Rank:
name: str
wage: int
work_dialogue: list
emoji: str
price: int
description: str
perms: list
def work(self):
return random.choice(self.work_dialogue)
peasant = Rank("Peasant", 2500, ranks['peasant']['responses'], ":palms_up_together:", 0,
ranks['peasant']['description'], ranks['peasant']['perks'])
farmer = Rank("Farmer", 10000, ranks['farmer']['responses'], ":basket:", 10, ranks['farmer']['description'],
ranks['farmer']['perks'])
citizen = Rank("Citizen", 25000, ranks['citizen']['responses'], ":busts_in_silhouette:", 45,
ranks['citizen']['description'], ranks['citizen']['perks'])
educated = Rank("Educated", 60000, ranks['educated']['responses'], ":book:", 100, ranks['educated']['description'],
ranks['educated']['perks'])
cultured = Rank("Cultured", 130000, ranks['cultured']['responses'], ":money_with_wings:", 250,
ranks['cultured']['description'], ranks['cultured']['perks'])
weathered = Rank("Weathered", 240000, ranks['weathered']['responses'], ":mountain:", 500,
ranks['weathered']['description'], ranks['weathered']['perks'])
wise = Rank("Wise", 375000, ranks['wise']['responses'], ":trident:", 1000, ranks['wise']['description'],
ranks['wise']['perks'])
expert = Rank("Expert", 1000000, ranks['expert']['responses'], ":gem:", 10000, ranks['expert']['description'],
ranks['expert']['perks'])
