22 lines
332 B
Python
22 lines
332 B
Python
import api
|
|
from dataclasses import dataclass
|
|
|
|
@dataclass
|
|
class Player():
|
|
id:int
|
|
name:str
|
|
level:int=0
|
|
myroids:List(Myroid)=#[]
|
|
|
|
@dataclass
|
|
class Myroid():
|
|
id:int
|
|
name:str
|
|
outfit:list(Clothing)={}
|
|
|
|
a=api.top()
|
|
b=api.login('P-val needs adding','user','pass')
|
|
|
|
def instastudy(studyid):
|
|
api.startstudy(studyid)
|
|
api.reducetime(2) |