X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fsst.py;h=2ad02411b701b35920fc09269cd8872a03fbbf4f;hp=477c05ab0765159e13f32b2b0b5b7859f5067514;hb=2e04509ec9be1e3ad2a1f8a7e84552d6896f89ab;hpb=9ae916e9144e84ef1de4a86ea73a45a2bc4cc1be diff --git a/src/sst.py b/src/sst.py index 477c05a..2ad0241 100644 --- a/src/sst.py +++ b/src/sst.py @@ -297,7 +297,7 @@ class game: def communicating(): "Are we in communication with Starfleet Command?" - return (not damaged("DRADIO")) or game.condition == docked + return (not damaged("DRADIO")) or game.condition == "docked" # Code corresponding to ai.c begins here @@ -523,7 +523,7 @@ def movebaddy(ship): prout(" retreats to sector %s" % ship.location) ship.sectormove(next) -def movcom(): +def moveklings(): "Allow enemies to move." for enemy in self.quad.enemies(): if enemy.type == "Commander":