ss14_chemistry_site/reworked/reag__.py
wadehusky e5c7c65816 Добавление функции load_recipe() в parse.py
Добавление функции get_all() для класса reag__
2024-04-30 15:29:00 +03:00

11 lines
288 B
Python

class reag__:
def __init__(self, category: str = '-', comps = {}, out: int = 0):
# medicine
self.category = category
# {'инапровалин': 1, 'углерод': 1}
self.comps = comps
# 2
self.out = out
def get_all(self):
return [self.category, self.comps, self.out]