2021-10-19 16:14:33 +11:00
|
|
|
import api
|
2022-10-18 07:54:13 +11:00
|
|
|
from dataclasses import dataclass
|
2021-10-19 16:14:33 +11:00
|
|
|
|
2022-10-18 07:54:13 +11:00
|
|
|
@dataclass
|
2021-10-19 16:14:33 +11:00
|
|
|
class Player():
|
2022-10-18 07:54:13 +11:00
|
|
|
id:int
|
|
|
|
name:str
|
|
|
|
level:int=0
|
|
|
|
myroids:List(Myroid)=#[]
|
2021-10-19 16:14:33 +11:00
|
|
|
|
2022-10-18 07:54:13 +11:00
|
|
|
@dataclass
|
2021-10-19 16:14:33 +11:00
|
|
|
class Myroid():
|
2022-10-18 07:54:13 +11:00
|
|
|
id:int
|
|
|
|
name:str
|
|
|
|
outfit:list(Clothing)={}
|
2021-10-19 16:14:33 +11:00
|
|
|
|
|
|
|
a=api.top()
|
2021-11-11 23:54:12 +11:00
|
|
|
b=api.login('P-val needs adding','user','pass')
|
|
|
|
|
|
|
|
def instastudy(studyid):
|
|
|
|
api.startstudy(studyid)
|
|
|
|
api.reducetime(2)
|