Star Traders Wiki
Advertisement
Star Traders Wiki

An enumeration (or Enum) is a distinct type whose value is restricted to a range of values (see below for details). Enumerators are in common use throughout the game's Data Database to represent all sorts of keyed data, such as Factions, Ship Component Types and Job Types. The lists can help you translate raw integers seen in the database into meaningful values. See Modding Enums Table for table view of this data.

Attributes[]

#define ATTRIBUTE_STRENGTH 1
#define ATTRIBUTE_QUICKNESS 2
#define ATTRIBUTE_FORTITUDE 3
#define ATTRIBUTE_WISDOM 4
#define ATTRIBUTE_CHARISMA 5
#define ATTRIBUTE_RESILIENCE 6

Skills[]

#define SKILL_LIGHT_FIREARMS 1
#define SKILL_HEAVY_FIREARMS 2
#define SKILL_MELEE 3
#define SKILL_EVASION 4
#define SKILL_TACTICS 5
#define SKILL_STEALTH 6
#define SKILL_PILOT 7
#define SKILL_SHIPOPS 8
#define SKILL_GUNNERY 9
#define SKILL_REPAIR 10
#define SKILL_ELECTRONICS 11
#define SKILL_NAVIGATION 12
#define SKILL_DOCTOR 13
#define SKILL_COMMAND 14
#define SKILL_NEGOTIATE 15
#define SKILL_INTIMIDATE 16
#define SKILL_EXPLORER 17

Factions[]

#define FACTION_INDEPENDENTS 0
#define FACTION_DEVALTOS 1
#define FACTION_CADAR 2
#define FACTION_RYCHART 3
#define FACTION_THULUN 4
#define FACTION_JAVAT 5
#define FACTION_STEELSONG 6
#define FACTION_MOKLUMNUE 7
#define FACTION_ALTAMESA 8
#define FACTION_ZENRIN 9
#define FACTION_TEMPLAR 10
#define FACTION_HUNNA 11
#define FACTION_COUNCIL 12
#define FACTION_XENO 50
#define FACTION_XENO_2 51

Job Types[]

#define JOB_TYPE_CREW  1
#define JOB_TYPE_MECHANIC  2
#define JOB_TYPE_ELECTRONICS_SPECIALIST  3
#define JOB_TYPE_GUNNER  4
#define JOB_TYPE_SOLDIER  5
#define JOB_TYPE_PISTOLEER  6
#define JOB_TYPE_SNIPER  7
#define JOB_TYPE_SWORDSMAN  8
#define JOB_TYPE_BODYGUARD  9
#define JOB_TYPE_ASSASSIN 10
#define JOB_TYPE_COMBAT_MEDIC 11
#define JOB_TYPE_DOCTOR 12
#define JOB_TYPE_DIPLOMAT 13
#define JOB_TYPE_BLADEDANCER 14
#define JOB_TYPE_ZEALOT 15
#define JOB_TYPE_HYPERWARP_NAVIGATOR 16
#define JOB_TYPE_WING_SUPPORT 17
#define JOB_TYPE_EXO_SCOUT 18
#define JOB_TYPE_SCAVENGER 19
#define JOB_TYPE_XENO_HUNTER 20
#define JOB_TYPE_ANTI_CRAFT 21
#define JOB_TYPE_SCIENTIST 22
#define JOB_TYPE_COMMANDER 23
#define JOB_TYPE_PILOT 24
#define JOB_TYPE_WING_COMMANDO 25
#define JOB_TYPE_MERCHANT 26
#define JOB_TYPE_SMUGGLER 27
#define JOB_TYPE_PIRATE 28
#define JOB_TYPE_BOUNTY_HUNTER 29
#define JOB_TYPE_MILITARY_OFFICER 30
#define JOB_TYPE_EXPLORER 31
#define JOB_TYPE_SPY 32
#define JOB_TYPE_ENGINEER 33
#define JOB_TYPE_QUARTER_MASTER 34
#define JOB_TYPE_WING_BOMBER 35
#define JOB_TYPE_WING_LEADER 36
#define JOB_TYPE_TEMPLAR_MILITANT 37
#define JOB_TYPE_SABOTEUR 38
#define JOB_TYPE_SHOCKTROOPER 39

Ship Component Types[]

