8,756
edits
(split code stuff into own module) |
mNo edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
local p | local p = {} | ||
--[1 NAME, stats (2 STR, 3 AGI, 4 TUF, 5 INT, 6 WIL, 7 EGO),]-- | --[1 NAME, stats (2 STR, 3 AGI, 4 TUF, 5 INT, 6 WIL, 7 EGO),]-- | ||
--[8 Skills, Resist(9 ACID, 10 ELEC, 11 COLD, 12 HEAT, 13 BLEED), 14 bonusstart]-- | --[8 Skills, Resist(9 ACID, 10 ELEC, 11 COLD, 12 HEAT, 13 BLEED), 14 bonusstart]-- | ||
caste = { | |||
--[The Toxic Arboreta of Ekuemekiyye, the Holy City] | --[The Toxic Arboreta of Ekuemekiyye, the Holy City] | ||
['a'] = { "Horticulturist", 0, 0, 0, 3, 0, 0, "Harvestry, Axe Proficiency, Steady Hands, Draw a Bead, Wilderness Lore: Jungles", 0, 0, 0, 0, 2, "Start with a bio-scanning bracelet" }, | ['a'] = { "Horticulturist", 0, 0, 0, 3, 0, 0, "Harvestry, Axe Proficiency, Steady Hands, Draw a Bead, Wilderness Lore: Jungles", 0, 0, 0, 0, 2, "Start with a bio-scanning bracelet" }, | ||
Line 23: | Line 22: | ||
--[NAME, stats (STR, AGI, TUF, INT, WIL, EGO),]-- | --[NAME, stats (STR, AGI, TUF, INT, WIL, EGO),]-- | ||
--[Skills, Resist(ACID, ELEC, COLD, HEAT, BLEED), bonusstart]-- | --[Skills, Resist(ACID, ELEC, COLD, HEAT, BLEED), bonusstart]-- | ||
calling = { | |||
['a'] = { "Apostle", 0, 0, 0, 0, 0, 2, "Intimidate, Proselytize, Tactful", 0, 0, 0, 0, 0, "" }, | ['a'] = { "Apostle", 0, 0, 0, 0, 0, 2, "Intimidate, Proselytize, Tactful", 0, 0, 0, 0, 0, "" }, | ||
['b'] = { "Arconaut", 0, 2, 0, 0, 0, 0, "Short Blades Proficiency, Scavenger, Gadget Inspector, Spry", 0, 0, 0, 0, 0, "Start with random junk and artifacts" }, | ['b'] = { "Arconaut", 0, 2, 0, 0, 0, 0, "Short Blades Proficiency, Scavenger, Gadget Inspector, Spry", 0, 0, 0, 0, 0, "Start with random junk and artifacts" }, | ||
Line 38: | Line 37: | ||
} | } | ||
statBonus = { | |||
['Doubled-muscled'] = {2, 0, 0, 0, 0, 0}, | |||
['Triple-jointed'] = {0, 2, 0, 0, 0, 0}, | |||
['Two-hearted'] = {0, 0, 2, 0, 0, 0}, | |||
['Beak'] = {0, 0, 0, 0, 0, 1}, | |||
['No Cybernetic'] = {0, 0, 1, 0, 0, 0} | |||
} | |||
muts = { | |||
['aa'] = {"Chimera", ""}, | |||
['ab'] = {"Esper", ""}, | |||
['uu'] = {"Unstable Genome", ""}, | |||
['ba'] = {"Adrenal Control", ""}, | |||
['bb'] = {"Burrowing Claws", ""}, | |||
['bc'] = {"Carapace", ""}, | |||
['bd'] = {"Corrosive Gas Generation", ""}, | |||
['be'] = {"Double-muscled", ""}, | |||
['bf'] = {"Electrical Generation", ""}, | |||
['bg'] = {"Electromagnetic Pulse", ""}, | |||
['bh'] = {"Flaming Ray", ""}, | |||
['bi'] = {"Freezing Ray", ""}, | |||
['bj'] = {"Heightened Hearing", ""}, | |||
['bk'] = {"Heightened Quickness", ""}, | |||
['bl'] = {"Horns", ""}, | |||
['bm'] = {"Metamorphosis", ""}, | |||
['bn'] = {"Multiple Arms", ""}, | |||
['bo'] = {"Multiple Legs", ""}, | |||
['bp'] = {"Night Vision", ""}, | |||
['bq'] = {"Phasing", ""}, | |||
['br'] = {"Photosynthetic Skin", ""}, | |||
['bs'] = {"Quills", ""}, | |||
['bt'] = {"Regeneration", ""}, | |||
['bu'] = {"Sleep Gas Generation", ""}, | |||
['bv'] = {"Slime Glands", ""}, | |||
['bw'] = {"Spinnerets", ""}, | |||
['bx'] = {"Stinger (Confusing Venom)", ""}, | |||
['by'] = {"Stinger (Paralyzing Venom)", ""}, | |||
['bz'] = {"Stinger (Poisoning Venom)", ""}, | |||
['b1'] = {"Thick Fur", ""}, | |||
['b2'] = {"Triple-jointed", ""}, | |||
['b3'] = {"Two-headed", ""}, | |||
['b4'] = {"Two-hearted", ""}, | |||
['b5'] = {"Wings", ""}, | |||
['b6'] = {"Carnivorous", ""}, | |||
['ca'] = {"Albino", ""}, | |||
['cb'] = {"Amphibious", ""}, | |||
['cc'] = {"Nerve Poppy", ""}, | |||
['cd'] = {"Beak", ""}, | |||
['ce'] = {"Cold Blooded", ""}, | |||
['cf'] = {"Brittle Bones", ""}, | |||
['cf'] = {"Electromagnetic Impulse", ""}, | |||
['ch'] = {"Hemophilia", ""}, | |||
['ci'] = {"Hooks for Feet", ""}, | |||
['cj'] = {"Myopic", ""}, | |||
['ck'] = {"I forgor", ""}, | |||
['cl'] = {"Spontaneous Combustion", ""}, | |||
['cm'] = {"Tonic Allergy", ""}, | |||
['cn'] = {"Irritable Genome", ""}, | |||
['da'] = {"Beguiling", ""}, | |||
['db'] = {"Burgeoning", ""}, | |||
['dc'] = {"Clairvoyance", ""}, | |||
['dd'] = {"Confusion", ""}, | |||
['de'] = {"Cryokinesis", ""}, | |||
['df'] = {"Domination", ""}, | |||
['dg'] = {"Disintegration", ""}, | |||
['dh'] = {"Ego Projection", ""}, | |||
['di'] = {"Force Bubble", ""}, | |||
['dj'] = {"Force Wall", ""}, | |||
['dk'] = {"Kindle", ""}, | |||
['dl'] = {"Light Manipulation", ""}, | |||
['dm'] = {"Mass Mind", ""}, | |||
['dn'] = {"Mental Mirror", ""}, | |||
['do'] = {"Precognition", ""}, | |||
['dp'] = {"Psychometry", ""}, | |||
['dq'] = {"Pyrokinesis", ""}, | |||
['dr'] = {"Sense Psychic", ""}, | |||
['ds'] = {"Space-Time Vortex", ""}, | |||
['dt'] = {"Stunning Force", ""}, | |||
['du'] = {"Sunder Mind", ""}, | |||
['dv'] = {"Syphon Vim", ""}, | |||
['dw'] = {"Telepathy", ""}, | |||
['dx'] = {"Teleportation", ""}, | |||
['dy'] = {"Teleport Other", ""}, | |||
['d1'] = {"Temporal Fugue", ""}, | |||
['dz'] = {"Time Dilation", ""}, | |||
['ea'] = {"Amnesia", ""}, | |||
['eb'] = {"Blinking Tic", ""}, | |||
['ec'] = {"Evil Twin", ""}, | |||
['ed'] = {"Narcolepsy", ""}, | |||
['ee'] = {"??", ""}, | |||
['ef'] = {"Socially Repugnant", ""}, | |||
['eg'] = {"Unwelcome Germination", ""}, | |||
['eh'] = {"Quantum Jitters", ""}, | |||
['ei'] = {"Dystechnia", ""}, | |||
['ow'] = {"Psionic Migraines", ""}, | |||
['u2'] = {"Unstable Genome(2)", ""}, | |||
['u3'] = {"Unstable Genome(3)", ""}, | |||
['u4'] = {"Unstable Genome(4)", ""}, | |||
['u5'] = {"Unstable Genome(5)", ""}, | |||
['u6'] = {"Unstable Genome(6)", ""}, | |||
['u7'] = {"Unstable Genome(7)", ""}, | |||
['u8'] = {"Unstable Genome(8)", ""}, | |||
['u9'] = {"Unstable Genome(9)", ""}, | |||
['00'] = {"No Cybernetic", ""}, | |||
['01'] = {"dermal insulation", ""}, | |||
['02'] = {"dermal insulation", ""}, | |||
['03'] = {"dermal insulation", ""}, | |||
['04'] = {"optical bioscanner", ""}, | |||
['05'] = {"optical technoscanner", ""}, | |||
['06'] = {"night vision", ""}, | |||
['07'] = {"hyper-elastic ankle tendons", ""}, | |||
['08'] = {"parabolic muscular subroutine", ""}, | |||
['09'] = {"translucent skin", ""}, | |||
['10'] = {"translucent skin", ""}, | |||
['11'] = {"stabilizer arm locks", ""}, | |||
['12'] = {"rapid release finger flexors", ""}, | |||
['13'] = {"carbide hand bones", ""}, | |||
['14'] = {"pentaceps", ""}, | |||
['15'] = {"inflatable axons", ""} | |||
} | |||
function p.TrueKinSubtype(code) | function p.TrueKinSubtype(code) | ||
Line 154: | Line 166: | ||
function p.MutantSubtype(code) | function p.MutantSubtype(code) | ||
return calling[code] | return calling[code] | ||
end | |||
function p.getStatBonus(code) | |||
return statBonus[code] | |||
end | end | ||
Line 159: | Line 175: | ||
if code ~= nil and code == '16' then | if code ~= nil and code == '16' then | ||
if subtypeC < 'e' then | if subtypeC < 'e' then | ||
return { 'nocturnal apex' | return { 'nocturnal apex'} | ||
elseif subtypeC < 'i' then | elseif subtypeC < 'i' then | ||
return { 'cherubic visage' | return { 'cherubic visage'} | ||
else | else | ||
return { 'air current microsensor' | return { 'air current microsensor'} | ||
end | end | ||
else | else | ||
return muts[code] | return muts[code] | ||
end | end | ||
end | end | ||
return p | return p |