NovaBryan/EVE_Dump
Log | Files | 📦 下载最新源码 (.zip) | Refs | README

infoConst.py (13135B)


      1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\shared\info\infoConst.py
      2 from eve.common.lib import appConst as const
      3 TYPE_CHARACTER = 'type_character'
      4 TYPE_CORPORATION = 'type_corporation'
      5 TYPE_ALLIANCE = 'type_alliance'
      6 TYPE_FACTION = 'type_faction'
      7 TYPE_BOOKMARK = 'type_bookmark'
      8 TYPE_SHIP = 'type_ship'
      9 TYPE_MODULE = 'type_module'
     10 TYPE_CHARGE = 'type_charge'
     11 TYPE_BLUEPRINT = 'type_blueprint'
     12 TYPE_REACTION = 'type_reaction'
     13 TYPE_DRONE = 'type_drone'
     14 TYPE_SECURITYTAG = 'type_securitytag'
     15 TYPE_PLANETCOMMODITY = 'type_planetcommodity'
     16 TYPE_APPAREL = 'type_apparel'
     17 TYPE_GENERICITEM = 'type_genericitem'
     18 TYPE_SKINLICENSE = 'type_skinlicense'
     19 TYPE_SKINMATERIAL = 'type_skinmaterial'
     20 TYPE_SKINDESCRIPTION = 'type_skindescription'
     21 TYPE_PLEX = 'type_plex'
     22 TYPE_AURUM = 'type_aurum'
     23 TYPE_SKILLINJECTOR = 'type_skillinjector'
     24 TYPE_SKILLEXTRACTOR = 'type_skillextractor'
     25 TYPE_STRUCTURE_MODULE = 'type_structure_module'
     26 TYPE_FIGHTER = 'type_fighter'
     27 TYPE_MUTATOR = 'type_mutator'
     28 TYPE_SEQUENCE_BINDERS = 'type_sequence_binders'
     29 TYPE_DESIGN_ELEMENTS = 'type_design_elements'
     30 TYPE_PHASE_STABILIZER = 'type_phase_stabilizer'
     31 TYPE_PHASED_ASTEROID = 'type_phased_asteroid'
     32 TYPE_MATERIAL = 'type_material'
     33 TYPE_JUMP_BRIDGE = 'type_jumpbridge'
     34 TYPE_STARGATE = 'type_stargate'
     35 TYPE_CONTROLTOWER = 'type_controltower'
     36 TYPE_STATION = 'type_station'
     37 TYPE_STRUCTURE = 'type_structure'
     38 TYPE_PLANETPIN = 'type_planetpin'
     39 TYPE_CUSTOMSOFFICE = 'type_customs_office'
     40 TYPE_STRUCTUREUPGRADE = 'type_structure_upgrade'
     41 TYPE_PLANET = 'type_planet'
     42 TYPE_WORMHOLE = 'type_wormhole'
     43 TYPE_CONTAINER = 'type_container'
     44 TYPE_SECURECONTAINER = 'type_secure_container'
     45 TYPE_CELESTIAL = 'type_celestial'
     46 TYPE_ENTITY = 'type_entity'
     47 TYPE_LANDMARK = 'type_landmark'
     48 TYPE_ASTEROID = 'type_asteroid'
     49 TYPE_ASTEROID_BELT = 'type_asteroid_belt'
     50 TYPE_DEPLOYABLE = 'type_deployable'
     51 TYPE_ENTOSISNODE = 'type_entosisnode'
     52 TYPE_COMMANDNODEBEACON = 'type_command_node_beacon'
     53 TYPE_STRUCTURE_OLD = 'type_structure_old'
     54 TYPE_GAS = 'type_gas'
     55 TYPE_RANK = 'type_rank'
     56 TYPE_MEDAL = 'type_medal'
     57 TYPE_RIBBON = 'type_ribbon'
     58 TYPE_CERTIFICATE = 'type_certificate'
     59 TYPE_SKILL = 'type_skill'
     60 TYPE_EXPERT_SYSTEM = 'type_expert_system'
     61 TYPE_SKYHOOK = 'type_skyhook'
     62 TYPE_UNKNOWN = 'type_unknown'
     63 infoTypeByTypeID = {const.typeBookmark: TYPE_BOOKMARK,
     64  const.typeRank: TYPE_RANK,
     65  const.typeMedal: TYPE_MEDAL,
     66  const.typeRibbon: TYPE_RIBBON,
     67  const.typeCertificate: TYPE_CERTIFICATE,
     68  const.typeSkinMaterial: TYPE_SKINMATERIAL,
     69  const.typeEntosisCommandNode: TYPE_ENTOSISNODE,
     70  const.typeCommandNodeBeacon: TYPE_COMMANDNODEBEACON,
     71  const.typePlex: TYPE_PLEX,
     72  const.typeAurumToken: TYPE_AURUM,
     73  const.typeSkillInjector: TYPE_SKILLINJECTOR,
     74  const.typeSkillExtractor: TYPE_SKILLEXTRACTOR}
     75 infoTypeByGroupID = {const.groupCharacter: TYPE_CHARACTER,
     76  const.groupCorporation: TYPE_CORPORATION,
     77  const.groupAlliance: TYPE_ALLIANCE,
     78  const.groupFaction: TYPE_FACTION,
     79  const.groupSecurityTags: TYPE_SECURITYTAG,
     80  const.groupStargate: TYPE_STARGATE,
     81  const.groupControlTower: TYPE_CONTROLTOWER,
     82  const.groupPlanetaryCustomsOffices: TYPE_CUSTOMSOFFICE,
     83  const.groupPlanet: TYPE_PLANET,
     84  const.groupWormhole: TYPE_WORMHOLE,
     85  const.groupMobileWarpDisruptor: TYPE_DEPLOYABLE,
     86  const.groupLargeCollidableStructure: TYPE_CELESTIAL,
     87  const.groupTemporaryCollidableStructure: TYPE_CELESTIAL,
     88  const.groupDeadspaceOverseersStructure: TYPE_CELESTIAL,
     89  const.groupHarvestableCloud: TYPE_GAS,
     90  const.groupCompressedGas: TYPE_GAS,
     91  const.groupSecureCargoContainer: TYPE_SECURECONTAINER,
     92  const.groupAuditLogSecureContainer: TYPE_SECURECONTAINER,
     93  const.groupLandmark: TYPE_LANDMARK,
     94  const.groupStation: TYPE_STATION,
     95  const.groupCargoContainer: TYPE_CONTAINER,
     96  const.groupFreightContainer: TYPE_CONTAINER,
     97  const.groupOrbitalConstructionPlatforms: TYPE_STRUCTURE_OLD,
     98  const.groupSkillInjectors: TYPE_SKILLINJECTOR,
     99  const.groupMutaplasmid: TYPE_MUTATOR,
    100  const.groupSkyhook: TYPE_SKYHOOK,
    101  const.groupSequenceBinders: TYPE_SEQUENCE_BINDERS,
    102  const.groupShipSkinDesignComponents: TYPE_DESIGN_ELEMENTS,
    103  const.groupMobilePhaseAnchor: TYPE_PHASE_STABILIZER,
    104  const.groupPhasedAsteroids: TYPE_PHASED_ASTEROID,
    105  const.groupAsteroidBelt: TYPE_ASTEROID_BELT,
    106  const.groupStructureJumpBridge: TYPE_JUMP_BRIDGE}
    107 for skinGroup in const.SHIP_SKIN_GROUPS:
    108     infoTypeByGroupID[skinGroup] = TYPE_SKINLICENSE
    109 
    110 infoTypeByCategoryID = {const.categoryShip: TYPE_SHIP,
    111  const.categoryModule: TYPE_MODULE,
    112  const.categorySubSystem: TYPE_MODULE,
    113  const.categoryStructureModule: TYPE_STRUCTURE_MODULE,
    114  const.categoryCharge: TYPE_CHARGE,
    115  const.categoryBlueprint: TYPE_BLUEPRINT,
    116  const.categoryAncientRelic: TYPE_BLUEPRINT,
    117  const.categoryReaction: TYPE_REACTION,
    118  const.categoryDrone: TYPE_DRONE,
    119  const.categoryFighter: TYPE_FIGHTER,
    120  const.categoryApparel: TYPE_APPAREL,
    121  const.categoryImplant: TYPE_GENERICITEM,
    122  const.categoryAccessories: TYPE_GENERICITEM,
    123  const.categoryShipSkin: TYPE_GENERICITEM,
    124  const.categoryStarbase: TYPE_STRUCTURE_OLD,
    125  const.categorySovereigntyStructure: TYPE_STRUCTURE_OLD,
    126  const.categoryStructure: TYPE_STRUCTURE,
    127  const.categoryInfrastructureUpgrade: TYPE_STRUCTUREUPGRADE,
    128  const.categoryEntity: TYPE_ENTITY,
    129  const.categoryPlanetaryInteraction: TYPE_PLANETPIN,
    130  const.categoryPlanetaryResources: TYPE_PLANETCOMMODITY,
    131  const.categoryPlanetaryCommodities: TYPE_PLANETCOMMODITY,
    132  const.categorySkill: TYPE_SKILL,
    133  const.categoryAsteroid: TYPE_ASTEROID,
    134  const.categoryCelestial: TYPE_CELESTIAL,
    135  const.categoryDeployable: TYPE_DEPLOYABLE,
    136  const.categoryExpertSystems: TYPE_EXPERT_SYSTEM,
    137  const.categoryMaterial: TYPE_MATERIAL}
    138 ownedGroups = (const.groupWreck,
    139  const.groupSecureCargoContainer,
    140  const.groupAuditLogSecureContainer,
    141  const.groupCargoContainer,
    142  const.groupFreightContainer,
    143  const.groupSentryGun,
    144  const.groupDestructibleSentryGun,
    145  const.groupMobileSentryGun,
    146  const.groupDeadspaceOverseersSentry,
    147  const.groupPlanet)
    148 ownedCategories = (const.categoryStarbase,
    149  const.categorySovereigntyStructure,
    150  const.categoryOrbital,
    151  const.categoryDeployable,
    152  const.categoryStructure)
    153 TAB_ATTIBUTES = 'tab_attibutes'
    154 TAB_CORPMEMBERS = 'tab_corpmembers'
    155 TAB_NEIGHBORS = 'tab_neighbors'
    156 TAB_CHILDREN = 'tab_children'
    157 TAB_FITTING = 'tab_fitting'
    158 TAB_CERTREQUIREMENTS = 'tab_certrequirements'
    159 TAB_REQUIREMENTS = 'tab_requirements'
    160 TAB_CERTRECOMMENDEDFOR = 'tab_certrecommendedfor'
    161 TAB_VARIATIONS = 'tab_variations'
    162 TAB_LEGALITY = 'tab_legality'
    163 TAB_JUMPS = 'tab_jumps'
    164 TAB_MODULES = 'tab_modules'
    165 TAB_ORBITALBODIES = 'tab_orbitalbodies'
    166 TAB_SYSTEMS = 'tab_systems'
    167 TAB_LOCATION = 'tab_location'
    168 TAB_AGENTINFO = 'tab_agentinfo'
    169 TAB_AGENTS = 'tab_agents'
    170 TAB_ROUTE = 'tab_route'
    171 TAB_INSURANCE = 'tab_insurance'
    172 TAB_SERVICES = 'tab_services'
    173 TAB_STANDINGS = 'tab_standings'
    174 TAB_DECORATIONS = 'tab_decorations'
    175 TAB_MEDALS = 'tab_medals'
    176 TAB_RANKS = 'tab_ranks'
    177 TAB_MEMBEROFCORPS = 'tab_memberofcorps'
    178 TAB_MARKETACTIVITY = 'tab_marketactivity'
    179 TAB_DATA = 'tab_data'
    180 TAB_EMPLOYMENTHISTORY = 'tab_employmenthistory'
    181 TAB_ALLIANCEHISTORY = 'tab_alliancehistory'
    182 TAB_FUELREQ = 'tab_fuelreq'
    183 TAB_MATERIALREQ = 'tab_materialreq'
    184 TAB_UPGRADEMATERIALREQ = 'tab_upgradematerialreq'
    185 TAB_PLANETCONTROL = 'tab_planetcontrol'
    186 TAB_NOTES = 'tab_notes'
    187 TAB_DOGMA = 'tab_dogma'
    188 TAB_MEMBERS = 'tab_members'
    189 TAB_UNKNOWN = 'tab_unknown'
    190 TAB_HIERARCHY = 'tab_hierarchy'
    191 TAB_SCHEMATICS = 'tab_schematics'
    192 TAB_PLANETARYPRODUCTION = 'tab_planetaryproduction'
    193 TAB_WARHISTORY = 'tab_warhistory'
    194 TAB_REQUIREDFOR = 'tab_requiredfor'
    195 TAB_MASTERY = 'tab_mastery'
    196 TAB_CERTSKILLS = 'tab_certskills'
    197 TAB_TRAITS = 'tab_traits'
    198 TAB_DESCRIPTION = 'tab_description'
    199 TAB_BIO = 'tab_bio'
    200 TAB_STATIONS = 'tab_stations'
    201 TAB_INDUSTRY = 'tab_industry'
    202 TAB_ITEMINDUSTRY = 'tab_itemindustry'
    203 TAB_USEDWITH = 'tab_usedwith'
    204 TAB_SKINLICENSE = 'tab_skinlicense'
    205 TAB_SKINMATERIAL = 'tab_skinmaterial'
    206 TAB_SHIPAVAILABLESKINLICENSES = 'tab_shipavailableskinlicenses'
    207 TAB_SOV = 'tab_sov'
    208 TAB_SOV_CONSTELLATION = 'tab_sov_constellation'
    209 TAB_FIGHTER_ABILITIES = 'tab_fighter_abilities'
    210 TAB_DESCRIPTION_DYNAMIC = 'tab_description_dynamic'
    211 TAB_STRUCTURES = 'tab_structures'
    212 TAB_MUTATOR_USED_WITH = 'tab_mutator_used_with'
    213 TAB_PLANETARYPRODUCTIONPLANET = 'tab_planetaryproductionplanet'
    214 TAB_GATE_ICONS = 'tab_gate_icons'
    215 TAB_WARHQ = 'tab_warhq'
    216 TAB_EXPERT_SYSTEM_SKILLS = 'tab_expert_system_skills'
    217 TAB_EXPERT_SYSTEM_SHIPS = 'tab_expert_system_ships'
    218 TAB_FW = 'tab_fw'
    219 TAB_TRADES = 'tab_trades'
    220 TAB_FREELANCE_PROJECTS = 'tab_freelance_projects'
    221 TAB_PHASE_STABILIZER_MECHANICS = 'tab_phase_stabilizer_mechanics'
    222 TAB_PHASE_ASTEROID_MECHANICS = 'tab_phase_asteroid_mechanics'
    223 TAB_ASTEROID_BELT_ORE_TYPES = 'tab_asteroid_belt_ore_types'
    224 TAB_JUMP_BRIDGE_MECHANICS = 'tab_jump_bridge_mechanics'
    225 DATA_BUTTONS = 'buttons'
    226 INFO_TABS = ((TAB_TRAITS, [], 'UI/InfoWindow/TabNames/Traits'),
    227  (TAB_BIO, [], 'UI/InfoWindow/TabNames/Bio'),
    228  (TAB_INDUSTRY, [], 'UI/InfoWindow/TabNames/Industry'),
    229  (TAB_DESCRIPTION_DYNAMIC, [], 'UI/InfoWindow/TabNames/Bio'),
    230  (TAB_DESCRIPTION, [], 'UI/InfoWindow/TabNames/Description'),
    231  (TAB_EXPERT_SYSTEM_SHIPS, [], 'UI/InfoWindow/TabNames/ExpertSystemShips'),
    232  (TAB_EXPERT_SYSTEM_SKILLS, [], 'UI/InfoWindow/TabNames/ExpertSystemSkills'),
    233  (TAB_ATTIBUTES, [], 'UI/InfoWindow/TabNames/Attributes'),
    234  (TAB_FIGHTER_ABILITIES, [], 'UI/InfoWindow/TabNames/Abilities'),
    235  (TAB_CORPMEMBERS, [], 'UI/InfoWindow/TabNames/CorpMembers'),
    236  (TAB_NEIGHBORS, [], 'UI/InfoWindow/TabNames/Neighbors'),
    237  (TAB_CHILDREN, [], 'UI/InfoWindow/TabNames/Children'),
    238  (TAB_FITTING, [], 'UI/InfoWindow/TabNames/Fitting'),
    239  (TAB_REQUIREMENTS, [], 'UI/InfoWindow/TabNames/Requirements'),
    240  (TAB_CERTSKILLS, [], 'UI/InfoWindow/TabNames/Levels'),
    241  (TAB_CERTRECOMMENDEDFOR, [], 'UI/InfoWindow/TabNames/RecommendedFor'),
    242  (TAB_MASTERY, [], 'UI/InfoWindow/TabNames/Mastery'),
    243  (TAB_USEDWITH, [], 'UI/InfoWindow/TabNames/UsedWith'),
    244  (TAB_VARIATIONS, [], 'UI/InfoWindow/TabNames/Variations'),
    245  (TAB_LEGALITY, [], 'UI/InfoWindow/TabNames/Legality'),
    246  (TAB_JUMPS, [], 'UI/InfoWindow/TabNames/Jumps'),
    247  (TAB_GATE_ICONS, [], 'UI/InfoWindow/TabNames/GateIcons'),
    248  (TAB_MODULES, [], 'UI/InfoWindow/TabNames/Modules'),
    249  (TAB_ORBITALBODIES, [], 'UI/InfoWindow/TabNames/OrbitalBodies'),
    250  (TAB_STATIONS, [], 'UI/Common/LocationTypes/Stations'),
    251  (TAB_STRUCTURES, [], 'UI/InfoWindow/TabNames/Structures'),
    252  (TAB_SYSTEMS, [], 'UI/InfoWindow/TabNames/Systems'),
    253  (TAB_LOCATION, [], 'UI/InfoWindow/TabNames/Location'),
    254  (TAB_AGENTINFO, [], 'UI/InfoWindow/TabNames/AgentInfo'),
    255  (TAB_AGENTS, [], 'UI/InfoWindow/TabNames/Agents'),
    256  (TAB_ROUTE, [], 'UI/InfoWindow/TabNames/Route'),
    257  (TAB_INSURANCE, [], 'UI/InfoWindow/TabNames/Insurance'),
    258  (TAB_SERVICES, [], 'UI/InfoWindow/TabNames/Services'),
    259  (TAB_STANDINGS, [], 'UI/InfoWindow/TabNames/Standings'),
    260  (TAB_DECORATIONS, [(TAB_MEDALS, [], 'UI/InfoWindow/TabNames/Medals'), (TAB_RANKS, [], 'UI/InfoWindow/TabNames/Ranks')], 'UI/InfoWindow/TabNames/Decorations'),
    261  (TAB_MEMBEROFCORPS, [], 'UI/InfoWindow/TabNames/MemberCorps'),
    262  (TAB_MARKETACTIVITY, [], 'UI/InfoWindow/TabNames/MarketActivity'),
    263  (TAB_DATA, [], 'UI/InfoWindow/TabNames/Data'),
    264  (TAB_EMPLOYMENTHISTORY, [], 'UI/InfoWindow/TabNames/EmploymentHistory'),
    265  (TAB_ALLIANCEHISTORY, [], 'UI/InfoWindow/TabNames/AllianceHistory'),
    266  (TAB_WARHISTORY, [], 'UI/InfoWindow/TabNames/WarHistory'),
    267  (TAB_FUELREQ, [], 'UI/InfoWindow/TabNames/FuelRequirements'),
    268  (TAB_MATERIALREQ, [], 'UI/InfoWindow/TabNames/MaterialRequirements'),
    269  (TAB_UPGRADEMATERIALREQ, [], 'UI/InfoWindow/TabNames/UpgradeRequirements'),
    270  (TAB_PLANETCONTROL, [], 'UI/InfoWindow/TabNames/PlanetControl'),
    271  (TAB_NOTES, [], 'UI/InfoWindow/TabNames/Notes'),
    272  (TAB_DOGMA, [], 'UI/InfoWindow/TabNames/Dogma'),
    273  (TAB_MEMBERS, [], 'UI/InfoWindow/TabNames/Members'),
    274  (TAB_UNKNOWN, [], 'UI/InfoWindow/TabNames/Unknown'),
    275  (TAB_HIERARCHY, [], 'UI/InfoWindow/TabNames/Hierarchy'),
    276  (TAB_SCHEMATICS, [], 'UI/InfoWindow/TabNames/Schematics'),
    277  (TAB_PLANETARYPRODUCTION, [], 'UI/InfoWindow/TabNames/PlanetaryProduction'),
    278  (TAB_PLANETARYPRODUCTIONPLANET, [], 'UI/InfoWindow/TabNames/PlanetaryProduction'),
    279  (TAB_REQUIREDFOR, [], 'UI/InfoWindow/TabNames/RequiredFor'),
    280  (TAB_ITEMINDUSTRY, [], 'UI/InfoWindow/TabNames/Industry'),
    281  (TAB_SKINLICENSE, [], 'UI/InfoWindow/TabNames/Attributes'),
    282  (TAB_SKINMATERIAL, [], 'UI/InfoWindow/TabNames/Attributes'),
    283  (TAB_SHIPAVAILABLESKINLICENSES, [], 'UI/InfoWindow/TabNames/Skins'),
    284  (TAB_SOV, [], 'UI/Sovereignty/Sovereignty'),
    285  (TAB_SOV_CONSTELLATION, [], 'UI/Sovereignty/Sovereignty'),
    286  (TAB_MUTATOR_USED_WITH, [], 'UI/InfoWindow/TabNames/UsedWith'),
    287  (TAB_WARHQ, [], 'UI/InfoWindow/TabNames/WarHQ'),
    288  (TAB_FW, [], 'UI/InfoWindow/TabNames/FactionalWarfare'),
    289  (TAB_TRADES, [], 'UI/InfoWindow/TabNames/Trades'),
    290  (TAB_FREELANCE_PROJECTS, [], 'UI/Metadata/ContentTags/FreelanceProjects'),
    291  (TAB_PHASE_STABILIZER_MECHANICS, [], 'UI/Inflight/SpaceComponents/PhaseStabilizer/Info/Mechanics'),
    292  (TAB_PHASE_ASTEROID_MECHANICS, [], 'UI/Inflight/SpaceComponents/PhaseStabilizer/Info/Mechanics'),
    293  (TAB_ASTEROID_BELT_ORE_TYPES, [], 'UI/Agency/OreTypesInBelt'),
    294  (TAB_JUMP_BRIDGE_MECHANICS, [], 'UI/Inflight/SpaceComponents/JumpBridge/Info/Mechanics'))