#define SHIP_COMPONENT_TYPE_BRIDGE 1					
#define SHIP_COMPONENT_TYPE_CARGO 2					
#define SHIP_COMPONENT_TYPE_ENGINE 3					
#define SHIP_COMPONENT_TYPE_WEAPON 4
#define SHIP_COMPONENT_TYPE_PERSONNEL 5					
#define SHIP_COMPONENT_TYPE_MEDICAL 6					
#define SHIP_COMPONENT_TYPE_LAUNCH_BAY 7				
#define SHIP_COMPONENT_TYPE_DEFENSIVE 8					
#define SHIP_COMPONENT_TYPE_HYPERWARPDRIVE 9			
#define SHIP_COMPONENT_TYPE_WEAPONSLOCKER 10			
#define SHIP_COMPONENT_TYPE_SENSOR 11							
#define SHIP_COMPONENT_TYPE_BOOSTERS 12					
#define SHIP_COMPONENT_TYPE_CARGO_SPECIAL 13				
#define SHIP_COMPONENT_TYPE_FUEL 14						
#define SHIP_COMPONENT_TYPE_EXPLORER_CARGO_BONUS	15		
#define SHIP_COMPONENT_TYPE_EXPLORER_CREW_PROTECT	16
#define SHIP_COMPONENT_TYPE_EXPLORER_SHIP_PROTECT	17
#define SHIP_COMPONENT_TYPE_EXPLORER_DATA_BONUS		18		
#define SHIP_COMPONENT_TYPE_ORBIT_SCOOP 19
#define SHIP_COMPONENT_TYPE_ORBIT_CREW_PROTECT	20
#define SHIP_COMPONENT_TYPE_ORBIT_SHIP_PROTECT	21
#define SHIP_COMPONENT_TYPE_ORBIT_DATA_BONUS	22		
#define SHIP_COMPONENT_TYPE_ORBIT_EVA_DECK 23
#define SHIP_COMPONENT_TYPE_ORBIT_SALVAGE_BAY 24
#define SHIP_COMPONENT_TYPE_HANGER_BAY 25					
#define SHIP_COMPONENT_TYPE_AGGO_BOOSTERS 26
#define SHIP_COMPONENT_TYPE_MASS_REDUX 27

Ship Component Sub Types[]

#define SHIP_COMPONENT_SUBTYPE_BRIDGE_STANDARD 1
#define SHIP_COMPONENT_SUBTYPE_BRIDGE_SCOUT 2 
#define SHIP_COMPONENT_SUBTYPE_BRIDGE_CAPITAL 3
#define SHIP_COMPONENT_SUBTYPE_BRIDGE_BATTLE 4
#define SHIP_COMPONENT_SUBTYPE_CARGO_STANDARD 5
#define SHIP_COMPONENT_SUBTYPE_WEAPON_TORPEDO 6
#define SHIP_COMPONENT_SUBTYPE_WEAPON_AUTOCANNON 8
#define SHIP_COMPONENT_SUBTYPE_WEAPON_GRAVCANNON 9
#define SHIP_COMPONENT_SUBTYPE_WEAPON_LANCE 10
#define SHIP_COMPONENT_SUBTYPE_WEAPON_MISSILES 11
#define SHIP_COMPONENT_SUBTYPE_WEAPON_PLASMA 12
#define SHIP_COMPONENT_SUBTYPE_WEAPON_RAILGUN 13
#define SHIP_COMPONENT_SUBTYPE_BARRACKS 14
#define SHIP_COMPONENT_SUBTYPE_OFFICER_CABIN 15
#define SHIP_COMPONENT_SUBTYPE_WEAPONS_LOCKER 16
#define SHIP_COMPONENT_SUBTYPE_SENSORY_ARRAY 17
#define SHIP_COMPONENT_SUBTYPE_SIG_DAMPENER 18
#define SHIP_COMPONENT_SUBTYPE_PASSENGER_CABIN 19
#define SHIP_COMPONENT_SUBTYPE_PRISON_CELL 20
#define SHIP_COMPONENT_SUBTYPE_FUEL_TANK 21
#define SHIP_COMPONENT_SUBTYPE_WATER_RECLAIMATION 22
#define SHIP_COMPONENT_SUBTYPE_EXTRACTORS 23
#define SHIP_COMPONENT_SUBTYPE_EVA_PROTECTION 24
#define SHIP_COMPONENT_SUBTYPE_SEALS 25
#define SHIP_COMPONENT_SUBTYPE_SURFACE_SCANNER 26
#define SHIP_COMPONENT_SUBTYPE_FUEL_SCOOP 27
#define SHIP_COMPONENT_SUBTYPE_PLATING 28
#define SHIP_COMPONENT_SUBTYPE_COATING 29
#define SHIP_COMPONENT_SUBTYPE_SIGNAL_ARRAY 30
#define SHIP_COMPONENT_SUBTYPE_EVA_DECK 31
#define SHIP_COMPONENT_SUBTYPE_SALVAGE_BAY 32
#define SHIP_COMPONENT_SUBTYPE_MEDICAL 33
#define SHIP_COMPONENT_SUBTYPE_MASS_DAMPENER 34
#define SHIP_COMPONENT_SUBTYPE_MASS_MODULATOR 35
#define SHIP_COMPONENT_SUBTYPE_MASS_REDUCER 36
#define SHIP_COMPONENT_SUBTYPE_GOLTHA_SCANNERS 37
#define SHIP_COMPONENT_SUBTYPE_ENGINES 38
#define SHIP_COMPONENT_SUBTYPE_HYPERWARP 39
#define SHIP_COMPONENT_SUBTYPE_LAUNCH_BAY 40
#define SHIP_COMPONENT_SUBTYPE_ARMORED_BULKHEAD 41
#define SHIP_COMPONENT_SUBTYPE_DEFLECTOR_ARRAY 42
#define SHIP_COMPONENT_SUBTYPE_REINFORCED_STRUCTURE 43
#define SHIP_COMPONENT_SUBTYPE_BATTLE_PROW 44
#define SHIP_COMPONENT_SUBTYPE_HULL_PLATING 45
#define SHIP_COMPONENT_SUBTYPE_REACTOR_SPIKE 46
#define SHIP_COMPONENT_SUBTYPE_PILOT_ASSIST 47
#define SHIP_COMPONENT_SUBTYPE_NAV_ASSIT 48
#define SHIP_COMPONENT_SUBTYPE_DEFENSE_PATTERN_MATRIX 49
#define SHIP_COMPONENT_SUBTYPE_PEAK_VELOCITY_MATRIX 50
#define SHIP_COMPONENT_SUBTYPE_PULSE_BOOSTER 51
#define SHIP_COMPONENT_SUBTYPE_EECM_MATRIX 52
#define SHIP_COMPONENT_SUBTYPE_CTAK 53
#define SHIP_COMPONENT_SUBTYPE_BOARDING_ASSAULT 54
#define SHIP_COMPONENT_SUBTYPE_TARGETING_MATRIX 55
#define SHIP_COMPONENT_SUBTYPE_INTERLOCKING_SENSOR_MATRIX 56
#define SHIP_COMPONENT_SUBTYPE_RAILTRAK_GUIDANCE 57
#define SHIP_COMPONENT_SUBTYPE_HANGAR_BAY 58
#define SHIP_COMPONENT_SUBTYPE_CRAFT_BOOST 59

