ss14_chemistry_site/reworked/reag__.py

12 lines
289 B
Python
Raw Normal View History

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