<h1>The <s>Docket</s></h1>
//A Game by A.B. Moss//
[[Begin]]
[[Credits]]
<<silently>>
<<set $Brand to 5>>
<<set $Stars to 5>>
<<set $dolla to 0>>
<<set $defendants to [{ faction: "Stars", crime: "Siphoning fuel from a Brandilite humvee", more: "He was siphoning fuel to get his comrade to a medic.", scale: "bad"},
{ faction: "Brandilites", crime: "Stealing medicine from a Star-Alliance clinic.", more: "The medicine was going to go to a wounded civilian.", scale: "bad" },
{ faction: "Stars", crime: "Trading illegal tech across the border.", more: "He was going to sell the tech to feed his subordinates.", scale: "bad" },
{ faction: "Brandilites", crime: "Abandoning his post without approved leave.", more: "He had received a message that his mother was dying.", scale: "medium" },
{ faction: "Stars", crime: "He cut the fuel line of a Stars truck, permanently damaging it", more: "One of his comrades had threatened to drive into town and massacre Brandilite civilians.", scale: "bad"},
{ faction: "Brandilites", crime: "Shot a Stars officer after the officer surrendered.", more: "Defendant says he would do it again", scale: "worst"},
{faction: "Stars", crime: "Shot a surrendering Brandilite private.", more: "Claims he didn't know the private was surrendering.", scale: "worst"},
{faction: "Brandilites", crime: "Caught smuggling extra dessert from the mess hall.", more: "Defendant says he was hungry.", scale: "bad"},
{faction: "Stars", crime: "Started a fist fight with a Brandilite private in a neutral zone.", more: "Defendant says private flipped him off.", scale: "bad"},
{faction: "Brandilites", crime: "Engaged in a fist fight with a Stars private in a neutral zone.", more: "Defendant says private started it.", scale: "bad"},
{faction: "Stars", crime: "Informed Brandilite officers of Stars-Alliance battle plans.", more: "He believed that his life was being threatened", scale: "worst"},
{faction: "Brandilites", crime: "Attempted to conspire with other soldiers to throw grenades in their CO's bunker.", more: "Defendant says it was just a joke.", scale: "medium"},
{faction: "Stars", crime: "Private delivered nuclear codes to an undercover Stars agent that he believed was a journalist.", more: "Defendant heard a Stars higher up saying they should 'nuke those Brandelite bastards'", scale: "nuclear"},
{faction: "Brandilites", crime: "Attempted to assassinate a Brandilite General.", more: "Defendant believed the General's plan would lead to the death of his unit.", scale: "nuclear"}]>>
<<set $quotes to ["War itself is the enemy of the human race. – Howard Zinn", "War is an invention of the human mind. The human mind can invent peace. – Norman Cousins", "All murderers are punished unless they kill in large numbers and to the sound of trumpets. -Voltaire", "The cause of violence is not ignorance. It is self-interest. – Rev. William Sloan Coffin Jr.", "Violence is the last refuge of the incompetent. – Isaac Asimov", "War is only a cowardly escape from the problems of peace. – Thomas Mann", "All wars are fought for money. – Socrates", "Much violence is based on the illusion that life is a property to be defended and not to be shared. – Henri Nouwen", "In all wars the object is to protect or to seize money, property and power, and there will always be wars so long as Capital rules and oppresses people. – Ernst Friedrich", "War prosperity is like the prosperity that an earthquake or a plague brings. – Ludwig von Mises", "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. – Dwight D. Eisenhower", "The arms race can kill, though the weapons themselves may never be used, by their cost alone, armaments kill the poor by causing them to starve. – Vatican statement to the U.N., 1976", "There is no flag large enough to cover the shame of killing innocent people. – Howard Zinn", "Our schoolbooks glorify war and conceal its horrors. They indoctrinate children with hatred. I would teach peace rather than war, love rather than hate. – Albert Einstein", "War does not determine who is right – only who is left. – Bertrand Russell", "I dream of giving birth to a child who will ask: ‘Mother, what was war? – Eve Merriam", "In this war — as in others — I am less interested in honoring the dead than in preventing the dead.” – Butler Shaffer"]>>
<</silently>>''The year is 2047.''
The second American Civil War has ended in a stalemate between the Stars Alliance and the Brandilites. You have been elected as an impartial judge to try prisoners of war from both sides.
Both factions will be watching with great interest.
Make the right friends, and they can help you succeed.
Make the wrong enemies, and they can ruin you.
If you reach 0 reputation points with either of the factions, you will be outed.
If you reach 12 reputation points with either of the factions, your position is secured.
You can be bribed and use those funds to increase reputation points.
Remember, history isn't written by the victors.
''It's written by you.''
[[Begin your day|Next Defendant]]
<<audio "geiger" loop>>
Game written by <<type 10ms>><<audio "type" play>>//A.B. Moss//<<audio "type" stop>><</type>>
Awesome CRT CSS effects by <<type 10ms>><<audio "type" play>>//Patrick H. Lauke @ CodePen//<<audio "type" stop>><</type>>
Spooky Geiger and typing sound effects by <<type 10ms>><<audio "type" play>>//freesound_community and SoundReality @ PixaBay//<<audio "type" stop>><</type>>
Thanks to <<type 10ms>><<audio "type" play>>//r/TwineGames and the Twine discord for help with debugging//<<audio "type" stop>><</type>>
Special thanks to <<type 10ms>><<audio "type" play>>//players like you!//<<audio "type" stop>><</type>>
[[Main Menu]] __Reputation__
@@.red;Stars@@: $Stars points
@@.blue;Brandilites@@: $Brand points
@@.green;Your Funds@@: $dolla dollars
<<set $current to $defendants.pluck()>>
__Defendant__
@@.gray;Faction@@: <<type 30ms>><<audio "type" play>>$current.faction<<audio "type" stop>><</type>>
@@.gray;Crime@@: <<type 30ms>><<audio "type" play>>$current.crime<<audio "type" stop>><</type>>
<<linkreplace "Defendant Testimony">>//$current.more//<</linkreplace>>
<<silently>>
<<set $rng to random(1, 6)>>
<<if $rng <= 1>>
<<set $bribe to 1>>
<<else>>
<<set $bribe to 0>>
<</if>>
<</silently>>
<<if $bribe == 1>>
You are being bribed. Execute the defendant for a payout.
<</if>>
[[Spare|resolve case][$choice to "spare"]]
[[Execute|resolve case][$choice to "execute"]]
<<silently>>
<<set $dolla to $dolla + 50>>
<<if $bribe == 1 and $choice == "execute">>
<<set $dolla to $dolla + 100>>
<</if>>
<<set _val to 0>>
<<switch $current.scale>>
<<case "bad">><<set _val to 1>>
<<case "medium">><<set _val to 2>>
<<case "worst">><<set _val to 3>>
<<case "nuclear">><<set _val to 4>>
<</switch>>
<<if ($choice == "spare" and $current.faction == "Stars") or ($choice is "execute" and $current.faction == "Brandilites")>>
<<set $Stars to $Stars + _val>>
<<set $Brand to $Brand - _val>>
<<else>>
<<set $Stars to $Stars - _val>>
<<set $Brand to $Brand + _val>>
<</if>>
<</silently>>
<<if $dolla >= 300>>
<<linkreplace "//Use $300 to fix your reputation?//">><<set $Stars to $Stars + 1>><<set $Brand to $Brand + 1>><<set $dolla to $dolla - 300>><</linkreplace>>
<</if>>
<<=$quotes.random()>>
<<silently>>
<<set $win to 12>>
<<set $lose to 0>>
<</silently>>
<<if $Brand >= $win or $Stars >= $win>>
//You have made friends in high places.//
//Your career is secure.//
[[Main Menu]]
<<elseif $Brand <= $lose or $Stars <= $lose>>
//You have been assassinated for outraging a faction.//
[[Main Menu]]
<<elseif $defendants == 0>>
//Your shift is over for the day. Check back regularly for more cases.//
[[Main Menu]]
<<else>>
//Case logged.//
[[Next Defendant]]
<</if>>