Ship Component Sizes[]

#define SHIP_COMPARTMENT_SIZE_SMALL 1
#define SHIP_COMPARTMENT_SIZE_MEDIUM 2
#define SHIP_COMPARTMENT_SIZE_LARGE 3

Ship Weapon Types[]

#define SHIP_WEAPON_TYPE_GUN 1
#define SHIP_WEAPON_TYPE_LANCE 2
#define SHIP_WEAPON_TYPE_PLASMA_CANNON 3
#define SHIP_WEAPON_TYPE_RAILGUN 4
#define SHIP_WEAPON_TYPE_DRIVER 5
#define SHIP_WEAPON_TYPE_MISSILES 6
#define SHIP_WEAPON_TYPE_TORP 7
#define SHIP_WEAPON_TYPE_TORP_HK 8
#define CRAFT_WEAPON_TYPE_BOMB 9
#define CRAFT_WEAPON_TYPE_ROCKETS 10

Ship Effect Types[]

#define SHIP_EFFECT_TYPE_CREW 1
#define SHIP_EFFECT_TYPE_SHIP 2
#define SHIP_EFFECT_TYPE_BOARDING 3
#define SHIP_EFFECT_TYPE_COMPONENT 4
#define SHIP_EFFECT_TYPE_BUFF 5
#define SHIP_EFFECT_TYPE_CURSE 6
#define SHIP_EFFECT_TYPE_TRAIT 7
#define SHIP_EFFECT_TYPE_CRAFT_DEBUFF 9
#define SHIP_EFFECT_TYPE_CRAFT_FLIGHT_PLAN 10

Enemy Ship Captain AI Type[]

#define PROFESSION_TYPE_BOUNTY_HUNTER 1
#define PROFESSION_TYPE_SMUGGLER 2
#define PROFESSION_TYPE_PIRATE 3
#define PROFESSION_TYPE_MILITARY_OFFICER 4
#define PROFESSION_TYPE_MERCHANT 5
#define PROFESSION_TYPE_EXPLORER 6
#define PROFESSION_TYPE_SPY 7
#define PROFESSION_TYPE_ZEALOT 8

Talent Game Action Types[]

