Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | SetVarValue |
def | SuccessMission |
def | PayMission |
def | FailMission |
def | NoEnemiesInArea |
def | GenerateEnemies |
def | GenerateDefendee |
def | Execute |
def | initbriefing |
def | loopbriefing |
def | endbriefing |
Definition at line 12 of file escort_local.py.
def __init__ | ( | self, | |
factionname, | |||
numsystemsaway, | |||
enemyquantity, | |||
waves, | |||
distance_from_base, | |||
creds, | |||
incoming, | |||
protectivefactionname = '' , |
|||
jumps = () , |
|||
var_to_set = '' , |
|||
dynamic_flightgroup = '' , |
|||
dynamic_type = '' , |
|||
dynamic_defend_fg = '' , |
|||
dynamic_defend_type = '' , |
|||
greetingText = ['Escort: give up while you still can...' , |
|||
If, | |||
you, | |||
let, | |||
us, | |||
ravage, | |||
our, | |||
target, | |||
then, | |||
we, | |||
grant, | |||
you, | |||
passage, | |||
today | |||
) |
Definition at line 13 of file escort_local.py.
def endbriefing | ( | self) |
Definition at line 233 of file escort_local.py.
def Execute | ( | self) |
Definition at line 178 of file escort_local.py.
References directions_mission.adjsys, bounty.adjsys, defend.adjsys, escort_local.adjsys, cargo_mission.adjsys, defend.arrived, escort_local.arrived, directions_mission.arrived, bounty.arrived, cargo_mission.arrived, defend.attackers, escort_local.attackers, defend.dedicatedattack, escort_local.dedicatedattack, defend.defendee, escort_local.defendee, defend.distance_from_base, escort_local.distance_from_base, defend.FailMission(), escort_local.FailMission(), escort_local.gametime, escort_local.GenerateDefendee(), defend.GenerateEnemies(), escort_local.GenerateEnemies(), escort_local.incoming, escort_local.jp, escort_local.launchedfriend, defend.mplay, bounty.mplay, escort_local.mplay, directions_mission.mplay, cargo_mission.mplay, defend.NoEnemiesInArea(), escort_local.NoEnemiesInArea(), escort_local.PayMission(), defend.quantity, escort_local.quantity, cargo_mission.quantity, defend.savedquantity, escort_local.savedquantity, defend.SetVarValue(), escort_local.SetVarValue(), defend.ship_check_count, escort_local.ship_check_count, escort_local.successdelay, cleansweep.SuccessMission(), defend.SuccessMission(), escort_local.SuccessMission(), defend.targetiter, escort_local.targetiter, escort_local.todock, defend.waves, escort_local.waves, directions_mission.you, go_to_adjacent_systems.you, bounty.you, defend.you, escort_local.you, and cargo_mission.you.
def FailMission | ( | self) |
Definition at line 90 of file escort_local.py.
References bounty.cred, defend.cred, escort_local.cred, cargo_mission.cred, SystemInformation.faction, ambush.faction, bounty.faction, defend.faction, ShipTracker.faction, escort_local.faction, cargo_mission.faction, go_to_adjacent_systems.faction, Launch.faction, ClearFactionRecord.faction, PushRelation.faction, PopRelation.faction, LaunchWingmen.faction, ChangeSystemOwner.faction, ChangeShipOwners.faction, defend.mplay, bounty.mplay, escort_local.mplay, directions_mission.mplay, cargo_mission.mplay, defend.SetVarValue(), and escort_local.SetVarValue().
def GenerateDefendee | ( | self) |
Definition at line 154 of file escort_local.py.
References defend.dyndeffg, escort_local.dyndeffg, escort_local.dyndeftype, faction_ships.getRandomFighter(), defend.protectivefaction, escort_local.protectivefaction, locale.str(), directions_mission.you, go_to_adjacent_systems.you, bounty.you, defend.you, escort_local.you, and cargo_mission.you.
def GenerateEnemies | ( | self, | |
jp, | |||
you | |||
) |
Definition at line 113 of file escort_local.py.
References defend.attackers, escort_local.attackers, defend.dedicatedattack, escort_local.dedicatedattack, defend.dynatkfg, escort_local.dynatkfg, defend.dynatktype, escort_local.dynatktype, ambush.faction, SystemInformation.faction, bounty.faction, defend.faction, ShipTracker.faction, escort_local.faction, cargo_mission.faction, go_to_adjacent_systems.faction, Launch.faction, ClearFactionRecord.faction, PushRelation.faction, PopRelation.faction, LaunchWingmen.faction, ChangeSystemOwner.faction, ChangeShipOwners.faction, faction_ships.getRandomFighter(), unit.getUnitFullName(), universe.greet(), escort_local.greetingText, defend.greetingText, ambush.greetingText, bounty.greetingText, defend.mplay, bounty.mplay, escort_local.mplay, directions_mission.mplay, cargo_mission.mplay, defend.objective, escort_local.objective, escort_local.objectivezero, defend.quantity, escort_local.quantity, cargo_mission.quantity, defend.respawn, escort_local.respawn, and locale.str().
def initbriefing | ( | self) |
Definition at line 228 of file escort_local.py.
def loopbriefing | ( | self) |
Definition at line 230 of file escort_local.py.
def NoEnemiesInArea | ( | self, | |
jp | |||
) |
Definition at line 98 of file escort_local.py.
References defend.attackers, escort_local.attackers, unit.getUnitFullName(), defend.objective, escort_local.objective, defend.ship_check_count, and escort_local.ship_check_count.
def PayMission | ( | self) |
Definition at line 82 of file escort_local.py.
References bounty.cred, defend.cred, escort_local.cred, cargo_mission.cred, SystemInformation.faction, ambush.faction, bounty.faction, defend.faction, ShipTracker.faction, escort_local.faction, cargo_mission.faction, go_to_adjacent_systems.faction, Launch.faction, ClearFactionRecord.faction, PushRelation.faction, PopRelation.faction, LaunchWingmen.faction, ChangeSystemOwner.faction, ChangeShipOwners.faction, defend.mplay, escort_local.mplay, bounty.mplay, directions_mission.mplay, cargo_mission.mplay, defend.SetVarValue(), and escort_local.SetVarValue().
def SetVarValue | ( | self, | |
value | |||
) |
Definition at line 55 of file escort_local.py.
References defend.var_to_set, escort_local.var_to_set, bounty.var_to_set, and cargo_mission.var_to_set.
def SuccessMission | ( | self) |
Definition at line 58 of file escort_local.py.
References defend.defendee, escort_local.defendee, unit.getSignificant(), unit.getUnitFullName(), escort_local.incoming, escort_local.objectivezero, vsrandom.randrange(), escort_local.successdelay, and escort_local.todock.
adjsys |
Definition at line 51 of file escort_local.py.
arrived |
Definition at line 19 of file escort_local.py.
attackers |
Definition at line 33 of file escort_local.py.
cred |
Definition at line 39 of file escort_local.py.
dedicatedattack |
Definition at line 16 of file escort_local.py.
defendee |
Definition at line 43 of file escort_local.py.
difficulty |
Definition at line 44 of file escort_local.py.
distance_from_base |
Definition at line 42 of file escort_local.py.
dynatkfg |
Definition at line 29 of file escort_local.py.
dynatktype |
Definition at line 30 of file escort_local.py.
dyndeffg |
Definition at line 31 of file escort_local.py.
dyndeftype |
Definition at line 32 of file escort_local.py.
faction |
Definition at line 37 of file escort_local.py.
gametime |
Definition at line 26 of file escort_local.py.
greetingText |
Definition at line 15 of file escort_local.py.
incoming |
Definition at line 28 of file escort_local.py.
jp |
Definition at line 38 of file escort_local.py.
launchedfriend |
Definition at line 21 of file escort_local.py.
mplay |
Definition at line 25 of file escort_local.py.
objective |
Definition at line 34 of file escort_local.py.
objectivezero |
Definition at line 49 of file escort_local.py.
protectivefaction |
Definition at line 22 of file escort_local.py.
quantity |
Definition at line 24 of file escort_local.py.
respawn |
Definition at line 46 of file escort_local.py.
savedquantity |
Definition at line 41 of file escort_local.py.
ship_check_count |
Definition at line 36 of file escort_local.py.
successdelay |
Definition at line 48 of file escort_local.py.
targetiter |
Definition at line 35 of file escort_local.py.
todock |
Definition at line 20 of file escort_local.py.
var_to_set |
Definition at line 23 of file escort_local.py.
waves |
Definition at line 27 of file escort_local.py.
you |
Definition at line 45 of file escort_local.py.