Modding Enums

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 a BH \*/

#define GAME\_ACTION\_SHIP\_COMBAT\_PREAMBLE\_MERCHANT\_ACTIVE 74
 /\* Prior to combat with a Merchant \*/

#define GAME\_ACTION\_SHIP\_COMBAT\_VICTORY\_SALVAGE 75
 /\* \*/

#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

```