#define GAME_ACTION_TEST_SHIP_OPS 1
#define GAME_ACTION_TEST_PILOT 2
#define GAME_ACTION_TEST_ELECTRONICS 3
#define GAME_ACTION_TEST_NAVIGATION 4
#define GAME_ACTION_TEST_TACTICS 5
#define GAME_ACTION_TEST_REPAIR 6
#define GAME_ACTION_TEST_COMMAND 7
#define GAME_ACTION_TEST_DOCTOR 8
#define GAME_ACTION_TEST_INTIMIDATE 9
#define GAME_ACTION_MISSION_CREATE 10
#define GAME_ACTION_MISSION_SEGMENT 11
#define GAME_ACTION_MISSION_COMPLETE 12
#define GAME_ACTION_CREW_RECRUIT 13
#define GAME_ACTION_LOW_MORALE 14		// NOT USED *
#define GAME_ACTION_PLANET_ARRIVE 15
#define GAME_ACTION_PLANET_DEPART 16
#define GAME_ACTION_PLANET_NEW 17
#define GAME_ACTION_SPICE 18			
#define GAME_ACTION_XENO_ENCOUNTER 19	
#define GAME_ACTION_RADIATION_STORM 20	
#define GAME_ACTION_CREW_PAY 21			
#define GAME_ACTION_COMBAT_CREW_KILL 22	
#define GAME_ACTION_COMBAT_SHIP_KILL 23	
#define GAME_ACTION_TEST_NEGOTIATE 24	
#define GAME_ACTION_TEST_STEALTH 25		
#define GAME_ACTION_TEST_EXPLORER 26	
#define GAME_ACTION_COMBAT_CREW_START 27
#define GAME_ACTION_COMBAT_SHIP_START 28
#define GAME_ACTION_COMBAT_CREW_INIT 29
#define GAME_ACTION_CONTACT_BUY_RANK 31
#define GAME_ACTION_CONTACT_BUY_PERMIT 32
#define GAME_ACTION_CONTACT_BUY_EDICT 33
#define GAME_ACTION_CONTACT_INTERACT 34
#define GAME_ACTION_HYPERWARP 35
#define GAME_ACTION_TRADE_BIG 36
#define GAME_ACTION_TRADE_BIG_ARTIFACT 37
#define GAME_ACTION_TRADE_BIG_BLACK 38
#define GAME_ACTION_ORBIT 39
#define GAME_ACTION_CREW_XENO_ENCOUNTER 40
#define GAME_ACTION_CREW_ABANDON 41
#define GAME_ACTION_CREW_MUTINY 42
#define GAME_ACTION_STARPORT_REPAIR 43
#define GAME_ACTION_STARPORT_UPGRADE 44
#define GAME_ACTION_STARPORT_NEWSHIP 45
#define GAME_ACTION_ORBIT_METEOR 46
#define GAME_ACTION_PLANET_ARRIVE_WILD 47
#define GAME_ACTION_TRAIT_MUTATE 48
#define GAME_ACTION_CREW_DEATH_HEALTH 49
#define GAME_ACTION_CREW_DEATH_MORALE 50
#define GAME_ACTION_EXPLORER_ACTIVE 51
#define GAME_ACTION_EXPLORER_PASSIVE 52
#define GAME_ACTION_SPY_ACTIVE 53
#define GAME_ACTION_SPY_PASSIVE 54
#define GAME_ACTION_PATROL_ACTIVE 55
#define GAME_ACTION_PATROL_PASSIVE 56             
#define GAME_ACTION_BLOCKADE_ACTIVE 57
#define GAME_ACTION_BLOCKADE_PASSIVE 58
#define GAME_ACTION_NON_IMPL 59
#define GAME_ACTION_SHIP_ESCAPE 60
#define GAME_ACTION_MORALE_CHANGE 61
#define GAME_ACTION_XP_CHANGE 62
#define GAME_ACTION_PLANET_LANDING 63
#define GAME_ACTION_SHIP_COMBAT_DRAW 64                                                                       
              /* When you leave and there is no combat */

#define GAME_ACTION_SHIP_COMBAT_DEFEAT_SEARCHED 65                                                
             /* When you give up to looting prior to combat */

#define GAME_ACTION_SHIP_COMBAT_VICTORY_CAPTURE_ACTIVE 66                                  
              /* When you give up to looting prior to combat */

#define GAME_ACTION_SHIP_COMBAT_VICTORY_DESTROY_ACTIVE 67                                 
             /* special types of salvage operations once the ship is destroyed */

#define GAME_ACTION_SHIP_COMBAT_VICTORY_CAPTURE_SMUGGLER_ACTIVE 68          
             /* You beat a smuggler and the ship is still in one piece */

#define GAME_ACTION_SHIP_COMBAT_VICTORY_CAPTURE_MILITARY_ACTIVE 69               
             /* You beat a military officer, pirate, zealot, spy or BH  */

#define GAME_ACTION_SHIP_COMBAT_PREAMBLE_ACTIVE 70                                               
            /* Prior to combat with anything */

#define GAME_ACTION_SHIP_COMBAT_PREAMBLE_MILITARY_ACTIVE 71                               
             /* Prior to combat with military officer, pirate, zealot, spy or BH */

#define GAME_ACTION_SHIP_COMBAT_PREAMBLE_PIRATE_ACTIVE 72                                  
            /* Prior to combat with a Pirate */

#define GAME_ACTION_SHIP_COMBAT_PREAMBLE_HUNTER_ACTIVE 73                               
            /* Prior to combat with anything */

#define GAME_ACTION_SHIP_COMBAT_PREAMBLE_MERCHANT_ACTIVE 74                          
            /* Prior to combat with a BH */

#define GAME_ACTION_SHIP_COMBAT_VICTORY_SALVAGE 75
            /* Prior to combat with a BH */

#define GAME_ACTION_SHIP_COMBAT_VICTORY_DESTROY 76
              /* human ship is destroyed (for salvage through default action or through a talent that 
                 destroys it for salvage) and is a special case reserved for traits */

#define GAME_ACTION_CREW_COMBAT_VICTORY_BOARDING_ACTIVE 77
            /* When you defeat the other ship with a boarding party */

#define GAME_ACTION_CREW_COMBAT_VICTORY_ACTIVE 78
            /* When you board the other ship with a boarding party */

#define GAME_ACTION_MARKET_OPS_ACTIVE 79
#define GAME_ACTION_MARKET_OPS_PASSIVE 80
#define GAME_ACTION_CREW_DOCTOR 81
#define GAME_ACTION_CONTACT_SELL_DATA 82
#define GAME_ACTION_SHIP_COMBAT_VICTORY_GLOBAL 83
              /* When you defeat the other ship -- always fires */

#define GAME_ACTION_SHIP_COMBAT_PRESS_CREW 84
              /* When When you defeat the other ship and press the crew into service*/

#define GAME_ACTION_SHIP_COMBAT_PREAMBLE_TRIBUTE 85
              /* When pay tribute before a fight */

