Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Remembering long variables

$
0
0
Using sugarcube.
I have code that is generated by many random arrays that is then displayed as
<h3>Character Name:<<print $name>> <<print $surname>>
Human <<print $class>></h3>Alignment:<<print $align>> Speed:<<print $speed>>
Age:<<print $age>> Height:<<print $sh>>' <<print $si>>"
Hit Points:<<print $hp>> ArmorClass:<<print $armor>>(<<print $dexmod>>)
<h3>Abilities</h3>Strength: <<print $str>> (<<print $strmod>>)
Dexterity: <<print $dex>> (<<print $dexmod>>)
Constitution: <<print $con>> (<<print $conmod>>)
Intelligence: <<print $int>> (<<print $intmod>>)
Wisdom: <<print $wis>> (<<print $wismod>>)
Charisma: <<print $cha>> (<<print $chamod>>)
<h3>Weapon</h3><<print $weapon>>
<h3>Proficiencies</h3>Bonus:<<print $profbonus>>
Armor:<<print $armor>>
Weapons:<<print $proweap>>
Tools:<<print $protool>>
Saving Throws:<<print $st>>
Skills:<<print $skill1>>, <<print $skill2>>
Features:<<print $features>>
Racial Traits:<<print $traits>>
Languages:<<print $language>>
Spells:<<print $clerspell1>>, <<print $clerspell2>>
Cantrips:<<print $can1>>, <<print $can2>>, <<print $can3>>
<h3>Equipment</h3><<print $item1>>, <<print $item2>>, <<print $item3>>, <<print $item4>>, <<print $item5>>">>

I want to create a <<remember>> macro to keep this information available upon reloads for users or atleast a window.print() function that would allow users to print their character sheet. Any help would be appreciated.

Thanks

Viewing all articles
Browse latest Browse all 1844

Trending Articles