diff --git a/template/character-sheet-commands.tex b/template/character-sheet-commands.tex index 8a8bbe5..0328841 100644 --- a/template/character-sheet-commands.tex +++ b/template/character-sheet-commands.tex @@ -233,6 +233,27 @@ \newcommand{\EighthLevelSpellSlotsTotal}[1]{\renewcommand{\EighthLevelSpellSlotsTotalValue}{#1}} \newcommand{\NinthLevelSpellSlotsTotal}[1]{\renewcommand{\NinthLevelSpellSlotsTotalValue}{#1}} +% EXPENDED SPELL SLOTS +\newcommand{\FirstLevelSpellSlotsExpendedValue}{} +\newcommand{\SecondLevelSpellSlotsExpendedValue}{} +\newcommand{\ThirdLevelSpellSlotsExpendedValue}{} +\newcommand{\FourthLevelSpellSlotsExpendedValue}{} +\newcommand{\FifthLevelSpellSlotsExpendedValue}{} +\newcommand{\SixthLevelSpellSlotsExpendedValue}{} +\newcommand{\SeventhLevelSpellSlotsExpendedValue}{} +\newcommand{\EighthLevelSpellSlotsExpendedValue}{} +\newcommand{\NinthLevelSpellSlotsExpendedValue}{} + +\newcommand{\FirstLevelSpellSlotsExpended}[1]{\renewcommand{\FirstLevelSpellSlotsExpendedValue}{#1}} +\newcommand{\SecondLevelSpellSlotsExpended}[1]{\renewcommand{\SecondLevelSpellSlotsExpendedValue}{#1}} +\newcommand{\ThirdLevelSpellSlotsExpended}[1]{\renewcommand{\ThirdLevelSpellSlotsExpendedValue}{#1}} +\newcommand{\FourthLevelSpellSlotsExpended}[1]{\renewcommand{\FourthLevelSpellSlotsExpendedValue}{#1}} +\newcommand{\FifthLevelSpellSlotsExpended}[1]{\renewcommand{\FifthLevelSpellSlotsExpendedValue}{#1}} +\newcommand{\SixthLevelSpellSlotsExpended}[1]{\renewcommand{\SixthLevelSpellSlotsExpendedValue}{#1}} +\newcommand{\SeventhLevelSpellSlotsExpended}[1]{\renewcommand{\SeventhLevelSpellSlotsExpendedValue}{#1}} +\newcommand{\EighthLevelSpellSlotsExpended}[1]{\renewcommand{\EighthLevelSpellSlotsExpendedValue}{#1}} +\newcommand{\NinthLevelSpellSlotsExpended}[1]{\renewcommand{\NinthLevelSpellSlotsExpendedValue}{#1}} + % CANTRIPS \newcommand{\CantripSlotAValue}{} \newcommand{\CantripSlotBValue}{} diff --git a/template/half-spell-sheet/player-input.tex b/template/half-spell-sheet/player-input.tex index 03a19f3..3609eb7 100644 --- a/template/half-spell-sheet/player-input.tex +++ b/template/half-spell-sheet/player-input.tex @@ -27,6 +27,9 @@ % TOTAL SLOTS \rput[cc](91.03045507,563.85545107){\LARGE \entryfont \textcolor{primary-indicator-color}{\FirstLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](201.03045507,563.85545107){\LARGE \entryfont \textcolor{primary-indicator-color}{\FirstLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](63.17786559,526.122385345){\footnotesize \entryfont \textcolor{text-color}{\FirstLevelSpellSlotAValue}} \rput[l](63.17786559,507.455719145){\footnotesize \entryfont \textcolor{text-color}{\FirstLevelSpellSlotBValue}} @@ -59,6 +62,9 @@ % TOTAL SLOTS \rput[cc](343.03044877,847.49771214){\LARGE \entryfont \textcolor{primary-indicator-color}{\SecondLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](453.03044877,847.49771214){\LARGE \entryfont \textcolor{primary-indicator-color}{\SecondLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](315.17785929,812.43171302){\footnotesize \entryfont \textcolor{text-color}{\SecondLevelSpellSlotAValue}} \rput[l](315.17785929,793.76504682){\footnotesize \entryfont \textcolor{text-color}{\SecondLevelSpellSlotBValue}} @@ -84,6 +90,9 @@ % TOTAL SLOTS \rput[cc](343.03044877,431.71745300){\LARGE \entryfont \textcolor{primary-indicator-color}{\ThirdLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](453.03044877,431.71745300){\LARGE \entryfont \textcolor{primary-indicator-color}{\ThirdLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](315.17785929,396.651053875){\footnotesize \entryfont \textcolor{text-color}{\ThirdLevelSpellSlotAValue}} \rput[l](315.17785929,377.984387675){\footnotesize \entryfont \textcolor{text-color}{\ThirdLevelSpellSlotBValue}} @@ -109,6 +118,9 @@ % TOTAL SLOTS \rput[cc](592.53044253,847.49771214){\LARGE \entryfont \textcolor{primary-indicator-color}{\FourthLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](702.53044253,847.49771214){\LARGE \entryfont \textcolor{primary-indicator-color}{\FourthLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](564.67785305,812.43171302){\footnotesize \entryfont \textcolor{text-color}{\FourthLevelSpellSlotAValue}} \rput[l](564.67785305,793.76504682){\footnotesize \entryfont \textcolor{text-color}{\FourthLevelSpellSlotBValue}} @@ -134,6 +146,9 @@ % TOTAL SLOTS \rput[cc](592.53044253,431.16145114){\LARGE \entryfont \textcolor{primary-indicator-color}{\FifthLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](702.53044253,431.16145114){\LARGE \entryfont \textcolor{primary-indicator-color}{\FifthLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](564.67785305,396.09505201){\footnotesize \entryfont \textcolor{text-color}{\FifthLevelSpellSlotAValue}} \rput[l](564.67785305,377.42838581){\footnotesize \entryfont \textcolor{text-color}{\FifthLevelSpellSlotBValue}} diff --git a/template/spell-sheet/player-input.tex b/template/spell-sheet/player-input.tex index 909c7db..5ff383a 100644 --- a/template/spell-sheet/player-input.tex +++ b/template/spell-sheet/player-input.tex @@ -24,6 +24,9 @@ % TOTAL SLOTS \rput[cc](91.03045507,623.85545107){\LARGE \entryfont \textcolor{primary-indicator-color}{\FirstLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](201.03045507,623.85545107){\LARGE \entryfont \textcolor{primary-indicator-color}{\FirstLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](63.17786559,586.122385345){\footnotesize \entryfont \textcolor{text-color}{\FirstLevelSpellSlotAValue}} \rput[l](63.17786559,567.455719145){\footnotesize \entryfont \textcolor{text-color}{\FirstLevelSpellSlotBValue}} @@ -43,6 +46,9 @@ % TOTAL SLOTS \rput[cc](91.03045507,319.09665869){\LARGE \entryfont \textcolor{primary-indicator-color}{\SecondLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](201.03045507,319.09665869){\LARGE \entryfont \textcolor{primary-indicator-color}{\SecondLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](63.17786559,284.030259565){\footnotesize \entryfont \textcolor{text-color}{\SecondLevelSpellSlotAValue}} \rput[l](63.17786559,265.363593365){\footnotesize \entryfont \textcolor{text-color}{\SecondLevelSpellSlotBValue}} @@ -62,6 +68,9 @@ % TOTAL SLOTS \rput[cc](343.03044877,847.49771214){\LARGE \entryfont \textcolor{primary-indicator-color}{\ThirdLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](453.03044877,847.49771214){\LARGE \entryfont \textcolor{primary-indicator-color}{\ThirdLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](315.17785929,812.43171302){\footnotesize \entryfont \textcolor{text-color}{\ThirdLevelSpellSlotAValue}} \rput[l](315.17785929,793.76504682){\footnotesize \entryfont \textcolor{text-color}{\ThirdLevelSpellSlotBValue}} @@ -81,6 +90,9 @@ % TOTAL SLOTS \rput[cc](343.03044877,546.71745300){\LARGE \entryfont \textcolor{primary-indicator-color}{\FourthLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](453.03044877,546.71745300){\LARGE \entryfont \textcolor{primary-indicator-color}{\FourthLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](315.17785929,511.651053875){\footnotesize \entryfont \textcolor{text-color}{\FourthLevelSpellSlotAValue}} \rput[l](315.17785929,492.984387675){\footnotesize \entryfont \textcolor{text-color}{\FourthLevelSpellSlotBValue}} @@ -100,6 +112,9 @@ % TOTAL SLOTS \rput[cc](343.03044877,244.63252722){\LARGE \entryfont \textcolor{primary-indicator-color}{\FifthLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](453.03044877,244.63252722){\LARGE \entryfont \textcolor{primary-indicator-color}{\FifthLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](315.17785929,209.566128095){\footnotesize \entryfont \textcolor{text-color}{\FifthLevelSpellSlotAValue}} \rput[l](315.17785929,190.899461895){\footnotesize \entryfont \textcolor{text-color}{\FifthLevelSpellSlotBValue}} @@ -115,6 +130,9 @@ % TOTAL SLOTS \rput[cc](592.53044253,847.49771214){\LARGE \entryfont \textcolor{primary-indicator-color}{\SixthLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](702.53044253,847.49771214){\LARGE \entryfont \textcolor{primary-indicator-color}{\SixthLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](564.67785305,812.43171302){\footnotesize \entryfont \textcolor{text-color}{\SixthLevelSpellSlotAValue}} \rput[l](564.67785305,793.76504682){\footnotesize \entryfont \textcolor{text-color}{\SixthLevelSpellSlotBValue}} @@ -130,6 +148,9 @@ % TOTAL SLOTS \rput[cc](592.53044253,621.16145114){\LARGE \entryfont \textcolor{primary-indicator-color}{\SeventhLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](702.53044253,621.16145114){\LARGE \entryfont \textcolor{primary-indicator-color}{\SeventhLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](564.67785305,586.09505201){\footnotesize \entryfont \textcolor{text-color}{\SeventhLevelSpellSlotAValue}} \rput[l](564.67785305,567.42838581){\footnotesize \entryfont \textcolor{text-color}{\SeventhLevelSpellSlotBValue}} @@ -145,6 +166,9 @@ % TOTAL SLOTS \rput[cc](592.53044253,394.75559013){\LARGE \entryfont \textcolor{primary-indicator-color}{\EighthLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](702.53044253,394.75559013){\LARGE \entryfont \textcolor{primary-indicator-color}{\EighthLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](564.67785305,359.68919101){\footnotesize \entryfont \textcolor{text-color}{\EighthLevelSpellSlotAValue}} \rput[l](564.67785305,341.02252481){\footnotesize \entryfont \textcolor{text-color}{\EighthLevelSpellSlotBValue}} @@ -158,6 +182,9 @@ % TOTAL SLOTS \rput[cc](592.53044253,207.12412815){\LARGE \entryfont \textcolor{primary-indicator-color}{\NinthLevelSpellSlotsTotalValue}} +% EXPENDED SLOTS +\rput[cc](702.53044253,207.12412815){\LARGE \entryfont \textcolor{primary-indicator-color}{\NinthLevelSpellSlotsExpendedValue}} + % KNOWN SPELLS \rput[l](564.67785305,172.05772903){\footnotesize \entryfont \textcolor{text-color}{\NinthLevelSpellSlotAValue}} \rput[l](564.67785305,153.39106283){\footnotesize \entryfont \textcolor{text-color}{\NinthLevelSpellSlotBValue}} diff --git a/tests/full-caster-spell-sheet.tex b/tests/full-caster-spell-sheet.tex index feec494..41c7843 100644 --- a/tests/full-caster-spell-sheet.tex +++ b/tests/full-caster-spell-sheet.tex @@ -31,6 +31,7 @@ \CantripSlotH{Cantrip Slot H} \FirstLevelSpellSlotsTotal{13} +\FirstLevelSpellSlotsExpended{1} \FirstLevelSpellSlotA{First Level Spell Slot A} \FirstLevelSpellSlotB{First Level Spell Slot B} \FirstLevelSpellSlotC{First Level Spell Slot C} @@ -55,6 +56,7 @@ \SecondLevelSpellSlotsTotal{13} +\SecondLevelSpellSlotsExpended{2} \SecondLevelSpellSlotA{Second Level Spell Slot A} \SecondLevelSpellSlotB{Second Level Spell Slot B} \SecondLevelSpellSlotC{Second Level Spell Slot C} @@ -78,6 +80,7 @@ \SecondLevelSpellSlotMPrepared{True} \ThirdLevelSpellSlotsTotal{13} +\ThirdLevelSpellSlotsExpended{3} \ThirdLevelSpellSlotA{Third Level Spell Slot A} \ThirdLevelSpellSlotB{Third Level Spell Slot B} \ThirdLevelSpellSlotC{Third Level Spell Slot C} @@ -102,6 +105,7 @@ \FourthLevelSpellSlotsTotal{13} +\FourthLevelSpellSlotsExpended{4} \FourthLevelSpellSlotA{Fourth Level Spell Slot A} \FourthLevelSpellSlotB{Fourth Level Spell Slot B} \FourthLevelSpellSlotC{Fourth Level Spell Slot C} @@ -126,6 +130,7 @@ \FifthLevelSpellSlotsTotal{9} +\FifthLevelSpellSlotsExpended{5} \FifthLevelSpellSlotA{Fifth Level Spell Slot A} \FifthLevelSpellSlotB{Fifth Level Spell Slot B} \FifthLevelSpellSlotC{Fifth Level Spell Slot C} @@ -144,6 +149,7 @@ \SixthLevelSpellSlotsTotal{9} +\SixthLevelSpellSlotsExpended{6} \SixthLevelSpellSlotA{Sixth Level Spell Slot A} \SixthLevelSpellSlotB{Sixth Level Spell Slot B} \SixthLevelSpellSlotC{Sixth Level Spell Slot C} @@ -162,6 +168,7 @@ \SeventhLevelSpellSlotsTotal{9} +\SeventhLevelSpellSlotsExpended{7} \SeventhLevelSpellSlotA{Seventh Level Spell Slot A} \SeventhLevelSpellSlotB{Seventh Level Spell Slot B} \SeventhLevelSpellSlotC{Seventh Level Spell Slot C} @@ -180,6 +187,7 @@ \EighthLevelSpellSlotsTotal{7} +\EighthLevelSpellSlotsExpended{8} \EighthLevelSpellSlotA{Eighth Level Spell Slot A} \EighthLevelSpellSlotB{Eighth Level Spell Slot B} \EighthLevelSpellSlotC{Eighth Level Spell Slot C} @@ -195,6 +203,7 @@ \NinthLevelSpellSlotsTotal{7} +\NinthLevelSpellSlotsExpended{9} \NinthLevelSpellSlotA{Ninth Level Spell Slot A} \NinthLevelSpellSlotB{Ninth Level Spell Slot B} \NinthLevelSpellSlotC{Ninth Level Spell Slot C} diff --git a/tests/half-caster-spell-sheet.tex b/tests/half-caster-spell-sheet.tex index 5b35be2..16bd096 100644 --- a/tests/half-caster-spell-sheet.tex +++ b/tests/half-caster-spell-sheet.tex @@ -34,6 +34,7 @@ \CantripSlotK{Cantrip Slot K} \FirstLevelSpellSlotsTotal{26} +\FirstLevelSpellSlotsExpended{1} \FirstLevelSpellSlotA{First Level Spell Slot A} \FirstLevelSpellSlotB{First Level Spell Slot B} \FirstLevelSpellSlotC{First Level Spell Slot C} @@ -77,6 +78,7 @@ \SecondLevelSpellSlotsTotal{19} +\SecondLevelSpellSlotsExpended{2} \SecondLevelSpellSlotA{Second Level Spell Slot A} \SecondLevelSpellSlotB{Second Level Spell Slot B} \SecondLevelSpellSlotC{Second Level Spell Slot C} @@ -109,6 +111,7 @@ \SecondLevelSpellSlotSPrepared{True} \ThirdLevelSpellSlotsTotal{19} +\ThirdLevelSpellSlotsExpended{3} \ThirdLevelSpellSlotA{Third Level Spell Slot A} \ThirdLevelSpellSlotB{Third Level Spell Slot B} \ThirdLevelSpellSlotC{Third Level Spell Slot C} @@ -141,6 +144,7 @@ \ThirdLevelSpellSlotSPrepared{True} \FourthLevelSpellSlotsTotal{19} +\FourthLevelSpellSlotsExpended{4} \FourthLevelSpellSlotA{Fourth Level Spell Slot A} \FourthLevelSpellSlotB{Fourth Level Spell Slot B} \FourthLevelSpellSlotC{Fourth Level Spell Slot C} @@ -173,6 +177,7 @@ \FourthLevelSpellSlotSPrepared{True} \FifthLevelSpellSlotsTotal{19} +\FifthLevelSpellSlotsExpended{5} \FifthLevelSpellSlotA{Fifth Level Spell Slot A} \FifthLevelSpellSlotB{Fifth Level Spell Slot B} \FifthLevelSpellSlotC{Fifth Level Spell Slot C} diff --git a/tests/reference/full-caster-spell-sheet.pdf b/tests/reference/full-caster-spell-sheet.pdf index f8ca57f..22c78bb 100644 Binary files a/tests/reference/full-caster-spell-sheet.pdf and b/tests/reference/full-caster-spell-sheet.pdf differ diff --git a/tests/reference/half-caster-spell-sheet.pdf b/tests/reference/half-caster-spell-sheet.pdf index 965d37d..c6c40e9 100644 Binary files a/tests/reference/half-caster-spell-sheet.pdf and b/tests/reference/half-caster-spell-sheet.pdf differ