#define GAME_ACTION_SHIP_COMBAT_END 86
              /* special case reserved for Traits Merciless and Peacemaker */

#define GAME_ACTION_SHIP_COMBAT_RANSOM 87
              /* When you defeat the other ship and ransom the ship */

#define GAME_ACTION_CONFLICT_SCORE 88
#define GAME_ACTION_SHIP_COMBAT_DEFEAT 89
              /* special cases reserved for Trait mutation and not used by talents */

#define GAME_ACTION_SHIP_COMBAT_VICTORY 90
              /* special cases reserved for Trait mutation and not used by talents */

#define GAME_ACTION_CONTACT_INTRODUCE 91
#define GAME_ACTION_TRADE_UNIQUE 92
#define GAME_ACTION_MISSION_SEGMENT_EDICT 93
#define GAME_ACTION_TRADE_BIG_BLACK_100K 94
#define GAME_ACTION_TRADE_BIG_100K 95
#define GAME_ACTION_TRADE_INTO_CONFLICT 96
#define GAME_ACTION_SHIP_COMBAT_VICTORY_CONFLICT_ACTIVE 97
              /* prize ship talents */

#define GAME_ACTION_TEST_EVASION 98
#define GAME_ACTION_PLAGUE_TRAIT 99
#define GAME_ACTION_PLAGUE_RUMOR 100
#define GAME_ACTION_SALVAGE_ACTIVE 101
#define GAME_ACTION_SALVAGE_PASSIVE 102
#define GAME_ACTION_SHIP_COMBAT_PREAMBLE_SMUGGLER_ACTIVE 103
#define GAME_ACTION_STASH_RAIDED 104
#define GAME_ACTION_SHIP_COMBAT_VICTORY_XENO 105
              /* special salvage ops for destroyed xeno */

#define GAME_ACTION_SHIP_COMBAT_VICTORY_SALVAGE_XENO 106
              /* special salvage ops for destroyed xeno */

#define GAME_ACTION_SHIP_COMBAT_CRAFT_LAUNCHED 107
#define GAME_ACTION_SHIP_COMBAT_CRAFT_LANDED 108
#define GAME_ACTION_SHIP_COMBAT_CRAFT_DESTROYED 109
#define GAME_ACTION_STARPORT_CRAFT_REPAIR 110
#define GAME_ACTION_STARPORT_CRAFT_PURCHASE 111
#define GAME_ACTION_SHIP_COMBAT_CRAFT_MAINT_POINT 112
#define GAME_ACTION_SHIP_COMBAT_CRAFT_PLAN 113
#define GAME_ACTION_BLOCKADE_BONUS_CARGO 114
#define GAME_ACTION_TEST_GUNNERY 115
#define GAME_ACTION_SHIP_COMBAT_VICTORY_DESTROY_ACTIVE_XENO 116
#define GAME_ACTION_REFUEL 117
#define GAME_ACTION_SHIP_COMBAT_PREAMBLE_SPY_ACTIVE 118
#define GAME_ACTION_MISSION_SEGMENT_CARD 119
#define GAME_ACTION_MARKET_OPS_CONFISCATE 120
#define GAME_ACTION_CREW_COMBAT_VICTORY_BOARDING_ACTIVE_XENO 121
#define GAME_ACTION_CONTACT_SELL_DATA_XENO 122
#define GAME_ACTION_CREW_COMBAT_VICTORY_ACTIVE_XENO 123
#define GAME_ACTION_CREW_COMBAT_VICTORY_BOARDING_PASSIVE 124
#define GAME_ACTION_CONTACT_PARDON 125
#define GAME_ACTION_COMBAT_CREW_ACTIVE -1
#define GAME_ACTION_COMBAT_SHIP_ACTIVE -2

Talent Result Type[]

