Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Functions | |
def | weightedlist |
def | Precache |
def | GetStats |
def | isCapital |
def | appendName |
def | factionToInt |
def | intToFaction |
def | getMaxFactions |
def | get_non_citizen_X_of |
def | get_X_of |
def | get_enemy_of |
def | get_insys_enemy_of |
def | get_friend_of |
def | get_rabble_of |
def | get_enemy_of_no_citizen |
def | get_insys_enemy_of_no_citizen |
def | get_friend_of_no_citizen |
def | get_rabble_of_no_citizen |
def | getRandomShipType |
def | getFigher |
def | getRandomFighterInt |
def | getNumCapitol |
def | getNumFighters |
def | getCapitol |
def | getRandomCapitolInt |
def | getRandomFighter |
def | getRandomCapitol |
def | make_stattable |
Variables | |
tuple | factions = ("confed","aera","rlaan","merchant_guild","luddites","pirates","hunter","homeland-security","ISO","unknown","andolian","highborn","shaper","unadorned","purist","forsaken","LIHW","uln","dgn","klkk","mechanist","shmrn","rlaan_briin","aeran_merchant_marine","rlaan_citizen","merchant_guild_citizen","andolian_citizen","highborn_citizen","shaper_citizen","unadorned_citizen","purist_citizen","forsaken_citizen","LIHW_citizen","uln_citizen","dgn_citizen","klkk_citizen","mechanist_citizen","shmrn_citizen") |
dictionary | factiondict = {} |
dictionary | siegingfactions |
dictionary | fightersPerFG |
dictionary | capitalsPerFG |
dictionary | staticFighterProduction = {"luddites":3, "pirates":1} |
dictionary | fighterProductionRate |
dictionary | capitalProductionRate |
dictionary | homeworlds |
dictionary | production_centers |
dictionary | earnable_upgrades = {} |
tuple | useStock = ( 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0, 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 , 0 , 0 , 0 , 1 , 1 , 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ) |
tuple | enemies |
tuple | rabble |
insysenemies = enemies | |
tuple | friendlies |
tuple | fighters |
dictionary | isBomber = {"Areus":6,"Taizong":8,"Pacifier":5,"Goddard":4,"Kierkegaard":5,"Hammer":16,"Admonisher":10,"Areus.blank":6,"Taizong.blank":8,"Pacifier.blank":5,"Goddard.blank":4,"Hammer.blank":16,"Admonisher.blank":10} |
dictionary | unescortable |
tuple | capitals |
dictionary | stattableexp |
tuple | generic_bases |
tuple | bases |
dictionary | basedict = {} |
tuple | stattable = make_stattable(stattableexp) |
def faction_ships.appendName | ( | faction) |
def faction_ships.factionToInt | ( | faction) |
Definition at line 662 of file faction_ships.py.
def faction_ships.get_enemy_of | ( | factionname) |
Definition at line 701 of file faction_ships.py.
References factionToInt().
def faction_ships.get_enemy_of_no_citizen | ( | factionname) |
def faction_ships.get_friend_of | ( | factionname) |
def faction_ships.get_friend_of_no_citizen | ( | factionname) |
def faction_ships.get_insys_enemy_of | ( | factionname) |
def faction_ships.get_insys_enemy_of_no_citizen | ( | factionname) |
def faction_ships.get_non_citizen_X_of | ( | mylist, | |
index | |||
) |
Definition at line 675 of file faction_ships.py.
References intToFaction(), and vsrandom.randrange().
def faction_ships.get_rabble_of | ( | factionname) |
Definition at line 710 of file faction_ships.py.
References factionToInt().
def faction_ships.get_rabble_of_no_citizen | ( | factionname) |
def faction_ships.get_X_of | ( | mylist, | |
index | |||
) |
Definition at line 694 of file faction_ships.py.
References intToFaction(), and vsrandom.randrange().
def faction_ships.getCapitol | ( | confed_aera_or_rlaan, | |
fighter | |||
) |
Definition at line 749 of file faction_ships.py.
def faction_ships.getFigher | ( | confed_aera_or_rlaan, | |
fighter | |||
) |
def faction_ships.getMaxFactions | ( | ) |
Definition at line 672 of file faction_ships.py.
def faction_ships.getNumCapitol | ( | confed_aera_or_rlaan) |
Definition at line 742 of file faction_ships.py.
def faction_ships.getNumFighters | ( | confed_aera_or_rlaan) |
Definition at line 745 of file faction_ships.py.
def faction_ships.getRandomCapitol | ( | faction) |
Definition at line 761 of file faction_ships.py.
def faction_ships.getRandomCapitolInt | ( | confed_aera_or_rlaan) |
def faction_ships.getRandomFighter | ( | faction) |
Definition at line 758 of file faction_ships.py.
def faction_ships.getRandomFighterInt | ( | confed_aera_or_rlaan) |
def faction_ships.getRandomShipType | ( | ship_list) |
def faction_ships.GetStats | ( | name) |
def faction_ships.intToFaction | ( | faction) |
Definition at line 669 of file faction_ships.py.
def faction_ships.isCapital | ( | type) |
Definition at line 590 of file faction_ships.py.
def faction_ships.make_stattable | ( | stattableexp) |
def faction_ships.Precache | ( | ) |
Definition at line 260 of file faction_ships.py.
def faction_ships.weightedlist | ( | tuples) |
Definition at line 3 of file faction_ships.py.
References log_faction_ships.tuple.
dictionary basedict = {} |
Definition at line 649 of file faction_ships.py.
tuple bases |
Definition at line 609 of file faction_ships.py.
dictionary capitalProductionRate |
Definition at line 206 of file faction_ships.py.
tuple capitals |
Definition at line 439 of file faction_ships.py.
dictionary capitalsPerFG |
Definition at line 123 of file faction_ships.py.
dictionary earnable_upgrades = {} |
Definition at line 258 of file faction_ships.py.
tuple enemies |
Definition at line 265 of file faction_ships.py.
dictionary factiondict = {} |
Definition at line 59 of file faction_ships.py.
tuple factions = ("confed","aera","rlaan","merchant_guild","luddites","pirates","hunter","homeland-security","ISO","unknown","andolian","highborn","shaper","unadorned","purist","forsaken","LIHW","uln","dgn","klkk","mechanist","shmrn","rlaan_briin","aeran_merchant_marine","rlaan_citizen","merchant_guild_citizen","andolian_citizen","highborn_citizen","shaper_citizen","unadorned_citizen","purist_citizen","forsaken_citizen","LIHW_citizen","uln_citizen","dgn_citizen","klkk_citizen","mechanist_citizen","shmrn_citizen") |
Definition at line 58 of file faction_ships.py.
dictionary fighterProductionRate |
Definition at line 165 of file faction_ships.py.
tuple fighters |
Definition at line 388 of file faction_ships.py.
dictionary fightersPerFG |
Definition at line 82 of file faction_ships.py.
tuple friendlies |
Definition at line 348 of file faction_ships.py.
tuple generic_bases |
Definition at line 593 of file faction_ships.py.
dictionary homeworlds |
Definition at line 248 of file faction_ships.py.
insysenemies = enemies |
Definition at line 346 of file faction_ships.py.
dictionary isBomber = {"Areus":6,"Taizong":8,"Pacifier":5,"Goddard":4,"Kierkegaard":5,"Hammer":16,"Admonisher":10,"Areus.blank":6,"Taizong.blank":8,"Pacifier.blank":5,"Goddard.blank":4,"Hammer.blank":16,"Admonisher.blank":10} |
Definition at line 428 of file faction_ships.py.
dictionary production_centers |
Definition at line 253 of file faction_ships.py.
tuple rabble |
Definition at line 306 of file faction_ships.py.
dictionary siegingfactions |
Definition at line 66 of file faction_ships.py.
dictionary staticFighterProduction = {"luddites":3, "pirates":1} |
Definition at line 163 of file faction_ships.py.
tuple stattable = make_stattable(stattableexp) |
Definition at line 797 of file faction_ships.py.
dictionary stattableexp |
Definition at line 479 of file faction_ships.py.
dictionary unescortable |
Definition at line 429 of file faction_ships.py.
tuple useStock = ( 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0, 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 , 0 , 0 , 0 , 1 , 1 , 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ) |
Definition at line 263 of file faction_ships.py.