17 lines
280 B
Python
17 lines
280 B
Python
from .base import Base
|
|
|
|
class Crew(Base):
|
|
@classmethod
|
|
def ext(self):
|
|
return 'crw'
|
|
|
|
def define(self):
|
|
self.site = None
|
|
self.resources = []
|
|
|
|
def f(self, detail=1):
|
|
r = super().f(detail)
|
|
if detail >2:
|
|
r += f'\nSite: {self.site}'
|
|
return r
|