// passive talent results
#define TALENT_RESULT_PASS_TEST 0   /* pass a skill save */
#define TALENT_RESULT_BONUS 1
#define TALENT_RESULT_KNOW_TRAIT 2  /* learn a trait */
#define TALENT_RESULT_KNOW_RUMOR 3  /* learn a rumor */
#define TALENT_RESULT_KNOWN_CONTACT 4 /* learn a contact */
// combat results
#define TALENT_RESULT_DISPEL_WEAK 5  /* in crew combat purge debuffs and in ship combat Crew Crippling Effects */
#define TALENT_RESULT_DISPEL_STRONG 6 /* in crew combat purge buffs and stealth, usually used against an enemy and in ship combat purges Ship Crippling Effects */
#define TALENT_RESULT_DISPEL_PURGE 7 /* in crew combat purge debuffs, buff, stealth and in ship combat purges both ship and crew crippling effects*/
// more passive talent results
#define TALENT_RESULT_BONUS_ALT 8
#define TALENT_RESULT_BONUS_REP 9
// come out of stealth only
#define TALENT_RESULT_DISPEL_STEALTH 10 /* purge stealth buffs only */
// these are dedicated results for card game card talents
#define TALENT_RESULT_EXPLORER_REROLL 11 /* reroll risk card */
#define TALENT_RESULT_EXPLORER_REMOVE 12 /* remove risk card */
#define TALENT_RESULT_EXPLORER_REROLL_GOOD 13 /*replace risk card with bonus card*/
#define TALENT_RESULT_EXPLORER_REROLL_GOOD_ALT 23
#define TALENT_RESULT_EXPLORER_REROLL_MISSION 24 /*replace risk card with mission card*/
#define TALENT_RESULT_EXPLORER_REROLL_ALL 29 /*reroll entire hand*/
#define TALENT_RESULT_COMBAT_DRAW 14 
#define TALENT_RESULT_COMBAT_HOSTILE 15
#define TALENT_RESULT_COMBAT_STEAL_CARGO 16 /* steal cargo, only supported in ship combat draw */
#define TALENT_RESULT_COMBAT_DUMP_CARGO 17 /* dump one random cargo, only supported in ship combat draw */
#define TALENT_RESULT_MORALE_BONUS 18   /* restores morale */
#define TALENT_RESULT_HEALTH_BONUS 19   /* heals crew */
#define TALENT_RESULT_REPAIR_SHIP 20   /* repairs ship component */
#define TALENT_RESULT_REPAIR_SHIP_MIL 21  /* repairs weapons on ship */
#define TALENT_RESULT_CREATE_INTEL 22   /* creates intel */
#define TALENT_RESULT_REQUIRE_STEALTH 25 /* can only be used if stealth buff is up*/
#define TALENT_RESULT_REQUIRE_XENO 26 /* can only be used against a xeno*/
#define TALENT_RESULT_SHIP_COMBAT_BOARDING 27
#define TALENT_RESULT_SHIP_VICTORY_CAPTURED 28
#define TALENT_RESULT_DISPEL_DEBUFF 30 /* in ship combat, purges 1-3 debuffs */
#define TALENT_RESULT_REQUIRE_CRAFT 31 /* must be pilot of craft, destroys craft in boarding or boosts mission results */ 
#define TALENT_RESULT_ESCAPE 32 /* single crew member escape from crew combat */
#define TALENT_RESULT_DISPEL_CRAFT 33 /* purges all craft of debuffs */
#define TALENT_RESULT_LAND_CRAFT 34 /* forces a craft to land */
#define TALENT_RESULT_CRAFT_OFFENSIVE 35 /* launch talent -- attack plan, bombers and interdictors */
#define TALENT_RESULT_CRAFT_DEFENSIVE 36 /* launch talent -- defensive plan, interdictors only */
#define TALENT_RESULT_CRAFT_BOARDING 37 /* launch talent -- boarding plan, shuttles only */
#define TALENT_RESULT_CRAFT_REACTOR 38 /* boosts launched interdictors by +2 AP */
#define TALENT_RESULT_BONUS_ARTIFACT 39
#define TALENT_RESULT_CREATE_INTEL_XENO 40 /* create scientific intel */
#define TALENT_RESULT_BONUS_ALT_BIG 41

Crew Effect Types[]

#define EFFECT_TYPE_FRIEND 1
#define EFFECT_TYPE_FOE    2
#define EFFECT_TYPE_WEAPON 3
#define EFFECT_TYPE_ARMOR  4
#define EFFECT_TYPE_GEAR   5
#define EFFECT_TYPE_TRAIT  6
#define EFFECT_TYPE_STEALTH 8
#define EFFECT_TYPE_TALENT_FIRST 9

Gear Types[]

#define GEAR_TYPE_WEAPON_BUFF 1
#define GEAR_TYPE_DEFENSE_BUFF 2
#define GEAR_TYPE_PERSONAL_BUFF 3

Weapon Groups (Sale, Salvage)[]

#define WEAPON_GROUP_FROM_LOCKERS 1 to 10
#define WEAPON_GROUP_TYPE_CONTACT_SALE 100
#define WEAPON_GROUP_TYPE_STORY_LOOT 2000
#define WEAPON_GROUP_SALVAGE_MILITARY 102
#define WEAPON_GROUP_SALVAGE_MILITARY_RARE 103

Armor Groups (Sale, Salvage)[]

#define ARMOR_GROUP_FROM_LOCKERS 1 to 10
#define ARMOR_GROUP_TYPE_CONTACT_SALE 100
#define ARMOR_GROUP_TYPE_STORY_LOOT 2000
#define ARMOR_GROUP_SALVAGE_MILITARY 102
#define ARMOR_GROUP_SALVAGE_MILITARY_RARE 103

Gear Groups (Sale, Salvage)[]

#define GEAR_GROUP_MILITARY 100
#define GEAR_GROUP_SPECIALIST 101
#define GEAR_GROUP_STORY_LOOT 102
#define GEAR_GROUP_SALVAGE_RELIC 103
#define GEAR_GROUP_SALVAGE_RELIC_RARE 104
#define GEAR_GROUP_SALVAGE_MEDICAL 105
#define GEAR_GROUP_SALVAGE_MEDICAL_RARE 106
#define GEAR_GROUP_SALVAGE_MILITARY 107
#define GEAR_GROUP_SALVAGE_MILITARY_RARE 108
#define GEAR_GROUP_WING_SPECIALIST 109

Contact Offer Mission Type[]

