Life Selector Xml
<life> <scene id="start"> <desc>You just turned 20. Study or work?</desc> <choice target="study">Go to university</choice> <choice target="work">Start a job</choice> </scene> <scene id="study"> <desc>You graduate with debt but skills.</desc> <statChange>wealth-30, intelligence+20</statChange> <choice target="end1">Start a startup</choice> </scene> <scene id="work"> <desc>You save money but feel empty.</desc> <statChange>wealth+40, happiness-10</statChange> <choice target="end2">Retire early</choice> </scene> <ending id="end1">Wealthy entrepreneur</ending> <ending id="end2">Boring but secure</ending> </life>
<!-- SECTION 2: LIFE CARDS (Character Creation System) --> <LifeCards> <!-- Players pick 2 cards to start. These modify base stats. --> <Card id="card_wealthy_parents" rarity="common"> <Name>Silver Spoon</Name> <Description>You were born with a trust fund.</Description> <Effects> <ModifyStat stat="money" value="+500" /> <ModifyStat stat="charisma" value="-2" /> <!-- Spoiled brat penalty --> </Effects> </Card> life selector xml
The document requires a root element that encapsulates the global settings and the narrative tree. Card id="card_wealthy_parents" rarity="common">