| 1 | package RPG::Traveller::Person::Constants; | ||
| 2 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 3 | require Exporter; | |
| 4 | 3 | our @ISA = qw(Exporter); | |
| 5 | 3 | our $VERSION = "1.011"; | |
| 6 | |||
| 7 | # ABSTRACT: this module defines a host of constants used for character generation | ||
| 8 | # | ||
| 9 | |||
| 10 | # Branch of "service" contants | ||
| 11 | |||
| 12 | 3 | ▶ | use constant ARMY => 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 3 | ▶ | use constant BARBARIAN => 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 3 | ▶ | use constant BELTER => 3; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 3 | ▶ | use constant BUREAUCRAT => 4; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 3 | ▶ | use constant DIPLOMAT => 5; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 3 | ▶ | use constant DOCTOR => 6; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 3 | ▶ | use constant FLYER => 7; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 3 | ▶ | use constant HUNTER => 8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 3 | ▶ | use constant MARINE => 9; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 3 | ▶ | use constant MERCHANT => 10; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 3 | ▶ | use constant NAVY => 11; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 3 | ▶ | use constant NOBLE => 12; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 3 | ▶ | use constant OTHER => 13; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 3 | ▶ | use constant PIRATE => 14; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | 3 | ▶ | use constant ROGUE => 15; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 27 | 3 | ▶ | use constant SAILOR => 16; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | 3 | ▶ | use constant SCIENTIST => 17; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | 3 | ▶ | use constant SCOUT => 18; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 30 | |||
| 31 | 3 | my @career_strings = qw/ undef | |
| 32 | Army Barbarian Belter Bureaucrat Diplomat Doctor Flyer Hunter Marine | ||
| 33 | Merchant Navy Noble Other Pirate Rogue Sailor Scientist Scout | ||
| 34 | /; | ||
| 35 | |||
| 36 | # Skill related constants | ||
| 37 | 3 | ▶ | use constant ACEDEMIC => 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 38 | 3 | ▶ | use constant ADAVNCED_COMBAT_RIFLE => 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 39 | 3 | ▶ | use constant ADMINISTRATON => 3; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 40 | 3 | ▶ | use constant AIRCRAFT => 4; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 41 | 3 | ▶ | use constant ANIMAL_HANDLING => 5; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 42 | 3 | ▶ | use constant ARCHAIC_WEAPONS => 6; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 43 | 3 | ▶ | use constant ARTISAN => 7; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 44 | 3 | ▶ | use constant ASSUAL_RIFLE => 8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 45 | 3 | ▶ | use constant AUTOCANNON => 9; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 46 | 3 | ▶ | use constant AXE => 10; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 47 | 3 | ▶ | use constant BATTLE_AXE => 11; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 48 | 3 | ▶ | use constant BATTLE_DRESS => 12; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 49 | 3 | ▶ | use constant BAYONET => 13; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 50 | 3 | ▶ | use constant BIOLOGY => 14; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 51 | 3 | ▶ | use constant BLADE => 15; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 52 | 3 | ▶ | use constant BLADE_COMBAT => 16; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 53 | 3 | ▶ | use constant BLOWGUN => 17; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 54 | 3 | ▶ | use constant BODY_PISTOL => 18; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 55 | 3 | ▶ | use constant BOLA => 19; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 56 | 3 | ▶ | use constant BOOMERANG => 20; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 57 | 3 | ▶ | use constant BOW => 21; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 58 | 3 | ▶ | use constant BRAWLING => 22; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 59 | 3 | ▶ | use constant BRIBERY => 23; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 60 | 3 | ▶ | use constant BROADSWORD => 24; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 61 | 3 | ▶ | use constant BROKER => 25; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 62 | 3 | ▶ | use constant CARBINE => 26; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 63 | 3 | ▶ | use constant CAROUSING => 27; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 64 | 3 | ▶ | use constant CHEMISTRY => 28; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 65 | 3 | ▶ | use constant COMBAT_ENGINEERING => 29; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 66 | 3 | ▶ | use constant COMMUNICATIONS => 30; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 67 | 3 | ▶ | use constant COMPUTER => 31; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 68 | 3 | ▶ | use constant CROSSBOW => 32; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 69 | 3 | ▶ | use constant CUDGEL => 33; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 70 | 3 | ▶ | use constant CUTLASS => 34; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 71 | 3 | ▶ | use constant DAGGER => 35; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 72 | 3 | ▶ | use constant DEMOLITION => 36; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 73 | 3 | ▶ | use constant DEMOLITIONS => 37; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 74 | 3 | ▶ | use constant DISGUISE => 38; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 75 | 3 | ▶ | use constant EARLY_FIREARMS => 39; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 76 | 3 | ▶ | use constant ECONOMIC => 40; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 77 | 3 | ▶ | use constant ELECTRONICS => 41; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 78 | 3 | ▶ | use constant ENERGY_WEAPONS => 42; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 79 | 3 | ▶ | use constant ENGINEERING => 43; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 80 | 3 | ▶ | use constant ENVIRONMENTAL => 44; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 81 | 3 | ▶ | use constant EQUESTRIAN => 45; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 82 | 3 | ▶ | use constant EXPLORATION => 46; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 83 | 3 | ▶ | use constant FIELD_ARTILLERY_GUNNERY => 47; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 84 | 3 | ▶ | use constant FOIL => 48; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 85 | 3 | ▶ | use constant FORENSIC => 49; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 86 | 3 | ▶ | use constant FORWARD_OBSERVER => 50; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 87 | 3 | ▶ | use constant FUSION_GUN => 51; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 88 | 3 | ▶ | use constant GAMBLING => 52; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 89 | 3 | ▶ | use constant GAUSS_RIFLE => 53; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 90 | 3 | ▶ | use constant GENETICS => 54; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 91 | 3 | ▶ | use constant GRAV_BELT => 55; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 92 | 3 | ▶ | use constant GRAV_VEHICLE => 56; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 93 | 3 | ▶ | use constant GRAVITICS => 57; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 94 | 3 | ▶ | use constant GRENADE_LAUNCHER => 58; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 95 | 3 | ▶ | use constant GUARD_HUNTING_BEASTS => 59; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 96 | 3 | ▶ | use constant GUN_COMBAT => 60; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 97 | 3 | ▶ | use constant GUNNERY => 61; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 98 | 3 | ▶ | use constant HALBERD => 62; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 99 | 3 | ▶ | use constant HAND_AXE => 63; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 100 | 3 | ▶ | use constant HAND_COMBAT => 64; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 101 | 3 | ▶ | use constant HANDGUN => 65; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 102 | 3 | ▶ | use constant HEAVY_WEAPONS => 66; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 103 | 3 | ▶ | use constant HELICOPTER => 67; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 104 | 3 | ▶ | use constant HERDING => 68; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 105 | 3 | ▶ | use constant HIGH_ENERGY_WEAPONS => 69; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 106 | 3 | ▶ | use constant HIGH_GRAVITY_ENVIRONMENT => 70; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 107 | 3 | ▶ | use constant HISTORY => 71; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 108 | 3 | ▶ | use constant HOVERCRAFT => 72; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 109 | 3 | ▶ | use constant HUNTING => 73; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 110 | 3 | ▶ | use constant INBORN => 74; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 111 | 3 | ▶ | use constant INSTRUCTION => 75; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 112 | 3 | ▶ | use constant INTERPERSONAL => 76; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 113 | 3 | ▶ | use constant INTERROGATION => 77; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 114 | 3 | ▶ | use constant INTERVIEW => 78; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 115 | 3 | ▶ | use constant JACK_OF_ALL_TRADES => 79; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 116 | 3 | ▶ | use constant JET_PROPELLED_AIRCRAFT => 80; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 117 | 3 | ▶ | use constant LARGE_BLADE => 81; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 118 | 3 | ▶ | use constant LARGE_WATERCRAFT => 82; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 119 | 3 | ▶ | use constant LASER_PISTOL => 83; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 120 | 3 | ▶ | use constant LASER_RIFLE => 84; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 121 | 3 | ▶ | use constant LEADER => 85; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 122 | 3 | ▶ | use constant LEGAL => 86; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 123 | 3 | ▶ | use constant LIAISON => 87; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 124 | 3 | ▶ | use constant LIGHT_ASSAULT_GUN => 88; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 125 | 3 | ▶ | use constant LIGHTER_THAN_AIRCRAFT => 89; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 126 | 3 | ▶ | use constant LINGUISTICS => 90; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 127 | 3 | ▶ | use constant MACHINE_GUN => 91; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 128 | 3 | ▶ | use constant MASS_DRIVERS => 92; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 129 | 3 | ▶ | use constant MECHANICAL => 93; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 130 | 3 | ▶ | use constant MEDICAL => 94; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 131 | 3 | ▶ | use constant MENTAL => 95; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 132 | 3 | ▶ | use constant MESON_GUNS => 96; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 133 | 3 | ▶ | use constant MORTARS_AND_HOWITZERS => 97; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 134 | 3 | ▶ | use constant NAVAL_ARCHITECT => 98; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 135 | 3 | ▶ | use constant NAVIGATION => 99; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 136 | 3 | ▶ | use constant NEURAL_PISTOL => 100; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 137 | 3 | ▶ | use constant NEURAL_RIFLE => 101; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 138 | 3 | ▶ | use constant NEURAL_WEAPONS => 102; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 139 | 3 | ▶ | use constant PERSUASION => 103; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 140 | 3 | ▶ | use constant PHYSICAL => 104; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 141 | 3 | ▶ | use constant PHYSICS => 105; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 142 | 3 | ▶ | use constant PIKE => 106; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 143 | 3 | ▶ | use constant PILOT => 107; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 144 | 3 | ▶ | use constant PISTOL => 108; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 145 | 3 | ▶ | use constant PLASMA_GUN => 109; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 146 | 3 | ▶ | use constant POLEARM => 110; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 147 | 3 | ▶ | use constant PROPELLER_DRIVEN_AIRCRAFT => 111; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 148 | 3 | ▶ | use constant PROSPECTING => 112; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 149 | 3 | ▶ | use constant RECON => 113; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 150 | 3 | ▶ | use constant RECRUITING => 114; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 151 | 3 | ▶ | use constant REVOLVER => 115; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 152 | 3 | ▶ | use constant RIFLE => 116; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 153 | 3 | ▶ | use constant ROBOT_OPERATIONS => 117; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 154 | 3 | ▶ | use constant ROBOTICS => 118; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 155 | 3 | ▶ | use constant SCIENCE => 119; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 156 | 3 | ▶ | use constant SCREENS => 120; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 157 | 3 | ▶ | use constant SENSOR_OPERATIONS => 121; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 158 | 3 | ▶ | use constant SHIPS_BOAT => 122; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 159 | 3 | ▶ | use constant SHIPS_TACTICS => 123; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 160 | 3 | ▶ | use constant SLING => 124; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 161 | 3 | ▶ | use constant SMALL_BLADE => 125; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 162 | 3 | ▶ | use constant SMALL_WATERCRAFT => 126; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 163 | 3 | ▶ | use constant SNUB_PISTOL => 127; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 164 | 3 | ▶ | use constant SPACE => 128; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 165 | 3 | ▶ | use constant SPACE_COMBAT => 129; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 166 | 3 | ▶ | use constant SPEAR => 130; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 167 | 3 | ▶ | use constant SPECIAL_COMBAT => 131; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 168 | 3 | ▶ | use constant SPECIAL_TECHNOLOGY => 132; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 169 | 3 | ▶ | use constant SPINAL_MOUNTS => 133; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 170 | 3 | ▶ | use constant STEALTH => 134; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 171 | 3 | ▶ | use constant STEWARD => 135; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 172 | 3 | ▶ | use constant STREETWISE => 136; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 173 | 3 | ▶ | use constant SUBMACHINEGUN => 137; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 174 | 3 | ▶ | use constant SURVEY => 138; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 175 | 3 | ▶ | use constant SURVIVAL => 139; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 176 | 3 | ▶ | use constant SWORD => 140; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 177 | 3 | ▶ | use constant TACTICS => 141; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 178 | 3 | ▶ | use constant TECHNICAL => 142; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 179 | 3 | ▶ | use constant TRACKED_VEHICLE => 143; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 180 | 3 | ▶ | use constant TRADER => 144; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 181 | 3 | ▶ | use constant TURRET_WEAPONS => 145; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 182 | 3 | ▶ | use constant VRF_GAUSE_GUN => 146; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 183 | 3 | ▶ | use constant VACCUM_SUIT => 147; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 184 | 3 | ▶ | use constant VEHICLE => 148; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 185 | 3 | ▶ | use constant VICE => 149; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 186 | 3 | ▶ | use constant ZERO_G_ENVIRONMENT => 150; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 187 | 3 | ▶ | use constant LAST_SKILL => 150; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 188 | |||
| 189 | # Conversion of integers to alpha | ||
| 190 | 3 | ▶ | use constant GAPPEDALPHA => qw/ |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 191 | 0 1 2 3 4 5 6 7 8 9 | ||
| 192 | A B C D E F G H J | ||
| 193 | K L M N P Q R S T | ||
| 194 | 3 | U V W X Y Z /; | |
| 195 | |||
| 196 | 3 | ▶ | use constant NONGAPPEDALPHA => qw/ |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 197 | 0 1 2 3 4 5 6 7 8 9 | ||
| 198 | A B C D E F G H I J | ||
| 199 | K L M N O P Q R S T | ||
| 200 | 3 | U V W X Y Z /; | |
| 201 | |||
| 202 | 3 | our %EXPORT_TAGS = ( | |
| 203 | 'all' => [ | ||
| 204 | qw( | ||
| 205 | ACEDEMIC ADAVNCED_COMBAT_RIFLE ADMINISTRATON AIRCRAFT ANIMAL_HANDLING | ||
| 206 | ARCHAIC_WEAPONS ARTISAN ASSUAL_RIFLE AUTOCANNON AXE BATTLE_AXE | ||
| 207 | BATTLE_DRESS BAYONET BIOLOGY BLADE BLADE_COMBAT BLOWGUN BODY_PISTOL | ||
| 208 | BOLA BOOMERANG BOW BRAWLING BRIBERY BROADSWORD BROKER CARBINE | ||
| 209 | CAROUSING CHEMISTRY COMBAT_ENGINEERING COMMUNICATIONS COMPUTER | ||
| 210 | CROSSBOW CUDGEL CUTLASS DAGGER DEMOLITION DEMOLITIONS DISGUISE | ||
| 211 | EARLY_FIREARMS ECONOMIC ELECTRONICS ENERGY_WEAPONS ENGINEERING | ||
| 212 | ENVIRONMENTAL EQUESTRIAN EXPLORATION FIELD_ARTILLERY_GUNNERY FOIL | ||
| 213 | FORENSIC FORWARD_OBSERVER FUSION_GUN GAMBLING GAUSS_RIFLE GENETICS | ||
| 214 | GRAV_BELT GRAV_VEHICLE GRAVITICS GRENADE_LAUNCHER GUARD_HUNTING_BEASTS | ||
| 215 | GUN_COMBAT GUNNERY HALBERD HAND_AXE HAND_COMBAT HANDGUN HEAVY_WEAPONS | ||
| 216 | HELICOPTER HERDING HIGH_ENERGY_WEAPONS HIGH_GRAVITY_ENVIRONMENT | ||
| 217 | HISTORY HOVERCRAFT HUNTING INBORN INSTRUCTION INTERPERSONAL | ||
| 218 | INTERROGATION INTERVIEW JACK_OF_ALL_TRADES JET_PROPELLED_AIRCRAFT | ||
| 219 | LARGE_BLADE LARGE_WATERCRAFT LASER_PISTOL LASER_RIFLE LEADER LEGAL | ||
| 220 | LIAISON LIGHT_ASSAULT_GUN LIGHTER_THAN_AIRCRAFT LINGUISTICS | ||
| 221 | MACHINE_GUN MASS_DRIVERS MECHANICAL MEDICAL MENTAL MESON_GUNS | ||
| 222 | MORTARS_AND_HOWITZERS NAVAL_ARCHITECT NAVIGATION NEURAL_PISTOL | ||
| 223 | NEURAL_RIFLE NEURAL_WEAPONS PERSUASION PHYSICAL PHYSICS PIKE PILOT | ||
| 224 | PISTOL PLASMA_GUN POLEARM PROPELLER_DRIVEN_AIRCRAFT PROSPECTING RECON | ||
| 225 | RECRUITING REVOLVER RIFLE ROBOT_OPERATIONS ROBOTICS SCIENCE SCREENS | ||
| 226 | SENSOR_OPERATIONS SHIPS_BOAT SHIPS_TACTICS SLING SMALL_BLADE | ||
| 227 | SMALL_WATERCRAFT SNUB_PISTOL SPACE SPACE_COMBAT SPEAR SPECIAL_COMBAT | ||
| 228 | SPECIAL_TECHNOLOGY SPINAL_MOUNTS STEALTH STEWARD STREETWISE | ||
| 229 | SUBMACHINEGUN SURVEY SURVIVAL SWORD TACTICS TECHNICAL TRACKED_VEHICLE | ||
| 230 | TRADER TURRET_WEAPONS VRF_GAUSE_GUN VACCUM_SUIT VEHICLE VICE | ||
| 231 | ZERO_G_ENVIRONMENT LAST_SKILL int2skill | ||
| 232 | ARMY BARBARIAN BELTER BUREAUCRAT DIPLOMAT DOCTOR FLYER HUNTER MARINE | ||
| 233 | MERCHANT NAVY NOBLE OTHER PIRATE ROGUE SAILOR SCIENTIST SCOUT | ||
| 234 | int2career GAPPEDALPHA NONGAPPEDALPHA int2alpha int2galpha | ||
| 235 | ) | ||
| 236 | ] | ||
| 237 | ); | ||
| 238 | |||
| 239 | 3 | our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | |
| 240 | |||
| 241 | 3 | my @skill_strings = ( | |
| 242 | undef, "Acedemic", | ||
| 243 | "Adavnced Combat Rifle", "Administraton", | ||
| 244 | "Aircraft", "Animal Handling", | ||
| 245 | "Archaic Weapons", "Artisan", | ||
| 246 | "Assual Rifle", "Autocannon", | ||
| 247 | "Axe", "Battle Axe", | ||
| 248 | "Battle Dress", "Bayonet", | ||
| 249 | "Biology", "Blade", | ||
| 250 | "Blade Combat", "Blowgun", | ||
| 251 | "Body Pistol", "Bola", | ||
| 252 | "Boomerang", "Bow", | ||
| 253 | "Brawling", "Bribery", | ||
| 254 | "Broadsword", "Broker", | ||
| 255 | "Carbine", "Carousing", | ||
| 256 | "Chemistry", "Combat Engineering", | ||
| 257 | "Communications", "Computer", | ||
| 258 | "Crossbow", "Cudgel", | ||
| 259 | "Cutlass", "Dagger", | ||
| 260 | "Demolition", "Demolitions", | ||
| 261 | "Disguise", "Early Firearms", | ||
| 262 | "Economic", "Electronics", | ||
| 263 | "Energy Weapons", "Engineering", | ||
| 264 | "Environmental", "Equestrian", | ||
| 265 | "Exploration", "Field Artillery Gunnery", | ||
| 266 | "Foil", "Forensic", | ||
| 267 | "Forward Observer", "Fusion Gun", | ||
| 268 | "Gambling", "Gauss Rifle", | ||
| 269 | "Genetics", "Grav Belt", | ||
| 270 | "Grav Vehicle", "Gravitics", | ||
| 271 | "Grenade Launcher", "Guard Hunting Beasts", | ||
| 272 | "Gun Combat", "Gunnery", | ||
| 273 | "Halberd", "Hand Axe", | ||
| 274 | "Hand Combat", "Handgun", | ||
| 275 | "Heavy Weapons", "Helicopter", | ||
| 276 | "Herding", "High Energy Weapons", | ||
| 277 | "High Gravity Environment", "History", | ||
| 278 | "Hovercraft", "Hunting", | ||
| 279 | "Inborn", "Instruction", | ||
| 280 | "Interpersonal", "Interrogation", | ||
| 281 | "Interview", "Jack Of All Trades", | ||
| 282 | "Jet Propelled Aircraft", "Large Blade", | ||
| 283 | "Large Watercraft", "Laser Pistol", | ||
| 284 | "Laser Rifle", "Leader", | ||
| 285 | "Legal", "Liaison", | ||
| 286 | "Light Assault Gun", "Lighter Than Aircraft", | ||
| 287 | "Linguistics", "Machine Gun", | ||
| 288 | "Mass Drivers", "Mechanical", | ||
| 289 | "Medical", "Mental", | ||
| 290 | "Meson Guns", "Mortars and Howitzers", | ||
| 291 | "Naval Architect", "Navigation", | ||
| 292 | "Neural Pistol", "Neural Rifle", | ||
| 293 | "Neural Weapons", "Persuasion", | ||
| 294 | "Physical", "Physics", | ||
| 295 | "Pike", "Pilot", | ||
| 296 | "Pistol", "Plasma Gun", | ||
| 297 | "Polearm", "Propeller Driven Aircraft", | ||
| 298 | "Prospecting", "Recon", | ||
| 299 | "Recruiting", "Revolver", | ||
| 300 | "Rifle", "Robot Operations", | ||
| 301 | "Robotics", "Science", | ||
| 302 | "Screens", "Sensor Operations", | ||
| 303 | "Ship's Boat", "Ship's Tactics", | ||
| 304 | "Sling", "Small Blade", | ||
| 305 | "Small Watercraft", "Snub Pistol", | ||
| 306 | "Space", "Space Combat", | ||
| 307 | "Spear", "Special Combat", | ||
| 308 | "Special Technology", "Spinal Mounts", | ||
| 309 | "Stealth", "Steward", | ||
| 310 | "Streetwise", "Submachinegun", | ||
| 311 | "Survey", "Survival", | ||
| 312 | "Sword", "Tactics", | ||
| 313 | "Technical", "Tracked Vehicle", | ||
| 314 | "Trader", "Turret Weapons", | ||
| 315 | "VRF Gause Gun", "Vaccum Suit", | ||
| 316 | "Vehicle", "Vice", | ||
| 317 | "Zero-G Environment", | ||
| 318 | ); | ||
| 319 | |||
| 320 | 1 | ▶ | sub int2skill { |
|
Subroutine
int2skill: called CC=1 SCAR=0.0
Pod
documented
| |||
| 321 | 1 | return $skill_strings[ $_[0] ]; | |
| 322 | } | ||
| 323 | |||
| 324 | 1 | ▶ | sub int2career { |
|
Subroutine
int2career: called CC=1 SCAR=0.0
Pod
documented
| |||
| 325 | 1 | return $career_strings[ $_[0] ]; | |
| 326 | } | ||
| 327 | |||
| 328 | 12 | ▶ | sub int2alpha { |
|
Subroutine
int2alpha: called CC=1 SCAR=0.0
Pod
documented
| |||
| 329 | 12 | return (NONGAPPEDALPHA)[ $_[0] ]; | |
| 330 | } | ||
| 331 | |||
| 332 | 0 | ▶ | sub int2galpha { |
|
Subroutine
int2galpha: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 333 | 0 | return (GAPPEDALPHA)[ $_[0] ]; | |
| 334 | } | ||
| 335 | |||
| 336 | 3 | 1; | |
| 337 | |||
| 338 | __END__ | ||