#define MISSION_GIVER_TYPE_SMUGGLER 1
#define MISSION_GIVER_TYPE_DIPLOMAT 2
#define MISSION_GIVER_TYPE_MERCHANT 3
#define MISSION_GIVER_TYPE_BOUNTY 4
#define MISSION_GIVER_TYPE_WARDEN 5
#define MISSION_GIVER_SABOTEUR 6
#define MISSION_GIVER_FACTIONMILITARY 7
#define MISSION_GIVER_EXPLORER 8
#define MISSION_GIVER_SPY 9
#define MISSION_GIVER_PRINCE 10
#define MISSION_GIVER_DOCTOR 11
#define MISSION_GIVER_CARGO 12
#define MISSION_GIVER_HUNNA 13
#define MISSION_GIVER_XENO 14
#define MISSION_GIVER_SALVAGER 15
#define MISSION_GIVER_SCIENCE 16

Contact Discount Types[]

#define CONTACT_DISCOUNT_TYPE_NONE 0
#define CONTACT_DISCOUNT_TYPE_SHIP_REPAIR 31
#define CONTACT_DISCOUNT_TYPE_SHIP_REFUEL 32
#define CONTACT_DISCOUNT_TYPE_SHIP_UPGRADE 33
#define CONTACT_DISCOUNT_TYPE_SHIP_PURCHASE 34
#define CONTACT_DISCOUNT_TYPE_HALL_SPICE 35
#define CONTACT_DISCOUNT_TYPE_HALL_DOCTOR 36
#define CONTACT_DISCOUNT_TYPE_CRAFT_PURCHASE 40

Contact Special Service Types Types[]

21 - Weapons
22 - Specialist Gear
23 - Combat Armor
24 - Military Gear
25 - Introductions
26 - Rare Trade goods
27 - Trait Conditioning
41 - Wing Specialist Gear
42 - Special Service ? Exodus Doctor

Zone Types[]

#define ZONE_TYPE_POP 1
#define ZONE_TYPE_FARM 2
#define ZONE_TYPE_MINE 3
#define ZONE_TYPE_REFINE 4
#define ZONE_TYPE_INDUSTRY 5
#define ZONE_TYPE_HIGH_TECH 6
#define ZONE_TYPE_LUX 7
#define ZONE_TYPE_TRADEWAY 8
#define ZONE_TYPE_WILD 9
#define ZONE_TYPE_ORBITAL 10

Planet Types[]

#define PLANET_TYPE_ICE 1
#define PLANET_TYPE_DESERT 2
#define PLANET_TYPE_DESERT_ALT 3
#define PLANET_TYPE_GARDEN 4
#define PLANET_TYPE_GARDEN_ALT 5
#define PLANET_TYPE_OCEANIC 6
#define PLANET_TYPE_OCEANIC_ALT 7
#define PLANET_TYPE_JUNGLE 8
#define PLANET_TYPE_JUNGLE_ALT 9
#define PLANET_TYPE_RADIATION 10
#define PLANET_TYPE_RADIATION_ALT 11
#define PLANET_TYPE_MOLTEN 12

Planet Danger Ratings[]

#define PLANET_DANGER_VERY_SAFE 0	
#define PLANET_DANGER_SAFE 1	
#define PLANET_DANGER_HARMLESS 2	
#define PLANET_DANGER_BENIGN 3	
#define PLANET_DANGER_NORMAL 4	
#define PLANET_DANGER_TAINTED 5	
#define PLANET_DANGER_HAZARDOUS 6	
#define PLANET_DANGER_TOXIC 7	
#define PLANET_DANGER_CORROSIVE 8	
#define PLANET_DANGER_DEADLY 9	
#define PLANET_DANGER_INSIDIOUS 10

Planet Atmo Ratings[]

#define PLANET_ATMO_HARD_VACUUM 1	
#define PLANET_ATMO_VACUUM 2	
#define PLANET_ATMO_THIN 3	
#define PLANET_ATMO_VERY_THIN 4	
#define PLANET_ATMO_STANDARD 5	
#define PLANET_ATMO_STANDARD 6	
#define PLANET_ATMO_DENSE 7	
#define PLANET_ATMO_VERY_DENSE 8	
#define PLANET_ATMO_ULTRA_DENSE 9	
#define PLANET_ATMO_EXTREME 10

Planet Sizes[]

#define PLANET_SIZE_TINY 1
#define PLANET_SIZE_SMALL 2
#define PLANET_SIZE_STANDARD 3
#define PLANET_SIZE_LARGE 4
#define PLANET_SIZE_HUGE 5

Quadrant Types[]

#define QUAD_TYPE_POPULATION 1
#define QUAD_TYPE_RESOURCES 2
#define QUAD_TYPE_INDUSTRIAL 3
#define QUAD_TYPE_AGGRO_TECH 4
#define QUAD_TYPE_WASTELAND 5
#define QUAD_TYPE_WASTELAND2 6
#define QUAD_TYPE_HIGHTECH 7

Mission Segment Types[]

