Starfinder by Roll20/Appendices
From Roll20 Wiki
Appendix A: Sheet Sections and Attributes/Abilities
This appendix will outline the attributes and ability rolls that you may need for your own custom macros. As usual, attributes are referenced via @{...} and abilities (aka sheet rolls) by %{...}.
Menus, Buffs, & Conditions
Menus
Attributes: attacks_menu, spells_menu, class_X_spellbook, skills_menu, abilities_menu
Abilities: initiative, attacks, saves, abilities, ability_checks, skills, attacks_menu, spells, class_X_spellbook
Buffs
Repeating_buff attributes: name, mods, toggle
Conditions
Repeating_condition attributes: name, track, description, track_status
Attributes: asleep, bleeding, blinded, burning, confused, cowering, dazed, dazzled, dead, deafened, dying, entangled, exhausted, fascinated, fatigued, flat_footed, frightened, grappled, helpless, nauseated, negative_levels, off_kilter, off_target, panicked, paralyzed, pinned, prone, shaken, sickened, stable, staggered, stunned, unconscious
PC Sheet
Character Info, Class Details, & Spellclasses
Hidden attributes: character_level, bab
Character Info
Attributes: character_name, class&level, race, race_hp, theme, size, speed, gender, home_world, alignment, deity, player, and languages.
Class Details
Attributes: class_X_name, class_X_level, class_X_sp, class_X_hp, class_X_bab, class_X_fort, class_X_ref, class_X_will, class_X_skills, and class_X_spells.
Spellclasses
Hidden attributes: caster_level
Attributes: class_X_casting_ability, class_X_spell_progression, class_X_cantrips_per_day,class_X_cantrips_per_day|max, class_X_level_N_spells_per_day, and class_X_level_N_spells_per_day|max
Initiative & XP
Attributes: initiative, initiative_ability
Abilities: initiative
Ability Scores
All of your ability scores are contained here. Only the strength attributes are listed here, but the others follow an identical naming scheme.
Attributes: strength_mod, strength_base, strength, strength_penalty, strength_drain Ability check rolls are contained in sheet rolls named for each ability score (e.g. %{strength}).
Abilities: strength
Health
Attributes: sp, hp, rp, and temp_hp
Armor Class
Attributes: eac, eac_armor, eac_ability, kac, kac_armor, kac_ability, cmd, dr, and ac_notes
Saving Throws
Attributes: fort, fort_base, fort_ability, ref, ref_base, ref_ability, will, will_base, will_ability, and save_notes
Abilities: fort, ref, will
Skills
Only the life science attributes and abilities are displayed, but all skills except for the profession section follow the same naming scheme as the life science fields.
Attributes: skill_points, life_science, life_science_ranks, life_science_class_skill, life_science_ability, life_science_acp and life_science_notes
Abilities: life_science
Repeating_profession attributes: profession, ranks, class_skill, ability, acp, notes, name
Equipment
Attributes: carried_bulk, encumber_bulk, and overburden_bulk, credits, wealth, and upb
Repeating_item attributes: name, equipped, quantity, bulk, cost, level, purpose, type, proficiency, uses, mods, attacher, description, id
Repeating_item abilities: roll
Attacks
Repeating_attack attributes: name, level, proficiency, category, ability, bonus, range, engagement_range, damage_dice, damage_ability, type, crit, ammo_type, ammo, ammo|max, usage, special, total, damage_total, attacher, proficiency_value, damage_proficiency_value, full_attack_query, full_attack_number, full_attack_penalty
Repeating_attack abilities: roll
Abilities
The abilities pane contains the repeating_ability section. Each item in the repeating section has the following attributes (prepend with repeating_ability_$X_) that are displayed by default:
Repeating_ability attributes: name, frequency, source, target, duration, attack_ability, attack_bonus, range, engagement_range, damage_dice, damage_ability, attack_type, attack_crit, usage, uses, uses|max, uses, uses_max_base, save_ability, dc, save_type, effect, save_effect, type, spell_resistance, spell_penetration_misc
Repeating_ability abilities: roll
Spells
Repeating_spell attributes: name, source, target, duration, attack_ability, attack_bonus, range, engagement_range, damage_dice, damage_ability, attack_type, attack_crit, usage, uses, uses|max, uses, uses_max_base, save_ability, dc, save_type, effect, save_effect, school, spell_resistance, spell_penetration_misc
Repeating_spell abilities: roll
NPC Sheet
The NPC sheet uses many of the same attributes as the PC sheet for the final totals used in rolls, however many attributes are entered in a “_base” attribute and then calculated to their final by the sheet. Always enter the value for an attribute as it is in the NPC’s statblock. Many of the attributes that had an ability score drop down retain this feature in the npc sheet. These dropdowns only control what ability score buffs to apply to the attribute, they do not add the unbuffed ability score to the value that you enter.
Statblock Header
Attributes: character_name, character_level, , xp, race, alignment, size, subtype, initiative_base, initiative, initiative_misc, senses, perception_base, perception, aura
Abilities: initiative
Defense
Attributes: hp, rp, eac_base, eac, kac_base, kac, cmd_base, cmd, ac_notes, fort_base, fort, ref_base, ref, will_base, will, save_notes, defensive_abilities, dr, immunities, sr, resistances, weaknesses,
Abilities: fort, ref, will
Offense
Attributes: speed, space, reach, caster_level
Repeating_attack attributes: name, level, ability, bonus, range, engagement_range, damage_dice, damage_ability, type, crit, ammo_type, ammo, ammo|max, usage, special, total, damage_total, attacher, full_attack_query, full_attack_number, full_attack_penalty, base_attack_bonus_base, base_attack_bonus
Repeating_attack abilities: roll
Repeating_spell attributes: name, source, target, duration, attack_ability, attack_bonus, range, engagement_range, damage_dice, damage_ability, attack_type, attack_crit, usage, uses_max_base, save_ability, dc_base, dc, save_type, effect, save_effect, school, spell_resistance, spell_penetration_misc, base_attack_bonus_base, base_attack_bonus
Repeating_spell abilities: roll
Statistics & Ecology
Attributes: strength_base, strength_mod, dexterity_base, dexterity_mod, constitution_base, constitution_mod, intelligence_base, intelligence_mod, wisdom_base, wisdom_mod, charisma_base, charisma_mod, acrobatics_base, acrobatics_mod, acrobatics_ability, athletics_base, athletics_mod, athletics_ability, bluff_base, bluff_mod, bluff_ability, computers_base, computers_mod, computers_ability, culture_base, culture_mod, culture_ability, diplomacy_base, diplomacy_mod, diplomacy_ability, disguise_base, disguise_mod, disguise_ability, engineering_base, engineering_mod, engineering_ability, intimidate_base, intimidate_mod, intimidate_ability, life_science_base, life_science_mod, life_science_ability, medicine_base, medicine_mod, medicine_ability, mysticism_base, mysticism_mod, mysticism_ability, profession_base, profession_mod, profession_ability, perception_base, perception_mod, perception_ability, physical_science_base, physical_science_mod, physical_science_ability, piloting_base, piloting_mod, piloting_ability, sense_motive_base, sense_motive_mod, sense_motive_ability, sleight_of_hand_base, sleight_of_hand_mod, sleight_of_hand_ability, stealth_base, stealth_mod, stealth_ability, survival_base, survival_mod, survival_ability, feats, languages, other_abilities, gear, environment, organization, tactics
Abilities: acrobatics, athletics, bluff, computers, culture, diplomacy, disguise, engineering, intimidate, life_science, medicine, mysticism, profession, perception, physical_science, piloting, sense_motive, sleight_of_hand, stealth, survival
Repeating_profession attributes: name, base, profession, ability
Repeating_profession abilities: roll
Special Abilities
Repeating_ability attributes: name, frequency, source, target, duration, attack_ability, attack_bonus, range, engagement_range, damage_dice, damage_ability, attack_type, attack_crit, usage, uses, uses_max_base, save_ability, dc_base, dc, save_type, effect, save_effect, school, spell_resistance, spell_penetration_misc, base_attack_bonus_base, base_attack_bonus
Repeating_ability abilities: roll
Starship Sheet
Except for a few attributes, the starship sheet uses a completely different attribute scheme from the PC and NPC sheets. The starship sheet is also set up to reference other sheets for crew action dice rolls.
Starship Info
Attributes: character_name, ship_tier, make_model, size, frame, speed, maneuverability, drift_rating
Defenses
Attributes: ac, tl, ship_piloting_ranks, ac_armor, tl_countermeasures, hp, damage_threshold, critical_threshold, shield_total
Crew
Attributes: captain, captain_bonus, engineer, engineer_bonus, pilot, pilot_bonus, science_officer, science_officer_bonus, gunner, gunner_roll, gunner_bonus
Abilities: captain, engineer, pilot, science_officer
Power & Computers
Attributes: ship_pcu, ship_computer, computer_query, ship_sensors, ship_bp
Ship Quadrant Details
Attributes: forward_shields, port_shields, starboard_shields, aft_shields
Weapons (Four arcs, and turret)
Repeating_attack attributes: name, type, class, range, damage_dice, arc, pcu, bp, ammo_type, ammo, special, powered, attacher, description, id
Repeating_attack abilities: ship_roll
Systems/Expansion Bays
Repeating_system attributes: name, purpose, powered, pcu, bp, comp_bonus, sensor_bonus, shields, armor, countermeasure, description
Repeating_system abilities: roll
System Status
Attributes: life_support_patch, life_support_status, sensors_patch, sensors_status, engines_patch, engines_status, power_core_patch, power_core_status, forward_weapons_status, starboard_weapons_status, aft_weapons_status, port_weapons_status
Abilities: starship_crit
Repeating attributes should be referenced as if they were not for the purposes of targeting a buff. NPC buffs can use these same attributes, or the attribute names described specifically for NPCs. If you use the PC attribute name for an ability score (e.g. strength instead of strength_mod), then the buff will be halved and applied to that ability score's mod.
Appendix B: Buffable Attributes
PC Attributes
strength, Dexterity, Constitution, Intelligence, wisdom, charisma, sp_max, hp_max, rp_max, temp_hp_max, eac, eac_armor, kac, kac_armor, cmd, fort, ref, will, skill_points, acrobatics, athletics, bluff, computers, culture, diplomacy, disguise, engineering, intimidate, medicine, mysticism, perception, piloting, repeating_profession_$X_profession, stealth, survival, repeating_attack_$X_total, repeating_attack_$X_damage_total, encumber_bulk, overburden_bulk, repeating_ability_$X_attack_total, repeating_ability_$X_damage_total, repeating_ability_$X_dc, caster_level, repeating_spell_$X_attack_total, repeating_spell_$X_damage_total, repeating_spell_$X_dc, spell_penetration
NPC Attributes
In addition to the attributes listed for PC’s, NPC buffs may directly target these attributes:
strength_mod, Dexterity_mod, Constitution_mod, Intelligence_mod, wisdom_mod, charisma_mod
Appendix C: Roll Templates
sf_generic
Used for chat menus, saves, ability checks, and skill rolls.
&{template:sf_generic} {{name=}} {{characterid=}} {{title=}} {{r1name=}} {{r1=}} {{r2name=}} {{r2=}} {{r3name=}} {{r3=}} {{r4name=}} {{r4=}} {{r5name=}} {{r5=}} {{notes=}} {{buttons0=}} {{buttons1=}} {{buttons2=}} {{buttons3=}} {{buttons4=}} {{buttons5=}} {{buttons6=}} {{buttons7=}} {{buttons8=}} {{buttons9=}} {{leftbanner=Left Banner}} {{rightbanner=Right Banner}}
sf_attack
Used for weapon attack rolls.
&{template:sf_attack} {{name=}} {{characterid=}} {{title=}} {{fullattack=[[must be inline roll]]}} {{r1name=}} {{r1=}} {{damage1type=}} {{damage1=}} {{crit1damage=}} {{crit1effect=}} {{r2name=}} {{r2=}} {{damage2type=}} {{damage2=}} {{crit2damage=}} {{crit2effect=}} {{r3name=}} {{r3=}} {{damage3type=}} {{damage3=}} {{crit3damage=}} {{crit3effect=}} {{r4name=}} {{r4=}} {{damage4type=}} {{damage4=}} {{crit4damage=}} {{crit4effect=}} {{r5name=}} {{r5=}} {{damage5type=}} {{damage5=}} {{crit5damage=}} {{crit5effect=}} {{range=}} {{ammo_type=}} {{curr_ammo=}} {{rightbanner=}} {{notes=}} {{buttons0=}} {{buttons1=}} {{buttons2=}} {{buttons3=}} {{buttons4=}} {{buttons5=}} {{buttons6=}} {{buttons7=}} {{buttons8=}} {{buttons9=}} {{leftbanner=}} {{rightbanner=}}
sf_spell
Used for abilities and spells.
&{template:sf_spell} {{name=}} {{characterid=}} {{title=}} {{activation=}} {{duration=}} {{targets=}} {{range=}} {{saveflag=}} {{savedc=}} {{savetype=}} {{effect=}} {{saveeffect=}} {{attackflag=}} {{fullattack=[[must be an inline roll]]}} {{r1=}} {{damageflag=}} {{damage1type=}} {{damage1=}} {{crit1damage=}} {{crit1effect=}} {{r2=}} {{damage2type=}} {{damage2=}} {{crit2damage=}} {{crit2effect=}} {{r3=}} {{damage3type=}} {{damage3=}} {{crit3damage=}} {{crit3effect=}} {{r4=}} {{damage4type=}} {{damage4=}} {{crit4damage=}} {{crit4effect=}} {{r5=}} {{damage5type=}} {{damage5=}} {{crit5damage=}} {{crit5effect=}} {{notes=}} {{leftbanner=}} {{rightbanner=}}
Special Field Behaviors
{{name}} & {{characterid}}
Characterid is not displayed on it’s own. It is used to create a hyperlink to the character named in the name field.
{{r#}}, {{crit#damage}} & {{crit#effect}}
The crit fields will only appear if the first roll in the corresponding r# field is a critical success.
{{fullattack}} & additional attack/damage fields
The fullattack field only accepts a single inline roll. For the sf_attack and sf_spell templates the additional attack rolls, damage rolls, and crit effects (e.g. r2+) will only display if the inline roll in fullattack is at least equal to the roll number. As an example the 2nd set of attack/damage rolls will not display unless the inline roll in fullattack resolves to 2 or more.
{{buttons#}} {{notes}}
The buttons and notes fields are designed for large pieces of text. They have a maximum height, and will switch to a scrollable format if they require more space.
{{saveflag=}}, {{savedc=}}, {{savetype=}}, {{effect=}}, and {{saveeffect=}} and {{attackflag=}} and spell template attacks, and {{damageflag=}} and spell template damage
This works similarly to the fullattack field controlling additional attacks. If the inline roll in the flag field is 1 or greater, the corresponding fields will be displayed.
{{rcrit}} & {{rcrit2}}
These two fields are only present in the sf_ship template. They are used for rolling ship critical effects and will display specific subsystems based on the value of the roll. rcrit expects a d100 and rcrit2 expects a d4.