Exemple #1
0
 def withdraw(cls, creep, target, what, on_error=None, priority=100):
     return ActionExecution(creep,
                            'withdraw',
                            target,
                            what,
                            on_error,
                            priority=priority)
Exemple #2
0
 def transfer(cls, creep, target, what, on_error=None, priority=100):
     return ActionExecution(creep,
                            'transfer',
                            target,
                            what,
                            on_error,
                            priority=priority)
Exemple #3
0
 def pickup(cls, creep, target, on_error=None, priority=100):
     return ActionExecution(creep,
                            'pickup',
                            target,
                            on_error,
                            priority=priority)
Exemple #4
0
 def drop(cls, creep, what, on_error=None, priority=100):
     return ActionExecution(creep,
                            'drop',
                            what,
                            on_error,
                            priority=priority)
Exemple #5
0
 def harvest(cls, creep, target, priority=100):
     return ActionExecution(creep, 'harvest', target, priority=priority)
Exemple #6
0
 def dismantle(cls, creep, target, priority=100):
     return ActionExecution(creep, 'dismantle', target, priority=priority)
Exemple #7
0
 def attack(cls, creep, target, priority=200):
     return ActionExecution(creep, 'attack', target, priority=priority)
Exemple #8
0
 def repair(cls, creep, target, priority=100):
     return ActionExecution(creep, 'repair', target, priority=priority)
Exemple #9
0
 def build(cls, creep, target, priority=100):
     return ActionExecution(creep, 'build', target, priority=priority)
Exemple #10
0
 def signController(cls, creep, target, text, priority=100):
     return ActionExecution(creep,
                            'signController',
                            target,
                            text,
                            priority=priority)
Exemple #11
0
 def claimController(cls, creep, target, priority=100):
     return ActionExecution(creep,
                            'claimController',
                            target,
                            priority=priority)
Exemple #12
0
 def attackController(cls, creep, target, priority=100):
     return ActionExecution(creep,
                            'attackController',
                            target,
                            priority=priority)
Exemple #13
0
 def upgradeController(cls, creep, target, priority=100):
     return ActionExecution(creep,
                            'upgradeController',
                            target,
                            priority=priority)
Exemple #14
0
 def moveByPath(cls, creep, path, on_error=None, priority=100):
     return ActionExecution(creep,
                            'moveByPath',
                            path,
                            on_error=on_error,
                            priority=priority)
Exemple #15
0
 def moveTo(cls, creep, target, on_error=None, priority=100):
     return ActionExecution(creep,
                            'moveTo',
                            target,
                            on_error=on_error,
                            priority=priority)