#define MISSION_SEGMENT_TYPE_PASS_FAIL 1
#define MISSION_SEGMENT_TYPE_PACKAGE_ADD 2
#define MISSION_SEGMENT_TYPE_PACKAGE_DEL 3
#define MISSION_SEGMENT_TYPE_PRISONER_ADD 4
#define MISSION_SEGMENT_TYPE_PRISONER_DEL 5
#define MISSION_SEGMENT_TYPE_GUEST_ADD 6
#define MISSION_SEGMENT_TYPE_GUEST_DEL 7
#define MISSION_SEGMENT_TYPE_COUNTER 8
#define MISSION_SEGMENT_TYPE_IMMEDAITE_ADVANCE 9	// no payment ever
#define MISSION_SEGMENT_TYPE_NEVER_FAIL 10
#define MISSION_SEGMENT_TYPE_ALWAYS_PASS 11
#define MISSION_SEGMENT_TYPE_COUNTER_SEPARATE 12
#define MISSION_SEGMENT_TYPE_ALWAYS_WIN 13

Mission Name Generator Keys[]

#define MISSION_TERM_TYPE_PACKAGE_LEGAL 1
#define MISSION_TERM_TYPE_PACKAGE_ILLEGAL 2
#define MISSION_TERM_FACTION_DISPUTE 3
#define MISSION_TERM_TYPE_PASSENGER_FRIEND 4
#define MISSION_TERM_TYPE_PACKAGE_TRANSMISSION 5
#define MISSION_TERM_TYPE_PASSENGER_SNEAKY 6
#define MISSION_TERM_TYPE_PASSENGER_OUTLAW 7
#define MISSION_TERM_TYPE_PASSENGER_LEGAL_ENEMY 8
#define MISSION_TERM_TYPE_SPY_CODENAME 9
#define MISSION_TERM_TYPE_PACKAGE_TRANSMISSION_STOLEN 10
#define MISSION_TERM_TYPE_PASSENGER_RANSOM 11
#define MISSION_TERM_TYPE_PRISONER_CRIMINAL 12
#define MISSION_TERM_TYPE_STASH_BASE 13
#define MISSION_TERM_TYPE_STASH_AGENTS 14
#define MISSION_TERM_TYPE_STASH_DESC 15
#define MISSION_TERM_TYPE_FUGITIVE 16
#define MISSION_TERM_RARITY 17
#define MISSION_TERM_FLORA 18
#define MISSION_TERM_FAUNA 19
#define MISSION_TERM_WILD_LOCATION 20
#define MISSION_TERM_SALVAGE_RUMOR 21
#define MISSION_TERM_SALVAGE_VERB 22

Map Story Zone IDs[]

FARFALLEN RIM
13001 De Valtos "Syndicate Landing"
13002 De Valtos "Marquiss Landing"
13003 Cadar "Pavonis Hold"
13004 Javat "Gamma Capital"
13005 Thulun "Ursae Prime"
13006 Steel Song "Corelloth"
13007 Indie "Rinze Mining Camp"
13008 Wilderness "Hills of Ghactllli"
13009 Rychart "Tennath Outpost"
13010 Wilderness "Tennath Wastes"
6000 De Valtos "Ryeline"
13026 Rychart "Chalicstine"
13027 Indie "Temple of Refuge"
13028 Wilderness "Ihaca Basin"
13029 Cadar "Galarian Gate"
13030 Wilderness "Ninth Kingdom"
13031 Thulun "Traneldor"
13032 Wilderness "Dire Necropolis"

ALZEAN CORE
6104 Zenrin "Gallor Hive"
13012 Templar "Alzean Fortress"
13013 Wilderness "Alzean Wastes"
13014 Templar "Port of Souls"
13015 Templar "Port of Zaraef"
13016 Indie "Munaitti"
13017 Wilderness "Necrotis Swamps"

CIRM QUADRANT
13018 Rychart "Galantia Hold"
13019 Wilderness "Galantia Wastes"
13020 Rychart "Cirm Prime"
13021 Rychart "Talfra Hold"
13022 Wilderness "Illgard Temple"
13023 Templar "Righteous Fallen"
13024 Wilderness "Klava Synchro"
13025 Wilderness "Sayek Pits"

Mission Tag Keys[]

#define MISSION_TAG_ILLEGAL 2
#define MISSION_TAG_VIOLENT 3
#define MISSION_TAG_TRAITOR 4
#define MISSION_TAG_FRIENDLY 5
#define MISSION_TAG_HUNNA 6
#define MISSION_TAG_XENO 7
#define MISSION_TAG_CULT 8 
#define MISSION_TAG_SCIENCE 9
#define MISSION_TAG_RANK 10
#define MISSION_TAG_EDICT 11

#define MISSION_TAG_PACKAGE 100
#define MISSION_TAG_PASSENGER 101
#define MISSION_TAG_STASH 102
#define MISSION_TAG_CARGO 103
#define MISSION_TAG_PRISONER 104
#define MISSION_TAG_BLOCKADE 105
#define MISSION_TAG_SPY 106
#define MISSION_TAG_EXPLORE 107
#define MISSION_TAG_PATROL 108
#define MISSION_TAG_JUSTICE 109
#define MISSION_TAG_NEGOTIATE 110
#define MISSION_TAG_MERCHANT 111
#define MISSION_TAG_SMUGGLE 112
#define MISSION_TAG_CAPTURE 113
#define MISSION_TAG_KILL 114
#define MISSION_TAG_DOCTOR 115
Advertisement