replicator
This commit is contained in:
1 parent
5586f606cd
commit
2052c7fd77
23 files changed
+243
-34
No files matched your search
@@ -1,4 +1,5 @@
|
||||
from colony.core.roles.explorer.role import Explorer
|
||||
from colony.core.roles.replicator.role import Replicator
|
||||
from colony.core.roles.unit.role import Unit
|
||||
from colony.role_registry import RoleStats, HardwarePreferences, RolePriority, HardwareType
|
||||
from colony.core.roles.foreman.role import Foreman
|
||||
@@ -48,4 +49,15 @@ available_roles = [
|
||||
cls=Gateway,
|
||||
priority=RolePriority.GENERAL,
|
||||
),
|
||||
RoleStats(
|
||||
cls=Replicator,
|
||||
priority=RolePriority.CRITICAL,
|
||||
hardware_preferences=HardwarePreferences(
|
||||
{
|
||||
HardwareType.DISK_SPACE: 1,
|
||||
HardwareType.LONGEVITY: 3,
|
||||
}
|
||||
),
|
||||
minimal_percentage=51
|
||||
)
|
||||
]
|
||||
Reference in new issue
Block a user