This commit is contained in:
ciomek committed 2026-01-27 22:26:03 +01:00
1 parent f74da858ed
commit e8731bf370
18 files changed
+42 -51

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
from enum import Enum
from colony.core.roles.role import Role
from colony.core.roles.unit.role import Unit
class Foreman(Role):
CONTINUOUS = True
LOOP_SECONDS_WAIT = 60
class COMMANDS(Enum):
pass
def __init__(self, context):
commands = {
}
super().__init__(commands, context)
def loop(self):
self.context.self().execute(Unit.COMMANDS.SET_ROLES, ['Unit', 'Foreman', 'Explorer', 'VaultWarden'])