expephalon/core/products.py

17 lines
348 B
Python
Raw Normal View History

from core.classes.products import BaseProductType
PRODUCTTYPES = {}
class CoreProductType(BaseProductType):
@property
def name(self):
return "Basic Product"
@property
def id(self):
return "core.products.core"
def is_creatable(self):
return True
PRODUCTTYPES[CoreProductType().id()] = CoreProductType