"""This file describes the heroic adventurer {{ char.name }}.

It's used primarily for saving characters from create-character,
where there will be many missing sections.

Modify this file as you level up and then re-generate the character
sheet by running ``makesheets`` from the command line.

"""

dungeonsheets_version = "{{ char.dungeonsheets_version }}"

name = "{{ char.name }}"
player_name = "{{ char.player_name }}"

# Be sure to list Primary class first
classes = {{ char.class_names }}  # ex: ['Wizard'] or ['Rogue', 'Fighter']
levels = {{ char.levels }}  # ex: [10] or [3, 2]
subclasses = {{ char.subclasses }}  # ex: ['Necromacy'] or ['Thief', None]
background = "{{ char.background.name }}"
race = "{{ char.race.name }}"
alignment = "{{ char.alignment }}"

xp = {{ char.xp }}
hp_max = {{ char.hp_max }}
inspiration = {{ char.inspiration }}  # boolean inspiration value

# Ability Scores
strength = {{ char.strength.value }}
dexterity = {{ char.dexterity.value }}
constitution = {{ char.constitution.value }}
intelligence = {{ char.intelligence.value }}
wisdom = {{ char.wisdom.value }}
charisma = {{ char.charisma.value }}

# Select what skills you're proficient with
# ex: skill_proficiencies = ('athletics', 'acrobatics', 'arcana')
skill_proficiencies = {{ char.skill_proficiencies }}

# Any skills you have "expertise" (Bard/Rogue) in
skill_expertise = ()

# Named features / feats that aren't part of your classes, race, or background.
# Also include Eldritch Invocations and features you make multiple selection of
# (like Maneuvers for Fighter, Metamagic for Sorcerors, Trick Shots for
# Gunslinger, etc.)
# Example:
# features = ('Tavern Brawler',) # take the optional Feat from PHB
features = ()

# If selecting among multiple feature options: ex Fighting Style
# Example (Fighting Style):
# feature_choices = ('Archery',)
feature_choices = ()

# Weapons/other proficiencies not given by class/race/background
weapon_proficiencies = ()  # ex: ('shortsword', 'quarterstaff')
_proficiencies_text = ()  # ex: ("thieves' tools",)

# Proficiencies and languages
languages = """{{ char.languages }}"""

# Inventory
# TODO: Get yourself some money
cp = 0
sp = 0
ep = 0
gp = 0
pp = 0

# TODO: Put your equipped weapons and armor here
weapons = {{ char.weapons }}  # Example: ('shortsword', 'longsword')
magic_items = ()  # Example: ('ring of protection',)
armor = "{{ char.armor }}"  # Eg "leather armor"
shield = "{{ char.shield }}"  # Eg "shield"

equipment = """TODO: list the equipment and magic items your character carries"""

attacks_and_spellcasting = """TODO: Describe how your character usually attacks
or uses spells."""

# List of known spells
# Example: spells_prepared = ('magic missile', 'mage armor')
spells_prepared = ()  # Todo: Learn some spells

# Which spells have not been prepared
__spells_unprepared = ()

# all spells known
spells = spells_prepared + __spells_unprepared

# Wild shapes for Druid
wild_shapes = ()  # Ex: ('ape', 'wolf', 'ankylosaurus')

# Infusions for Artificer
infusions = {{ char.infusions_text }} # Ex: ('repeating shot', 'replicate magic item')

# Backstory
# Describe your backstory here
personality_traits = """{{ char.personality_traits }}"""

ideals = """{{ char.ideals }}"""

bonds = """{{ char.bonds }}"""

flaws = """{{char.flaws }}"""

features_and_traits = """TODO: Describe other features and abilities your
character has."""

