Files
roll20-character-sheets-tester/Shadowrun4thEdition/src/js/attributes.js
T
Cassie Levett 817909b313 Shadowrun 4th Edition v1 (#6160)
* initial upload

* save 4e start

* saving

* save color updates

* remove limits

* update the colors

* save changes

* begin refactoring names

* fix attribute changes

* save progress. commlinks added

* move attrs to match hero lab

* hide the other sheets until they are converted

* fix translation keys

* update drain, update roll template

* make d6 explode

* save css upates

* move stuff around, fix primary weapons, add skills, add program buttons

* add spec to programs

* save shadowrun progress

* fix primary bug

* update force in npc buttons

* remove unit tests

* add to core ratings

* save preview images
2020-04-13 10:36:51 -07:00

47 lines
2.7 KiB
JavaScript

const sheetAttributes = {
attributes: ['body', 'agility', 'reaction', 'strength', 'willpower', 'logic', 'intuition', 'charisma', 'edge'],
translationsAttributes: ['attribute', 'body', 'agility', 'reaction', 'strength', 'willpower', 'logic', 'intuition', 'charisma', 'edge', 'none'],
repeating: ['quality', 'martial', 'items', 'range', 'melee', 'armor', 'spell', 'preps', 'ritual', 'powers', 'forms', 'vehicle', 'augementations', 'lifestyle', 'contacts', 'programs'],
repeatingSkills: ['active', 'knowledge', 'language'],
tabs: [`core`, `arms`, `augs`, `gear`, `magic`, `matrix`, `social`, `vehicle`, `options`],
woundCalculation: ['high_pain_tolerance', 'low_pain_tolerance', 'damage_compensators_physical', 'damage_compensators_stun', 'stun', 'physical'],
calculatedAttributes: ['body', 'agility', 'reaction', 'strength', 'willpower', 'logic', 'intuition','charisma','magic', 'resonance', 'attack', 'sleaze', 'data_processing', 'firewall'],
initiative: ['reaction', 'intuition', 'initiative_modifier', 'initiative_temp', 'initiative_temp_flag'],
initiative_passes: ['initiative_passes_base', 'initiative_passes_modifier', 'initiative_passes_temp', 'initiative_passes_temp_flag'],
astral_initiative: ['intuition', 'astral_initiative_modifier'],
matrix_initiative: [],
derivedAttributes: ['memory', 'composure', 'defense', 'soak', 'overflow', 'judge_intentions', 'lift_carry'],
lift_carry: ['body', 'strength', 'lift_carry_modifier'],
overflow: ['body', 'overflow_modifier'],
soak: ['body', 'soak_modifier', 'soak_temp', `soak_temp_flag`],
defense: ['reaction', 'defense_modifier', 'defense_temp', `defense_temp_flag`],
judge_intentions: ['charisma', 'intuition', 'judge_intentions_modifier'],
composure: ['charisma', 'willpower', 'composure_modifier'],
memory: ['logic', 'willpower', 'memory_modifier'],
conditionTracks: ['stun', 'physical', 'matrix'],
physical: ['physical_modifier', 'body', 'sheet_type', 'flag_drone'],
stun: ['stun_modifier', 'willpower'],
matrix: ['matrix_modifier', 'device_rating'],
stunCharacters: ['grunt', 'pc'],
physicalCharacters: ['grunt', 'pc', 'vehicle'],
matrixCharacters: ['vehicle', 'host', 'sprite'],
matrixAttributes: ['attack', 'sleaze', 'data_processing', 'firewall'],
weaponTypes: ['range', 'melee'],
rangeAttributes: ['dicepool', 'weapon', 'damage', 'ap', 'skill', 'ammo', 'mode', 'recoil'],
meleeAttributes: ['dicepool', 'weapon', 'damage', 'ap', 'skill', 'reach'],
spellTypes: ['spell', 'preps', 'ritual', 'forms'],
armorAttributes: ['name', 'impact', 'ballistic', 'modifier'],
armorSoak: ['modifier', 'rating'],
armorProtections: ['impact', 'acid', 'electrical', 'cold', 'fire', 'falling']
}