Research Tree
Methods
@classmethod
get_research_tree(cls) -> dict
#Gets the full state of the research tree
@classmethod
get_research_state(cls, research: str) -> bool
#Get an individual research state.
Keyword arguments
research: str
-- the research to get the state of
Returns: The state of the research
@classmethod
unlock_research(cls, research: str)
#Unlock a research
Keyword arguments
research: str
-- the research to unlock
@classmethod
satisfy_research_cost(cls, research: str) -> bool
#Check if the player can afford the research
Keyword arguments
research: str
-- the research to check the cost of
Returns: whether the player can afford the research
@classmethod
reset(cls)
#Reset the research tree to the default state