Update commander.py
This commit is contained in:
parent
3a85c6c367
commit
35ea9e2e04
@ -228,6 +228,10 @@ class Commander(CommandLine):
|
|||||||
self.api.deliver(self.ship, resource, contract)
|
self.api.deliver(self.ship, resource, contract)
|
||||||
pprint(contract)
|
pprint(contract)
|
||||||
|
|
||||||
|
def do_fulfill(self):
|
||||||
|
contract = self.active_contract()
|
||||||
|
self.api.fulfill(contract)
|
||||||
|
|
||||||
def do_ship(self, arg=''):
|
def do_ship(self, arg=''):
|
||||||
if arg != '':
|
if arg != '':
|
||||||
symbol = f'{self.agent.symbol}-{arg}'
|
symbol = f'{self.agent.symbol}-{arg}'
|
||||||
|
Loading…
Reference in New Issue
Block a user