<<nobr>>
<h1>The Lewd Board Game</h1><br>
Welcome! Your friends have found a strange board game and want to play it with you, but do they even realize the risks they're taking? And what about you? Are you sure you want to give it a go?<br>
<br>
This game features many different fetishes, all of which can be deactivated. Will you win by dominating the others? By being good to everyone? Or will you lose pitifully by submitting to your friends? Or will you succeed in keeping your dignity?<br>
<br>
There's only one way to find out!<br>
<br>
<span class="tips">This is still in development even if it is currently "finished". You can start a new game and finish it, but there isn't much content yet. More will be added every month. You can see what's coming next and what are the plans for the future in the <strong>Roadmap</strong>. And if you want to support this project you can check my patreon with the <strong>Share</strong> button. </span><br>
<br>
<b class="warn">Warning!</b> This game is of a sexual nature. If you are underage in your country, please do not play. All characters have at least reached the age of majority. <br><br><br>
[[Start |Character Creation]]
<</nobr>>
<<nobr>>
<<append "#menu-core">>
<li>
<<link '<span id="roadmapIcon" style="display: inline-block;"></span>Roadmap'>>
<<script>>
Dialog.setup();
Dialog.wiki(Story.get("Roadmap").processText());
Dialog.open();
<</script>>
<</link>>
</li>
<</append>>
<</nobr>><<nobr>><style>
.imageSelection {
display: flex;
align-items: center;
justify-content: space-evenly;
width: 35%;
}
</style>
<<silently>>
<<set _imageChoice to 0>>
<</silently>>
<</nobr>><<widget "showImages">><<nobr>>
<div class="imageSelection">
<<button " < ">>
<<if $pcGender is "female">>
<<set $images[_imageChoice].isFemaleUsed to false>>
<<else>>
<<set $images[_imageChoice].isMaleUsed to false>>
<</if>>
<<if _imageChoice isnot 0>>
<<set _imageChoice-->>
<<else>>
<<set _imageChoice to 4>>
<</if>>
<<replace "#image">>
<span id="image" class="resize">
<<if $pcGender is "female">>
<<set $pcImage to $images[_imageChoice].image>>
<<set $images[_imageChoice].isFemaleUsed to true>>
<<else>>
<<set $pcImage to $images[_imageChoice].image>>
<<set $images[_imageChoice].isMaleUsed to true>>
<</if>>
<<showImage "null" $pcGender $pcState $pcSwap $pcImage>>
</span>
<</replace>>
<<updatebar>>
<</button>>
<span id="image" class="resize">
<<showImage "null" $pcGender $pcState $pcSwap $pcImage>>
</span>
<<button " > ">>
<<if $pcGender is "female">>
<<set $images[_imageChoice].isFemaleUsed to false>>
<<else>>
<<set $images[_imageChoice].isMaleUsed to false>>
<</if>>
<<if _imageChoice lt 4>>
<<set _imageChoice++>>
<<else>>
<<set _imageChoice to 0>>
<</if>>
<<replace "#image">>
<span id="image" class="resize">
<<if $pcGender is "female">>
<<set $pcImage to $images[_imageChoice].image>>
<<set $images[_imageChoice].isFemaleUsed to true>>
<<else>>
<<set $pcImage to $images[_imageChoice].image>>
<<set $images[_imageChoice].isMaleUsed to true>>
<</if>>
<<showImage "null" $pcGender $pcState $pcSwap $pcImage>>
</span>
<</replace>>
<<updatebar>>
<</button>>
</div><</nobr>><</widget>><<widget "changeColor">><<nobr>>
<<set $pcColor to _args[0]>>
<<replace ".pcColorChange">>
<<colorText pcColor>>This is your current color.<</colorText>>
<</replace>>
<<replace "#textBox">>
<<textbox "$pcColor" $pcColor>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>><<widget "Passage">><<nobr>><h2>Character Creation</h2><br>
You are a <span id="genderChange">
<<link "girl">>
<<set $pcGender to "female">>
<<set $pcImage to "character1">>
<<set $images[0].isFemaleUsed to true>>
<<updatebar>>
<<replace "#genderChange">>
''girl''.
<br>
<br>How do you look like?<br>
<<showImages>>
<</replace>>
<</link>>
/
<<link "boy.">>
<<set $pcGender to "male">>
<<set $pcImage to "character1">>
<<set $images[0].isMaleUsed to true>>
<<updatebar>>
<<replace "#genderChange">>
''boy''.
<br>
<br>How do you look like?<br>
<<showImages>>
<</replace>>
<</link>>
</span>
<br><br>
Your name is <<textbox "$pcName" "">>
<br><br>
You have <span id="pcFriendsChange">
<<link "1">>
<<set $pcFriends to 1>>
<<updatebar>>
<<replace "#pcFriendsChange">>
''one'' friend.
<</replace>>
<</link>>
/
<<link "2">>
<<set $pcFriends to 2>>
<<updatebar>>
<<replace "#pcFriendsChange">>
''two'' friends.
<</replace>>
<</link>>
/
<<link "3">>
<<set $pcFriends to 3>>
<<updatebar>>
<<replace "#pcFriendsChange">>
''three'' friends.
<</replace>>
<</link>>
/
<<link "4">>
<<set $pcFriends to 4>>
<<updatebar>>
<<replace "#pcFriendsChange">>
''four'' friends.
<</replace>>
<</link>>
friends. <b class="notImportant">Set the number of players</b> </span>
<br><br>
The game is mainly based on your choices and randomness, but when fate takes its toll on you, your <span id="willpowerChange">
<<link "low willpower">>
<<set $pcWillpower to "low">>
<<updatebar>>
<<replace "#willpowerChange">>
''low'' willpower
<</replace>>
<</link>>
/
<<link "medium willpower">>
<<set $pcWillpower to "medium">>
<<updatebar>>
<<replace "#willpowerChange">>
''medium'' willpower
<</replace>>
<</link>>
/
<<link "high willpower">>
<<set $pcWillpower to "high">>
<<updatebar>>
<<replace "#willpowerChange">>
''high'' willpower
<</replace>>
<</link>>
</span> will maybe help you.
<br><br>
Do you want to change the color that represents you? <span id="colorChange"><<link "Yes">>
<<replace "#colorChange">>
<br><<colorText pcColorChange>>This is your current color.<</colorText>>
<br><br>
Change to :
<<link "White">>
<<changeColor "white">>
<</link>>
<<link "Lime">>
<<changeColor "lime">>
<</link>>
<<link "Pink">>
<<changeColor "pink">>
<</link>>
<<link "Aqua">>
<<changeColor "aqua">>
<</link>>
<<link "Gray">>
<<changeColor "gray">>
<</link>>
<<link "Orange">>
<<changeColor "orange">>
<</link>>
<br>
Custom
<span id="textBox"><<textbox "$pcColor" $pcColor>></span>
<<link "Ok">>
<<replace ".pcColorChange">>
<<colorText pcColor>>This is your current color.<</colorText>>
<</replace>>
<<updatebar>>
<</link>>
<</replace>>
<</link>></span><</nobr>><</widget>><span id="passageChange"><<Passage>></span><br>
<<nobr>><<link "Next">>
<<if $pcName is "" or $pcGender is "" or $pcFriends is 0 or $pcWillpower is "">>
<<script>>
Dialog.setup("Oops");
Dialog.wiki("You must validate all options!");
Dialog.open();
<</script>>
<<else>>
<<set $characterCustomized to true>>
<<goto "Friends Customization">>
<</if>>
<</link>><br>
<<link "Reset">>
<<set $pcName to "">>
<<set $pcGender to "">>
<<set $pcWillpower to "">>
<<set $pcImage to "">>
<<set $pcColor to "white">>
<<replace "#passageChange">>
<<Passage>>
<</replace>>
<<updatebar>>
<</link>><</nobr>>
<<nobr>><<widget "showProgress">>
<<if _args[0] lte 30>>
<span class="highProgress"><progress @value="_args[0]" min="0" max="100"></progress> </span>
<<elseif _args[0] lte 70>>
<span class="mediumProgress"><progress @value="_args[0]" min="0" max="100"></progress> </span>
<<else>>
<span class="lowProgress"><progress @value="_args[0]" min="0" max="100"></progress></span>
<</if>>
<</widget>><</nobr>><span style="display: flex"><<if $pcImage isnot "">><<colorBorder imageBorder pcColor>><<showImage "mainImage" $pcGender $pcState $pcSwap $pcImage>><</colorBorder>><</if>></span>
<<colorText pcColor subtitle>>$pcName<</colorText>>
<<nobr>><<if $pcWillpower is "low">>//You're easily overwhelmed by your emotions//
<<elseif $pcWillpower is "medium">>//You manage your emotions well//
<<elseif $pcWillpower is "high">>//You have a very strong will//
<</if>><</nobr>>
<<nobr>>
<br>
<<if $characterCustomized>>
Stress <<showProgress $pcStress>><br>
Arousal <<showProgress $pcArousal>><br>
<</if>>
<</nobr>>
<<nobr>>
<<if $friendsCustomized>>
<<button "Friends">>
<<script>>
Dialog.setup();
Dialog.wiki(Story.get("FriendsPage").processText());
Dialog.open();
<</script>>
<</button>>
<</if>>
<</nobr>><<set $pcName to "">>
<<set $pcGender to "">>
<<set $pcState to "dressed">>
<<set $pcSwap to "">>
<<set $pcPiss to 0>>
<<set $pcStatus to []>>
<<set $pcWillpower to "">>
<<set $pcStress to 0>>
<<set $pcArousal to 0>>
<<set $pcImage to "">>
<<set $players to []>>
<<set $pcColor to "white">>
<<set $friendsCustomized to false>>
<<set $characterCustomized to false>>
<<set $permanentStats to "none">>
<<set $luck to 1>>
<<set $randomPlayer to 0>>
<<set $turnProgress to 1>>
<<set $playerTurn to -1>>
<<set $playersInfos to []>>
<<set $winningCondition to "">>
<<set $roundsNumber to 30>>
<<set $pointsNumber to 80>>
<<set $forcedPlay to false>>
<<set $fetishes to {
feet: {isOn: false, label: "Feet"},
watersports: {isOn: false, label: "Watersports"},
crossdressing: {isOn: false, label: "Crossdressing"},
anal: {isOn: false, label: "Anal"},
deniedOrgasm: {isOn: false, label: "Denied Orgasm"}}
>>
<<set $images to [
{image: "character1", isFemaleUsed: false, isMaleUsed: false},
{image: "character2", isFemaleUsed: false, isMaleUsed: false},
{image: "character3", isFemaleUsed: false, isMaleUsed: false},
{image: "character4", isFemaleUsed: false, isMaleUsed: false},
{image: "character5", isFemaleUsed: false, isMaleUsed: false}]
>>
<<set $gameBoard to [
"st", "chg", "re", "bo", "chg", "sp", "chg", "re", "ma", "chg", "dug",
"chg", "re", "ma", "chg", "sp", "chg", "re", "bo", "chg", "duy",
"chg", "re", "bo", "chg", "sp", "chy", "re", "ma", "chy", "dur",
"chy", "re", "ma", "chy", "sp", "chr", "re", "bo", "chr"]
>>
<<set $challenges to [
"Normal Challenge 1", "Normal Challenge 2", "Normal Challenge 3", "Normal Challenge 4"]
>>
<<set $waterSportsChallenges to [
"Watersports Challenge 1", "Watersports Challenge 2"]
>>
<<set $feetChallenges to [
"Feet Challenge 1", "Feet Challenge 2"]
>>
<<set $crossdressingChallenges to [
"Crossdress Challenge 1"]
>>
<<set $analChallenges to [
"Anal Challenge 1"]
>>
<<set $analingusChallenges to [
]
>>
<<set $animalChallenges to [
]
>>
<<set $deniedOrgasmChallenges to [
"Denied Orgasm Challenge 1"]
>>
<<set $duels to [
"Normal Duel 1"]
>>
<<set $waterSportsDuels to [
]
>>
<<set $feetDuels to [
]
>>
<<set $crossdressingDuels to [
"Crossdress Duel 1"]
>>
<<set $analDuels to [
"Anal Duel 1"
]
>>
<<set $analingusDuels to [
]
>>
<<set $animalDuels to [
]
>>
<<set $deniedOrgasmDuels to [
]
>>
<<set $saveName to "Slot">><<nobr>><style>
.characteristics {
width: 25%;
}
.characteristicsContainer {
display: flex;
}
.imageSelection {
display: flex;
align-items: center;
justify-content: space-evenly;
width: 35%;
}
</style><</nobr>><<nobr>><<silently>>
<<if $players.length is 0>>
<<for _i to 0; _i lt $pcFriends; _i++>>
<<set _newPlayer to {number: _i, gender: "", name: "", image: "", attraction: 60, friendship: 60, color: "white", friendsAttraction: [], friendsFriendship: [], willpower: "medium", stress: 0, arousal: 0, swap: "", state: "dressed", status: [], piss: 0}>>
<<set $players.push( _newPlayer)>>
<<for _j to 0; _j lt $pcFriends; _j++>>
<<set $players[_i].friendsAttraction.push(60)>>
<<set $players[_i].friendsFriendship.push(60)>>
<</for>>
<</for>>
<</if>>
<<set _currentFriendNumber to 0>>
<<set _imageChoice to 0>>
<<set _tempCharacteristicValues to [0, 20, 40, 60, 80, 100]>>
<<set _tempGirlNames to ["Naomi", "Mia", "Luna", "Riley"]>>
<<set _tempBoyNames to ["Mike", "Ethan", "James", "William"]>>
<<set _tempColors to ["white", "lime", "aqua", "orange", "gray", "pink"]>>
<<set _tempWillpowers to ["low","medium","high"]>>
<</silently>><</nobr>><<widget "reset">><<nobr>>
<<if $players[_currentFriendNumber].gender is "female">>
<<set $images[_imageChoice].isFemaleUsed to false>>
<<else>>
<<set $images[_imageChoice].isMaleUsed to false>>
<</if>>
<<set $players[_currentFriendNumber].gender to "">>
<<set $players[_currentFriendNumber].name to "">>
<<set $players[_currentFriendNumber].image to "">>
<<set $players[_currentFriendNumber].attraction to 60>>
<<set $players[_currentFriendNumber].friendship to 60>>
<<set $players[_currentFriendNumber].color to "white">>
<<set $players[_currentFriendNumber].willpower to "medium">>
<</nobr>>
<</widget>><<widget "randomize">><<nobr>>
<<if $players[_currentFriendNumber].image isnot "">>
<<if $players[_currentFriendNumber].gender is "female">>
<<set $images[_imageChoice].isFemaleUsed to false>>
<<elseif $players[_currentFriendNumber].gender is "male">>
<<set $images[_imageChoice].isMaleUsed to false>>
<</if>>
<</if>>
<<set _tempRandNumber to random(1,2)>>
<<if _tempRandNumber is 1>>
<<set $players[_currentFriendNumber].gender to "female">>
<<set _tempRandNumber to random(0, $images.length-1)>>
<<for _i to _tempRandNumber; _i lt $images.length; _i++>>
<<if not $images[_i].isFemaleUsed>>
<<set $players[_currentFriendNumber].image to $images[_i].image>>
<<set _imageChoice to _i>>
<<break>>
<<elseif _i is $images.length-1>>
<<set _i to 0>>
<</if>>
<</for>>
<<set $images[_imageChoice].isFemaleUsed to true>>
<<set _tempRandNumber to random(0, _tempGirlNames.length-1)>>
<<set $players[_currentFriendNumber].name to _tempGirlNames[_tempRandNumber]>>
<<else>>
<<set $players[_currentFriendNumber].gender to "male">>
<<set _tempRandNumber to random(0, $images.length-1)>>
<<for _i to _tempRandNumber; _i lt $images.length; _i++>>
<<if not $images[_i].isMaleUsed>>
<<set $players[_currentFriendNumber].image to $images[_i].image>>
<<set _imageChoice to _i>>
<<break>>
<<elseif _i is $images.length-1>>
<<set _i to 0>>
<</if>>
<</for>>
<<set $images[_imageChoice].isMaleUsed to true>>
<<set _tempRandNumber to random(0, _tempBoyNames.length-1)>>
<<set $players[_currentFriendNumber].name to _tempBoyNames[_tempRandNumber]>>
<</if>>
<<set _tempRandNumber to random(0, _tempCharacteristicValues.length-1)>>
<<set $players[_currentFriendNumber].attraction to _tempCharacteristicValues[_tempRandNumber]>>
<<set _tempRandNumber to random(0, _tempCharacteristicValues.length-1)>>
<<set $players[_currentFriendNumber].friendship to _tempCharacteristicValues[_tempRandNumber]>>
<<set _tempRandNumber to random(0, _tempColors.length-1)>>
<<set $players[_currentFriendNumber].color to _tempColors[_tempRandNumber]>>
<<set _tempRandNumber to random(0, _tempWillpowers.length-1)>>
<<set $players[_currentFriendNumber].willpower to _tempWillpowers[_tempRandNumber]>>
<</nobr>><</widget>><<widget "showImages">> <<nobr>>
<div class="imageSelection">
<<button " < ">>
<<if $players[_currentFriendNumber].gender is "female">>
<<set $images[_imageChoice].isFemaleUsed to false>>
<<else>>
<<set $images[_imageChoice].isMaleUsed to false>>
<</if>>
<<chooseImage "down">>
<<replace "#image">>
<span id="image" class="resize">
<<if $players[_currentFriendNumber].gender is "female">>
<<set $players[_currentFriendNumber].image to $images[_imageChoice].image>>
<<else>>
<<set $players[_currentFriendNumber].image to $images[_imageChoice].image>>
<</if>>
<br><<showImage "null" $players[_currentFriendNumber].state $players[_currentFriendNumber].swap $players[_currentFriendNumber].gender $players[_currentFriendNumber].image>>
</span>
<</replace>>
<</button>>
<span id="image" class="resize">
<<if $players[_currentFriendNumber].image is "">>
<<for _i to 0; _i lt 5; _i++>>
<<if $players[_currentFriendNumber].gender is "female" and not $images[_i].isFemaleUsed>>
<<set $players[_currentFriendNumber].image to $images[_i].image>>
<<set $images[_i].isFemaleUsed to true>>
<<set _imageChoice to _i>>
<<break>>
<<elseif $players[_currentFriendNumber].gender is "male" and not $images[_i].isMaleUsed>>
<<set $players[_currentFriendNumber].image to $images[_i].image>>
<<set $images[_i].isMaleUsed to true>>
<<set _imageChoice to _i>>
<<break>>
<</if>>
<</for>>
<</if>>
<br><<showImage "null" $players[_currentFriendNumber].state $players[_currentFriendNumber].swap $players[_currentFriendNumber].gender $players[_currentFriendNumber].image>>
</span>
<<button " > ">>
<<if $players[_currentFriendNumber].gender is "female">>
<<set $images[_imageChoice].isFemaleUsed to false>>
<<else>>
<<set $images[_imageChoice].isMaleUsed to false>>
<</if>>
<<chooseImage "up">>
<<replace "#image">>
<span id="image" class="resize">
<<if $players[_currentFriendNumber].gender is "female">>
<<set $players[_currentFriendNumber].image to $images[_imageChoice].image>>
<<else>>
<<set $players[_currentFriendNumber].image to $images[_imageChoice].image>>
<</if>>
<br><<showImage "null" $players[_currentFriendNumber].state $players[_currentFriendNumber].swap $players[_currentFriendNumber].gender $players[_currentFriendNumber].image>>
</span>
<</replace>>
<</button>>
</div><</nobr>><</widget>><<widget "changeColor">><<nobr>>
<<set $players[_currentFriendNumber].color to _args[0]>>
<<replace ".friendColorChange">>
<<colorText _currentFriendNumber friendColorChange>>This is your friend's color.<</colorText>>
<</replace>>
<<replace "#textBox">>
<<textbox "$players[_currentFriendNumber].color" $players[_currentFriendNumber].color>>
<</replace>>
<</nobr>><</widget>><<widget "newFriendCustomization">>
<<nobr>><span class="bold subtitle"><<print " Friend " + ($players[_currentFriendNumber].number+1)>></span>
<<link "Randomize">>
<<randomize>>
<<replace "#friendCustomization">>
<<newFriendCustomization>>
<</replace>>
<</link>>
<<link "Reset">>
<<reset>>
<<replace "#friendCustomization">>
<<newFriendCustomization>>
<</replace>>
<</link>>
<</nobr>>
<<if $players[_currentFriendNumber].gender is "female">>
<<nobr>><span id="friendGender">
Your friend is a girl.
<br><br>
What's her name?
<<textbox "$players[_currentFriendNumber].name" $players[_currentFriendNumber].name>>
<br><br>
How does she look like?
<br>
<<showImages>></span><</nobr>>
<<elseif $players[_currentFriendNumber].gender is "male">>
<<nobr>><span id="friendGender">
Your friend is a boy.
<br><br>
What's his name?
<<textbox "$players[_currentFriendNumber].name" $players[_currentFriendNumber].name>>
<br><br>
How does he look like?
<br>
<<showImages>></span><</nobr>>
<<else>>
You friend is a <<nobr>><span id="friendGender">
<<link "girl">>
<<set $players[_currentFriendNumber].gender to "female">>
<<replace "#friendGender">>
''girl''.
<br><br>
What's her name?
<<textbox "$players[_currentFriendNumber].name" "">>
<br><br>
How does she look like?
<br>
<<showImages>><br>
<</replace>>
<</link>>
/
<<link "boy.">>
<<set $players[_currentFriendNumber].gender to "male">>
<<replace "#friendGender">>
''boy''.
<br><br>
What's his name?
<<textbox "$players[_currentFriendNumber].name" "">>
<br><br>
How does he look like?
<br>
<<showImages>><br>
<</replace>>
<</link>><br><br>
</span>
<</nobr>><</if>><div class="characteristicsContainer"><div class="characteristics"><span class="bold">Attraction to you</span>
<label><<radiobutton "$players[_currentFriendNumber].attraction" 0 autocheck>> No attraction at all</label>
<label><<radiobutton "$players[_currentFriendNumber].attraction" 20 autocheck>> Very low</label>
<label><<radiobutton "$players[_currentFriendNumber].attraction" 40 autocheck>> Low</label>
<label><<radiobutton "$players[_currentFriendNumber].attraction" 60 autocheck>> High</label>
<label><<radiobutton "$players[_currentFriendNumber].attraction" 80 autocheck>> Very high</label>
<label><<radiobutton "$players[_currentFriendNumber].attraction" 100 autocheck>> Attraction at its peak </label></div>
<div class="characteristics"><span class="bold">Friendship with you</span>
<label><<radiobutton "$players[_currentFriendNumber].friendship" 0 autocheck>> No friendship at all</label>
<label><<radiobutton "$players[_currentFriendNumber].friendship" 20 autocheck>> Very low</label>
<label><<radiobutton "$players[_currentFriendNumber].friendship" 40 autocheck>> Low</label>
<label><<radiobutton "$players[_currentFriendNumber].friendship" 60 autocheck>> High</label>
<label><<radiobutton "$players[_currentFriendNumber].friendship" 80 autocheck>> Very high</label>
<label><<radiobutton "$players[_currentFriendNumber].friendship" 100 autocheck>> Friendship as its peak </label></div>
<div class="characteristics"><span class="bold">Willpower</span>
<label><<radiobutton "$players[_currentFriendNumber].willpower" "low" autocheck>> Low</label>
<label><<radiobutton "$players[_currentFriendNumber].willpower" "medium" autocheck>> Medium</label>
<label><<radiobutton "$players[_currentFriendNumber].willpower" "high" autocheck>> High</label></div></div>
<<colorText _currentFriendNumber friendColorChange>>This is your friend's color.<</colorText>>
<<nobr>>
<br>
Change to :
<<link "White">>
<<changeColor "white">>
<</link>>
<<link "Lime">>
<<changeColor "lime">>
<</link>>
<<link "Pink">>
<<changeColor "pink">>
<</link>>
<<link "Aqua">>
<<changeColor "aqua">>
<</link>>
<<link "Gray">>
<<changeColor "gray">>
<</link>>
<<link "Orange">>
<<changeColor "orange">>
<</link>>
<</nobr>>
<<nobr>>
Custom
<span id="textBox"><<textbox "$players[_currentFriendNumber].color" $players[_currentFriendNumber].color>></span>
<<link "Ok">>
<<replace ".friendColorChange">>
<<colorText _currentFriendNumber>>This is your friend's color.<</colorText>>
<</replace>>
<</link>>
<</nobr>><br><br><</widget>><<widget "chooseImage">><<silently>>
<<if _args[0] is "down">>
<<for _i to 0; _i lt 5; _i++>>
<<if _imageChoice isnot 0>>
<<set _imageChoice-->>
<<else>>
<<set _imageChoice to 4>>
<</if>>
<<if $players[_currentFriendNumber].gender is "female">>
<<if not $images[_imageChoice].isFemaleUsed>>
<<set $images[_imageChoice].isFemaleUsed to true>>
<<break>>
<</if>>
<<else>>
<<if not $images[_imageChoice].isMaleUsed>>
<<set $images[_imageChoice].isMaleUsed to true>>
<<break>>
<</if>>
<</if>>
<</for>>
<<else>>
<<for _i to 0; _i lt 5; _i++>>
<<if _imageChoice isnot 4>>
<<set _imageChoice++>>
<<else>>
<<set _imageChoice to 0>>
<</if>>
<<if $players[_currentFriendNumber].gender is "female">>
<<if not $images[_imageChoice].isFemaleUsed>>
<<set $images[_imageChoice].isFemaleUsed to true>>
<<break>>
<</if>>
<<else>>
<<if not $images[_imageChoice].isMaleUsed>>
<<set $images[_imageChoice].isMaleUsed to true>>
<<break>>
<</if>>
<</if>>
<</for>>
<</if>>
<</silently>><</widget>><h2>Friends Creation</h2>
<span class="tips">The greater the attraction, the more your friends will choose you for lewd challenges. The lower your friendship, the more your friends will choose you harsh, humiliating challenges.</span>
<span id="friendCustomization"><<newFriendCustomization>></span><<nobr>>
<<link "Next">>
<<if $players[_currentFriendNumber].name isnot "">>
<<set _currentFriendNumber++>>
<<set _imageChoice to 0>>
<<if _currentFriendNumber lt $players.length>>
<<replace "#friendCustomization">>
<<newFriendCustomization>>
<</replace>>
<<elseif $players.length isnot 1>>
<<set $friendsCustomized to true>>
<<goto "Friends Customization Bis">>
<<else>>
<<set $friendsCustomized to true>>
<<goto "Options">>
<</if>>
<<else>>
<<script>>
UI.alert("You must choose a name for your friend")
<</script>>
<</if>>
<</link>>
<</nobr>>
<<nobr>>
<style>
.friendContainer {
display: flex;
align-items: center;
border: solid;
width: 100%;
justify-content: space-evenly;
}
</style>
<<widget playerLink>>
<<link "You">>
<<set _tempI to _args[0]>>
<<set _tempProgressClassGetter to ".progressChange-" + _tempI>>
<<set _tempPlayerNameClassGetter to ".playerNameChange-" + _tempI>>
<<replace _tempProgressClassGetter>>
<span class="progressContainer">Attraction <<showProgress $players[_tempI].attraction>></span><br><span class="progressContainer">
Friendship <<showProgress $players[_tempI].friendship>></span>
<</replace>>
<<replace _tempPlayerNameClassGetter>>
you
<</replace>>
<</link>>
<</widget>>
<<widget "friendLink">>
<<set _tempJ to _args[1]>>
<<link "$players[_tempJ].name">>
<<set _tempJ to _args[1]>>
<<set _tempI to _args[0]>>
<<set _tempProgressClassGetter to ".progressChange-" + _tempI>>
<<set _tempPlayerNameClassGetter to ".playerNameChange-" + _tempI>>
<<replace _tempProgressClassGetter>>
<span class="progressContainer">Attraction <<showProgress $players[_tempI].friendsAttraction[_tempJ]>></span><br><span class="progressContainer">
Friendship <<showProgress $players[_tempI].friendsFriendship[_tempJ]>></span>
<</replace>>
<<replace _tempPlayerNameClassGetter>>
<<colorText _tempJ>>$players[_tempJ].name<</colorText>>
<</replace>>
<</link>>
<</widget>>
<<widget "showProgress">>
<<if _args[0] lte 30>>
<span class="lowProgress"><progress @value="_args[0]" min="0" max="100"></progress> </span>
<<elseif _args[0] lte 70>>
<span class="mediumProgress"><progress @value="_args[0]" min="0" max="100"></progress> </span>
<<else>>
<span class="highProgress"><progress @value="_args[0]" min="0" max="100"></progress></span>
<</if>>
<</widget>>
<<widget "showInverseProgress">>
<<if _args[0] lte 30>>
<span class="highProgress"><progress @value="_args[0]" min="0" max="100"></progress> </span>
<<elseif _args[0] lte 70>>
<span class="mediumProgress"><progress @value="_args[0]" min="0" max="100"></progress> </span>
<<else>>
<span class="lowProgress"><progress @value="_args[0]" min="0" max="100"></progress></span>
<</if>>
<</widget>>
<</nobr>><<for _i to 0; _i lt $pcFriends; _i++>><<silently>>
<<set _tempProgressClass to "progressChange-" + _i>>
<<set _tempPlayerNameClass to "playerNameChange-" + _i>>
<</silently>><div class="friendContainer"><<colorBorder imageBorder _i>><<showImage "friendImage" $players[_i].state $players[_i].swap $players[_i].gender $players[_i].image>><</colorBorder>>
<div><br><<colorText _i subtitle>>$players[_i].name<</colorText>>
<<nobr>><<if $players[_i].willpower is "low">>//Easily overwhelmed by <<his _i>> <br>emotions//
<<elseif $players[_i].willpower is "medium">>//Manage <<his _i>> emotions well//
<<elseif $players[_i].willpower is "high">>//Has a very strong will//
<</if>><</nobr>>
Stress <<showInverseProgress $players[_i].stress>>
Arousal <<showInverseProgress $players[_i].arousal>>
<<His _i>> feelings about <span style="font-weight: bold;"><<colorText _tempPlayerNameClass>> you<</colorText>></span>
<<colorText _tempProgressClass>><span class="progressContainer">Attraction <<showProgress $players[_i].attraction>></span><span class="progressContainer">
Friendship <<showProgress $players[_i].friendship>></span><</colorText>>
<<nobr>>
<<playerLink _i>>
<<for _j to 0; _j lt $players.length; _j++>>
<<if _j isnot _i>>
<<friendLink _i _j>>
<</if>>
<</for>>
<br>
<</nobr>><br></div></div><</for>><<widget "updatebar">>
<<silently>>
<<replace "#story-caption">>
<<display "StoryCaption">>
<</replace>>
<</silently>>
<</widget>>
<<widget "dick">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
dick
<<else>>
pussy
<</if>>
<<else>>
<<if $pcGender is "male">>
dick
<<else>>
pussy
<</if>>
<</if>>
<</nobr>><</widget>>
<<widget "boy">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
boy
<<else>>
girl
<</if>>
<<else>>
<<if $pcGender is "male">>
boy
<<else>>
girl
<</if>>
<</if>>
<</nobr>><</widget>>
<<widget "boyOpposite">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
girl
<<else>>
boy
<</if>>
<<else>>
<<if $pcGender is "male">>
girl
<<else>>
boy
<</if>>
<</if>>
<</nobr>><</widget>>
<<widget "himself">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
himself
<<else>>
herself
<</if>>
<<else>>
yourself
<</if>>
<</nobr>><</widget>>
<<widget "he">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
he
<<else>>
she
<</if>>
<<else>>
you
<</if>>
<</nobr>><</widget>>
<<widget "He">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
He
<<else>>
She
<</if>>
<<else>>
You
<</if>>
<</nobr>><</widget>>
<<widget "his">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
his
<<else>>
her
<</if>>
<<else>>
your
<</if>>
<</nobr>><</widget>>
<<widget "His">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
His
<<else>>
Her
<</if>>
<<else>>
Your
<</if>>
<</nobr>><</widget>>
<<widget "him">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
him
<<else>>
her
<</if>>
<<else>>
you
<</if>>
<</nobr>><</widget>>
<<widget "Him">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length>>
<<if $players[_widgetPlayer].gender is "male">>
Him
<<else>>
Her
<</if>>
<<else>>
You
<</if>>
<</nobr>><</widget>>
<<widget "is">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length and not _args[1]>>
is
<<elseif _widgetPlayer isnot $players.length and _args[1]>>
's
<<elseif _widgetPlayer is $players.length and not _args[1]>>
are
<<else>>
're
<</if>>
<</nobr>><</widget>>
<<widget "do">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length and not _args[1]>>
doesn't
<<elseif _widgetPlayer isnot $players.length and _args[1]>>
does
<<elseif _widgetPlayer is $players.length and not _args[1]>>
don't
<<else>>
do
<</if>>
<</nobr>><</widget>>
<<widget "have">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer isnot $players.length and not _args[1]>>
hasn't
<<elseif _widgetPlayer isnot $players.length and _args[1]>>
has
<<elseif _widgetPlayer is $players.length and not _args[1]>>
haven't
<<else>>
have
<</if>>
<</nobr>><</widget>>
<<widget "conjugate">><<nobr>>
<<set _result to _args[0]>>
<<if _args[1] isnot $players.length>>
<<set _result to _result + "s">>
<</if>>
_result
<</nobr>><</widget>>
<<widget "conjugateBis">><<nobr>>
<<set _result to _args[0]>>
<<if _args[1] isnot $players.length>>
<<set _result to _result + "es">>
<</if>>
_result
<</nobr>><</widget>>
<<widget "playerName">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer is $players.length>>
<<if _args[1]>>
<strong>You</strong>
<<else>>
<strong>you</strong>
<</if>>
<<else>>
<<colorText _widgetPlayer>>$players[_widgetPlayer].name<</colorText>>
<</if>>
<</nobr>><</widget>>
<<widget "Your">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer is $players.length>>
<strong>Your</strong>
<<else>>
<<colorText _widgetPlayer>>$players[_widgetPlayer].name's<</colorText>>
<</if>>
<</nobr>><</widget>>
<<widget "your">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<if _widgetPlayer is $players.length>>
<strong>your</strong>
<<else>>
<<colorText _widgetPlayer>>$players[_widgetPlayer].name's<</colorText>>
<</if>>
<</nobr>><</widget>>
<<widget "randomizePlayer">><<nobr>>
<<set _tempPlayers to []>>
<<for _i to 0; _i lt $players.length; _i++>>
<<set _tempPlayers.push($players[_i].number)>>
<</for>>
<<set _tempPlayers.push($players.length)>>
<<set _tempIndexsToDelete to []>>
<<for _argsIndex to 0; _argsIndex lt _args.length; _argsIndex++>>
<<for _playersIndex to 0; _playersIndex lt $players.length; _playersIndex++>>
<<if _args[_argsIndex] is $players[_playersIndex].number>>
<<set _tempIndexsToDelete.push(_playersIndex)>>
<<break>>
<<elseif _args[_argsIndex] is $players.length>>
<<set _tempIndexsToDelete.push(_tempPlayers.length-1)>>
<<break>>
<</if>>
<</for>>
<</for>>
<<for _indexToDelete to _tempIndexsToDelete.length-1; _indexToDelete gte 0; _indexToDelete-->>
<<if _tempPlayers.length > 1>>
<<run _tempPlayers.deleteAt(_tempIndexsToDelete[_indexToDelete])>>
<</if>>
<</for>>
<<set $randomPlayer to _tempPlayers[random(0, _tempPlayers.length-1)]>>
<</nobr>><</widget>>
<<widget "dialog" container>><<nobr>>
<<set _tempFriendNumber to _args[0]>>
<<if _tempFriendNumber isnot $players.length>>
<<colorBorder dialogContainer _tempFriendNumber>>
<span class="imageContent">
<<colorText _tempFriendNumber dialogName>>
$players[_tempFriendNumber].name
<</colorText>>
<<colorBorder imageDialogBorder _tempFriendNumber>>
<<showImage "imageDialog" $players[_tempFriendNumber].gender $players[_tempFriendNumber].state $players[_tempFriendNumber].swap "portrait" $players[_tempFriendNumber].image>>
<</colorBorder>>
</span>
<span class="dialogContent">
<p class="dialogText">
_contents
</p>
</span>
<</colorBorder>>
<<else>>
<<colorBorder dialogContainer pcColor>>
<span class="imageContent">
<<colorText pcColor dialogName>>
$pcName
<</colorText>>
<<colorBorder imageDialogBorder pcColor>>
<<showImage "imageDialog" $pcGender $pcState $pcSwap "portrait" $pcImage>>
<</colorBorder>>
</span>
<span class="dialogContent">
<p class="dialogText">
_contents
</p>
</span>
<</colorBorder>>
<</if>>
<</nobr>><</widget>>
<<widget "getNameSquare">><<nobr>>
<<set _gameBoardSquare to _args[0]>>
<<switch _gameBoardSquare>>
<<case "st">>
<span style="color: #564d4a;">Start</span>
<<case "re">>
<span style="color: #564d4a;">Rest</span>
<<case "bo">>
<span style="color: #629460;">Bonus</span>
<<case "ma">>
<span style="color: #db5461;">Malus</span>
<<case "dur">>
<span style="color: #db5461;">Duel</span>
<<case "duy">>
<span style="color: #fde74c;">Duel</span>
<<case "dug">>
<span style="color: #629460;">Duel</span>
<<case "sp">>
<span style="color: #564d4a;">Special</span>
<<case "chr">>
<span style="color: #db5461;">Challenge</span>
<<case "chy">>
<span style="color: #fde74c;">Challenge</span>
<<case "chg">>
<span style="color: #629460;">Challenge</span>
<</switch>>
<</nobr>><</widget>>
<<widget "modifyStress">><<nobr>>
<<set _playerIndex to _args[0]>>
<<set _modifier to _args[1]>>
<<if _modifier isnot 0>>
<<if _playerIndex is $players.length>>
<<set $pcStress to Math.clamp($pcStress + _modifier, 0, 100)>>
<<colorText pcColor italic>>$pcName<</colorText>> |
<<else>>
<<set $players[_playerIndex].stress to Math.clamp($players[_playerIndex].stress + _modifier, 0, 100)>>
<<colorText _playerIndex italic>>$players[_playerIndex].name<</colorText>> |
<</if>>
<<displayChange _modifier "Stress">>
<</if>>
<</nobr>><</widget>>
<<widget "modifyArousal">><<nobr>>
<<set _playerIndex to _args[0]>>
<<set _modifier to _args[1]>>
<<if _modifier isnot 0>>
<<if _playerIndex is $players.length>>
<<set $pcArousal to Math.clamp($pcArousal + _modifier, 0, 100)>>
<<colorText pcColor italic>>$pcName<</colorText>> |
<<else>>
<<set $players[_playerIndex].arousal to Math.clamp($players[_playerIndex].arousal + _modifier, 0, 100)>>
<<colorText _playerIndex italic>>$players[_playerIndex].name<</colorText>> |
<</if>>
<<displayChange _modifier "Arousal">>
<</if>>
<</nobr>><</widget>>
<<widget "modifyAttraction">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<set _playerTarget to _args[1]>>
<<set _modifier to _args[2]>>
<<if _modifier isnot 0>>
<<if _widgetPlayer isnot $players.length and $permanentStats isnot "all">>
<<if _playerTarget is $players.length and $permanentStats isnot "player">>
<<set $players[_widgetPlayer].attraction to Math.clamp($players[_widgetPlayer].attraction + _modifier, 0, 100)>>
<span class="italic"><<colorText _widgetPlayer>>$players[_widgetPlayer].name<</colorText>> to <strong>you</strong></span> |
<<displayChange _modifier "Attraction">>
<<elseif _playerTarget isnot $players.length and $permanentStats isnot "friends">>
<<set $players[_widgetPlayer].friendsAttraction[_playerTarget] to Math.clamp($players[_widgetPlayer].friendsAttraction[_playerTarget] + _modifier, 0, 100)>>
<span class="italic"><<colorText _widgetPlayer>>$players[_widgetPlayer].name's<</colorText>> to <<colorText _playerTarget>>$players[_playerTarget].name<</colorText>></span> |
<<displayChange _modifier "Attraction">>
<</if>>
<</if>>
<</if>>
<</nobr>><</widget>>
<<widget "modifyFriendship">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<set _playerTarget to _args[1]>>
<<set _modifier to _args[2]>>
<<if _modifier isnot 0>>
<<if _widgetPlayer isnot $players.length and $permanentStats isnot "all">>
<<if _playerTarget is $players.length and $permanentStats isnot "player">>
<<set $players[_widgetPlayer].friendship to Math.clamp($players[_widgetPlayer].friendship + _modifier, 0, 100)>>
<span class="italic"><<colorText _widgetPlayer>>$players[_widgetPlayer].name's<</colorText>> to <strong>you</strong></span> |
<<displayChange _modifier "Friendship">>
<<elseif _playerTarget isnot $players.length and $permanentStats isnot "friends">>
<<set $players[_widgetPlayer].friendsFriendship[_playerTarget] to Math.clamp($players[_widgetPlayer].friendsFriendship[_playerTarget] + _modifier, 0, 100)>>
<span class="italic"><<colorText _player>>$players[_widgetPlayer].name's<</colorText>> to <<colorText _playerTarget>>$players[_playerTarget].name<</colorText>></span> |
<<displayChange _modifier "Friendship">>
<</if>>
<</if>>
<</if>>
<</nobr>><</widget>>
<<widget "modifyPoints">><<nobr>>
<<set _playerIndex to _args[0]>>
<<set _modifier to _args[1]>>
<<if _modifier isnot 0>>
<<for _i to 0; _i lt $playersInfos.length; _i++>>
<<if $playersInfos[_i].player is _playerIndex>>
<<set $playersInfos[_i].points to Math.clamp($playersInfos[_i].points + _modifier, 0, 1000)>>
<<break>>
<</if>>
<</for>>
<<if _playerIndex is $players.length>>
<<colorText pcColor italic>>$pcName<</colorText>> |
<<else>>
<<colorText _playerIndex italic>>$players[_playerIndex].name<</colorText>> |
<</if>>
<<if _modifier gt 0>>
<span style="color: green;">
+_modifier Point<<if _modifier gt 1>>s<</if>>
</span>
<<elseif _modifier lt 0>>
<span style="color: red;">
_modifier Point<<if _modifier*-1 gt 1>>s<</if>>
</span>
<</if>>
<</if>>
<</nobr>><</widget>>
<<widget "displayChange">><<nobr>>
<<set _modifier to _args[0]>>
<<set _nameStats to _args[1]>>
<<set _display to "">>
<<if _modifier isnot 0>>
<<if _modifier gt 50>>
<<set _display to "++++" + _nameStats>>
<<elseif _modifier gt 30>>
<<set _display to "+++" + _nameStats>>
<<elseif _modifier gt 10>>
<<set _display to "++" + _nameStats>>
<<elseif _modifier gt 0>>
<<set _display to "+" + _nameStats>>
<<elseif _modifier gte -10>>
<<set _display to "‐" + _nameStats>>
<<elseif _modifier gte -30>>
<<set _display to "‐‐" + _nameStats>>
<<elseif _modifier gte -50>>
<<set _display to "‐‐‐" + _nameStats>>
<<else>>
<<set _display to "‐‐‐‐" + _nameStats>>
<</if>>
<<if _nameStats isnot "Attraction" and _nameStats isnot "Friendship">>
<<if _modifier gt 0>>
<span style="color: red;">
_display
</span>
<<else>>
<span style="color: green;">
_display
</span>
<</if>>
<<else>>
<<if _modifier gt 0>>
<span style="color: green;">
_display
</span>
<<else>>
<span style="color: red;">
_display
</span>
<</if>>
<</if>>
<</if>>
<</nobr>><</widget>>
<<widget "changePiss">><<nobr>>
<<set _widgetPlayer to _args[0]>>
<<set _modifier to _args[1]>>
<<if _widgetPlayer is $players.length>>
<<set $pcPiss to Math.clamp($pcPiss + _modifier, 0, 9)>>
<<else>>
<<set $players[_widgetPlayer].piss to Math.clamp($players[_widgetPlayer].piss + _modifier, 0, 9)>>
<</if>>
<</nobr>><</widget>>
<<widget "rollDices" container>><<nobr>>
<<if _args[1] isnot undefined>>
<<set _playersExcluded to _args[0]>>
<<else>>
<<set _playersExcluded to []>>
<</if>>
<<set _luckTarget to _args[0]>>
<<set _highestValuePositions to []>>
<<set _rollsResults to []>>
<span id="diceResults"></span>
<span id="reroll"></span>
<span id="linkChange"><<link "Roll dice">>
<<if _rollsResults.length is 0>>
<<for _i to 0; _i lt $players.length+1;_i++>>
<<if not _playersExcluded.includes(_i) and _i isnot $players.length>>
<<set _rollsResults.push(random(1,6))>>
<<elseif not _playersExcluded.includes(_i) and _i is $players.length>>
<<set _rollsResults.push(setup.checkPlayerDiceLuck(_luckTarget))>>
<<else>>
<<set _rollsResults.push(-1)>>
<</if>>
<</for>>
<<else>>
<<for _i to 0; _i lt $players.length+1;_i++>>
<<if _highestValuePositions.contains(_i)>>
<<set _rollsResults[_i] to random(1,6)>>
<<else>>
<<set _rollsResults[_i] to -1>>
<</if>>
<</for>>
<</if>>
<<replace "#diceResults">>
<<set _playerPosition to _rollsResults.length-1>>
<<if _rollsResults[_playerPosition] isnot -1>>
<span class="bold">Your</span> result is <span class="bold">_rollsResults[_playerPosition]</span><br>
<</if>>
<<for _i to 0; _i lt $players.length; _i++>>
<<if _rollsResults[_i] isnot -1>>
<span class="bold"><<colorText _i>>$players[_i].name's<</colorText>></span> result is <span class="bold">_rollsResults[_i]</span><br>
<</if>>
<</for>>
<br>
<</replace>>
<<set _highestValuePositions to setup.getHighestValue(_rollsResults)>>
<<if _highestValuePositions.length is 1>>
<<set _winner to _highestValuePositions[0]>>
<</if>>
<br>
<<if _highestValuePositions.length gt 1>>
<<replace "#reroll">>
We have to reroll!<br>
<</replace>>
<<else>>
<<replace "#reroll">><</replace>>
<<replace "#linkChange">>
_contents
<</replace>>
<</if>>
<</link>></span>
<</nobr>><</widget>>
<<widget "pushStatus">><<nobr>>
<<set _playerWidget to _args[0]>>
<<set _status to _args[1]>>
<<set _newStatus to true>>
<<if _playerWidget is $players.length>>
<<for _i to 0; _i lt $pcStatus.length; _i++>>
<<if $pcStatus[_i] is _status>>
<<set _newStatus to false>>
<<break>>
<</if>>
<</for>>
<<if _newStatus>>
<<set $pcStatus.push(_status)>>
<</if>>
<<else>>
<<for _i to 0; _i lt $players[_playerWidget].status.length; _i++>>
<<if $players[_playerWidget].status[_i] is _status>>
<<set _newStatus to false>>
<<break>>
<</if>>
<</for>>
<<if _newStatus>>
<<set $players[_playerWidget].status.push(_status)>>
<</if>>
<</if>>
<</nobr>><</widget>><<nobr>>
<<set _rulesAreShown to false>>
<<set _optionsAreShown to false>>
<<randomizePlayer $players.length>>
You arrive at your friend's house, a little anxious but also a little curious to play that strange board game <<he $randomPlayer>> told you about. You see <<him $randomPlayer>> already rummaging through the game box<<if $players.length > 2>> with the others<<elseif $players.length > 1>> with your other friend<</if>>. <<He $randomPlayer>> hands you the
<<link "rules">>
<<if not _rulesAreShown>>
<<set _rulesAreShown to true>>
<<replace "#rulesChange">>
<<showRules>><br><br>
<</replace>>
<<else>>
<<set _rulesAreShown to false>>
<<replace "#rulesChange">><</replace>>
<</if>>
<<if not _optionsAreShown>>
<<set _optionsAreShown to true>>
<<replace "#optionsChange">>
<<showRoundsChoice>>
<</replace>>
<</if>>
<</link>> when <<he $randomPlayer>> sees you.<br>
<br><span id="rulesChange"></span>
<span id="optionsChange"><<dialog $randomPlayer>>Hey $pcName! I'm glad you came, here, read this! In the meantime <<if $players.length > 1>>we are <<else>>I am <</if>> setting up the game.<</dialog>></span>
<</nobr>><<nobr>>
<style>
.friendContainer {
display: flex;
flex-direction: row;
width: 100%;
align-items: center;
}
.nameImageContainer {
display: flex;
flex-direction: column;
}
.text {
display: flex;
flex: 1;
margin-left: 20px;
}
.characteristics {
width: 30%;
}
.characteristicsContainer {
display: flex;
}
</style>
<<silently>>
<<set _globalFriendsAttraction to 60>>
<<set _globalFriendsFriendship to 60>>
<<set _friendsAttraction to [60, 60, 60, 60]>>
<<set _friendsFriendship to [60, 60, 60, 60]>>
<<set _friendsDeepCustomization to [false, false, false, false]>>
<<set _tempAttractions to [0, 20, 40, 60, 80, 100]>>
<<set _tempFriendships to [0, 20, 40, 60, 80, 100]>>
<</silently>>
<</nobr>><<nobr>><<widget "showFriends">>
<<for _i to 0; _i lt $players.length; _i++>>
<<set _tempSpanClass to "characteristicsChange-" + _i>>
<<colorText _i subtitle>>$players[_i].name<</colorText>>
<br>
<<colorText _tempSpanClass>><<basicFriendCustomization _i>><</colorText>>
<</for>>
<<link "Confirm">>
<<for _i to 0; _i lt $players.length; _i++>>
<<if not _friendsDeepCustomization[_i]>>
<<for _j to 0; _j lt $players.length; _j++>>
<<set $players[_i].friendsAttraction[_j] to _friendsAttraction[_i]>>
<<set $players[_i].friendsFriendship[_j] to _friendsFriendship[_i]>>
<</for>>
<</if>>
<</for>>
<<goto "Options">>
<</link>><br>
<<link "Back">>
<<replace "#characteristicsChange">>
<<globalCharacteristics>>
<</replace>>
<</link>>
<</widget>><</nobr>><<nobr>><<widget "basicFriendCustomization">>
<<His _args[0]>> attraction to the others is <<showAttractionListbox _args[0] "global">>
<br>
<<His _args[0]>> friendship with the others is <<showFriendshipListbox _args[0] "global">>
<br>
<<link "Randomize">>
<<set _tempSpanReplace to ".characteristicsChange-" + _args[0]>>
<<set _friendsAttraction[_args[0]] to _tempAttractions[random(0,5)]>>
<<set _friendsFriendship[_args[0]] to _tempFriendships[random(0,5)]>>
<<replace _tempSpanReplace>>
<<basicFriendCustomization _args[0]>>
<</replace>>
<</link>><br>
<<link "Customize further">>
<<set _friendsDeepCustomization[_args[0]] to true>>
<<set _tempSpanReplace to ".characteristicsChange-" + _args[0]>>
<<replace _tempSpanReplace>>
<<customFriendCustomization _args[0]>>
<</replace>>
<</link>><br><br>
<</widget>><</nobr>><<nobr>><<widget "customFriendCustomization">>
<<for _i to 0; _i lt $players.length; _i++>>
<<if _i isnot $players[_args[0]].number>>
<<His _args[0]>> attraction to <<colorText _i>>$players[_i].name<</colorText>> is <<showAttractionListbox _args[0] _i>><br>
<<His _args[0]>> friendship with <<colorText _i>>$players[_i].name<</colorText>> is <<showFriendshipListbox _args[0] _i>>
<br>
<</if>>
<</for>>
<<link "Randomize">>
<<set _tempSpanReplace to ".characteristicsChange-" + _args[0]>>
<<for _i to 0; _i lt $players.length; _i++>>
<<if _i isnot $players[_args[0]].number>>
<<set $players[_args[0]].friendsAttraction[_i] to _tempAttractions[random(0,5)]>>
<<set $players[_args[0]].friendsFriendship[_i] to _tempFriendships[random(0,5)]>>
<</if>>
<</for>>
<<replace _tempSpanReplace>>
<<customFriendCustomization _args[0]>>
<</replace>>
<</link>><br>
<<if $players.length gt 2>><<link "Back">>
<<set _friendsDeepCustomization[_args[0]] to false>>
<<set _tempSpanReplace to ".characteristicsChange-" + _args[0]>>
<<replace _tempSpanReplace>>
<<basicFriendCustomization _args[0]>>
<</replace>>
<</link>><br><br><</if>>
<</widget>><</nobr>><<nobr>><<widget "showFriendshipListbox">>
<<if _args.length gt 0 and _args[_args.length-1] is "global">>
<<listbox "_friendsFriendship[_args[0]]" autoselect>>
<<option "inexistent" 0>>
<<option "very low" 20>>
<<option "low" 40>>
<<option "high" 60>>
<<option "very high" 80>>
<<option "at its peak" 100>>
<</listbox>>
<<else>>
<<listbox "$players[_args[0]].friendsFriendship[_args[1]]" autoselect>>
<<option "inexistent" 0>>
<<option "very low" 20>>
<<option "low" 40>>
<<option "high" 60>>
<<option "very high" 80>>
<<option "at its peak" 100>>
<</listbox>>
<</if>>
<</widget>><</nobr>><<nobr>><<widget "showAttractionListbox">>
<<if _args.length gt 0 and _args[_args.length-1] is "global">>
<<listbox "_friendsAttraction[_args[0]]" autoselect>>
<<option "inexistent" 0>>
<<option "very low" 20>>
<<option "low" 40>>
<<option "high" 60>>
<<option "very high" 80>>
<<option "at its peak" 100>>
<</listbox>>
<<else>>
<<listbox "$players[_args[0]].friendsAttraction[_args[1]]" autoselect>>
<<option "inexistent" 0>>
<<option "very low" 20>>
<<option "low" 40>>
<<option "high" 60>>
<<option "very high" 80>>
<<option "at its peak" 100>>
<</listbox>>
<</if>>
<</widget>><</nobr>><<nobr>><<widget "globalCharacteristics">><div id="characteristicsChange"><div class="characteristicsContainer"><div class="characteristics"><span class="bold">Attraction between them</span><br>
<label><<radiobutton "_globalFriendsAttraction" 0 autocheck>> No attraction at all</label><br>
<label><<radiobutton "_globalFriendsAttraction" 20 autocheck>> Very low</label><br>
<label><<radiobutton "_globalFriendsAttraction" 40 autocheck>> Low</label><br>
<label><<radiobutton "_globalFriendsAttraction" 60 autocheck>> High</label><br>
<label><<radiobutton "_globalFriendsAttraction" 80 autocheck>> Very high</label><br>
<label><<radiobutton "_globalFriendsAttraction" 100 autocheck>> Attraction at its peak</label><br></div>
<div class="characteristics"><span class="bold">Friendship between them</span><br>
<label><<radiobutton "_globalFriendsFriendship" 0 autocheck>> No friendship at all</label><br>
<label><<radiobutton "_globalFriendsFriendship" 20 autocheck>> Very low</label><br>
<label><<radiobutton "_globalFriendsFriendship" 40 autocheck>> Low</label><br>
<label><<radiobutton "_globalFriendsFriendship" 60 autocheck>> High</label><br>
<label><<radiobutton "_globalFriendsFriendship" 80 autocheck>> Very high</label><br>
<label><<radiobutton "_globalFriendsFriendship" 100 autocheck>> Friendship at its peak</label><br></div>
<div class="characteristics">
<<link "Randomize">>
<<set _globalFriendsAttraction to _tempAttractions[random(0,5)]>>
<<set _globalFriendsFriendship to _tempFriendships[random(0,5)]>>
<<replace "#characteristicsChange">>
<<globalCharacteristics>>
<</replace>>
<</link>><br>
<<link "Customize">>
<<replace "#characteristicsChange">>
<<showFriends>>
<</replace>>
<</link>>
</div></div>
<br><br>
<<link "Confirm">>
<<for _i to 0; _i lt $players.length; _i++>>
<<for _j to 0; _j lt $players.length; _j++>>
<<set $players[_i].friendsAttraction[_j] to _globalFriendsAttraction>>
<<set $players[_i].friendsFriendship[_j] to _globalFriendsFriendship>>
<</for>>
<</for>>
<<goto "Options">>
<</link>>
</div>
<</widget>><</nobr>><h2>Friends Creation</h2>
<<nobr>>
<<if $players.length gt 2>>
<<globalCharacteristics>>
<<else>>
<<for _j to 0; _j lt $players.length; _j++>>
<<set _tempSpanClass to "characteristicsChange-" + _j>>
<<colorText _j subtitle>>$players[_j].name<</colorText>>
<br>
<<colorText _tempSpanClass>><<customFriendCustomization _j>><</colorText>>
<br>
<</for>>
<br>
<<link "Confirm">>
<<goto "Options">>
<</link>>
<</if>>
<</nobr>><<widget "showRules">>The game board has 40 squares. There are five types:
- ''Rest'': You do nothing
- ''Bonus/Malus'': You win or lose points directly
- ''Challenge'': You draw a challenge card. Three point values are shown on the card in addition to the challenge. The first corresponds to the number of points you earn if you accept the challenge and complete it. The second is the number of points you lose if you fail the challenge. And the third corresponds to the number of points you lose if you refuse the challenge
- ''Duel'': You choose another player then draw a duel card. The winner can earn points or give a handicap to the loser depending on what the card says
- ''Special'': You draw a special card. You'll either have to take a direct action, such as moving back a certain number of squares, or save the card for later, to cancel a future challenge for example
There are three different colors (<span style="color: #629460">green</span>, <span style="color: #fde74c">yellow</span>, <span style="color: #db5461">red</span>) for the challenge and duel squares, corresponding to their location on the board. The green ones are easy challenges, the yellow ones are a little harder and the red ones are the rarest but also the hardest. Their respective cards have the same colors.
When you pass the start square, you can remove a handicap or award yourself two points. If you stop on it,yo ucan award yourself five points instead of two.
The game is divided into rounds. Each round ends when all players have played.
A turn proceeds as follows: the player rolls a six-sided die, moves forward on the board and performs the action of the square.
The player who wins the game is the one who :
- has the most points at the end of all rounds
- reaches a certain number of points
- is the last to play
After reading the rules, you put them back in the box. Stress is building up, are you really going to play this game? It sounds crazy!<</widget>>
<<widget "showRoundsChoice">><<dialog $randomPlayer>>We have to define the number of rounds before playing, how many do you want to do? They say it was designed to last 30 rounds. I think we shouldn't do less than 10 rounds and no more than 100. Or we can simply not define a limit.<</dialog>>
<<nobr>>How many rounds? <span id="textBoxRounds"><<textbox "$roundsNumber" $roundsNumber>></span>
<<button "Ok">>
<<set $roundsNumber to Number($roundsNumber)>>
<<if not Number.isInteger($roundsNumber) or $roundsNumber < 0>>
<<set $roundsNumber to 30>>
<<replace "#roundsReaction">>
<<dialog $randomPlayer>>Um... Are you feeling alright?<</dialog>>
<</replace>>
<<replace "#textBoxRounds">>
<<textbox "$roundsNumber" $roundsNumber>>
<</replace>>
<<elseif $roundsNumber < 10>>
<<set $roundsNumber to 10>>
<<replace "#roundsReaction">>
<<dialog $randomPlayer>>Do you want to play or not? Let's play at least 10 rounds!<</dialog>>
<</replace>>
<<replace "#textBoxRounds">>
<<textbox "$roundsNumber" $roundsNumber>>
<</replace>>
<<elseif $roundsNumber > 100>>
<<set $roundsNumber to 100>>
<<replace "#roundsReaction">>
<<dialog $randomPlayer>>I don't want to stay here all night, it's better when a game has an end! Let's say 100 rounds.<</dialog>>
<</replace>>
<<replace "#textBoxRounds">>
<<textbox "$roundsNumber" $roundsNumber>>
<</replace>>
<<else>>
<<replace "#optionsChange">>
<<showPointsChoice>>
<</replace>>
<</if>>
<</button>><</nobr>>
<<nobr>>Choose <<link "unlimited rounds">>
<<set $roundsNumber to -1>>
<<replace "#optionsChange">>
<<showPointsChoice>>
<</replace>>
<</link>><</nobr>>
<span id="roundsReaction"></span><</widget>>
<<widget "showPointsChoice">>
<<dialog $randomPlayer>><<if $roundsNumber is -1>>All right, no limit for the rounds!<<else>>All right, $roundsNumber rounds!<</if>> Now we need to define the number of points we have to get to win. The recommanded value is 80, I guess we can choose between 20 and 200. Or as for the rounds we can define no limit.<</dialog>>
<<nobr>>How many points? <span id="textBoxPoints"><<textbox "$pointsNumber" $pointsNumber>></span>
<<button "Ok">>
<<set $pointsNumber to Number($pointsNumber)>>
<<if not Number.isInteger($pointsNumber) or $pointsNumber < 0>>
<<set $pointsNumber to 80>>
<<replace "#pointsReaction">>
<<dialog $randomPlayer>>Um... Are you feeling alright?<</dialog>>
<</replace>>
<<replace "#textBoxPoints">>
<<textbox "$pointsNumber" $pointsNumber>>
<</replace>>
<<elseif $pointsNumber < 20>>
<<set $pointsNumber to 20>>
<<replace "#pointsReaction">>
<<dialog $randomPlayer>>Do you want to play or not? Let's put the limit at least at 20 points!<</dialog>>
<</replace>>
<<replace "#textBoxPoints">>
<<textbox "$pointsNumber" $pointsNumber>>
<</replace>>
<<elseif $pointsNumber > 200>>
<<set $pointsNumber to 200>>
<<replace "#pointsReaction">>
<<dialog $randomPlayer>>I don't want to stay here all night, it's better when a game has an end! Let's say 200 points.<</dialog>>
<</replace>>
<<replace "#textBoxPoints">>
<<textbox "$pointsNumber" $pointsNumber>>
<</replace>>
<<else>>
<<goto "Options Bis">>
<</if>>
<</button>><</nobr>>
<<nobr>>Choose <<link "unlimited points">>
<<if $roundsNumber isnot -1>>
<<set $pointsNumber to -1>>
<<goto "Options Bis">>
<<else>>
<<replace "#pointsReaction">>
<<dialog $randomPlayer>>Sorry but the game has to have an end!<</dialog>>
<</replace>>
<</if>>
<</link>><</nobr>>
<span id="pointsReaction"></span><</widget>><<nobr>>
<<randomizePlayer $randomPlayer $players.length>>
<<set _currentFetishPosition to 0>>
<<set _fetishKeys to Object.keys($fetishes)>>
<span id="endCustomization">Just when you think the game is about to start, <<colorText $randomPlayer>>$players[$randomPlayer].name<</colorText>> tells you that the set-up isn't finished yet.<br>
<br>
<span id="fetishesDialog">
<<dialog $randomPlayer>>Ahem... There are some fetishes in the game that can be too much and we have to choose the ones we want. I'll just tell you what they are and you tell me whether you agree or not.<</dialog>><br>
<<fetishDialog _fetishKeys[_currentFetishPosition]>>
</span>
Do you want to play with this fetish enable?
<<link "Yes">>
<<set $fetishes[_fetishKeys[_currentFetishPosition]].isOn to true>>
<<set _currentFetishPosition++>>
<<if _currentFetishPosition lt _fetishKeys.length>>
<<replace "#fetishesDialog">>
<<fetishDialog _fetishKeys[_currentFetishPosition]>>
<</replace>>
<<else>>
<<replace "#endCustomization">>
<<endCustomization>>
<</replace>>
<</if>>
<</link>>
<<print " / ">>
<<link "No">>
<<set $fetishes[_fetishKeys[_currentFetishPosition]].isOn to false>>
<<set _currentFetishPosition++>>
<<if _currentFetishPosition lt _fetishKeys.length>>
<<replace "#fetishesDialog">>
<<fetishDialog _fetishKeys[_currentFetishPosition]>>
<</replace>>
<<else>>
<<replace "#endCustomization">>
<<endCustomization>>
<</replace>>
<</if>>
<</link>></span>
<</nobr>><<widget "fetishDialog">><<nobr>>
<<set _tempFetishKey to _args[0]>>
<<switch _tempFetishKey>>
<<case "feet">>
<<dialog $randomPlayer>>"<span class="bold">$fetishes[_tempFetishKey].label</span>". I guess this is what concerns worshipping and sexual activity with our feets.<</dialog>><br>
<<case "crossdressing">>
<<dialog $randomPlayer>>"<span class="bold">$fetishes[_tempFetishKey].label</span>". If you don't like wearing clothes of the opposite sex, that's maybe not for you.<</dialog>><br>
<<case "anal">>
<<dialog $randomPlayer>>"<span class="bold">$fetishes[_tempFetishKey].label</span>". Well that's pretty obvious, do you want to protect your back door?<</dialog>><br>
<<case "analingus">>
<<dialog $randomPlayer>>"<span class="bold">$fetishes[_tempFetishKey].label</span>". It still concerns the same area but for an other activity, do you also want to protect it from the tongue?<</dialog>><br>
<<case "watersports">>
<<dialog $randomPlayer>>"<span class="bold">$fetishes[_tempFetishKey].label</span>". If you don't know what thats means, well... How to say it... It's about piss...<</dialog>><br>
<<case "animal">>
<<dialog $randomPlayer>>"<span class="bold">$fetishes[_tempFetishKey].label</span>". It's not about using real animals, it's about us imitating animals.<</dialog>><br>
<<case "deniedOrgasm">>
<<dialog $randomPlayer>>"<span class="bold">$fetishes[_tempFetishKey].label</span>". Not much to say, it's when you can't cum.<</dialog>><br>
<<case "blackmail">>
<<dialog $randomPlayer>>"<span class="bold">$fetishes[_tempFetishKey].label</span>". I think this one can be dangerous...<</dialog>><br>
<</switch>>
<</nobr>><</widget>>
<<widget "createPlayersTurnArray">><<nobr>>
<<set _firstPlayerTurn to _args[0]>>
<<for _i to 0; _i lte $players.length; _i++>>
<<if _i isnot _firstPlayerTurn>>
<<set $playersInfos.push({player: _i, position: 0, points: 0})>>
<</if>>
<</for>>
<<set $playersInfos.shuffle()>>
<<set $playersInfos.unshift({player: _firstPlayerTurn, position: 0, points: 0})>>
<</nobr>><</widget>>
<<widget "endCustomization">><<nobr>>
Your friend<<if $players.length gt 1>>s talk to each other and<</if>> agree with your choices. You all take a seat around the table and start playing.<br>
<br>
<<dialog $randomPlayer>>We can begin! But first we have to roll the dice. The one with the highest result goes first. <</dialog>><br>
<<rollDices "maximum">>
<<if _winner is $players.length>>
<strong>You</strong> begin!<br>
<<else>>
<<colorText _winner>>$players[_winner].name<</colorText>> begins!<br>
<</if>>
<br>
<<createPlayersTurnArray _winner>>
<<link "Play">>
<<script>>setup.mergeArrays()<</script>>
<<goto "Turn Progress">>
<</link>> <span class="notImportant">Once the game has started, you will no longer be able to modify the advanced settings</span> <br>
<<link "Advanced Settings">>
<<goto "Advanced Settings">>
<</link>>
<</rollDices>>
<</nobr>><</widget>><<nobr>>
<<set $playerTurn++>>
<<set _startSquareCrossed to false>>
<<checkPointsWin>>
<<if $playerTurn lt $playersInfos.length>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<else>>
<<set $playerTurn to 0>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set $turnProgress++>>
<<if $turnProgress gt $roundsNumber and $roundsNumber isnot -1>>
<<set $winningCondition to "rounds">>
<<goto "End">>
<</if>>
<</if>>
<h2>Round $turnProgress</h2><br>
<div style="display: flex;">
<span id="boardGame"><<showBoardGame>></span><br>
<div style="padding-left: 25px;">
<strong>Points</strong> : <br><br>
<<for _i to 0; _i lt $playersInfos.length; _i++>>
<<if $playersInfos[_i].player is $players.length>>
<<colorText pcColor>>$pcName<</colorText>> : $playersInfos[_i].points <br>
<<else>>
<<set _tempPlayer to $playersInfos[_i].player>>
<<colorText $playersInfos[_i].player>>$players[_tempPlayer].name<</colorText>> : $playersInfos[_i].points <br>
<</if>>
<</for>>
</div>
</div>
<br>
<<if _currentPlayerTurn is $players.length>>
This is <span class="bold">your</span> turn.<br>
<<else>>
This is <<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name's <</colorText>> turn.<br>
<</if>>
<br>
<<showStatus _currentPlayerTurn>>
<span id="diceResult">
<<link "Roll die">>
<<set _diceResult to random(1,6)>>
<<if _diceResult + $playersInfos[$playerTurn].position lte 39>>
<<set $playersInfos[$playerTurn].position += _diceResult>>
<<else>>
<<set $playersInfos[$playerTurn].position = ($playersInfos[$playerTurn].position + _diceResult) - 40>>
<<set _startSquareCrossed to true>>
<<replace "#points">>
<br><br>
<<modifyPoints _currentPlayerTurn +2>>
<</replace>>
<</if>>
<<replace "#diceResult">>
Result : <strong>_diceResult</strong><br>
<<if _currentPlayerTurn is $players.length>>You arrive<<else>><<He _currentPlayerTurn>> arrives<</if>> on the
<<getNameSquare $gameBoard[$playersInfos[$playerTurn].position]>>
square.<br>
<<if _startSquareCrossed>><<He _currentPlayerTurn>> <<conjugateBis "pass" _currentPlayerTurn>> through square one and <<conjugate "get" _currentPlayerTurn>> 2 points.<br><</if>><br>
<<link "Next">>
<<goNext $gameBoard[$playersInfos[$playerTurn].position]>>
<</link>>
<</replace>>
<<replace "#boardGame">>
<<showBoardGame>>
<</replace>>
<</link>>
</span>
<span id="points"></span>
<</showStatus>>
<</nobr>><<nobr>>
<h2>Advanced Settings</h2><br>
<span class="bold title">Permanent Stats</span><br>
Currently set to :
<span id="pemanentStatsChange"><<switch $permanentStats>>
<<case "none">>
<span class="bold" style="color: yellow;">Nobody</span>
<<case "player">>
<span class="bold" style="color: yellow;">Player</span>
<<case "friends">>
<span class="bold" style="color: yellow;">Friends</span>
<<case "all">>
<span class="bold" style="color: yellow;">All</span>
<</switch>></span><br>
Change to :
<<link "Nobody">>
<<set $permanentStats to "none">>
<<replace "#pemanentStatsChange">>
<span class="bold" style="color: yellow;">Nobody</span>
<</replace>>
<</link>> |
<<link "Player">>
<<set $permanentStats to "player">>
<<replace "#pemanentStatsChange">>
<span class="bold" style="color: yellow;">Player</span>
<</replace>>
<</link>> |
<<link "Friends">>
<<set $permanentStats to "friends">>
<<replace "#pemanentStatsChange">>
<span class="bold" style="color: yellow;">Friends</span>
<</replace>>
<</link>> |
<<link "All">>
<<set $permanentStats to "all">>
<<replace "#pemanentStatsChange">>
<span class="bold" style="color: yellow;">All</span>
<</replace>>
<</link>><br>
<span class="tips">During the game, your friend's stats <span class="bold">attraction</span> and <span class="bold">friendship</span> can change towards you but also towards themselves. If you want to disable this feature you can make it permanent.</span><br>
<br>
<span class="bold title">Luck</span>
<<link "[-]">>
<<if $luck is 1>>
<<set $luck to -2>>
<<elseif $luck gt -4>>
<<set $luck-->>
<</if>>
<<replace "#luckChange">>
<<switchLuck>>
<</replace>>
<</link>>
<<link "[+]">>
<<if $luck is -2>>
<<set $luck to 1>>
<<elseif $luck lt 4>>
<<set $luck++>>
<</if>>
<<replace "#luckChange">>
<<switchLuck>>
<</replace>>
<</link>><br>
Currently set to : <span id="luckChange"><<switchLuck>></span><br>
<span class="tips">Your luck affects thes results of automatic resolutions, dice rolls, etc.</span><br>
<br>
<<set _fetishesShown to false>>
<span class="bold title">Fetishes</span><br>
<<link "Show/Hide">>
<<if not _fetishesShown>>
<<set _fetishesShown to true>>
<<replace "#fetishes">>
<<showFetishes>>
<</replace>>
<<else>>
<<set _fetishesShown to false>>
<<replace "#fetishes">><</replace>>
<</if>>
<</link>><br>
<span id="fetishes"></span>
<br>
<span class="bold title">Game informations</span><br>
<<roundsSettingsChange>><br>
<<pointsSettingsChange>><br>
/*Forced play is currently <span id="forcedPlayEnable" class="bold"><<if $forcedPlay>><span style="color:green;">enabled</span><<else>><span style="color:red;">disabled</span><</if>></span><br>
<<link "Enable">>
<<if $roundsNumber isnot -1 or $pointsNumber isnot -1>>
<<if $fetishes["blackmail"].isOn>>
<<set $forcedPlay to true>>
<<replace "#warning">><</replace>>
<<replace "#forcedPlayEnable">>
<span style="color: green;">enabled</span>
<</replace>>
<<else>>
<<replace "#warning">>
<span class="warn">Blackmail must be enable</span>
<</replace>>
<</if>>
<<else>>
<<replace "#warning">>
<span class="warn">At least one limit must be defined (rounds or points)</span>
<</replace>>
<</if>>
<</link>> |
<<link "Disable">>
<<set $forcedPlay to false>>
<<replace "#forcedPlayEnable">>
<span style="color: red;">disabled</span>
<</replace>>
<</link>><span id="warning"></span><br>
<span class="tips">Forced play needs <span class="bold">Blackmail</span> to be enabled and the game to have a limit (rounds or points). If enabled, forced play can, under certain circumstances, remove the ability to abandon for everybody.</span><br><br>*/
<<link "Play">>
<<script>>setup.mergeArrays()<</script>>
<<goto "Turn Progress">>
<</link>>
<</nobr>><<widget "switchLuck">><<nobr>>
<<switch $luck>>
<<case 1>>
<span class="bold" style="color: green;">Normal</span> <span class="notImportant">Doesn't affect your chances of success</span>
<<case 2>>
<span class="bold" style="color: green;">Lucky</span> <span class="notImportant">Multiply by 2 your chances of success</span>
<<case 3>>
<span class="bold" style="color: green;">Very lucky</span> <span class="notImportant">Multiply by 3 your chances of success</span>
<<case 4>>
<span class="bold" style="color: green;">Blessed by destiny</span> <span class="notImportant">Multiply by 4 your chances of success</span>
<<case -2>>
<span class="bold" style="color: red;">Unlucky</span> <span class="notImportant">Divides by 2 your chances of success</span>
<<case -3>>
<span class="bold" style="color: red;">Very unlucky</span> <span class="notImportant">Divides by 3 your chances of success</span>
<<case -4>>
<span class="bold" style="color: red;">Hated by destiny</span> <span class="notImportant">Divides by 4 your chances of success</span>
<</switch>>
<</nobr>><</widget>>
<<widget "showFetish">><<nobr>>
<<set _tempFetish to _args[0]>>
<<colorText _tempFetish>><span class="bold">$fetishes[_tempFetish].label</span> is currently <span class="bold"><<if $fetishes[_tempFetish].isOn>><span style="color: green;">enabled</span><<else>><span style="color: red;">disabled</span><</if>></span><</colorText>>
<<link "Enable">>
<<set _tempFetish to _args[0]>>
<<set _tempFetishClassGetter to "." + _tempFetish>>
<<set $fetishes[_tempFetish].isOn to true>>
<<replace _tempFetishClassGetter>>
<span class="bold">$fetishes[_tempFetish].label</span> is currently <span class="bold" style="color: green;">enabled</span>
<</replace>>
<</link>> |
<<link "Disable">>
<<set _tempFetish to _args[0]>>
<<set _tempFetishClassGetter to "." + _tempFetish>>
<<set $fetishes[_tempFetish].isOn to false>>
<<replace _tempFetishClassGetter>>
<span class="bold">$fetishes[_tempFetish].label</span> is currently <span class="bold" style="color: red;">disabled</span>
<</replace>>
<<if _tempFetish is "blackmail">>
<<set $forcedPlay to false>>
<<replace "#forcedPlayEnable">>
<span style="color:red;">disabled</span>
<</replace>>
<</if>>
<</link>>
<</nobr>><</widget>>
<<widget "showFetishes">><<nobr>>
<<set _fetishKeys to Object.keys($fetishes)>>
<<for _i to 0; _i lt _fetishKeys.length; _i++>>
<<showFetish _fetishKeys[_i]>>
<br>
<</for>>
<</nobr>><</widget>>
<<widget "roundsSettingsChange">><<nobr>>
Number of rounds currently set to : <span id="roundsChange" class="bold" style="color: yellow;"><<if $roundsNumber is -1>>Unlimited<<else>>$roundsNumber<</if>></span><br>
Change to : <span id="textBoxRounds"><<if $roundsNumber isnot -1>><<textbox "$roundsNumber" $roundsNumber>><<else>><<textbox "$roundsNumber" 30>><<set $roundsNumber to -1>><</if>></span>
<<button "Ok">>
<<replace "#unlimitedPointsWarning">><</replace>>
<<replace "#unlimitedRoundsWarning">><</replace>>
<<set $roundsNumber to Number($roundsNumber)>>
<<if not Number.isInteger($roundsNumber) or $roundsNumber < 0>>
<<set $roundsNumber to 30>>
<<replace "#textBoxRounds">>
<<textbox "$roundsNumber" $roundsNumber>>
<</replace>>
<<elseif $roundsNumber < 10>>
<<set $roundsNumber to 10>>
<<replace "#textBoxRounds">>
<<textbox "$roundsNumber" $roundsNumber>>
<</replace>>
<<elseif $roundsNumber > 100>>
<<set $roundsNumber to 100>>
<<replace "#textBoxRounds">>
<<textbox "$roundsNumber" $roundsNumber>>
<</replace>>
<</if>>
<<replace "#roundsChange">>
$roundsNumber
<</replace>>
<</button>><br>
Change to <<link "unlimited rounds">>
<<replace "#unlimitedPointsWarning">><</replace>>
<<replace "#unlimitedRoundsWarning">><</replace>>
<<if $pointsNumber isnot -1>>
<<set $roundsNumber to -1>>
<<replace "#roundsChange">>
Unlimited
<</replace>>
<<else>>
<<replace "#unlimitedRoundsWarning">>
You cannot have unlimited points and unlimited rounds!
<</replace>>
<</if>>
/*<<if $pointsNumber is -1>>
<<set $forcedPlay to false>>
<<replace "#forcedPlayEnable">>
<span style="color:red;">disabled</span>
<</replace>>
<</if>>*/
<</link>><span id="unlimitedRoundsWarning" class="warn"></span>
<</nobr>><</widget>>
<<widget "pointsSettingsChange">><<nobr>>
Number of points currently set to : <span id="pointsChange" class="bold" style="color: yellow;"><<if $pointsNumber is -1>>Unlimited<<else>>$pointsNumber<</if>></span><br>
Change to : <span id="textBoxPoints"><<if $pointsNumber isnot -1>><<textbox "$pointsNumber" $pointsNumber>><<else>><<textbox "$pointsNumber" 80>><<set $pointsNumber to -1>><</if>></span>
<<button "Ok">>
<<replace "#unlimitedPointsWarning">><</replace>>
<<replace "#unlimitedRoundsWarning">><</replace>>
<<set $pointsNumber to Number($pointsNumber)>>
<<if not Number.isInteger($pointsNumber) or $pointsNumber < 0>>
<<set $pointsNumber to 80>>
<<replace "#textBoxPoints">>
<<textbox "$pointsNumber" $pointsNumber>>
<</replace>>
<<elseif $pointsNumber < 20>>
<<set $pointsNumber to 20>>
<<replace "#textBoxPoints">>
<<textbox "$pointsNumber" $pointsNumber>>
<</replace>>
<<elseif $pointsNumber > 200>>
<<set $pointsNumber to 200>>
<<replace "#textBoxPoints">>
<<textbox "$pointsNumber" $pointsNumber>>
<</replace>>
<</if>>
<<replace "#pointsChange">>
$pointsNumber
<</replace>>
<</button>><br>
Change to <<link "unlimited points">>
<<replace "#unlimitedPointsWarning">><</replace>>
<<replace "#unlimitedRoundsWarning">><</replace>>
<<if $roundsNumber isnot -1>>
<<set $pointsNumber to -1>>
<<replace "#pointsChange">>
Unlimited
<</replace>>
<<else>>
<<replace "#unlimitedPointsWarning">>
You cannot have unlimited points and unlimited rounds!
<</replace>>
<</if>>
/*<<if $roundsNumber is -1>>
<<set $forcedPlay to false>>
<<replace "#forcedPlayEnable">>
<span style="color:red;">disabled</span>
<</replace>>
<</if>>*/
<</link>><span id="unlimitedPointsWarning" class="warn"></span>
<</nobr>><</widget>><<widget "showBoardGame">><<nobr>>
<style>
#wrapper {
display: grid;
grid-template-columns: repeat(11, 1fr);
grid-template-rows: repeat(11, 1fr);
grid-template-areas:
"p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10"
"p39 X X X X X X X X X p11"
"p38 X X X X X X X X X p12"
"p37 X X X X X X X X X p13"
"p36 X X X X X X X X X p14"
"p35 X X X X X X X X X p15"
"p34 X X X X X X X X X p16"
"p33 X X X X X X X X X p17"
"p32 X X X X X X X X X p18"
"p31 X X X X X X X X X p19"
"p30 p29 p28 p27 p26 p25 p24 p23 p22 p21 p20";
background-image: url("Images/GameBoard/gameBoard.png");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 400px;
height: 400px;
}
</style>
<div id="wrapper">
<<showPlayersOnBoardGame>>
</div>
<</nobr>><</widget>>
<<widget "goNext">>
<<set _nextSquare to _args[0]>>
<<switch _nextSquare>>
<<case "st">>
<<goto "Start">>
<<case "re">>
<<goto "Rest">>
<<case "bo">>
<<goto "Bonus">>
<<case "ma">>
<<goto "Malus">>
<<case "dur">>
<<goto `$duels[random(0, $duels.length-1)]`>>
<<case "duy">>
<<goto `$duels[random(0, $duels.length-1)]`>>
<<case "dug">>
<<goto `$duels[random(0, $duels.length-1)]`>>
<<case "sp">>
<<goto "Special">>
<<case "chr">>
<<goto `$challenges[random(0, $challenges.length-1)]`>>
<<case "chy">>
<<goto `$challenges[random(0, $challenges.length-1)]`>>
<<case "chg">>
<<goto `$challenges[random(0, $challenges.length-1)]`>>
<</switch>>
<</widget>>
<<widget "showStatus" container>><<nobr>>
<<set _playerWidget to _args[0]>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<if _playerWidget is $players.length>>
<<if $pcState is "dressed">>
<<if $pcSwap is "swap">>
You are dressed in clothes of the opposite sex.
<<set _stressModifier += 5>>
<<else>>
You are dressed in clothes of your sex.
<</if>>
<<elseif $pcState is "lingerie">>
<<if $pcSwap is "swap">>
You are wearing underwear of the opposite sex.
<<set _stressModifier += 10>>
<<set _arousalModifier += 5>>
<<else>>
You are wearing underwear of your sex.
<<set _stressModifier += 5>>
<<set _arousalModifier += 5>>
<</if>>
<<else>>
You are naked.
<<set _stressModifier += 10>>
<<set _arousalModifier += 10>>
<</if>><br>
<<set _stressModifier += $pcPiss>>
<<if $pcPiss lt 2>>
You smell good.
<<set _stressModifier -= $pcPiss>>
<<elseif $pcPiss lt 4>>
You smell a little like urine.
<<elseif $pcPiss lt 6>>
You smell like urine.
<<elseif $pcPiss lt 8>>
You smell a lot like urine.
<<else>>
You reek of urine.
<</if>><br>
<<if $pcStatus.length is 0>>
You are not wearing any accessory for the moment.<br>
<<else>>
<<for _i to 0; _i lt $pcStatus.length; _i++>>
<<switch $pcStatus[_i]>>
<<case "smallButtPlug">>
<<set _stressModifier += 5>>
<<set _arousalModifier += 5>>
You have a small butt plug in your ass.<br>
<<case "bigButtPlug">>
<<set _stressModifier += 10>>
<<set _arousalModifier += 5>>
You have a big butt plug in your ass.<br>
<</switch>>
<</for>>
<</if>>
<<else>>
<<if $players[_playerWidget].state is "dressed">>
<<if $players[_playerWidget].swap is "swap">>
<<He _playerWidget>> is dressed in clothes of the opposite sex.
<<set _stressModifier += 5>>
<<else>>
<<He _playerWidget>> is dressed in clothes of <<his _playerWidget>> sex.
<</if>>
<<elseif $players[_playerWidget].state is "lingerie">>
<<if $players[_playerWidget].swap is "swap">>
<<He _playerWidget>> is wearing underwear of the opposite sex.
<<set _stressModifier += 10>>
<<set _arousalModifier += 5>>
<<else>>
<<He _playerWidget>> is wearing underwear of <<his _playerWidget>> sex.
<<set _stressModifier += 5>>
<<set _arousalModifier += 5>>
<</if>>
<<else>>
<<He _playerWidget>> is naked.
<<set _stressModifier += 10>>
<<set _arousalModifier += 10>>
<</if>><br>
<<set _stressModifier += $players[_playerWidget].piss>>
<<if $players[_playerWidget].piss lt 2>>
<<He _playerWidget>> smells good.
<<set _stressModifier -= $players[_playerWidget].piss>>
<<elseif $players[_playerWidget].piss lt 4>>
<<He _playerWidget>> smells a little like urine.
<<elseif $players[_playerWidget].piss lt 6>>
<<He _playerWidget>> smells like urine.
<<elseif $players[_playerWidget].piss lt 8>>
<<He _playerWidget>> smells a lot like urine.
<<else>>
<<He _playerWidget>> reeks of urine.
<</if>><br>
<<if $players[_playerWidget].status.length is 0>>
<<He _playerWidget>> is not wearing any accessory for the moment.<br>
<<else>>
<<for _i to 0; _i lt $players[_playerWidget].status.length; _i++>>
<<switch $players[_playerWidget].status[_i]>>
<<case "smallButtPlug">>
<<set _stressModifier += 5>>
<<set _arousalModifier += 5>>
<<He _playerWidget>> has a small butt plug in <<his _playerWidget>> ass.<br>
<<case "bigButtPlug">>
<<set _stressModifier += 10>>
<<set _arousalModifier += 5>>
<<He _playerWidget>> has a big butt plug in <<his _playerWidget>> ass.<br>
<</switch>>
<</for>>
<</if>>
<</if>>
<br>
_contents
<br><br>
<<modifyStress _playerWidget _stressModifier>><br>
<<modifyArousal _playerWidget _arousalModifier>>
<</nobr>><</widget>>
<<widget "checkPointsWin">><<nobr>>
<<if $pointsNumber isnot -1>>
<<for _i to 0; _i lt $playersInfos.length; _i++>>
<<if $playersInfos[_i].points gte $pointsNumber>>
<<set $winningCondition to "points">>
<<goto "End">>
<</if>>
<</for>>
<</if>>
<</nobr>><</widget>><<nobr>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<if _currentPlayerTurn is $players.length>>
You take a short break and enjoy it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> takes a short break and enjoys it.
<</if>>
<br><br>
<<modifyStress _currentPlayerTurn -3>><br>
<<modifyArousal _currentPlayerTurn -3>><br>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</nobr>><<nobr>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<if _currentPlayerTurn is $players.length>>
Lucky you! Every point is worth taking and you gladly take them.
<<else>>
Lucky <<him _currentPlayerTurn>>! Every point is worth taking and <<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> gladly takes them.
<</if>>
<br><br>
<<modifyStress _currentPlayerTurn -3>><br>
<<modifyPoints _currentPlayerTurn +1>><br>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</nobr>><<nobr>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<if _currentPlayerTurn is $players.length>>
Damn it! At least you don't have to do anything humiliating.
<<else>>
Damn it! At least <<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> doesn't have to do anything humiliating.
<</if>>
<br><br>
<<modifyStress _currentPlayerTurn 3>><br>
<<modifyPoints _currentPlayerTurn -1>><br>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<set _arousalModifier to _arousalDifficulty1>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<replace "#challengeResult">>
Despite the shame, <<playerName _player>> <<conjugate "strip" _player>> down to <<his _player>> underwear. <br>
That's a success! <br>
Soon after, <<he _player>><<is _player true>> back in <<his _player>> clothes.<br>
<</replace>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<set _arousalModifier to _arousalDifficulty2>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<replace "#challengeResult">>
Despite the shame, <<playerName _player>> <<conjugate "strip" _player>> down to the bare essentials. <br>
That's a success! <br>
Soon after, <<he _player>><<is _player true>> back in <<his _player>> clothes.<br>
<</replace>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<set _arousalModifier to _arousalDifficulty3>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<<replace "#challengeResult">>
Despite the shame, <<playerName _player>> <<conjugate "take" _player>> off all <<his _player>> clothes and <<conjugate "remain" _player>> still for one long minute. <br>
That's a success! <br>
Soon after, <<he _player>><<is _player true>> back in <<his _player>> clothes.<br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<He _player>><<is _player true>> too stressed, <<he _player>> can't even take off <<his _player>> shirt.
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _player to _args[0]>>
<<randomizePlayer _player>>
<<if $randomPlayer isnot $players.length>>
<<if _player isnot $players.length>>
<<set _attraction to $players[$randomPlayer].friendsAttraction[_player]>>
<<set _friendship to $players[$randomPlayer].friendsFriendship[_player]>>
<<else>>
<<set _attraction to $players[$randomPlayer].attraction>>
<<set _friendship to $players[$randomPlayer].friendship>>
<</if>>
<<if _attraction > 60 and _friendship < 30>>
<<dialog $randomPlayer>>
You should stay like that, it suits you!
<</dialog>><br>
<<elseif _attraction < 30 and _friendship < 30>>
<<dialog $randomPlayer>>
You're even uglier without clothes.
<</dialog>><br>
<<elseif _attraction > 60 and _friendship > 60>>
<<dialog $randomPlayer>>
Don't be ashamed, you're really beautiful!
<</dialog>><br>
<<elseif _friendship > 60>>
<<dialog $randomPlayer>>
Congrats! You dit it!
<</dialog>><br>
<<else>>
<<playerName $randomPlayer>> glances at <<him _player>> from time to time with lust.<br><br>
<</if>>
<<else>>
You glance at <<him _player>> from time to time with lust.<br>
<</if>>
<<if _difficulty is 0>>
<<modifyArousal $randomPlayer 4>><br>
<<modifyAttraction $randomPlayer _player 5>><<if $randomPlayer isnot $players.length>><br><</if>>
<<elseif _difficulty is 1>>
<<modifyArousal $randomPlayer 8>><br>
<<modifyAttraction $randomPlayer _player 7>><<if $randomPlayer isnot $players.length>><br><</if>>
<<else>>
<<modifyArousal $randomPlayer 12>><br>
<<modifyAttraction $randomPlayer _player 9>><<if $randomPlayer isnot $players.length>><br><</if>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 10 * _difficulty, "stress")>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<replace "#statsResult">>
<br>
<<if _success>><<modifyStress _currentPlayerTurn _stressModifier>><br>
<<modifyArousal _currentPlayerTurn _arousalModifier>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<if _success>>
<<replace "#friendReaction">>
<br>
<<friendReaction _currentPlayerTurn>>
<</replace>>
<</if>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressRefusal>><br>
<<modifyArousal _currentPlayerTurn _arousalRefusal>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 + 10 * _difficulty , "stress", "medium")>>
<<if _success>>
<<He _currentPlayerTurn>> decides to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 5>>
<<set _stressDifficulty2 to 10>>
<<set _stressDifficulty3 to 15>>
<<set _arousalDifficulty1 to 10>>
<<set _arousalDifficulty2 to 15>>
<<set _arousalDifficulty3 to 20>>
<<set _pointsSuccessDifficulty1 to 2>>
<<set _pointsSuccessDifficulty2 to 3>>
<<set _pointsSuccessDifficulty3 to 4>>
<<set _pointsFailureDifficulty1 to -1>>
<<set _pointsFailureDifficulty2 to -2>>
<<set _pointsFailureDifficulty3 to -3>>
<<set _pointsRefusalDifficulty1 to -2>>
<<set _pointsRefusalDifficulty2 to -3>>
<<set _pointsRefusalDifficulty3 to -4>>
<<set _stressRefusal to -5>>
<<set _arousalRefusal to -5>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Undress but keep your underwear on. You can put your clothes back on at the end of the challenge.<br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Take off all your clothes. You can put your clothes back on at the end of the challenge.<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Take off all your clothes and hold still for one minute. You can put your clothes back on at the end of the challenge.<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="statsResult"></span>
<span id="friendReaction"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "duelResolved">><<nobr>>
<<set _stressPlayer to _challengers[0].score * _stress>>
<<set _arousalPlayer to _challengers[1].score * _arousal>>
<<set _stressOpponent to _challengers[1].score * _stress>>
<<set _arousalOpponent to _challengers[0].score * _arousal>>
<<set _pointsChosen to false>>
<<replace "#duelResolution">><</replace>>
<<replace "#duelResult">>
<<if _loser isnot _currentPlayerTurn>>
<<He _currentPlayerTurn>> can choose <<his _currentPlayerTurn>> reward.<br>
<<if _currentPlayerTurn isnot $players.length>>
<<if setup.checkFriendship(_currentPlayerTurn, _opponent, 0) lte 0>>
<<set _pointsChosen to true>>
<<elseif _opponent is $players.length>>
<<if _difficulty is 1 and $pcState is "lingerie">>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and $pcState is "naked">>
<<set _pointsChosen to true>>
<</if>>
<<else>>
<<if _difficulty is 1 and $players[_opponent].state is "lingerie">>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and $players[_opponent].state is "naked">>
<<set _pointsChosen to true>>
<</if>>
<</if>>
<<endDuel>>
<<else>>
<br>
<<link "Choose points">>
<<replace "#duelResult">>
<<set _pointsChosen to true>>
<<endDuel>>
<</replace>>
<</link>><br>
<<link "Choose handicap">>
<<replace "#duelResult">>
<<endDuel>>
<</replace>>
<</link>><br>
<</if>>
<<else>>
<<He _opponent>> can choose <<his _opponent>> reward.<br>
<<if _opponent isnot $players.length>>
<<if setup.checkFriendship(_opponent, _currentPlayerTurn, 0) lte 0>>
<<set _pointsChosen to true>>
<<elseif _currentPlayerTurn is $players.length>>
<<if _difficulty is 1 and $pcState is "lingerie">>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and $pcState is "naked">>
<<set _pointsChosen to true>>
<</if>>
<<else>>
<<if _difficulty is 1 and $players[_currentPlayerTurn].state is "lingerie">>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and $players[_currentPlayerTurn].state is "naked">>
<<set _pointsChosen to true>>
<</if>>
<</if>>
<<endDuel>>
<<else>>
<br>
<<link "Choose points">>
<<replace "#duelResult">>
<<set _pointsChosen to true>>
<<endDuel>>
<</replace>>
<</link>><br>
<<link "Choose handicap">>
<<replace "#duelResult">>
<<endDuel>>
<</replace>>
<</link>><br>
<</if>>
<</if>>
<</replace>>
<</nobr>><</widget>>
<<widget "endDuel">><<nobr>>
<<if _pointsChosen>>
<<if _loser isnot _currentPlayerTurn>>
<<if _difficulty is 0>>
<<set _pointsPlayer to _pointsDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsPlayer to _pointsDifficulty2>>
<<else>>
<<set _pointsPlayer to _pointsDifficulty3>>
<</if>>
<<else>>
<<if _difficulty is 0>>
<<set _pointsOpponent to _pointsDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsOpponent to _pointsDifficulty2>>
<<else>>
<<set _pointsOpponent to _pointsDifficulty3>>
<</if>>
<</if>>
<<else>>
<<if _difficulty is 0>>
<<if _loser is _currentPlayerTurn>>
<<set _stressPlayer += 10>>
<<else>>
<<set _stressOpponent += 10>>
<</if>>
<<elseif _difficulty is 1>>
<<if _loser isnot $players.length>>
<<set $players[_loser].state to "lingerie">>
<<else>>
<<set $pcState to "lingerie">>
<</if>>
<<else>>
<<if _loser isnot $players.length>>
<<set $players[_loser].state to "naked">>
<<else>>
<<set $pcState to "naked">>
<</if>>
<</if>>
<</if>>
<<replace "#statsResult">>
<br>
<<if _stressPlayer gt 0>><<modifyStress _currentPlayerTurn _stressPlayer>><br><</if>>
<<if _arousalPlayer gt 0>><<modifyArousal _currentPlayerTurn _arousalPlayer>><br><</if>>
<<if _pointsPlayer gt 0>><<modifyPoints _currentPlayerTurn _pointsPlayer>><br><</if>>
<<if _currentPlayerTurn isnot $players.length and _currentPlayerTurn is _loser and not _pointsChosen>><<modifyFriendship _currentPlayerTurn _opponent -10>><br><</if>>
<</replace>>
<<replace "#friendReaction">>
<br>
<<friendReaction>>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<if _loser is _currentPlayerTurn>>
<<set _playerReaction to _opponent>>
<<else>>
<<set _playerReaction to _currentPlayerTurn>>
<</if>>
<<if _playerReaction isnot $players.length>>
<<if _loser isnot $players.length>>
<<set _attraction to $players[_playerReaction].friendsAttraction[_loser]>>
<<set _friendship to $players[_playerReaction].friendsFriendship[_loser]>>
<<else>>
<<set _attraction to $players[_playerReaction].attraction>>
<<set _friendship to $players[_playerReaction].friendship>>
<</if>>
<<if _friendship < 30 and _pointsChosen>>
<<dialog _playerReaction>>
Lucky you I need points.
<</dialog>><br>
<<elseif _friendship < 30 and not _pointsChosen>>
<<dialog _playerReaction>>
I'd rather see you <<if _difficulty lte 1>>in underwear<<else>>naked<</if>> than getting points!
<</dialog>><br>
<<elseif _friendship > 60 and _pointsChosen>>
<<dialog _playerReaction>>
Don't worry, I choose the points.
<</dialog>><br>
<<elseif _friendship > 60 and not _pointsChosen>>
<<dialog _playerReaction>>
I'm really sorry... But you have to <<if _difficulty lte 1>>stay in your underwear<<else>>stay naked<</if>>... It's just that I think it's fair for everyone...
<</dialog>><br>
<<elseif _pointsChosen>>
<<dialog _playerReaction>>
I choose the points.
<</dialog>><br>
<<else>>
<<dialog _playerReaction>>
You'll have to <<if _difficulty lte 1>>stay in your underwear<<else>>stay naked<</if>>, sorry.
<</dialog>><br>
<</if>>
<<else>>
<<if _pointsChosen>>
<<dialog _playerReaction>>
I choose the points.
<</dialog>><br>
<<else>>
<<dialog _playerReaction>>
You'll have to <<if _difficulty lte 1>>stay in your underwear<<else>>stay naked<</if>>, sorry.
<</dialog>><br>
<</if>>
<</if>>
<<if _stressOpponent gt 0>><<modifyStress _opponent _stressOpponent>><br><</if>>
<<if _arousalOpponent gt 0>><<modifyArousal _opponent _arousalOpponent>><br><</if>>
<<if _pointsOpponent gt 0>><<modifyPoints _opponent _pointsOpponent>><br><</if>>
<<if _opponent isnot $players.length and _opponent is _loser and not _pointsChosen>><<modifyFriendship _opponent _currentPlayerTurn -10>><br><</if>>
<</nobr>><</widget>>
<<widget "duelResolution">><<nobr>>
<<replace "#duelResolution">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> to choose <<playerName _opponent>> as <<his _currentPlayerTurn>> opponent.<br>
<</replace>>
<<replace "#duelResult">>
<<if _currentPlayerTurn is $players.length>>
<br>
<<link "Roll die">>
<<set _playerDieResult to setup.checkPlayerDiceLuck("maximum")>>
<<set _opponentDieResult to random(1, 6)>>
<<replace "#duelResolution">>
Your result is _playerDieResult. <br>
<<Your _opponent>> result is _opponentDieResult.<br><br>
<<if _playerDieResult gt _opponentDieResult>>
You win this round! <<playerName _opponent>> <<if _challengers[1].score is 0>>strips to <<his _opponent>> underwear. <<elseif _challengers[1].score is 1>>takes off <<his _opponent>> underwear. <<else>>loses the duel.<</if>><br>
<<set _challengers[1].score++>>
<<elseif _playerDieResult is _opponentDieResult>>
It's a tie! You have to reroll.<br>
<<else>>
<<playerName _opponent>> wins this round! You <<if _challengers[0].score is 0>>strip to your underwear. <<elseif _challengers[0].score is 1>>take off your underwear. <<else>>lose the duel.<</if>><br>
<<set _challengers[0].score++>>
<</if>>
<</replace>>
<<checkEnd>>
<</link>>
<<else>>
<<if _opponent isnot $players.length>>
<br>
<<link "Watch the duel">>
<<set _playerDieResult to random(1,6)>>
<<set _opponentDieResult to random(1,6)>>
<<replace "#duelResolution">>
<<Your _currentPlayerTurn>> result is _playerDieResult. <br>
<<Your _opponent>> result is _opponentDieResult.<br><br>
<<if _playerDieResult gt _opponentDieResult>>
<<playerName _currentPlayerTurn>> wins this round! <<playerName _opponent>> <<if _challengers[1].score is 0>>strips to <<his _opponent>> underwear. <<elseif _challengers[1].score is 1>>takes off <<his _opponent>> underwear. <<else>>loses the duel.<</if>><br>
<<set _challengers[1].score++>>
<<elseif _playerDieResult is _opponentDieResult>>
It's a tie! They have to reroll.<br>
<<else>>
<<playerName _opponent>> wins this round! <<playerName _currentPlayerTurn>> <<if _challengers[0].score is 0>>strips to your underwear. <<elseif _challengers[0].score is 1>>takes off your underwear. <<else>>loses the duel.<</if>><br>
<<set _challengers[0].score++>>
<</if>>
<</replace>>
<<checkEnd>>
<</link>>
<<else>>
<br>
<<link "Roll die">>
<<set _playerDieResult to random(1,6)>>
<<set _opponentDieResult to setup.checkPlayerDiceLuck("maximum")>>
<<replace "#duelResolution">>
<<Your _currentPlayerTurn>> result is _playerDieResult. <br>
Your result is _opponentDieResult.<br><br>
<<if _playerDieResult gt _opponentDieResult>>
<<playerName _currentPlayerTurn>> wins this round! You <<if _challengers[1].score is 0>>strip to <<his _opponent>> underwear. <<elseif _challengers[1].score is 1>>take off <<his _opponent>> underwear. <<else>>lose the duel.<</if>><br>
<<set _challengers[1].score++>>
<<elseif _playerDieResult is _opponentDieResult>>
It's a tie! You have to reroll.<br>
<<else>>
You win this round! <<playerName _currentPlayerTurn>> <<if _challengers[0].score is 0>>strips to <<his _currentPlayerTurn>> underwear. <<elseif _challengers[0].score is 1>>takes off <<his _currentPlayerTurn>> underwear. <<else>>loses the duel.<</if>><br>
<<set _challengers[0].score++>>
<</if>>
<</replace>>
<<checkEnd>>
<</link>>
<</if>>
<</if>>
<</replace>>
<</nobr>><</widget>>
<<widget "checkEnd">><<nobr>>
<<for _i to 0; _i lt _challengers.length; _i++>>
<<if _challengers[_i].score is 3>>
<<set _duelEnd to true>>
<<set _loser to _challengers[_i].challenger>>
<<break>>
<</if>>
<</for>>
<<if _duelEnd>>
<<replace "#duelResult">>
<br>
<<link "Next">>
<<duelResolved>>
<</link>>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "friendDuel">><<nobr>>
<<set _playerRank to 0>>
<<set _playersDuel to []>>
<<for _i to 0; _i lt $players.length; _i++>>
<<if _i isnot _currentPlayerTurn>>
<<set _playerRank to setup.rankFriend(_currentPlayerTurn, _i, "attraction")>>
<<for _j to 0; _j lt _playerRank; _j++>>
<<set _playersDuel.push(_i)>>
<</for>>
<</if>>
<</for>>
<<set _playerRank to setup.rankFriend(_currentPlayerTurn, $players.length, "attraction")>>
<<for _j to 0; _j lt _playerRank; _j++>>
<<set _playersDuel.push($players.length)>>
<</for>>
<<set _opponent to either(_playersDuel)>>
<<set _challengers to [{challenger: _currentPlayerTurn, score: 0}, {challenger: _opponent, score: 0}]>>
<<duelResolution>>
<</nobr>><</widget>>
<<widget "chooseFriend">><<nobr>>
<<link $players[_args[0]].name>>
<<set _opponent to _args[0]>>
<<set _challengers to [{challenger: _currentPlayerTurn, score: 0}, {challenger: _opponent, score: 0}]>>
<<duelResolution>>
<</link>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _duelEnd to false>>
<<set _opponent to 0>>
<<set _loser to 0>>
<<set _stress to 5>>
<<set _arousal to 5>>
<<set _pointsDifficulty1 to 2>>
<<set _pointsDifficulty2 to 4>>
<<set _pointsDifficulty3 to 6>>
<<set _pointsPlayer to 0>>
<<set _stressPlayer to 0>>
<<set _arousalPlayer to 0>>
<<set _stressOpponent to 0>>
<<set _arousalOpponent to 0>>
<<set _pointsOpponent to 0>>
<<if $playersInfos[$playerTurn].position lt 20>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 30>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the duel card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the duel card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Choose an opponent then both of you roll a die. Do it again until one of you loses three times. The first time the loser has to strip to his underwear. The second time he has to strip naked. The third time he loses.<br><br>
The winner can choose between : <br>
• +_pointsDifficulty1 points<br>
• Keeping the loser in his underwear for 5 minutes<br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Choose an opponent then both of you roll a die. Do it again until one of you loses three times. The first time the loser has to strip to his underwear. The second time he has to strip naked. The third time he loses.<br><br>
The winner can choose between : <br>
• +_pointsDifficulty2 points<br>
• Keeping the loser in his underwear for the rest of the game<br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Choose an opponent then both of you roll a die. Do it again until one of you loses three times. The first time the loser has to strip to his underwear. The second time he has to strip naked. The third time he loses.<br><br>
The winner can choose between : <br>
• +_pointsDifficulty3 points<br>
• Keeping the loser naked for the rest of the game<br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#duelResult">>
Choose your opponent : <br><br>
<<for _i to 0; _i lt $players.length; _i++>>
<<chooseFriend _i>><br>
<</for>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#duelResult">>
<<link "Next">>
<<friendDuel>>
<</link>>
<</replace>><</timed>>
<</if>>
<span id="duelResolution"></span>
<span id="duelResult"></span>
<span id="friendReaction"></span>
<span id="statsResult"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _pointsModifier to 0>>
<<for _i to 0; _i lt 1000; i++>>
<<set _forcedMove to random(-5, 5)>>
<<if _forcedMove isnot 0>>
<<break>>
<</if>>
<</for>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<dialog _currentPlayerTurn>>
<<if _forcedMove lt 0>>
<<set _displayForcedMove = _forcedMove * -1>>
Go back _displayForcedMove square<<if _displayForcedMove gt 1>>s<</if>>. <br>
<<else>>
Move forward _forcedMove square<<if _forcedMove gt 1>>s<</if>>.<br>
<</if>>
<</dialog>>
<<if _forcedMove + $playersInfos[$playerTurn].position lte 39>>
<<set $playersInfos[$playerTurn].position += _forcedMove>>
<<else>>
<<set $playersInfos[$playerTurn].position = ($playersInfos[$playerTurn].position + _diceResult) - 40>>
<<set _pointsModifier += 2>>
<</if>>
<br>
It lands on the <<getNameSquare $gameBoard[$playersInfos[$playerTurn].position]>> square.<br><br>
<<if _pointsModifier gt 0>><<modifyPoints _currentPlayerTurn _pointsModifier>><br><br><</if>>
<<link "Next">>
<<goNext $gameBoard[$playersInfos[$playerTurn].position]>>
<</link>>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<if _difficulty is 1>>
<<set _pointsModifier to _pointsSuccessDifficulty2 + 1>>
<<elseif _difficulty is 2>>
<<set _pointsModifier to _pointsSuccessDifficulty3 + 1>>
<<else>>
<<set _pointsModifier to 1>>
<</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><<if _pointsModifier isnot 0>><br><</if>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _pointsModifier to -1 * _slaps>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><<if _pointsModifier isnot 0>><br><</if>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<replace "#diceResult">><</replace>>
<<if _difficulty isnot 0>>
<<replace "#challengeResult">>
<<if _difficulty is 1>>
<<link "Roll die">>
<<if _currentPlayerTurn isnot $players.length>>
<<set _dieResult to random(1,6)>>
<<else>>
<<set _dieResult to setup.checkPlayerDiceLuck("minimum")>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> will have _dieResult slap<<if _dieResult gt 1>>s<</if>>.<br>
<<He _currentPlayerTurn>> <<conjugate "bend" _currentPlayerTurn>> over and <<playerName _randomPlayerChallenge false>> <<conjugate "move" _randomPlayerChallenge>> forward.<br><br>
<<link "Next">>
<<challengeProgression>>
<</link>>
<</replace>>
<</link>>
<<else>>
<<link "Roll dice">>
<<if _currentPlayerTurn isnot $players.length>>
<<set _dieResult1 to random(1,6)>>
<<set _dieResult2 to random(1,6)>>
<<else>>
<<set _dieResult1 to setup.checkPlayerDiceLuck("minimum")>>
<<set _dieResult2 to setup.checkPlayerDiceLuck("minimum")>>
<</if>>
<<set _diceResult to _dieResult1 + _dieResult2>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> will have _dieResult1 + _dieResult2 = _diceResult slap<<if _diceResult gt 1>>s<</if>>.<br>
<<He _currentPlayerTurn>> <<conjugate "bend" _currentPlayerTurn>> over and <<playerName _randomPlayerChallenge false>> <<conjugate "move" _randomPlayerChallenge>> forward.<br><br>
<<link "Next">>
<<challengeProgression>>
<</link>>
<</replace>>
<</link>>
<</if>>
<</replace>>
<<else>>
<<challengeProgression>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressRefusal>><br>
<<modifyArousal _currentPlayerTurn _arousalRefusal>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "challengeProgression">><<nobr>>
<<if _difficulty is 2>>
<<set _slaps to _diceResult>>
<<else>>
<<set _slaps to _dieResult>>
<</if>>
<<set _slapsReceived to 0>>
<<replace "#diceResult">>
Remaining slap<<if _slaps gt 0>>s<</if>> : _slaps<br><br>
<</replace>>
<<replace "#challengeResult">>
<<if _randomPlayerChallenge isnot $players.length>>
<<link "Slap">>
<<challengeResolution `setup.checkFriendship(_randomPlayerChallenge, _currentPlayerTurn, 10, 15*_difficulty)`>>
<</link>><br>
<<else>>
<<link "Gentle slap">>
<<challengeResolution -1>>
<</link>><br>
<<link "Normal slap">>
<<challengeResolution 0>>
<</link>><br>
<<link "Hard slap">>
<<challengeResolution 1>>
<</link>><br>
<</if>>
<</replace>>
<</nobr>><</widget>>
<<widget "challengeResolution">><<nobr>>
<<set _friendshipModifier to _args[0]>>
<<set _slaps-->>
<<set _slapsReceived++>>
<<set _progressionSuccess to setup.willpowerCheck(_currentPlayerTurn, _slapsReceived*2 + 5 * _friendshipModifier, "stress")>>
<<replace "#challengeProgression">>
<<switch _friendshipModifier>>
<<case -1>>
<<playerName _randomPlayerChallenge true>> <<conjugate "make" _randomPlayerChallenge>> a small slap, not wanting to hurt <<him _currentPlayerTurn>>.<br>
<<case 0>>
<<playerName _randomPlayerChallenge true>> <<conjugate "give" _randomPlayerChallenge>> <<him _currentPlayerTurn>> a normal slap.<br>
<<case 1>>
<<playerName _randomPlayerChallenge true>> <<conjugate "give" _randomPlayerChallenge>> <<him _currentPlayerTurn>> a hard slap with a barely concealed sadistic smile.<br>
<</switch>>
<<if _progressionSuccess and _slaps gt 0>>
<<playerName _currentPlayerTurn true>> <<conjugate "stay" _currentPlayerTurn>> still and <<is _currentPlayerTurn>> ready to take the next one.<br><br>
<<elseif _progressionSuccess and _slaps is 0>>
<<playerName _currentPlayerTurn true>> <<conjugate "stay" _currentPlayerTurn>> still. <<He _currentPlayerTurn>> dit it! No more slaps!<br>
<<else>>
<<playerName _currentPlayerTurn true>> <<conjugate "say" _currentPlayerTurn>> stop. It's too much for <<him _currentPlayerTurn>>. <br>
<</if>>
<</replace>>
<<replace "#diceResult">>
Remaining slap<<if _slaps gt 0>>s<</if>> : _slaps<br><br>
<</replace>>
<<if _progressionSuccess>>
<<if _slaps is 0>>
<<replace "#challengeResult">><</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</if>>
<<else>>
<<replace "#challengeResult">><</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</if>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressDifficulty1 + _friendshipModifier>><br>
<<modifyArousal _currentPlayerTurn _arousalDifficulty1>><br>
<<if _progressionSuccess and _slaps is 0>>
<<success>>
<<elseif not _progressionSuccess>>
<<failure>>
<<else>>
<<modifyPoints _currentPlayerTurn 1>><br>
<</if>>
<</replace>>
<<replace "#friendReaction">>
<<if _currentPlayerTurn isnot $players.length>>
<<set _friendshipModifier*= -2>>
<<if _friendModifier isnot 0>>
<br>
<</if>>
<<modifyFriendship _currentPlayerTurn _randomPlayerChallenge _friendshipModifier>>
<<if _friendModifier isnot 0>>
<br>
<</if>>
<</if>>
<<if not _progressionSuccess>>
<<if _difficulty is 0>>
<<modifyPoints _randomPlayerChallenge 1>><br>
<<elseif _difficulty is 1>>
<<modifyPoints _randomPlayerChallenge 2>><br>
<<else>>
<<modifyPoints _randomPlayerChallenge 4>><br>
<</if>>
<</if>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 + 10 * _difficulty , "stress", "medium")>>
<<if _difficulty is 0>>
<<set _dieResult to random(1,6)>>
<<replace "#diceResult">>
<<playerName _currentPlayerTurn true>> rolls the die and makes _dieResult.
<</replace>>
<</if>>
<<if _success>>
<<He _currentPlayerTurn>> decides to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<widget "showChallengeAcceptance">><<nobr>>
<<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 3>>
<<set _stressDifficulty2 to 3>>
<<set _stressDifficulty3 to 3>>
<<set _arousalDifficulty1 to 2>>
<<set _arousalDifficulty2 to 2>>
<<set _arousalDifficulty3 to 2>>
<<set _pointsSuccessDifficulty1 to 0>>
<<set _pointsSuccessDifficulty2 to 1>>
<<set _pointsSuccessDifficulty3 to 2>>
<<set _pointsFailureDifficulty1 to -2>>
<<set _pointsFailureDifficulty2 to -3>>
<<set _pointsFailureDifficulty3 to -4>>
<<set _pointsRefusalDifficulty1 to -2>>
<<set _pointsRefusalDifficulty2 to -3>>
<<set _pointsRefusalDifficulty3 to -4>>
<<set _stressRefusal to -10>>
<<set _arousalRefusal to 0>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<set _randomPlayerPosition to setup.getRandomPositionPlayer()>>
<<set _randomPlayerChallenge to $playersInfos[_randomPlayerPosition[0]].player>>
<<if _randomPlayerChallenge is $players.length>>
<<set _colorTextArg to "pcColor">>
<<set _name to $pcName>>
<<else>>
<<set _colorTextArg to _randomPlayerChallenge>>
<<set _name to $players[_randomPlayerChallenge].name>>
<</if>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Roll a 6 die then bend over. The player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) will give you as many butt slaps as the die says. He gets one point if you fail.<br><br>
Success : +1 point per slap <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : -1 point per remaining slap <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Roll a 6 die then bend over. The player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) will give you as many butt slaps as the die says. He gets two points if you fail. You have to roll the die after accepting the challenge.<br><br>
Success : +1 point per slap + _pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : -1 point per remaining slap<br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Roll two dice then bend over. The player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) will give you as many butt slaps as the dice say. He gets four points if you fail. You have to roll the dice after accepting the challenge.<br><br>
Success : +1 point per slap + _pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : -1 point per remaining slap <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>>
<<if _difficulty isnot 0>>
<<showChallengeAcceptance>>
<<else>>
<<replace "#challengeResult">>
<<link "Roll die">>
<<set _dieResult to setup.checkPlayerDiceLuck("minimum")>>
<<replace "#diceResult">>
Result : _dieResult <br><br>
<</replace>>
<<showChallengeAcceptance>>
<</link>>
<</replace>>
<</if>>
<</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="diceResult"></span>
<span id="challengeProgression"></span>
<span id="challengeResult"></span>
<span id="statsResult"></span>
<span id="friendReaction"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<set _arousalModifier to _arousalDifficulty1>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> licked the banana in a sexy way, at least according to <<his _currentPlayerTurn>> friends.<br>
That's a success!<br>
<</replace>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<set _arousalModifier to _arousalDifficulty2>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> sucked the banana in a sexy way, at least according to <<his _currentPlayerTurn>> friends.<br>
That's a success!<br>
<</replace>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<set _arousalModifier to _arousalDifficulty3>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> deepthroated the banana in a sexy way, at least according to <<his _currentPlayerTurn>> friends.<br>
That's a success!<br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<Your _currentPlayerTurn>> friends decided it wasn't sexy enough.<br>
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _player to _args[0]>>
<<randomizePlayer _player>>
<<if $randomPlayer isnot $players.length>>
<<if _player isnot $players.length>>
<<set _attraction to $players[$randomPlayer].friendsAttraction[_player]>>
<<set _friendship to $players[$randomPlayer].friendsFriendship[_player]>>
<<else>>
<<set _attraction to $players[$randomPlayer].attraction>>
<<set _friendship to $players[$randomPlayer].friendship>>
<</if>>
<<if _attraction > 60 and _friendship < 30>>
<<dialog $randomPlayer>>
I gave you my vote but only because of your slutty mouth.
<</dialog>><br>
<<elseif _attraction < 30 and _friendship < 30>>
<<dialog $randomPlayer>>
You've won, but you don't deserve it.
<</dialog>><br>
<<elseif _attraction > 60 and _friendship > 60>>
<<playerName $randomPlayer>> can barely hide <<his $randomPlayer>> arousal. <br><br>
<<elseif _friendship > 60>>
<<dialog $randomPlayer>>
You're pretty great at this! You should do that to your boyfriend, he'll be happy. Or get one to do this to him!
<</dialog>><br>
<<else>>
<<playerName $randomPlayer>> glances at <<him _player>> from time to time with lust.<br><br>
<</if>>
<<else>>
You glance at <<him _player>> from time to time with lust.<br>
<</if>>
<<if _difficulty is 0>>
<<modifyArousal $randomPlayer 8>><br>
<<modifyAttraction $randomPlayer _player 7>><<if $randomPlayer isnot $players.length>><br><</if>>
<<elseif _difficulty is 1>>
<<modifyArousal $randomPlayer 12>><br>
<<modifyAttraction $randomPlayer _player 9>><<if $randomPlayer isnot $players.length>><br><</if>>
<<else>>
<<modifyArousal $randomPlayer 16>><br>
<<modifyAttraction $randomPlayer _player 11>><<if $randomPlayer isnot $players.length>><br><</if>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeResolution">><<nobr>>
<<replace "#challengeResult">>
<<if _initialScore lte 0>>
You think <<he _currentPlayerTurn>>'s doing very well, <<if $pcGender is "female">>your pussy is wet<<else>>you have an erection<</if>> looking at <<him _currentPlayerTurn>>.<br><br>
<<else>>
You think it's a disaster, how can we be so bad at this?<br><br>
<</if>>
<</replace>>
<<replace "#challengeResolution">>
<<link "Upvote">>
<<set _friendScore -= 2>>
<<set _playerScore to -2>>
<<challengeResolved>>
<</link>><br>
<<link "Downvote">>
<<set _friendScore += 2>>
<<set _playerScore to 2>>
<<challengeResolved>>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<widget "challengeResolved">><<nobr>>
<<set _success to _friendScore + _initialScore lte 0>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<replace "#challengeResolution">><</replace>>
<<replace "#statsResult">>
<br>
<<if _success>><<modifyStress _currentPlayerTurn _stressModifier>><br>
<<modifyArousal _currentPlayerTurn _arousalModifier>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<<if _playerScore lt 0>>
<<modifyFriendship _currentPlayerTurn $players.length 5>><br>
<<elseif _playerScore gt 0>>
<<modifyFriendship _currentPlayerTurn $players.length -5>><br>
<</if>>
<</replace>>
<<if _success>>
<<replace "#friendReaction">>
<br>
<<friendReaction _currentPlayerTurn>>
<</replace>>
<</if>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<if _difficulty is 0>>
<<set _initialScore to random(-5, 0)>>
<<elseif _difficulty is 1>>
<<set _initialScore to random(-5, 5)>>
<<else>>
<<set _initialScore to random(0, 5)>>
<</if>>
<<set _friendScore to 0>>
<<set _playerScore to 0>>
<<for _i to 0; _i lt $players.length; _i++>>
<<if _currentPlayerTurn isnot _i>>
<<set _friendScore += setup.checkFriendship(_i, _currentPlayerTurn, 30)*2>>
<<set _friendScore += setup.checkAttraction(_i, _currentPlayerTurn, 30)>>
<</if>>
<</for>>
<<if _currentPlayerTurn isnot $players.length>>
<<challengeResolution>>
<<else>>
<<challengeResolved>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressRefusal>><br>
<<modifyArousal _currentPlayerTurn _arousalRefusal>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 + 10 * _difficulty ,"stress", "medium")>>
<<if _success>>
<<He _currentPlayerTurn>> decides to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 4>>
<<set _stressDifficulty2 to 8>>
<<set _stressDifficulty3 to 12>>
<<set _arousalDifficulty1 to 3>>
<<set _arousalDifficulty2 to 6>>
<<set _arousalDifficulty3 to 12>>
<<set _pointsSuccessDifficulty1 to 1>>
<<set _pointsSuccessDifficulty2 to 2>>
<<set _pointsSuccessDifficulty3 to 3>>
<<set _pointsFailureDifficulty1 to -1>>
<<set _pointsFailureDifficulty2 to -1>>
<<set _pointsFailureDifficulty3 to -2>>
<<set _pointsRefusalDifficulty1 to -1>>
<<set _pointsRefusalDifficulty2 to -2>>
<<set _pointsRefusalDifficulty3 to -3>>
<<set _stressRefusal to -5>>
<<set _arousalRefusal to -5>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Take a banana and lick it. Other players decide if you're doing it right.<br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Take a banana and suck it. Other players decide if you're doing it right.<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Take a banana and deepthroat it. Other players decide if you're doing it right.<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="challengeResolution"></span>
<span id="statsResult"></span>
<span id="friendReaction"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<set _arousalModifier to _arousalDifficulty1>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<set _arousalModifier to _arousalDifficulty2>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<set _arousalModifier to _arousalDifficulty3>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<</if>>
<<if _isBegging>>
<<set _stressModifier += _stressBegging>>
<</if>>
<<replace "#challengeResult">>
<<if not _isBegging>>
<<if _currentPlayerTurn is $players.length or _randomPlayerChallenge isnot $players.length>>
<<playerName _currentPlayerTurn true>> <<conjugate "ask" _currentPlayerTurn>> <<playerName _randomPlayerChallenge>> nicely if <<he _randomPlayerChallenge>> agrees to let <<him _currentPlayerTurn>> win the challenge.<br>
<</if>>
Lucky <<him _currentPlayerTurn>> this is the case!<<playerName _randomPlayerChallenge true>> <<conjugate "agree" _randomPlayerChallenge>>!<br><br>
<<else>>
<<if _currentPlayerTurn is $players.length>>
<<playerName _randomPlayerChallenge>> see resentment in your eyes, but you get down on your knees and beg <<him _randomPlayerChallenge>>.<br>
<</if>>
After this pathetic plea, <<playerName _randomPlayerChallenge>> <<conjugate "agree" _randomPlayerChallenge>> to let <<him _currentPlayerTurn>> win this challenge. <br>
<<playerName _currentPlayerTurn true>> <<do _currentPlayerTurn false>> know if <<he _currentPlayerTurn>> <<is _currentPlayerTurn true>> happy with it, but it is a victory nonetheless. <br><br>
<</if>>
<</replace>>
<<challengeResolution true>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<if _isBegging>>
<<set _stressModifier += _stressBegging*2>>
<</if>>
<<replace "#challengeResult">>
<<if not _isBegging>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> ask <<playerName _randomPlayerChallenge>> nicely if <<he _randomPlayerChallenge>> agrees to let <strong>you</strong> win the challenge.<br>
<</if>>
But <<he _randomPlayerChallenge>> <<conjugate "decide" _randomPlayerChallenge>> <<he _currentPlayerTurn>> <<do _currentPlayerTurn false>> deserve to win this challenge.<br><br>
<<else>>
<<if _currentPlayerTurn is $players.length>>
<<playerName _randomPlayerChallenge>> see resentment in your eyes, but you get down on your knees and beg <<him _randomPlayerChallenge>>.<br>
<</if>>
<<He _randomPlayerChallenge>> <<conjugate "laugh" _randomPlayerChallenge>> at <<your _currentPlayerTurn>> pathetic display.<br><br>
<<dialog _randomPlayerChallenge>>
After due consideration, I think you don't deserve it!
<</dialog>><br>
<</if>>
<</replace>>
<<challengeResolution false>>
<</nobr>><</widget>>
<<widget "beg">><<nobr>>
<<set _isBegging to true>>
<<replace "#statsResult">>
<<modifyFriendship _currentPlayerTurn _randomPlayerChallenge -5>>
<</replace>>
<<replace "#challengeResult">>
<<if _currentPlayerTurn is $players.length or _randomPlayerChallenge isnot $players.length>>
<<He _currentPlayerTurn>> <<conjugate "decide" _currentPlayerTurn>> to take the risk, with a bit of luck <<playerName _randomPlayerChallenge>> will be nice. <br><br>
<</if>>
<<dialog _randomPlayerChallenge>>
Mmh... I don't know... Perhaps if you ask with more enthusiasm?
<</dialog>><br>
<<if _currentPlayerTurn is $players.length>>
<<link "Beg">>
<<set _friendChoice to setup.checkFriendship(_randomPlayerChallenge, _currentPlayerTurn, 0, -20)>>
<<if _friendChoice lte 0>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<</link>><br>
<<link "Abandon">>
<<challengeRefused>>
<</link>><br><br>
<<else>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, -10 , "stress", "medium")>>
<<if _success and _randomPlayerChallenge is $players.length>>
You see resentment in <<his _currentPlayerTurn>> eyes, but <<he _currentPlayerTurn>> gets down on <<his _currentPlayerTurn>> knees and begs you.<br><br>
<<link "Accept">>
<<success _currentPlayerTurn>>
<</link>><br>
<<link "Refuse">>
<<failure _currentPlayerTurn>>
<</link>><br><br>
<<elseif _success>>
<<set _friendChoice to setup.checkFriendship(_randomPlayerChallenge, _currentPlayerTurn, 0, -20)>>
<<playerName _randomPlayerChallenge>> sees resentment in <<his _currentPlayerTurn>> eyes, but <<he _currentPlayerTurn>> gets down on <<his _currentPlayerTurn>> knees and begs <<him _randomPlayerChallenge>>.<br><br>
<<link "Next">>
<<if _friendChoice lte 0>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<</link>><br><br>
<<else>>
<<He _currentPlayerTurn>> angrily refuses, it seems <<his _currentPlayerTurn>> dignity still means something to <<him _currentPlayerTurn>>.<br><br>
<<link "Next">>
<<challengeRefused>>
<</link>><br><br>
<</if>>
<</if>>
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _player to _args[0]>>
<<if _randomPlayerChallenge isnot $players.length>>
<<if _player isnot $players.length>>
<<set _attraction to $players[_randomPlayerChallenge].friendsAttraction[_player]>>
<<set _friendship to $players[_randomPlayerChallenge].friendsFriendship[_player]>>
<<else>>
<<set _attraction to $players[_randomPlayerChallenge].attraction>>
<<set _friendship to $players[_randomPlayerChallenge].friendship>>
<</if>>
<<if _attraction > 60 and _friendship < 30>>
<<dialog _randomPlayerChallenge>>
I only did it for your pretty eyes...
<</dialog>>
<<elseif _attraction < 30 and _friendship < 30>>
<<dialog _randomPlayerChallenge>>
I don't even know why I let you win...
<</dialog>>
<<elseif _attraction > 60 and _friendship > 60>>
<<dialog _randomPlayerChallenge>>
I cannot resist you!
<</dialog>>
<<elseif _friendship > 60>>
<<dialog _randomPlayerChallenge>>
Of course I let you win, why would I do otherwise?
<</dialog>>
<<else>>
<<playerName _randomPlayerChallenge>> is glad <<he _randomPlayerChallenge>> let <<him _currentPlayerTurn>> win <<his _currentPlayerTurn>> points.<br>
<</if>>
<<else>>
You're glad you let <<him _currentPlayerTurn>> win <<his _currentPlayerTurn>> points. <br>
<</if>>
<</nobr>><</widget>>
<<widget "challengeResolution">><<nobr>>
<<set _challengeWon to _args[0]>>
<<replace "#statsResult">>
<<modifyStress _currentPlayerTurn _stressModifier>><<if _stressModifier isnot 0>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<<if not _challengeWon>>
<<modifyFriendship _currentPlayerTurn _randomPlayerChallenge -5>><<if _currentPlayerTurn isnot $players.length>><br><</if>>
<<else>>
<<modifyFriendship _currentPlayerTurn _randomPlayerChallenge 5>><<if _currentPlayerTurn isnot $players.length>><br><</if>>
<</if>>
<</replace>>
<<replace "#friendReaction">>
<<if _challengeWon>>
<br>
<<friendReaction _currentPlayerTurn>>
<<else>>
<<if _difficulty is 1>>
<br>
<<modifyPoints _randomPlayerChallenge 1>><br>
<<elseif _difficulty is 2>>
<br>
<<modifyPoints _randomPlayerChallenge 3>><br>
<</if>>
<</if>>
<<if _isBegging and _randomPlayerChallenge isnot $players.length>>
<br>
<<modifyAttraction _randomPlayerChallenge _currentPlayerTurn -5>><br>
<</if>>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<if _randomPlayerChallenge isnot $players.length>>
<<set _friendChoice to setup.checkFriendship(_randomPlayerChallenge, _currentPlayerTurn, 20)>>
<<if _friendChoice is -1>>
<<success _currentPlayerTurn>>
<<elseif _friendChoice is 0>>
<<beg>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<else>>
<<if $players[_currentPlayerTurn].gender is "female">>
<<set _pronoun to "her">>
<<else>>
<<set _pronoun to "him">>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn>> asks you nicely if you agree to let <<him _currentPlayerTurn>> win the challenge.<br>
What do you want to do?<br><br>
<<link "Accept">>
<<success _currentPlayerTurn>>
<</link>><br>
<<link "Make _pronoun beg">>
<<beg>>
<</link>><br>
<<link "Refuse">>
<<failure _currentPlayerTurn>>
<</link>><br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<replace "#challengeResult">>
<<if not _isBegging>>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<<else>>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth begging <<playerName _randomPlayerChallenge>>.<br>
<</if>>
<</replace>>
<<if _isBegging>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<set _stressModifer to _stressBegging + _stressRefusal>>
<<else>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<set _stressModifer to _stressRefusal>>
<<set _arousalModifier to _arousalRefusal>>
<</if>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressModifier>><<if _stressModifier isnot 0>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 , "stress", "medium")>>
<<if _success>>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> to take the risk, with a bit of luck <<playerName _randomPlayerChallenge>> will be nice. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 2>>
<<set _stressDifficulty2 to 2>>
<<set _stressDifficulty3 to 2>>
<<set _stressBegging to 5>>
<<set _arousalDifficulty1 to 0>>
<<set _arousalDifficulty2 to 0>>
<<set _arousalDifficulty3 to 0>>
<<set _pointsSuccessDifficulty1 to 1>>
<<set _pointsSuccessDifficulty2 to 2>>
<<set _pointsSuccessDifficulty3 to 3>>
<<set _pointsFailureDifficulty1 to -1>>
<<set _pointsFailureDifficulty2 to -1>>
<<set _pointsFailureDifficulty3 to -2>>
<<set _pointsRefusalDifficulty1 to -1>>
<<set _pointsRefusalDifficulty2 to -2>>
<<set _pointsRefusalDifficulty3 to -3>>
<<set _stressRefusal to -5>>
<<set _arousalRefusal to 0>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<set _randomPlayerPosition to setup.getRandomPositionPlayer()>>
<<set _randomPlayerChallenge to $playersInfos[_randomPlayerPosition[0]].player>>
<<set _isBegging to false>>
<<if _randomPlayerChallenge is $players.length>>
<<set _colorTextArg to "pcColor">>
<<set _name to $pcName>>
<<else>>
<<set _colorTextArg to _randomPlayerChallenge>>
<<set _name to $players[_randomPlayerChallenge].name>>
<</if>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Simple, ask the player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) if you can win the challenge.<br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Simple, ask the player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) if you can win the challenge. If he refuses, he wins one point.<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Simple, ask the player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) if you can win the challenge. If he refuses, he wins three points.<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="statsResult"></span>
<span id="friendReaction"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<set _arousalModifier to _arousalDifficulty1>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<changePiss _currentPlayerTurn 1>>
<<replace "#challengeResult">>
Ashamed, <<playerName _currentPlayerTurn>> <<conjugate "take" _currentPlayerTurn>> the glass and <<conjugate "urinate" _currentPlayerTurn>> into it. <br>
With a look of disgust on <<his _currentPlayerTurn>> face, <<he _currentPlayerTurn>> <<conjugate "make" _currentPlayerTurn>> the liquid touch <<his _currentPlayerTurn>> lips.<br>
<</replace>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<set _arousalModifier to _arousalDifficulty2>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<changePiss _currentPlayerTurn 2>>
<<replace "#challengeResult">>
Ashamed, <<playerName _currentPlayerTurn>> <<conjugate "take" _currentPlayerTurn>> the glass and <<conjugate "urinate" _currentPlayerTurn>> into it. <br>
With a look of disgust on <<his _currentPlayerTurn>> face, <<he _currentPlayerTurn>> then <<conjugate "take" _currentPlayerTurn>> a sip.<br>
<</replace>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<set _arousalModifier to _arousalDifficulty3>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<<changePiss _currentPlayerTurn 2>>
<<replace "#challengeResult">>
Ashamed, <<playerName _currentPlayerTurn>> <<conjugate "watch" _currentPlayerTurn>> <<playerName _randomPlayerChallenge>> <<conjugate "urinate" _randomPlayerChallenge>> into the glass. <br>
With a look of disgust on <<his _currentPlayerTurn>> face, <<he _currentPlayerTurn>> then <<conjugate "take" _currentPlayerTurn>> a sip.<br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _player true>> <<is _player>> too stressed, <<he _player>> <<do _player false>> want that glass anywhere near <<his _player>> face.<br>
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty isnot 2>>
<<randomizePlayer _player>>
<<set _playerReaction to $randomPlayer>>
<<else>>
<<set _playerReaction to _randomPlayerChallenge>>
<</if>>
<<if $randomPlayer isnot $players.length>>
<<if _player isnot $players.length>>
<<set _attraction to $players[$randomPlayer].friendsAttraction[_player]>>
<<set _friendship to $players[$randomPlayer].friendsFriendship[_player]>>
<<else>>
<<set _attraction to $players[$randomPlayer].attraction>>
<<set _friendship to $players[$randomPlayer].friendship>>
<</if>>
<<if _attraction > 60 and _friendship < 30>>
<<dialog _playerReaction>>
You really have no shame.
<</dialog>><br>
<<elseif _attraction < 30 and _friendship < 30 >>
<<dialog _playerReaction>>
You should drink the whole glass.
<</dialog>><br>
<<elseif _attraction > 60 and _friendship > 60>>
<<playerName _playerReaction>> looks away, disgusted and sad for <<playerName _player>>.<br><br>
<<elseif _friendship > 60>>
<<dialog _playerReaction>>
I'm sorry, I'm out of chewing gum...
<</dialog>><br>
<<else>>
<<playerName _playerReaction>> glances at <<him _player>> from time to time with disgust.<br><br>
<</if>>
<<else>>
You glance at <<him _player>> from time to time with disgust.<br>
<</if>>
<<if _difficulty is 0>>
<<modifyAttraction _playerReaction _player -5>><<if _playerReaction isnot $players.length>><br><</if>>
<<elseif _difficulty is 1>>
<<modifyAttraction _playerReaction _player -7>><<if _playerReaction isnot $players.length>><br><</if>>
<<else>>
<<modifyAttraction _playerReaction _player -10>><<if _playerReaction isnot $players.length>><br><</if>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 15 + 10 * _difficulty, "stress")>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<replace "#statsResult">>
<br>
<<if _success>><<modifyStress _currentPlayerTurn _stressModifier>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<if _success>>
<<replace "#friendReaction">>
<br>
<<friendReaction _currentPlayerTurn>>
<</replace>>
<</if>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressRefusal>><br>
<<modifyArousal _currentPlayerTurn _arousalRefusal>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 + 10 * _difficulty , "stress", "medium")>>
<<if _success>>
<<He _currentPlayerTurn>> decides to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 6>>
<<set _stressDifficulty2 to 12>>
<<set _stressDifficulty3 to 18>>
<<set _arousalDifficulty1 to 0>>
<<set _arousalDifficulty2 to 0>>
<<set _arousalDifficulty3 to 0>>
<<set _pointsSuccessDifficulty1 to 3>>
<<set _pointsSuccessDifficulty2 to 4>>
<<set _pointsSuccessDifficulty3 to 5>>
<<set _pointsFailureDifficulty1 to -2>>
<<set _pointsFailureDifficulty2 to -3>>
<<set _pointsFailureDifficulty3 to -4>>
<<set _pointsRefusalDifficulty1 to -3>>
<<set _pointsRefusalDifficulty2 to -4>>
<<set _pointsRefusalDifficulty3 to -5>>
<<set _stressRefusal to -10>>
<<set _arousalRefusal to 0>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<set _randomPlayerPosition to setup.getRandomPositionPlayer()>>
<<set _randomPlayerChallenge to $playersInfos[_randomPlayerPosition[0]].player>>
<<if _randomPlayerChallenge is $players.length>>
<<set _colorTextArg to "pcColor">>
<<set _name to $pcName>>
<<else>>
<<set _colorTextArg to _randomPlayerChallenge>>
<<set _name to $players[_randomPlayerChallenge].name>>
<</if>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Pee in a glass and dip your lips in it. <br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Pee in a glass and take a sip.<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
The player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) must pee in a glass. You'll have to take a sip in it.<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="statsResult"></span>
<span id="friendReaction"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<set _arousalModifier to _arousalDifficulty1>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<set _arousalModifier to _arousalDifficulty2>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<set _arousalModifier to _arousalDifficulty3>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<</if>>
<<if not _isPissing>>
<<if _difficulty lte 1>>
<<set _stressModifier -= _stressDifficulty1 >>
<<else>>
<<set _stressModifier -= _stressDifficulty3 >>
<</if>>
<</if>>
<<replace "#challengeResult">>
<<if _difficulty lte 1>>
<<playerName _currentPlayerTurn true>> <<conjugate "put" _currentPlayerTurn>> <<his _currentPlayerTurn>> hands above the toilets.<br>
<<else>>
<<playerName _currentPlayerTurn true>> <<conjugate "put" _currentPlayerTurn>> <<his _currentPlayerTurn>> head above the toilets.<br>
<</if>>
<<if not _isPissing>>
But <<playerName _randomPlayerChallenge>> doesn't take out <<his _randomPlayerChallenge>> <<dick _randomPlayerChallenge>>.<br>
<<else>>
<<if _difficulty lte 1>>
<<playerName _randomPlayerChallenge true>> <<conjugate "take" _randomPlayerChallenge>> out <<his _randomPlayerChallenge>> <<dick _randomPlayerChallenge>> and <<conjugate "begin" _randomPlayerChallenge>> to pee on <<his _currentPlayerTurn>> hands.<br>
<<else>>
<<playerName _randomPlayerChallenge true>> <<conjugate "take" _randomPlayerChallenge>> out <<his _randomPlayerChallenge>> <<dick _randomPlayerChallenge>> and <<conjugate "begin" _randomPlayerChallenge>> to pee on <<his _currentPlayerTurn>> head.<br>
<</if>>
<<playerName _currentPlayerTurn true>> <<conjugate "stay" _currentPlayerTurn>> still, until <<he _randomPlayerChallenge>> <<have _randomPlayerChallenge true>> finished.<br>
<</if>>
<</replace>>
<<challengeResolution true>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<if _isPissing>>
<<if _difficulty gt 1>>
<<set _stressModifier += 10>>
<<else>>
<<set _stressModifier += 5>>
<</if>>
<</if>>
<<replace "#challengeResult">>
<<if _difficulty lte 1>>
<<playerName _currentPlayerTurn true>> <<conjugate "put" _currentPlayerTurn>> <<his _currentPlayerTurn>> hands above the toilets.<br>
<<else>>
<<playerName _currentPlayerTurn true>> <<conjugate "put" _currentPlayerTurn>> <<his _currentPlayerTurn>> head above the toilets.<br>
<</if>>
<<if not _isPissing>>
But <<playerName _randomPlayerChallenge>> <<do _randomPlayerChallenge false>> take out <<his _randomPlayerChallenge>> <<dick _randomPlayerChallenge>>.<br>
<<else>>
<<if _difficulty lte 1>>
<<playerName _randomPlayerChallenge true>> <<conjugate "take" _randomPlayerChallenge>> out <<his _randomPlayerChallenge>> <<dick _randomPlayerChallenge>> and <<conjugate "begin" _randomPlayerChallenge>> to pee on <<his _currentPlayerTurn>> hands.<br>
<<else>>
<<playerName _randomPlayerChallenge>> <<conjugate "take" _randomPlayerChallenge>> out <<his _randomPlayerChallenge>> <<dick _randomPlayerChallenge>> and <<conjugate "begin" _randomPlayerChallenge>> to pee on <<his _currentPlayerTurn>> head.<br>
<</if>>
<br>
But this is to much, it digusts <<playerName _currentPlayerTurn>> and <<he _currentPlayerTurn>> <<conjugate "ask" _currentPlayerTurn>> <<him _randomPlayerChallenge>> to stop.<br>
<</if>>
<</replace>>
<<challengeResolution false>>
<</nobr>><</widget>>
<<widget "piss">><<nobr>>
<<set _isPissing to true>>
<<if _difficulty gt 1>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 10 , "stress")>>
<<else>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 0 , "stress")>>
<</if>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _stateChallenge to _args[0]>>
<<if _randomPlayerChallenge isnot $players.length>>
<<if _currentPlayerTurn isnot $players.length>>
<<set _attraction to $players[_randomPlayerChallenge].friendsAttraction[_currentPlayerTurn]>>
<<set _friendship to $players[_randomPlayerChallenge].friendsFriendship[_currentPlayerTurn]>>
<<else>>
<<set _attraction to $players[_randomPlayerChallenge].attraction>>
<<set _friendship to $players[_randomPlayerChallenge].friendship>>
<</if>>
<<if _stateChallenge is "win" and _isPissing>>
<<if _friendship < 30>>
<<dialog _randomPlayerChallenge>>
Don't move, I didn't finish to piss on you!
<</dialog>>
<<elseif _friendship > 60>>
<<dialog _randomPlayerChallenge>>
I'm sorry, I really needed to pee...
<</dialog>>
<<else>>
<<dialog _randomPlayerChallenge>>
I don't want to do that... But you have to deserve your points!
<</dialog>>
<</if>>
<<elseif _stateChallenge is "win">>
<<if _friendship < 30>>
<<dialog _randomPlayerChallenge>>
I pity you so much I couldn't pee on you... But I let you earn your points, you'd better make it up to me.
<</dialog>>
<<elseif _friendship > 60>>
<<dialog _randomPlayerChallenge>>
I will never pee on you, I promise! But you can earn your points !
<</dialog>>
<<else>>
<<dialog _randomPlayerChallenge>>
Well, I don't want to pee, so I let you earn your points.
<</dialog>>
<</if>>
<<elseif _stateChallenge is "lose" and _isPissing>>
<<if _friendship < 30>>
<<dialog _randomPlayerChallenge>>
Ahah! I piss on you and you don't even earn your points, that's perfect!
<</dialog>>
<<elseif _friendship > 60>>
<<dialog _randomPlayerChallenge>>
Oh no! I'm sorry!!!
<</dialog>>
<<else>>
<<dialog _randomPlayerChallenge>>
I thought you wanted to earn points?
<</dialog>>
<</if>>
<<else>>
<<if _friendship < 30>>
<<dialog _randomPlayerChallenge>>
I don't want to pee, you're lucky. But don't think you'll earn points.
<</dialog>>
<<elseif _friendship > 60>>
<<dialog _randomPlayerChallenge>>
I can't pee on you I'm sorry! But it would be unfair to give you points for doing nothing.
<</dialog>>
<<else>>
<<dialog _randomPlayerChallenge>>
Nah I don't want to do that, sorry you won't earn points.
<</dialog>>
<</if>>
<</if>>
<<else>>
<<if _stateChallenge is "win" and _isPissing>>
<<dialog _randomPlayerChallenge>>
I didn't want to do that... But you have to deserve your points!
<</dialog>>
<<elseif _stateChallenge is "win">>
<<dialog _randomPlayerChallenge>>
Well, I don't want to pee, so I let you earn your points.
<</dialog>>
<<elseif _stateChallenge is "lose" and _isPissing>>
<<dialog _randomPlayerChallenge>>
I thought you wanted to earn points?
<</dialog>>
<<else>>
<<dialog _randomPlayerChallenge>>
Nah I don't want to do that, sorry you won't earn points.
<</dialog>>
<</if>>
<</if>><br>
<</nobr>><</widget>>
<<widget "challengeResolution">><<nobr>>
<<set _challengeWon to _args[0]>>
<<replace "#friendReaction">>
<<if _challengeWon>>
<br>
<<friendReaction "win">>
<<else>>
<br>
<<friendReaction "lose">>
<</if>>
<<if _isPissing and _randomPlayerChallenge isnot $players.length>>
<<modifyAttraction _randomPlayerChallenge _currentPlayerTurn -10>><br><br>
<</if>>
<</replace>>
<<if _difficulty is 0 or not _isPissing>>
<<if _isPissing>>
<<replace "#challengeResolution">>
<br>
<<playerName _currentPlayerTurn true>> <<conjugateBis "wash" _currentPlayerTurn>> <<his _currentPlayerTurn>> hands before returning to <<his _currentPlayerTurn>> position.<br>
<</replace>>
<</if>>
<<replace "#statsResult">>
<<if _isPissing>>
<<modifyFriendship _currentPlayerTurn _randomPlayerChallenge -5>><<if _currentPlayerTurn isnot $players.length>><br><</if>>
<<elseif _challengeWon>>
<<modifyFriendship _currentPlayerTurn _randomPlayerChallenge +5>><<if _currentPlayerTurn isnot $players.length>><br><</if>>
<</if>>
<<modifyStress _currentPlayerTurn _stressModifier>><<if _stressModifier isnot 0>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<else>>
<<replace "#challengeResolution">>
<<if _difficulty is 1>>
<<playerName _currentPlayerTurn true>> <<conjugate "ask" _currentPlayerTurn>> <<playerName _randomPlayerChallenge>> if <<he _currentPlayerTurn>> can wash <<his _currentPlayerTurn>> hands.<br><br>
<<else>>
<<playerName _currentPlayerTurn true>> <<conjugate "ask" _currentPlayerTurn>> <<playerName _randomPlayerChallenge>> if <<he _currentPlayerTurn>> can wash <<his _currentPlayerTurn>> head.<br><br>
<</if>>
<<if _randomPlayerChallenge isnot $players.length>>
<<link "See the answer">>
<<set _friendChoice to setup.checkFriendship(_randomPlayerChallenge, _currentPlayerTurn, 15)>>
<<washPee _friendChoice>>
<</link>><br>
<<else>>
<<link "Accept">>
<<washPee -1>>
<</link>><br>
<<link "Refuse">>
<<washPee 1>>
<</link>>
<</if>>
<</replace>>
<</if>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "washPee">><<nobr>>
<<set _friendDecision to _args[0]>>
<<replace "#challengeResolution">><</replace>>
<<replace "#friendReaction">><</replace>>
<<if _friendDecision lte 0>>
<<replace "#challengeResult">>
<<playerName _randomPlayerChallenge true>> <<conjugate "let" _randomPlayerChallenge>> <<him _currentPlayerTurn>> wash <<himself _currentPlayerTurn>>. <br><br>
<</replace>>
<<else>>
<<replace "#challengeResult">>
<<playerName _randomPlayerChallenge true>> <<conjugate "decide" _randomPlayerChallenge>> <<he _currentPlayerTurn>> shouldn't clean <<himself _currentPlayerTurn>>. <br><br>
<</replace>>
<<if _difficulty is 1>>
<<changePiss _currentPlayerTurn 2>>
<<else>>
<<changePiss _currentPlayerTurn 5>>
<</if>>
<</if>>
<<replace "#statsResult">>
<<modifyStress _currentPlayerTurn _stressModifier>><<if _stressModifier isnot 0>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<<if _friendDecision lte 0>>
<<modifyFriendship _currentPlayerTurn _randomPlayerChallenge +5>><<if _currentPlayerTurn isnot $players.length>><br><</if>>
<<else>>
<<modifyFriendship _currentPlayerTurn _randomPlayerChallenge -5>><<if _currentPlayerTurn isnot $players.length>><br><</if>>
<</if>>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<if _randomPlayerChallenge isnot $players.length>>
<<set _friendChoice to setup.checkFriendship(_randomPlayerChallenge, _currentPlayerTurn, 30)>>
<<if _friendChoice is -1>>
<<success _currentPlayerTurn>>
<<elseif _friendChoice is 0>>
<<piss>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<else>>
<<if $players[_currentPlayerTurn].gender is "female">>
<<set _pronoun to "her">>
<<else>>
<<set _pronoun to "him">>
<</if>>
<<replace "#challengeResult">>
What do you want to do? <br><br>
<<link "Accept">>
<<piss>>
<</link>><br>
<<link "Refuse but let _pronoun earn the points">>
<<success _currentPlayerTurn>>
<</link>><br>
<<link "Refuse and deny _pronoun points">>
<<failure _currentPlayerTurn>>
<</link>><br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<set _stressModifer to _stressRefusal>>
<<set _arousalModifier to _arousalRefusal>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressModifier>><<if _stressModifier isnot 0>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 20 , "stress", "medium")>>
<<if _success>>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides that the points are not worth doing what the challenge requires.<br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 10>>
<<set _stressDifficulty2 to 10>>
<<set _stressDifficulty3 to 20>>
<<set _stressWashing to 5>>
<<set _arousalDifficulty1 to 0>>
<<set _arousalDifficulty2 to 0>>
<<set _arousalDifficulty3 to 0>>
<<set _pointsSuccessDifficulty1 to 4>>
<<set _pointsSuccessDifficulty2 to 5>>
<<set _pointsSuccessDifficulty3 to 6>>
<<set _pointsFailureDifficulty1 to -2>>
<<set _pointsFailureDifficulty2 to -2>>
<<set _pointsFailureDifficulty3 to -3>>
<<set _pointsRefusalDifficulty1 to -3>>
<<set _pointsRefusalDifficulty2 to -4>>
<<set _pointsRefusalDifficulty3 to -5>>
<<set _stressRefusal to -10>>
<<set _arousalRefusal to 0>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<set _randomPlayerPosition to setup.getRandomPositionPlayer()>>
<<set _randomPlayerChallenge to $playersInfos[_randomPlayerPosition[0]].player>>
<<set _isPissing to false>>
<<if _randomPlayerChallenge is $players.length>>
<<set _colorTextArg to "pcColor">>
<<set _name to $pcName>>
<<else>>
<<set _colorTextArg to _randomPlayerChallenge>>
<<set _name to $players[_randomPlayerChallenge].name>>
<</if>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
The player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) has to pee on your hands. He can refuse. If he does so, he'll decide whether you can earn the points or not. You can wash your hands after that.<br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
The player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) has to pee on your hands. He can refuse. If he does so, he'll decide whether you can earn the points or not, but also whether you can wash your hands or not.<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
The player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) has to pee on your head. He can refuse. If he does so, he'll decide whether you can earn the points or not, but also whether you can wash your head or not.<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="friendReaction"></span>
<span id="statsResult"></span>
<span id="challengeResolution"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<set _arousalModifier to _arousalDifficulty1>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<replace "#challengeResult">>
<<playerName _randomPlayerChallenge true>> <<conjugate "remove" _randomPlayerChallenge>> <<his _randomPlayerChallenge>> socks.<br>
It's not exactly pleasant, but <<playerName _player>> <<conjugate "begin" _player>> to kiss <<your _randomPlayerChallenge>> feet.<br>
That's a success!<br>
<</replace>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<set _arousalModifier to _arousalDifficulty2>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<replace "#challengeResult">>
<<playerName _randomPlayerChallenge true>> <<conjugate "remove" _randomPlayerChallenge>> <<his _randomPlayerChallenge>> socks. <br>
It's not exactly pleasant, but <<playerName _player>> <<conjugate "begin" _player>> to lick <<your _randomPlayerChallenge>> feet soles.<br>
That's a success!<br>
<</replace>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<set _arousalModifier to _arousalDifficulty3>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<<replace "#challengeResult">>
<<playerName _randomPlayerChallenge true>> <<conjugate "remove" _randomPlayerChallenge>> <<his _randomPlayerChallenge>> socks. <br>
It's not exactly pleasant, but <<playerName _player>> <<conjugate "begin" _player>> to suck <<your _randomPlayerChallenge>> toes.<br>
That's a success!<br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<He _player>><<is _player true>> too stressed, <<he _player>> <<conjugate "stop" _player>> when <<he _player>> <<conjugate "put" _player>> <<his _player>> mouth on the foot.<br>
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _player to _args[0]>>
<<if _randomPlayerChallenge isnot $players.length>>
<<if _player isnot $players.length>>
<<set _attraction to $players[_randomPlayerChallenge].friendsAttraction[_player]>>
<<set _friendship to $players[_randomPlayerChallenge].friendsFriendship[_player]>>
<<else>>
<<set _attraction to $players[_randomPlayerChallenge].attraction>>
<<set _friendship to $players[_randomPlayerChallenge].friendship>>
<</if>>
<<if _friendship < 30>>
<<dialog _randomPlayerChallenge>>
This is your place, at my feet.
<</dialog>><br>
<<elseif _friendship > 60>>
<<dialog _randomPlayerChallenge>>
I hope my feet were clean!
<</dialog>><br>
<<else>>
<<dialog _randomPlayerChallenge>>
Well, it's not so bad.
<</dialog>><br>
<</if>>
<<else>>
<<dialog _randomPlayerChallenge>>
Well, it's not so bad.
<</dialog>><br>
<</if>>
<<if _difficulty is 0>>
<<modifyArousal _randomPlayerChallenge 5>><br>
<<modifyAttraction _randomPlayerChallenge _player -5>><<if _randomPlayerChallenge isnot $players.length>><br><</if>>
<<elseif _difficulty is 1>>
<<modifyArousal _randomPlayerChallenge 10>><br>
<<modifyAttraction _randomPlayerChallenge _player -10>><<if _randomPlayerChallenge isnot $players.length>><br><</if>>
<<else>>
<<modifyArousal _randomPlayerChallenge 15>><br>
<<modifyAttraction _randomPlayerChallenge _player -15>><<if _randomPlayerChallenge isnot $players.length>><br><</if>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 5 + 10 * _difficulty, "stress")>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<replace "#statsResult">>
<br>
<<if _success>><<modifyStress _currentPlayerTurn _stressModifier>><br>
<<modifyArousal _currentPlayerTurn _arousalModifier>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<if _success>>
<<replace "#friendReaction">>
<br>
<<friendReaction _currentPlayerTurn>>
<</replace>>
<</if>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressRefusal>><br>
<<modifyArousal _currentPlayerTurn _arousalRefusal>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 + 10 * _difficulty , "stress", "medium")>>
<<if _success>>
<<He _currentPlayerTurn>> decides to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 5>>
<<set _stressDifficulty2 to 10>>
<<set _stressDifficulty3 to 15>>
<<set _arousalDifficulty1 to 0>>
<<set _arousalDifficulty2 to 0>>
<<set _arousalDifficulty3 to 0>>
<<set _pointsSuccessDifficulty1 to 3>>
<<set _pointsSuccessDifficulty2 to 4>>
<<set _pointsSuccessDifficulty3 to 5>>
<<set _pointsFailureDifficulty1 to -2>>
<<set _pointsFailureDifficulty2 to -3>>
<<set _pointsFailureDifficulty3 to -4>>
<<set _pointsRefusalDifficulty1 to -3>>
<<set _pointsRefusalDifficulty2 to -4>>
<<set _pointsRefusalDifficulty3 to -5>>
<<set _stressRefusal to -5>>
<<set _arousalRefusal to -5>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<set _randomPlayerPosition to setup.getRandomPositionPlayer()>>
<<set _randomPlayerChallenge to $playersInfos[_randomPlayerPosition[0]].player>>
<<if _randomPlayerChallenge is $players.length>>
<<set _colorTextArg to "pcColor">>
<<set _name to $pcName>>
<<else>>
<<set _colorTextArg to _randomPlayerChallenge>>
<<set _name to $players[_randomPlayerChallenge].name>>
<</if>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Kiss the feet of the player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>).<br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Lick the foot soles of the player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>).<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Suck the the toes of the player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>).<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="statsResult"></span>
<span id="friendReaction"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "begin" _player>> to massage <<your _randomPlayerChallenge>> feet.<br>
Is it good or not? <<He _player>> <<do _player false>> know, but that's a success nonetheless!<br>
<</replace>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "begin" _player>> to massage <<your _randomPlayerChallenge>> feet.<br>
Is it good or not? <<playerName _randomPlayerChallenge true>> will decide.<br>
<</replace>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "begin" _player>> to massage <<your _randomPlayerChallenge>> feet.<br>
<<if _friendDifficulty is -1>>
<<He _randomPlayerChallenge>> <<do _randomPlayerChallenge false>> make it last too long and <<conjugate "ask" _randomPlayerChallenge>> <<him _player>> to stop.<br>
<<elseif _friendDifficulty is 0>>
After a moment, <<he _randomPlayerChallenge>> <<conjugate "ask" _randomPlayerChallenge>> <<him _player>> to stop.<br>
<<else>>
It seems to last forever, <<your _player>> hands hurt and <<he _player>> <<is _player>> ready to abandon when <<playerName _randomPlayerChallenge>> finally <<conjugate "ask" _randomPlayerChallenge>> <<him _player>> to stop.<br>
<</if>>
Is it good or not? <<playerName _randomPlayerChallenge true>> will decide.<br>
<</replace>>
<</if>>
<<challengeResolution>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<replace "#challengeResult">>
It's too humiliating, <<playerName _player>> <<conjugate "decide" _player>> to stop.<br>
<</replace>>
<<challengeResolution>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _player to _args[0]>>
<<replace "#friendReaction">>
<br>
<<if _randomPlayerChallenge isnot $players.length>>
<<if _player isnot $players.length>>
<<set _attraction to $players[_randomPlayerChallenge].friendsAttraction[_player]>>
<<set _friendship to $players[_randomPlayerChallenge].friendsFriendship[_player]>>
<<else>>
<<set _attraction to $players[_randomPlayerChallenge].attraction>>
<<set _friendship to $players[_randomPlayerChallenge].friendship>>
<</if>>
<<if _friendship < 30>>
<<dialog _randomPlayerChallenge>>
<<if _difficulty lt 2>>
You're terrible at this!
<<else>>
<<if _friendDifficulty is -1>>
You're so bad I have to make you stop fast!
<<elseif _friendDifficulty is 0>>
Could be better...
<<else>>
This is so good to have you serving my feet!
<</if>>
<</if>>
<br>
<<if _difficulty gt 0>>
<<if _friendDecision lte 0>>
But you know what? To encourage you in this path I let you earn your points!
<<else>>
Don't think you were good enough to earn points.
<</if>>
<</if>>
<</dialog>><br>
<<elseif _friendship > 60>>
<<dialog _randomPlayerChallenge>>
<<if _difficulty lt 2>>
This is so good!
<<else>>
<<if _friendDifficulty is -1>>
That was great but I found it strange letting you rub my feet.
<<elseif _friendDifficulty is 0>>
That was good, thanks!
<<else>>
Oh sorry! That was so good I didn't see the time pass.
<</if>>
<</if>>
<br>
<<if _difficulty gt 0>>
<<if _friendDecision lte 0>>
You can of course earn your points!
<<else>>
But ahem... I think you could have put more into it... Don't think you deserve points this time, sorry.
<</if>>
<</if>>
<</dialog>><br>
<<else>>
<<dialog _randomPlayerChallenge>>
<<if _difficulty lt 2>>
It was ok.
<<else>>
<<if _friendDifficulty is -1>>
I've seen better, but it could be worse I guess.
<<elseif _friendDifficulty is 0>>
It was good enough.
<<else>>
Sorry but it's not everyday that someone gives you a foot massage.
<</if>>
<</if>>
<br>
<<if _difficulty gt 0>>
<<if _friendDecision lte 0>>
You can earn your points.
<<else>>
But you have to be better to earn your points, sorry.
<</if>>
<</if>>
<</dialog>><br>
<</if>>
<<else>>
<<dialog _randomPlayerChallenge>>
<<if _difficulty lt 2>>
It was ok.
<<else>>
<<if _friendDifficulty is -1>>
I've seen better, but it could be worse I guess.
<<elseif _friendDifficulty is 0>>
It was good enough.
<<else>>
Sorry but it's not everyday that someone gives you a foot massage.
<</if>>
<</if>>
<br>
<<if _difficulty gt 0>>
<<if _friendDecision lte 0>>
You can earn your points.
<<else>>
But you have to be better to earn your points, sorry.
<</if>>
<</if>>
<</dialog>><br>
<</if>>
<<if _difficulty is 0>>
<<modifyArousal _randomPlayerChallenge 5>><br>
<<modifyAttraction _randomPlayerChallenge _player -5>><<if _randomPlayerChallenge isnot $players.length>><br><</if>>
<<elseif _difficulty is 1>>
<<modifyArousal _randomPlayerChallenge 5>><br>
<<modifyAttraction _randomPlayerChallenge _player -5>><<if _randomPlayerChallenge isnot $players.length>><br><</if>>
<<else>>
<<modifyArousal _randomPlayerChallenge 5>><br>
<<modifyAttraction _randomPlayerChallenge _player -5>><<if _randomPlayerChallenge isnot $players.length>><br><</if>>
<</if>>
<</replace>>
<</nobr>><</widget>>
<<widget "challengeResolution">><<nobr>>
<<if _success>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<friendReaction _currentPlayerTurn>>
<<else>>
<<if _randomPlayerChallenge isnot $players.length>>
<<set _friendDecision to setup.checkFriendship(_randomPlayerChallenge, _currentPlayerTurn, 10)>>
<<if _friendDecision lte 0>>
<<if _difficulty is 1>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<</if>>
<<else>>
<<if _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<</if>>
<<friendReaction _currentPlayerTurn>>
<<else>>
<<replace "#challengeResolution">>
<br>Let <<him _currentPlayerTurn>> earn <<his _currentPlayerTurn>> points?<br>
<<link "Yes">>
<<replace "#challengeResolution">><</replace>>
<<set _friendDecision to -1>>
<<friendReaction _currentPlayerTurn>>
<<if _difficulty is 1>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<</if>>
<<StatsNext>>
<</link>><br>
<<link "No">>
<<replace "#challengeResolution">><</replace>>
<<set _friendDecision to 1>>
<<friendReaction _currentPlayerTurn>>
<<if _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<StatsNext>>
<</link>><br>
<</replace>>
<</if>>
<</if>>
<</if>>
<<if _randomPlayerChallenge isnot $players.length or _difficulty is 0 or not _success>>
<<StatsNext>>
<</if>>
<</nobr>><</widget>>
<<widget "StatsNext">><<nobr>>
<<set _tempFriendship to 0>>
<<replace "#statsResult">>
<br>
<<if _success>><<modifyStress _currentPlayerTurn _stressModifier>><br><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<<if _difficulty gt 0>>
<<if _friendDecision gt 0>>
<<set _tempFriendship -= 5>>
<</if>>
<<if _friendDifficulty is 1>>
<<set _tempFriendship -= 5>>
<<elseif _friendDifficulty is -1>>
<<set _tempFriendship += 5>>
<</if>>
<</if>>
<<modifyFriendship _currentPlayerTurn _randomPlayerChallenge _tempFriendship>><<if _currentPlayerTurn isnot $players.length and _tempFriendship isnot 0>><br><</if>>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<if _difficulty lt 2>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 5, "stress")>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<elseif _randomPlayerChallenge isnot $players.length>>
<<set _friendDifficulty to setup.checkFriendship(_randomPlayerChallenge, _currentPlayerTurn, 30)>>
<<if _friendDifficulty is 1>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 15, "stress")>>
<<elseif _friendDifficulty is 0>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 10, "stress")>>
<<else>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 5, "stress")>>
<</if>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<else>>
<<replace "#challengeResult">>
How long do you want the massage to last?<br><br>
<<link "Make it last">>
<<set _friendDifficulty to 1>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 15, "stress")>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<</link>><br>
<<link "Just enjoy it">>
<<set _friendDifficulty to 0>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 10, "stress")>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<</link>><br>
<<link "Don't make it last">>
<<set _friendDifficulty to -1>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 5, "stress")>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<</link>><br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressRefusal>><br>
<<modifyArousal _currentPlayerTurn _arousalRefusal>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 + 10 * _difficulty ,"stress", "medium")>>
<<if _success>>
<<He _currentPlayerTurn>> decides to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 4>>
<<set _stressDifficulty2 to 8>>
<<set _stressDifficulty3 to 12>>
<<set _arousalDifficulty1 to 0>>
<<set _arousalDifficulty2 to 0>>
<<set _arousalDifficulty3 to 0>>
<<set _pointsSuccessDifficulty1 to 1>>
<<set _pointsSuccessDifficulty2 to 2>>
<<set _pointsSuccessDifficulty3 to 3>>
<<set _pointsFailureDifficulty1 to -1>>
<<set _pointsFailureDifficulty2 to -1>>
<<set _pointsFailureDifficulty3 to -2>>
<<set _pointsRefusalDifficulty1 to -1>>
<<set _pointsRefusalDifficulty2 to -2>>
<<set _pointsRefusalDifficulty3 to -3>>
<<set _stressRefusal to -5>>
<<set _arousalRefusal to -5>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<set _randomPlayerPosition to setup.getRandomPositionPlayer()>>
<<set _randomPlayerChallenge to $playersInfos[_randomPlayerPosition[0]].player>>
<<if _randomPlayerChallenge is $players.length>>
<<set _colorTextArg to "pcColor">>
<<set _name to $pcName>>
<<else>>
<<set _colorTextArg to _randomPlayerChallenge>>
<<set _name to $players[_randomPlayerChallenge].name>>
<</if>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Massage the foot of the player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) for 1 minute. You'll earn your points at the end.<br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Massage the foot of the player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) for 1 minute. He'll decide if you earn your points at the end.<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Massage the foot of the player _randomPlayerPosition[1] (<<colorText _colorTextArg>>_name<</colorText>>) for as long as he wants. He'll decide if you earn your points at the end.<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="challengeResolution"></span>
<span id="friendReaction"></span>
<span id="statsResult"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<set _arousalModifier to _arousalDifficulty1>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "change" _player>> <<his _player>> underwear and <<conjugate "wait" _player>> in front of <<his _player>> friend<<if $players.length gt 1>>s<</if>> 30 seconds. <br>
That's a success! <br>
Soon after, <<he _player>><<is _player true>> back in <<his _player>> underwear.<br>
<</replace>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<set _arousalModifier to _arousalDifficulty2>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "change" _player>> <<his _player>> clothes and <<conjugate "wait" _player>> in front of <<his _player>> friend<<if $players.length gt 1>>s<</if>> 30 seconds. <br>
That's a success! <br>
Soon after, <<he _player>><<is _player true>> back in <<his _player>> clothes.<br>
<</replace>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<set _arousalModifier to _arousalDifficulty3>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "strip" _player>> down to<<his _player>> underwear, change them and <<conjugate "wait" _player>> in front of <<his _player>> friend<<if $players.length gt 1>>s<</if>> 30 seconds. <br>
That's a success! <br>
Soon after, <<he _player>><<is _player true>> back in <<his _player>> clothes.<br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<He _player>><<is _player true>> too stressed, <<he _player>> <<do _player false>> want to put anything like that.
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _player to _args[0]>>
<<randomizePlayer _player>>
<<if $randomPlayer isnot $players.length>>
<<if _player isnot $players.length>>
<<set _attraction to $players[$randomPlayer].friendsAttraction[_player]>>
<<set _friendship to $players[$randomPlayer].friendsFriendship[_player]>>
<<else>>
<<set _attraction to $players[$randomPlayer].attraction>>
<<set _friendship to $players[$randomPlayer].friendship>>
<</if>>
<<if _friendship < 30>>
<<dialog $randomPlayer>>
You should consider having a sex change.
<</dialog>><br>
<<elseif _friendship > 60>>
<<dialog $randomPlayer>>
How it feels? Do you like it?
<</dialog>><br>
<<else>>
<<playerName $randomPlayer>> glances at <<him _player>> from time to time.<br><br>
<</if>>
<<else>>
You glance at <<him _player>> from time to time.<br><br>
<</if>>
<<if _difficulty is 1>>
<<modifyAttraction $randomPlayer _player -5>><<if $randomPlayer isnot $players.length>><br><</if>>
<<elseif _difficulty is 2>>
<<modifyArousal $randomPlayer 10>><br>
<<modifyAttraction $randomPlayer _player -10>><<if $randomPlayer isnot $players.length>><br><</if>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 5 * _difficulty, "stress")>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<replace "#statsResult">>
<br>
<<if _success>><<modifyStress _currentPlayerTurn _stressModifier>><br>
<<modifyArousal _currentPlayerTurn _arousalModifier>><<if _arousalModifier isnot 0>><br><</if>><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<if _success>>
<<replace "#friendReaction">>
<br>
<<friendReaction _currentPlayerTurn>>
<</replace>>
<</if>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressRefusal>><br>
<<modifyArousal _currentPlayerTurn _arousalRefusal>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 + 10 * _difficulty , "stress", "medium")>>
<<if _success>>
<<He _currentPlayerTurn>> decides to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 5>>
<<set _stressDifficulty2 to 10>>
<<set _stressDifficulty3 to 15>>
<<set _arousalDifficulty1 to 0>>
<<set _arousalDifficulty2 to 0>>
<<set _arousalDifficulty3 to 10>>
<<set _pointsSuccessDifficulty1 to 1>>
<<set _pointsSuccessDifficulty2 to 2>>
<<set _pointsSuccessDifficulty3 to 4>>
<<set _pointsFailureDifficulty1 to -1>>
<<set _pointsFailureDifficulty2 to -1>>
<<set _pointsFailureDifficulty3 to -2>>
<<set _pointsRefusalDifficulty1 to -1>>
<<set _pointsRefusalDifficulty2 to -2>>
<<set _pointsRefusalDifficulty3 to -4>>
<<set _stressRefusal to -5>>
<<set _arousalRefusal to -5>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Put on underwear of the opposite sex under your clothes. Stay like this for 30 seconds and put your underwear back on.<br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Put on underwear and clothes of the opposite sex. Stay like this for 30 seconds and put your underwear and clothes back on.<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Put on underwear of the opposite sex and don't hide them with clothes. Stay like this for 30 seconds and put your underwear and clothes back on.<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="statsResult"></span>
<span id="friendReaction"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<set _arousalModifier to _arousalDifficulty1>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "begin" _player>> to finger <<his _player>> ass. <br>
That's a success! <br>
<</replace>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<set _arousalModifier to _arousalDifficulty2>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "find" _player>> a pen and <<conjugate "shove" _player>> it up <<his _player>> ass. <br>
That's a success! <br>
<</replace>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<set _arousalModifier to _arousalDifficulty3>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "take" _player>> the dildo and <<conjugate "shove" _player>> it up <<his _player>> ass. <br>
That's a success! <br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<He _player>><<is _player true>> too stressed, <<he _player>> <<do _player false>> want anything up <<his _player>> ass.
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _player to _args[0]>>
<<randomizePlayer _player>>
<<if $randomPlayer isnot $players.length>>
<<if _player isnot $players.length>>
<<set _attraction to $players[$randomPlayer].friendsAttraction[_player]>>
<<set _friendship to $players[$randomPlayer].friendsFriendship[_player]>>
<<else>>
<<set _attraction to $players[$randomPlayer].attraction>>
<<set _friendship to $players[$randomPlayer].friendship>>
<</if>>
<<if _friendship < 30>>
<<dialog $randomPlayer>>
Wow! Your ass is used to it, I can see it.
<</dialog>><br>
<<elseif _friendship > 60>>
<<dialog $randomPlayer>>
I hope it wasn't too painful!
<</dialog>><br>
<<else>>
<<dialog $randomPlayer>>
You can use the bathroom to clean <<if _difficulty is 0>>your finger<<elseif _difficulty is 1>> the pen<<else>>the dildo<</if>>.
<</dialog>><br>
<</if>>
<<else>>
<<dialog $randomPlayer>>
You can use the bathroom to clean <<if _difficulty is 0>>your finger<<elseif _difficulty is 1>> the pen<<else>>the dildo<</if>>.
<</dialog>><br>
<</if>>
<<if _difficulty is 0>>
<<modifyArousal $randomPlayer 5>><br>
<<modifyAttraction $randomPlayer _player 5>><<if $randomPlayer isnot $players.length>><br><</if>>
<<elseif _difficulty is 1>>
<<modifyArousal $randomPlayer 10>><br>
<<modifyAttraction $randomPlayer _player 7>><<if $randomPlayer isnot $players.length>><br><</if>>
<<elseif _difficulty is 2>>
<<modifyArousal $randomPlayer 15>><br>
<<modifyAttraction $randomPlayer _player 10>><<if $randomPlayer isnot $players.length>><br><</if>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, 10 + 10 * _difficulty, "stress")>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<replace "#statsResult">>
<br>
<<if _success>><<modifyStress _currentPlayerTurn _stressModifier>><br>
<<modifyArousal _currentPlayerTurn _arousalModifier>><<if _arousalModifier isnot 0>><br><</if>><</if>>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<if _success>>
<<replace "#friendReaction">>
<br>
<<friendReaction _currentPlayerTurn>>
<</replace>>
<</if>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressRefusal>><br>
<<modifyArousal _currentPlayerTurn _arousalRefusal>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 + 10 * _difficulty , "stress", "medium")>>
<<if _success>>
<<He _currentPlayerTurn>> decides to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 10>>
<<set _stressDifficulty2 to 15>>
<<set _stressDifficulty3 to 20>>
<<set _arousalDifficulty1 to 5>>
<<set _arousalDifficulty2 to 10>>
<<set _arousalDifficulty3 to 15>>
<<set _pointsSuccessDifficulty1 to 4>>
<<set _pointsSuccessDifficulty2 to 6>>
<<set _pointsSuccessDifficulty3 to 8>>
<<set _pointsFailureDifficulty1 to -2>>
<<set _pointsFailureDifficulty2 to -3>>
<<set _pointsFailureDifficulty3 to -4>>
<<set _pointsRefusalDifficulty1 to -3>>
<<set _pointsRefusalDifficulty2 to -4>>
<<set _pointsRefusalDifficulty3 to -5>>
<<set _stressRefusal to -10>>
<<set _arousalRefusal to -5>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Finger your ass.<br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Find a small object like a pen and shove it up your ass.<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Take a dildo and shove it up your ass.<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="statsResult"></span>
<span id="friendReaction"></span>
<span id="next"></span>
<</nobr>>Ruined Orgasm Challenge 1
<<link "Next">>
<<goto "Turn Progress">>
<</link>><<nobr>>
<<widget "duelResolved">><<nobr>>
<<set _stressPlayer to _stress>>
<<set _stressOpponent to _stress>>
<<set _pointsChosen to false>>
<<if $players.length gte 2>>
<<replace "#duelResolution">>
<<for _i to 0; _i lt $players.length; _i++>>
<<if _i isnot _currentPlayerTurn and _i isnot _opponent>>
<<set _playerVote to 0>>
<<set _playerScore to 0>>
<<for _j to 0; _j lt _challengers.length; _j++>>
<<set _tempPlayerScore to _challengers[_j].score - setup.checkFriendship(_i, _challengers[_j].challenger, 30)*3>>
<<if _tempPlayerScore gt _playerScore>>
<<set _playerVote to _j>>
<<set _playerScore to _tempPlayerScore>>
<</if>>
<</for>>
<<set _challengers[_playerVote].vote += 1>>
<<playerName _i>> votes for <<playerName _challengers[_playerVote].challenger>>.<br>
<</if>>
<</for>><br>
Final scores: <br>
<<playerName _challengers[0].challenger true>>: _challengers[0].vote<br>
<<playerName _challengers[1].challenger true>>: _challengers[1].vote<br><br>
<<if _challengers[0].vote gt _challengers[1].vote>>
The winner is <<playerName _challengers[0].challenger>>!<br><br>
<<set _loser to _challengers[1].challenger>>
<<elseif _challengers[0].vote lt _challengers[1].vote>>
The winner is <<playerName _challengers[1].challenger>>!<br><br>
<<set _loser to _challengers[0].challenger>>
<<else>>
<<replace "#duelResult">>
There is no winner.<br><br>
<<link "Next">>
<<noWinnerEnd>>
<</link>>
<</replace>>
<</if>>
<</replace>>
<<else>>
<<replace "#duelResolution">>
<<if _challengers[0].vote gt _challengers[1].vote>>
The winner is <<playerName _challengers[0].challenger>>!<br><br>
<<set _loser to _challengers[1].challenger>>
<<else>>
The winner is <<playerName _challengers[1].challenger>>!<br><br>
<<set _loser to _challengers[0].challenger>>
<</if>>
<</replace>>
<</if>>
<<if _challengers[0].vote isnot _challengers[1].vote>>
<<replace "#duelResult">>
<<if _loser isnot _currentPlayerTurn>>
<<He _currentPlayerTurn>> can choose <<his _currentPlayerTurn>> reward.<br>
<<if _currentPlayerTurn isnot $players.length>>
<<if setup.checkFriendship(_currentPlayerTurn, _opponent, 0) lte 0>>
<<set _pointsChosen to true>>
<<elseif _opponent is $players.length>>
<<if _difficulty is 1 and $pcSwap is "swap">>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and $pcState is "lingerie" and $pcSwap is "swap">>
<<set _pointsChosen to true>>
<</if>>
<<else>>
<<if _difficulty is 1 and $players[_opponent].swap is "swap">>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and $players[_opponent].state is "lingerie" and $players[_opponent].swap is "swap">>
<<set _pointsChosen to true>>
<</if>>
<</if>>
<<endDuel>>
<<else>>
<br>
<<link "Choose points">>
<<replace "#duelResult">>
<<set _pointsChosen to true>>
<<endDuel>>
<</replace>>
<</link>><br>
<<link "Choose handicap">>
<<replace "#duelResult">>
<<endDuel>>
<</replace>>
<</link>><br>
<</if>>
<<else>>
<<He _opponent>> can choose <<his _opponent>> reward.<br>
<<if _opponent isnot $players.length>>
<<if setup.checkFriendship(_opponent, _currentPlayerTurn, 0) lte 0>>
<<set _pointsChosen to true>>
<<elseif _currentPlayerTurn is $players.length>>
<<if _difficulty is 1 and $pcSwap is "swap">>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and $pcState is "lingerie" and $pcSwap is "swap">>
<<set _pointsChosen to true>>
<</if>>
<<else>>
<<if _difficulty is 1 and $players[_currentPlayerTurn].swap is "swap">>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and $players[_currentPlayerTurn].state is "lingerie" and $players[_currentPlayerTurn].swap is "swap">>
<<set _pointsChosen to true>>
<</if>>
<</if>>
<<endDuel>>
<<else>>
<br>
<<link "Choose points">>
<<replace "#duelResult">>
<<set _pointsChosen to true>>
<<endDuel>>
<</replace>>
<</link>><br>
<<link "Choose handicap">>
<<replace "#duelResult">>
<<endDuel>>
<</replace>>
<</link>><br>
<</if>>
<</if>>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "noWinnerEnd">><<nobr>>
<<replace "#duelResult">><</replace>>
<<replace "#duelResolution">>
Both of the players are disappointed but this is the end of the duel.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<if _stressPlayer gt 0>><<modifyStress _currentPlayerTurn _stressPlayer>><br><</if>>
<<if _stressOpponent gt 0>><<modifyStress _opponent _stressOpponent>><br><</if>>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<widget "endDuel">><<nobr>>
<<if _pointsChosen>>
<<if _loser isnot _currentPlayerTurn>>
<<if _difficulty is 0>>
<<set _pointsPlayer to _pointsDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsPlayer to _pointsDifficulty2>>
<<else>>
<<set _pointsPlayer to _pointsDifficulty3>>
<</if>>
<<else>>
<<if _difficulty is 0>>
<<set _pointsOpponent to _pointsDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsOpponent to _pointsDifficulty2>>
<<else>>
<<set _pointsOpponent to _pointsDifficulty3>>
<</if>>
<</if>>
<<else>>
<<if _difficulty is 0>>
<<if _loser is _currentPlayerTurn>>
<<set _stressPlayer += 10>>
<<else>>
<<set _stressOpponent += 10>>
<</if>>
<<elseif _difficulty is 1>>
<<if _loser isnot $players.length>>
<<set $players[_loser].swap to "swap">>
<<else>>
<<set $pcSwap to "swap">>
<</if>>
<<else>>
<<if _loser isnot $players.length>>
<<set $players[_loser].state to "lingerie">>
<<set $players[_loser].swap to "swap">>
<<else>>
<<set $pcState to "lingerie">>
<<set $pcSwap to "swap">>
<</if>>
<</if>>
<</if>>
<<replace "#statsResult">>
<br>
<<if _stressPlayer gt 0>><<modifyStress _currentPlayerTurn _stressPlayer>><br><</if>>
<<if _arousalPlayer gt 0>><<modifyArousal _currentPlayerTurn _arousalPlayer>><br><</if>>
<<if _pointsPlayer gt 0>><<modifyPoints _currentPlayerTurn _pointsPlayer>><br><</if>>
<<if _currentPlayerTurn isnot $players.length and _currentPlayerTurn is _loser and not _pointsChosen>><<modifyFriendship _currentPlayerTurn _opponent -10>><br><</if>>
<</replace>>
<<replace "#friendReaction">>
<br>
<<friendReaction>>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<if _loser is _currentPlayerTurn>>
<<set _playerReaction to _opponent>>
<<else>>
<<set _playerReaction to _currentPlayerTurn>>
<</if>>
<<if _playerReaction isnot $players.length>>
<<if _loser isnot $players.length>>
<<set _attraction to $players[_playerReaction].friendsAttraction[_loser]>>
<<set _friendship to $players[_playerReaction].friendsFriendship[_loser]>>
<<else>>
<<set _attraction to $players[_playerReaction].attraction>>
<<set _friendship to $players[_playerReaction].friendship>>
<</if>>
<<if _friendship < 30 and _pointsChosen>>
<<dialog _playerReaction>>
Lucky you I need points.
<</dialog>><br>
<<elseif _friendship < 30 and not _pointsChosen>>
<<dialog _playerReaction>>
Why taking points when I can see you with these clothes?
<</dialog>><br>
<<elseif _friendship > 60 and _pointsChosen>>
<<dialog _playerReaction>>
Don't worry, I choose the points.
<</dialog>><br>
<<elseif _friendship > 60 and not _pointsChosen>>
<<dialog _playerReaction>>
I... I'm sorry but I want to see you in these clothes!
<</dialog>><br>
<<elseif _pointsChosen>>
<<dialog _playerReaction>>
I choose the points.
<</dialog>><br>
<<else>>
<<dialog _playerReaction>>
You'll have to try these clothes, sorry.
<</dialog>><br>
<</if>>
<<else>>
<<if _pointsChosen>>
<<dialog _playerReaction>>
I choose the points.
<</dialog>><br>
<<else>>
<<dialog _playerReaction>>
You'll have to try these clothes, sorry.
<</dialog>><br>
<</if>>
<</if>>
<<if _stressOpponent gt 0>><<modifyStress _opponent _stressOpponent>><br><</if>>
<<if _arousalOpponent gt 0>><<modifyArousal _opponent _arousalOpponent>><br><</if>>
<<if _pointsOpponent gt 0>><<modifyPoints _opponent _pointsOpponent>><br><</if>>
<<if _opponent isnot $players.length and _opponent is _loser and not _pointsChosen>><<modifyFriendship _opponent _currentPlayerTurn -10>><br><</if>>
<</nobr>><</widget>>
<<widget "duelResolution">><<nobr>>
<<set _challengers[0].score to random(0, 10)>>
<<set _challengers[1].score to random(0, 10)>>
<<replace "#duelResolution">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> to choose <<playerName _opponent>> as <<his _currentPlayerTurn>> opponent.<br><br>
<<if $players.length gte 2>>
<<for _i to 0; _i lt _challengers.length; _i++>>
<<if _challengers[_i].score lte 2>>
<<playerName _challengers[_i].challenger true>> can barely change the tone of <<his _challengers[_i].challenger>> voice, that's a disaster.
<<elseif _challengers[_i].score lt 8>>
<<playerName _challengers[_i].challenger true>> <<do _challengers[_i].challenger true>> a decent but not perfect imitation.
<<else>>
<<playerName _challengers[_i].challenger true>> <<do _challengers[_i].challenger true>> a perfect imitation, and if you close your eyes you'd almost think it is a <<boyOpposite _challengers[_i].challenger>> talking.
<</if>>
<br>
<</for>><br>
<<if _currentPlayerTurn isnot $players.length and _opponent isnot $players.length>>
<<replace "#duelResult">>
<<link "Choose the winner">>
<<playerChoice>>
<</link>>
<</replace>>
<<else>>
<<replace "#duelResult">>
<<link "See the votes">>
<<duelResolved>>
<</link>>
<</replace>>
<</if>>
<<else>>
<<replace "#duelResult">><</replace>>
There is no audience, so the winner will be chosen by dice. <br><br>
<<if _currentPlayerTurn isnot $players.length and _opponent isnot $players.length>>
<<set _linkName to "See how it goes">>
<<else>>
<<set _linkName to "Roll dice">>
<</if>>
<<link _linkName>>
<<replace "#duelResult">>
<<if _challengers[0].challenger isnot $players.length>>
<<set _challengers[0].vote to random(1,6)>>
<<else>>
<<set _challengers[0].vote to setup.checkPlayerDiceLuck("maximum")>>
<</if>>
<<if _challengers[1].challenger isnot $players.length>>
<<set _challengers[1].vote to random(1,6)>>
<<else>>
<<set _challengers[1].vote to setup.checkPlayerDiceLuck("maximum")>>
<</if>>
<<Your _challengers[0].challenger>> result is _challengers[0].vote.<br>
<<Your _challengers[1].challenger>> result is _challengers[1].vote.<br><br>
<<if _challengers[0].vote is _challengers[1].vote>>
We have to reroll.
<<else>>
<<replace "#duelResolution">><</replace>>
<<link "Next">>
<<duelResolved>>
<</link>>
<</if>>
<</replace>>
<</link>><br><br>
<</if>>
<</replace>>
<</nobr>><</widget>>
<<widget "playerChoice">><<nobr>>
<<replace "#duelResult">>
Who do you want to choose?<br>
<<link $players[_challengers[0].challenger].name>>
<<set _challengers[0].vote += 1>>
<<duelResolved>>
<</link>><br>
<<link $players[_challengers[1].challenger].name>>
<<set _challengers[1].vote += 1>>
<<duelResolved>>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<widget "friendDuel">><<nobr>>
<<set _playerRank to 0>>
<<set _playersDuel to []>>
<<for _i to 0; _i lt $players.length; _i++>>
<<if _i isnot _currentPlayerTurn>>
<<set _playerRank to setup.rankFriend(_currentPlayerTurn, _i, "friendship")>>
<<for _j to 0; _j lt _playerRank; _j++>>
<<set _playersDuel.push(_i)>>
<</for>>
<</if>>
<</for>>
<<set _playerRank to setup.rankFriend(_currentPlayerTurn, $players.length, "friendship")>>
<<for _j to 0; _j lt _playerRank; _j++>>
<<set _playersDuel.push($players.length)>>
<</for>>
<<set _opponent to either(_playersDuel)>>
<<set _challengers to [{challenger: _currentPlayerTurn, score: 0, vote: 0}, {challenger: _opponent, score: 0, vote: 0}]>>
<<duelResolution>>
<</nobr>><</widget>>
<<widget "chooseFriend">><<nobr>>
<<link $players[_args[0]].name>>
<<set _opponent to _args[0]>>
<<set _challengers to [{challenger: _currentPlayerTurn, score: 0, vote: 0}, {challenger: _opponent, score: 0, vote: 0}]>>
<<duelResolution>>
<</link>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _duelEnd to false>>
<<set _opponent to 0>>
<<set _loser to 0>>
<<set _stress to 5>>
<<set _arousal to 5>>
<<set _pointsDifficulty1 to 2>>
<<set _pointsDifficulty2 to 4>>
<<set _pointsDifficulty3 to 6>>
<<set _pointsPlayer to 0>>
<<set _stressPlayer to 0>>
<<set _arousalPlayer to 0>>
<<set _stressOpponent to 0>>
<<set _arousalOpponent to 0>>
<<set _pointsOpponent to 0>>
<<if $playersInfos[$playerTurn].position lt 20>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 30>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the duel card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the duel card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Choose an opponent. Both of you have to imitate the voice of your opposite gender. If you are 3 players or more, the others will choose the best. Otherwise the winner will be chosen by dice. <br><br>
The winner can choose between : <br>
• +_pointsDifficulty1 points<br>
• Making the loser wear clothes of the opposite gender for 5 minutes<br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Choose an opponent. Both of you have to imitate the voice of your opposite gender. If you are 3 players or more, the others will choose the best. Otherwise the winner will be chosen by dice. <br><br>
The winner can choose between : <br>
• +_pointsDifficulty1 points<br>
• Making the loser wear clothes of the opposite gender for the rest of the game<br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Choose an opponent. Both of you have to imitate the voice of your opposite gender. If you are 3 players or more, the others will choose the best. Otherwise the winner will be chosen by dice. <br><br>
The winner can choose between : <br>
• +_pointsDifficulty1 points<br>
• Making the loser wear clothes of the opposite gender and stay in his underwear for the rest of the game<br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#duelResult">>
Choose your opponent : <br><br>
<<for _i to 0; _i lt $players.length; _i++>>
<<chooseFriend _i>><br>
<</for>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#duelResult">>
<<link "Next">>
<<friendDuel>>
<</link>>
<</replace>><</timed>>
<</if>>
<span id="duelResolution"></span>
<span id="duelResult"></span>
<span id="friendReaction"></span>
<span id="statsResult"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "duelResolved">><<nobr>>
<<if _challengers[0].pushedDeeper>>
<<set _stressPlayer to _stress * 2 + _stress * _difficulty>>
<<else>>
<<set _stressPlayer to _stress + _stress * _difficulty>>
<</if>>
<<if _challengers[1].pushedDeeper>>
<<set _stressOpponent to _stress * 2 + _stress * _difficulty>>
<<else>>
<<set _stressPlayer to _stress + _stress * _difficulty>>
<</if>>
<<set _pointsChosen to false>>
<<replace "#duelResult">><</replace>>
<<replace "#duelResolution">>
<<if _challengers[0].depth gt _challengers[1].depth>>
<<if _difficulty is 0>><<Your _challengers[0].challenger>> finger<<elseif _difficulty is 1>>The small dildo<<else>>The big dildo<</if>> is pushed deeper in <<if _difficulty is 0>><<his _challengers[0].challenger>><<else>><<your _challengers[0].challenger>><</if>> anus.<br>
<<He _challengers[0].challenger>> <<conjugate "win" _challengers[0].challenger>> the duel!<br>
<<set _loser to _challengers[1].challenger>>
<<elseif _challengers[0].depth lt _challengers[1].depth>>
<<if _difficulty is 0>><<Your _challengers[1].challenger>> finger<<elseif _difficulty is 1>>The small dildo<<else>>The big dildo<</if>> is pushed deeper in <<if _difficulty is 0>><<his _challengers[1].challenger>><<else>><<your _challengers[1].challenger>><</if>> anus.<br>
<<He _challengers[1].challenger>> <<conjugate "win" _challengers[1].challenger>> the duel!<br>
<<set _loser to _challengers[0].challenger>>
<<else>>
It seems nobody pushed <<if _difficulty is 0>>his finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper than the other.<br><br>
<<link "Next">>
<<noWinnerEnd>>
<</link>>
<</if>>
<</replace>>
<<if _challengers[0].depth isnot _challengers[1].depth>>
<<replace "#duelResult">>
<<if _loser isnot _currentPlayerTurn>>
<<He _currentPlayerTurn>> can choose <<his _currentPlayerTurn>> reward.<br>
<<if _currentPlayerTurn isnot $players.length>>
<<if setup.checkFriendship(_currentPlayerTurn, _opponent, 0) lte 0>>
<<set _pointsChosen to true>>
<<else>>
<<if _difficulty is 1 and setup.checkStatus(_opponent, "smallButtPlug")>>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and setup.checkStatus(_opponent, "bigButtPlug")>>
<<set _pointsChosen to true>>
<</if>>
<</if>>
<<endDuel>>
<<else>>
<br>
<<link "Choose points">>
<<replace "#duelResult">>
<<set _pointsChosen to true>>
<<endDuel>>
<</replace>>
<</link>><br>
<<link "Choose handicap">>
<<replace "#duelResult">>
<<endDuel>>
<</replace>>
<</link>><br>
<</if>>
<<else>>
<<He _opponent>> can choose <<his _opponent>> reward.<br>
<<if _opponent isnot $players.length>>
<<if setup.checkFriendship(_opponent, _currentPlayerTurn, 0) lte 0>>
<<set _pointsChosen to true>>
<<else>>
<<if _difficulty is 1 and setup.checkStatus(_currentPlayerTurn, "smallButtPlug")>>
<<set _pointsChosen to true>>
<<elseif _difficulty is 2 and setup.checkStatus(_currentPlayerTurn, "bigButtPlug")>>
<<set _pointsChosen to true>>
<</if>>
<</if>>
<<endDuel>>
<<else>>
<br>
<<link "Choose points">>
<<replace "#duelResult">>
<<set _pointsChosen to true>>
<<endDuel>>
<</replace>>
<</link>><br>
<<link "Choose handicap">>
<<replace "#duelResult">>
<<endDuel>>
<</replace>>
<</link>><br>
<</if>>
<</if>>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "noWinnerEnd">><<nobr>>
<<replace "#duelResult">><</replace>>
<<replace "#duelResolution">>
Both of the players are disappointed but this is the end of the duel.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<if _stressPlayer gt 0>><<modifyStress _currentPlayerTurn _stressPlayer>><br><</if>>
<<if _stressOpponent gt 0>><<modifyStress _opponent _stressOpponent>><br><</if>>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<widget "endDuel">><<nobr>>
<<if _pointsChosen>>
<<if _loser isnot _currentPlayerTurn>>
<<if _difficulty is 0>>
<<set _pointsPlayer to _pointsDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsPlayer to _pointsDifficulty2>>
<<else>>
<<set _pointsPlayer to _pointsDifficulty3>>
<</if>>
<<else>>
<<if _difficulty is 0>>
<<set _pointsOpponent to _pointsDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsOpponent to _pointsDifficulty2>>
<<else>>
<<set _pointsOpponent to _pointsDifficulty3>>
<</if>>
<</if>>
<<else>>
<<if _difficulty is 0>>
<<if _loser is _currentPlayerTurn>>
<<set _stressPlayer += 5>>
<<else>>
<<set _stressOpponent += 5>>
<</if>>
<<elseif _difficulty is 1>>
<<pushStatus _loser "smallButtPlug">>
<<else>>
<<pushStatus _loser "bigButtPlug">>
<</if>>
<</if>>
<<replace "#statsResult">>
<br>
<<if _stressPlayer gt 0>><<modifyStress _currentPlayerTurn _stressPlayer>><br><</if>>
<<if _arousalPlayer gt 0>><<modifyArousal _currentPlayerTurn _arousalPlayer>><br><</if>>
<<if _pointsPlayer gt 0>><<modifyPoints _currentPlayerTurn _pointsPlayer>><br><</if>>
<<if _currentPlayerTurn isnot $players.length and _currentPlayerTurn is _loser and not _pointsChosen>><<modifyFriendship _currentPlayerTurn _opponent -10>><br><</if>>
<</replace>>
<<replace "#friendReaction">>
<br>
<<friendReaction>>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<if _loser is _currentPlayerTurn>>
<<set _playerReaction to _opponent>>
<<else>>
<<set _playerReaction to _currentPlayerTurn>>
<</if>>
<<if _playerReaction isnot $players.length>>
<<if _loser isnot $players.length>>
<<set _attraction to $players[_playerReaction].friendsAttraction[_loser]>>
<<set _friendship to $players[_playerReaction].friendsFriendship[_loser]>>
<<else>>
<<set _attraction to $players[_playerReaction].attraction>>
<<set _friendship to $players[_playerReaction].friendship>>
<</if>>
<<if _friendship < 30 and _pointsChosen>>
<<dialog _playerReaction>>
Lucky you I need points.
<</dialog>><br>
<<elseif _friendship < 30 and not _pointsChosen>>
<<dialog _playerReaction>>
You can <<if _difficulty is 0>>keep your finger<<else>>put the butt plug<</if>> in your ass, that's much better than points!
<</dialog>><br>
<<elseif _friendship > 60 and _pointsChosen>>
<<dialog _playerReaction>>
Don't worry, I choose the points.
<</dialog>><br>
<<elseif _friendship > 60 and not _pointsChosen>>
<<dialog _playerReaction>>
I'm not taking the points but only for you so you can train your ass!
<</dialog>><br>
<<elseif _pointsChosen>>
<<dialog _playerReaction>>
I choose the points.
<</dialog>><br>
<<else>>
<<dialog _playerReaction>>
You'll have to put <<if _difficulty is 0>>your finger<<else>>the butt plug<</if>> in your ass, sorry.
<</dialog>><br>
<</if>>
<<else>>
<<if _pointsChosen>>
<<dialog _playerReaction>>
I choose the points.
<</dialog>><br>
<<else>>
<<dialog _playerReaction>>
You'll have to put <<if _difficulty is 0>>your finger<<else>>the butt plug<</if>> in your ass, sorry.
<</dialog>><br>
<</if>>
<</if>>
<<if _stressOpponent gt 0>><<modifyStress _opponent _stressOpponent>><br><</if>>
<<if _arousalOpponent gt 0>><<modifyArousal _opponent _arousalOpponent>><br><</if>>
<<if _pointsOpponent gt 0>><<modifyPoints _opponent _pointsOpponent>><br><</if>>
<<if _opponent isnot $players.length and _opponent is _loser and not _pointsChosen>><<modifyFriendship _opponent _currentPlayerTurn -10>><br><</if>>
<</nobr>><</widget>>
<<widget "duelResolution">><<nobr>>
<<if _difficulty is 0>>
<<set _challengers[0].score to random(0, 10)>>
<<set _challengers[1].score to random(0, 10)>>
<<elseif _difficulty is 1>>
<<set _challengers[0].score to random(0, 8)>>
<<set _challengers[1].score to random(0, 8)>>
<<else>>
<<set _challengers[0].score to random(0, 6)>>
<<set _challengers[1].score to random(0, 6)>>
<</if>>
<<replace "#duelResult">><</replace>>
<<replace "#duelResolution">>
<<if _challengers[0].score gte 6>>
<<set _challengers[0].depth to 3>>
<<playerName _challengers[0].challenger true>> <<conjugateBis "push" _challengers[0].challenger>> <<if _difficulty is 0>><<his _challengers[0].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> pretty deep in <<his _challengers[0].challenger>> anus.<br>
<<elseif _challengers[0].score gt 2>>
<<set _challengers[0].depth to 2>>
<<playerName _challengers[0].challenger true>> <<conjugateBis "push" _challengers[0].challenger>> with ease <<if _difficulty is 0>><<his _challengers[0].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> in <<his _challengers[0].challenger>> anus, but not too deep.<br>
<<else>>
<<set _challengers[0].depth to 1>>
<<playerName _challengers[0].challenger true>> <<have _challengers[0].challenger true>> some trouble to push <<if _difficulty is 0>><<his _challengers[0].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> in <<his _challengers[0].challenger>> anus.<br>
<</if>>
<<if _challengers[1].score gte 6>>
<<set _challengers[1].depth to 3>>
<<playerName _challengers[1].challenger true>> <<conjugateBis "push" _challengers[1].challenger>> <<if _difficulty is 0>><<his _challengers[1].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> pretty deep in <<his _challengers[1].challenger>> anus.<br>
<<elseif _challengers[1].score gt 2>>
<<set _challengers[1].depth to 2>>
<<playerName _challengers[1].challenger true>> <<conjugateBis "push" _challengers[1].challenger>> with ease <<if _difficulty is 0>><<his _challengers[1].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> in <<his _challengers[1].challenger>> anus, but not too deep.<br>
<<else>>
<<set _challengers[1].depth to 1>>
<<playerName _challengers[1].challenger true>> <<have _challengers[1].challenger true>> some trouble to push <<if _difficulty is 0>><<his _challengers[1].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> in <<his _challengers[1].challenger>> anus.<br>
<</if>>
<br>
<<if _currentPlayerTurn isnot $players.length and _opponent isnot $players.length>>
<<if _challengers[0].depth gt _challengers[1].depth>>
<<playerName _challengers[0].challenger true>> doesn't try to push deeper.<br>
<<if setup.willpowerCheck(_challengers[1].challenger, 10 + _difficulty * 10, "stress")>>
<<set _challengers[1].depth += 1>>
<<set _challengers[1].pushedDeeper to true>>
<<playerName _challengers[1].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[1].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper and succeeds.<br>
<<else>>
<<set _challengers[1].pushedDeeper to true>>
<<playerName _challengers[1].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[1].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper but fails.<br>
<</if>>
<<elseif _challengers[0].depth lt _challengers[1].depth>>
<<playerName _challengers[1].challenger true>> doesn't try to push deeper.<br>
<<if setup.willpowerCheck(_challengers[0].challenger, 10 + _difficulty * 10, "stress")>>
<<set _challengers[0].depth += 1>>
<<set _challengers[0].pushedDeeper to true>>
<<playerName _challengers[0].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[0].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper and succeeds.<br>
<<else>>
<<set _challengers[0].pushedDeeper to true>>
<<playerName _challengers[0].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[0].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper but fails.<br>
<</if>>
<<else>>
<<if setup.willpowerCheck(_challengers[0].challenger, 10 + _difficulty * 10, "stress")>>
<<set _challengers[0].depth += 1>>
<<set _challengers[0].pushedDeeper to true>>
<<playerName _challengers[0].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[0].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper and succeeds.<br>
<<else>>
<<set _challengers[0].pushedDeeper to true>>
<<playerName _challengers[0].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[0].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper but fails.<br>
<</if>>
<<if setup.willpowerCheck(_challengers[1].challenger, 10 + _difficulty * 10, "stress")>>
<<set _challengers[1].depth += 1>>
<<set _challengers[1].pushedDeeper to true>>
<<playerName _challengers[1].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[1].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper and succeeds.<br>
<<else>>
<<set _challengers[1].pushedDeeper to true>>
<<playerName _challengers[1].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[1].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper but fails.<br>
<</if>>
<</if>><br>
<<link "Next">>
<<duelResolved>>
<</link>>
<<else>>
<<for _i to 0; _i lt _challengers.length; _i++>>
<<if _challengers[_i].challenger is $players.length>>
<<playerChoice>>
<<else>>
<<if _i + 1 lt _challengers.length>>
<<set _j to _i + 1>>
<<else>>
<<set _j to _i - 1>>
<</if>>
<<if _challengers[_i] gt _challengers[_j]>>
<<playerName _challengers[_i].challenger true>> doesn't try to push deeper.<br>
<<else>>
<<if setup.willpowerCheck(_challengers[_i].challenger, 10 + _difficulty * 10, "stress")>>
<<set _challengers[_i].depth += 1>>
<<set _challengers[_i].pushedDeeper to true>>
<<playerName _challengers[_i].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[_i].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper and succeeds.<br>
<<else>>
<<set _challengers[_i].pushedDeeper to true>>
<<playerName _challengers[_i].challenger true>> tries to push <<if _difficulty is 0>><<his _challengers[_i].challenger>> finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper but fails.<br>
<</if>>
<</if>>
<</if>>
<</for>>
<</if>>
<</replace>>
<</nobr>><</widget>>
<<widget "playerChoice">><<nobr>>
<<replace "#duelResult">>
<br>
Do you want to push <<if _difficulty is 0>>your finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper?<br>
<<if _challengers[0].challenger is $players.length>>
<<set _challengerPlayer to 0>>
<<else>>
<<set _challengerPlayer to 1>>
<</if>>
<<link "Yes">>
<<replace "#duelResult">>
<<if setup.willpowerCheck(_challengers[_challengerPlayer].challenger, 10 + _difficulty * 10, "stress")>>
<<set _challengers[_challengerPlayer].depth += 1>>
<<set _challengers[_challengerPlayer].pushedDeeper to true>>
<strong>You</strong> try to push <<if _difficulty is 0>>your finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper and succeed.<br>
<<else>>
<<set _challengers[_challengerPlayer].pushedDeeper to true>>
<strong>You</strong> try to push <<if _difficulty is 0>>your finger<<elseif _difficulty is 1>>the small dildo<<else>>the big dildo<</if>> deeper but fail.<br>
<</if>>
<br>
<<link "Next">>
<<duelResolved>>
<</link>>
<</replace>>
<</link>><br>
<<link "No">>
<<replace "#duelResult">>
<strong>You</strong> don't try to push deeper.<br><br>
<<link "Next">>
<<duelResolved>>
<</link>>
<</replace>>
<</link>><br><br>
<</replace>>
<</nobr>><</widget>>
<<widget "friendDuel">><<nobr>>
<<set _playerRank to 0>>
<<set _playersDuel to []>>
<<for _i to 0; _i lt $players.length; _i++>>
<<if _i isnot _currentPlayerTurn>>
<<set _playerRank to setup.rankFriend(_currentPlayerTurn, _i, "friendship")>>
<<for _j to 0; _j lt _playerRank; _j++>>
<<set _playersDuel.push(_i)>>
<</for>>
<</if>>
<</for>>
<<set _playerRank to setup.rankFriend(_currentPlayerTurn, $players.length, "friendship")>>
<<for _j to 0; _j lt _playerRank; _j++>>
<<set _playersDuel.push($players.length)>>
<</for>>
<<set _opponent to either(_playersDuel)>>
<<set _challengers to [{challenger: _currentPlayerTurn, score: 0, depth: 0, pushedDeeper: false}, {challenger: _opponent, score: 0, depth: 0, pushedDeeper: false}]>>
<</nobr>><</widget>>
<<widget "chooseFriend">><<nobr>>
<<link $players[_args[0]].name>>
<<set _opponent to _args[0]>>
<<set _challengers to [{challenger: _currentPlayerTurn, score: 0, depth: 0, pushedDeeper: false}, {challenger: _opponent, score: 0, depth: 0, pushedDeeper: false}]>>
<<duelResolution>>
<</link>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _duelEnd to false>>
<<set _opponent to 0>>
<<set _loser to 0>>
<<set _stress to 5>>
<<set _arousal to 5>>
<<set _pointsDifficulty1 to 2>>
<<set _pointsDifficulty2 to 4>>
<<set _pointsDifficulty3 to 6>>
<<set _pointsPlayer to 0>>
<<set _stressPlayer to 0>>
<<set _arousalPlayer to 0>>
<<set _stressOpponent to 0>>
<<set _arousalOpponent to 0>>
<<set _pointsOpponent to 0>>
<<if $playersInfos[$playerTurn].position lt 20>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 30>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the duel card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the duel card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Choose an opponent. Both of you have to put your finger in your anus. The one that goes deeper wins.<br><br>
The winner can choose between : <br>
• +_pointsDifficulty1 points<br>
• Making the loser keep his finger in his ass for 5 minutes <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Choose an opponent. Both of you have to put a small dildo in your anus. The one that goes deeper wins.<br><br>
The winner can choose between : <br>
• +_pointsDifficulty1 points<br>
• Making the loser put a small butt plug for the rest of the game<br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Choose an opponent. Both of you have to put big dildo in your anus. The one that goes deeper wins.<br><br>
The winner can choose between : <br>
• +_pointsDifficulty1 points<br>
• Making the loser put a big butt plug for the rest of the game<br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#duelResult">>
Choose your opponent : <br><br>
<<for _i to 0; _i lt $players.length; _i++>>
<<chooseFriend _i>><br>
<</for>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#duelResult">>
<<friendDuel>>
<<He _currentPlayerTurn>> chooses <<playerName _opponent false>> as <<his _currentPlayerTurn>> opponent.<br><br>
<<link "Next">>
<<duelResolution>>
<</link>>
<</replace>><</timed>>
<</if>>
<span id="duelResolution"></span>
<span id="duelResult"></span>
<span id="friendReaction"></span>
<span id="statsResult"></span>
<span id="next"></span>
<</nobr>>Analingus Duel 1
<<link "Next">>
<<goto "Turn Progress">>
<</link>>Ruined Orgasm Duel 1
<<link "Next">>
<<goto "Turn Progress">>
<</link>><<nobr>>
<<modifyStress 0 50>><br>
<<modifyStress 1 50>><br>
<<modifyStress 2 50>><br><br>
<<set _scoreFriend1 to 0>>
<<set _scoreFriend2 to 0>>
<<set _scoreFriend3 to 0>>
<<widget "Test">>
<<for _i to 0; _i lt 1000; _i++>>
<<if setup.willpowerCheck(0, 0 , "stress")>>
<<set _scoreFriend1++>>
<</if>>
<<if setup.willpowerCheck(1, 0 , "stress")>>
<<set _scoreFriend2++>>
<</if>>
<<if setup.willpowerCheck(2, 0 , "stress")>>
<<set _scoreFriend3++>>
<</if>>
<</for>>
<<colorText 0>>$players[0].name<</colorText>> : _scoreFriend1<br>
<<colorText 1>>$players[1].name<</colorText>> : _scoreFriend2<br>
<<colorText pcColor>>$pcName<</colorText>> : _scoreFriend3<br><br>
<</widget>>
<span id="Test"><<Test>></span>
<<link "Test">>
<<set _scoreFriend1 to 0>>
<<set _scoreFriend2 to 0>>
<<set _scoreFriend3 to 0>>
<<replace "#Test">>
<<Test>>
<</replace>>
<</link>>
<</nobr>><<nobr>>
<<widget "success">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _stressModifier to _stressDifficulty1>>
<<set _arousalModifier to _arousalDifficulty1>>
<<set _pointsModifier to _pointsSuccessDifficulty1>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "place" _player>> <<his _player>> hand on <<his _player>> sex, and <<conjugate "begin" _player>> to masturbate. <br>
<<He _player>> <<conjugate "hold" _player>> on for 1 minute, that's a success!<br>
Wasting no time, <<he _player>> quickly <<conjugate "remove" _player>> <<his _player>> hand.<br>
<</replace>>
<<elseif _difficulty is 1>>
<<set _stressModifier to _stressDifficulty2>>
<<set _arousalModifier to _arousalDifficulty2>>
<<set _pointsModifier to _pointsSuccessDifficulty2>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "place" _player>> <<his _player>> hand on <<his _player>> sex and <<conjugate "begin" _player>> to masturbate. <br>
<<He _player>> <<conjugate "hold" _player>> on for 2 minutes, that's a success!<br>
Wasting no time, <<he _player>> quickly <<conjugate "remove" _player>> <<his _player>> hand.<br>
<</replace>>
<<else>>
<<set _stressModifier to _stressDifficulty3>>
<<set _arousalModifier to _arousalDifficulty3>>
<<set _pointsModifier to _pointsSuccessDifficulty3>>
<<replace "#challengeResult">>
<<playerName _player true>> <<conjugate "place" _player>> <<his _player>> hand on <<his _player>> sex and <<conjugate "begin" _player>> to masturbate. <br>
<<He _player>> <<conjugate "hold" _player>> on for 3 minutes, that's a success!<br>
Wasting no time, <<he _player>> quickly <<conjugate "remove" _player>> <<his _player>> hand.<br>
<</replace>>
<</if>>
<</nobr>><</widget>>
<<widget "failure">><<nobr>>
<<set _player to _args[0]>>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsFailureDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsFailureDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsFailureDifficulty3>>
<</if>>
<<set _arousalModifier = -100>>
<<replace "#challengeResult">>
<<He _player>> didn't last long and came in <<his _player>> hand before the end of the timer.<br>
<</replace>>
<</nobr>><</widget>>
<<widget "friendReaction">><<nobr>>
<<set _player to _args[0]>>
<<randomizePlayer _player>>
<<if $randomPlayer isnot $players.length>>
<<if _player isnot $players.length>>
<<set _attraction to $players[$randomPlayer].friendsAttraction[_player]>>
<<set _friendship to $players[$randomPlayer].friendsFriendship[_player]>>
<<else>>
<<set _attraction to $players[$randomPlayer].attraction>>
<<set _friendship to $players[$randomPlayer].friendship>>
<</if>>
<<if _attraction > 60 and _friendship < 30>>
<<dialog $randomPlayer>>
You should lick the cum from your hand!
<</dialog>><br>
<<elseif _attraction < 30 and _friendship < 30>>
<<dialog $randomPlayer>>
What an awful sight...
<</dialog>><br>
<<elseif _attraction > 60 and _friendship > 60>>
<<dialog $randomPlayer>>
Let me help you with your dirty hand!
<</dialog>><br>
<<elseif _friendship > 60>>
<<dialog $randomPlayer>>
Take this tissue to clean yourself up.
<</dialog>><br>
<<else>>
<<playerName $randomPlayer>> glances at <<him _player>> from time to time with lust.<br><br>
<</if>>
<<else>>
You glance at <<him _player>> from time to time with lust.<br>
<</if>>
<<if _difficulty is 0>>
<<modifyArousal $randomPlayer 6>><br>
<<modifyAttraction $randomPlayer _player 4>><<if $randomPlayer isnot $players.length>><br><</if>>
<<elseif _difficulty is 1>>
<<modifyArousal $randomPlayer 10>><br>
<<modifyAttraction $randomPlayer _player 6>><<if $randomPlayer isnot $players.length>><br><</if>>
<<else>>
<<modifyArousal $randomPlayer 14>><br>
<<modifyAttraction $randomPlayer _player 8>><<if $randomPlayer isnot $players.length>><br><</if>>
<</if>>
<</nobr>><</widget>>
<<widget "challengeAccepted">><<nobr>>
<<if _difficulty is 0>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, _arousalDifficulty1, "arousal")>>
<<elseif _difficulty is 1>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, _arousalDifficulty2, "arousal")>>
<<else>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, _arousalDifficulty3, "arousal")>>
<</if>>
<<if _success>>
<<success _currentPlayerTurn>>
<<else>>
<<failure _currentPlayerTurn>>
<</if>>
<<replace "#statsResult">>
<br>
<<if _success>><<modifyStress _currentPlayerTurn _stressModifier>><br><</if>>
<<modifyArousal _currentPlayerTurn _arousalModifier>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<if _success>>
<<replace "#friendReaction">>
<br>
<<friendReaction _currentPlayerTurn>>
<</replace>>
<</if>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "challengeRefused">><<nobr>>
<br>
<<if _difficulty is 0>>
<<set _pointsModifier to _pointsRefusalDifficulty1>>
<<elseif _difficulty is 1>>
<<set _pointsModifier to _pointsRefusalDifficulty2>>
<<else>>
<<set _pointsModifier to _pointsRefusalDifficulty3>>
<</if>>
<<replace "#challengeResult">>
<<playerName _currentPlayerTurn true>> <<conjugate "decide" _currentPlayerTurn>> that the points are not worth doing what the challenge requires.<br>
<</replace>>
<<replace "#statsResult">>
<br>
<<modifyStress _currentPlayerTurn _stressRefusal>><br>
<<modifyArousal _currentPlayerTurn _arousalRefusal>><br>
<<modifyPoints _currentPlayerTurn _pointsModifier>><br>
<</replace>>
<<replace "#next">>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<<updatebar>>
<</nobr>><</widget>>
<<widget "friendChallenge">><<nobr>>
<<set _success to setup.willpowerCheck(_currentPlayerTurn, - 30 + 10 * _difficulty ,"stress", "medium")>>
<<if _success>>
<<He _currentPlayerTurn>> decides to accept the challenge. <br><br>
<<link "See how it goes">>
<<challengeAccepted>>
<</link>>
<<else>>
<<He _currentPlayerTurn>> decides to refuse the challenge. <br><br>
<<link "See how it goes">>
<<challengeRefused>>
<</link>>
<</if>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _dialogNumber to _currentPlayerTurn>>
<<set _stressDifficulty1 to 3>>
<<set _stressDifficulty2 to 6>>
<<set _stressDifficulty3 to 9>>
<<set _arousalDifficulty1 to 30>>
<<set _arousalDifficulty2 to 50>>
<<set _arousalDifficulty3 to 70>>
<<set _pointsSuccessDifficulty1 to 1>>
<<set _pointsSuccessDifficulty2 to 2>>
<<set _pointsSuccessDifficulty3 to 3>>
<<set _pointsFailureDifficulty1 to -1>>
<<set _pointsFailureDifficulty2 to -1>>
<<set _pointsFailureDifficulty3 to -2>>
<<set _pointsRefusalDifficulty1 to -1>>
<<set _pointsRefusalDifficulty2 to -2>>
<<set _pointsRefusalDifficulty3 to -3>>
<<set _stressRefusal to -5>>
<<set _arousalRefusal to -5>>
<<set _stressModifier to 0>>
<<set _arousalModifier to 0>>
<<set _pointsModifier to 0>>
<<if $playersInfos[$playerTurn].position lt 26>>
<<set _difficulty to 0>>
<<elseif $playersInfos[$playerTurn].position lt 36>>
<<set _difficulty to 1>>
<<else>>
<<set _difficulty to 2>>
<</if>>
<<if _currentPlayerTurn is $players.length>>
<strong>You</strong> draw the challenge card and read it.
<<else>>
<<colorText _currentPlayerTurn>>$players[_currentPlayerTurn].name<</colorText>> draws the challenge card and reads it.
<</if>>
<br><br>
<<if _difficulty is 0>>
<<dialog _dialogNumber>>
Masturbate for 1 minute.<br><br>
Success : +_pointsSuccessDifficulty1 points <<displayChange _stressDifficulty1 "Stress">> <<displayChange _arousalDifficulty1 "Arousal">> <br>
Fail : _pointsFailureDifficulty1 points <br>
Refusal : _pointsRefusalDifficulty1 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<elseif _difficulty is 1>>
<<dialog _dialogNumber>>
Masturbate for 2 minutes.<br><br>
Success : +_pointsSuccessDifficulty2 points <<displayChange _stressDifficulty2 "Stress">> <<displayChange _arousalDifficulty2 "Arousal">> <br>
Fail : _pointsFailureDifficulty2 points <br>
Refusal : _pointsRefusalDifficulty2 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<<else>>
<<dialog _dialogNumber>>
Masturbate for 3 minutes.<br><br>
Success : +_pointsSuccessDifficulty3 points <<displayChange _stressDifficulty3 "Stress">> <<displayChange _arousalDifficulty3 "Arousal">> <br>
Fail : _pointsFailureDifficulty3 points <br>
Refusal : _pointsRefusalDifficulty3 points <<displayChange _stressRefusal "Stress">> <<displayChange _arousalRefusal "Arousal">> <br>
<</dialog>>
<</if>>
<br>
<<if _currentPlayerTurn is $players.length>>
<<timed 100ms>><<replace "#challengeResult">>
<<link "Accept challenge">>
<<challengeAccepted>>
<</link>>
<br>
<<link "Refuse challenge">>
<<challengeRefused>>
<</link>>
<</replace>><</timed>>
<<else>>
<<timed 100ms>><<replace "#challengeResult">>
<<friendChallenge>>
<</replace>><</timed>>
<</if>>
<span id="challengeResult"></span>
<span id="statsResult"></span>
<span id="friendReaction"></span>
<span id="next"></span>
<</nobr>><<nobr>>
<<widget "resolution">><<nobr>>
<<set _choice to _args[0]>>
<<replace "#choices">>
<<if _currentPlayerTurn is $players.length>>
<<switch _choice>>
<<case "lingerie">>
You decide to be fully dressed again.<br>
<<case "naked">>
You decide to cover your nudity with underwear.<br>
<<case "swap">>
You decide to be allowed to put clothes of your own gender.<br>
<<case "piss">>
You decide to wash yourself in the bathroom.<br>
<<case "buttPlug">>
You decide to remove the butt plug in your ass.<br>
<<case "points">>
You decide to take the points.<br>
<<set _points += 2>>
<</switch>>
<<else>>
<<switch _choice>>
<<case "lingerie">>
<<He _currentPlayerTurn>> decides to be fully dressed again.<br>
<<set $players[_currentPlayerTurn].state to "dressed">>
<<case "naked">>
<<He _currentPlayerTurn>> decides to cover <<his _currentPlayerTurn>> nudity with underwear.<br>
<<set $players[_currentPlayerTurn].state to "lingerie">>
<<case "swap">>
<<He _currentPlayerTurn>> decides to be allowed to put clothes of <<his _currentPlayerTurn>> own gender.<br>
<<set $players[_currentPlayerTurn].swap to "">>
<<case "piss">>
<<He _currentPlayerTurn>> decides to wash <<himself _currentPlayerTurn>> in the bathroom.<br>
<<set $players[_currentPlayerTurn].piss to 0>>
<<case "buttPlug">>
<<He _currentPlayerTurn>> decides to remove the butt plug in <<his _currentPlayerTurn>> ass.<br>
<<for _i to 0; _i lt $players[_currentPlayerTurn].status.length; _i++>>
<<if $players[_currentPlayerTurn].status[_i] is "smallButtPlug" or $players[_currentPlayerTurn].status[_i] is "bigButtPlug">>
<<set $players[_currentPlayerTurn].status.deleteAt(_i)>>
<<break>>
<</if>>
<</for>>
<<case "points">>
<<He _currentPlayerTurn>> decides to take the points.<br>
<<set _points += 2>>
<</switch>>
<</if>>
<</replace>>
<<replace "#statsResult">>
<br>
<<if _points gt 0>><<modifyPoints _currentPlayerTurn _points>><br><</if>>
<<modifyStress _currentPlayerTurn -10>><br>
<<modifyArousal _currentPlayerTurn -5>><br>
<br>
<<link "Next">>
<<goto "Turn Progress">>
<</link>>
<</replace>>
<</nobr>><</widget>>
<<set _currentPlayerTurn to $playersInfos[$playerTurn].player>>
<<set _points to 0>>
<<set _handicapsCount to 0>>
<<playerName _currentPlayerTurn true>> <<conjugate "arrive" _currentPlayerTurn>> on square one!<br>
That's great <<he _currentPlayerTurn>> can rest and choose between +2 points or removing a handicap if <<he _currentPlayerTurn>> <<have _currentPlayerTurn true>> one.<br>
Lucky <<him _currentPlayerTurn>>!<br><br>
<span id="choices">
<<if _currentPlayerTurn is $players.length>>
<<if $pcState isnot "dressed">>
<<set _handicapsCount++>>
<<if $pcState is "lingerie">>
Choose to put on some <<link "clothes">>
<<set $pcState to "dressed">>
<<resolution "dressed">>
<</link>>?<br>
<<else>>
Choose to put on some <<link "underwear">>
<<set $pcState to "lingerie">>
<<resolution "lingerie">>
<</link>>?<br>
<</if>>
<</if>>
<<if $pcSwap is "swap">>
<<set _handicapsCount++>>
Choose to allow clothes of your <<link "own gender">>
<<set $pcSwap to "">>
<<resolution "swap">>
<</link>>?<br>
<</if>>
<<if $pcPiss gt 0>>
<<set _handicapsCount++>>
Choose to <<link "wash yourself">>
<<set $pcPiss to 0>>
<<resolution "piss">>
<</link>>?<br>
<</if>>
<<if $pcStatus.length gt 0>>
<<set _handicapsCount++>>
<<for _i to 0; _i lt $pcStatus.length; _i++>>
<<if $pcStatus[_i] is "smallButtPlug" or $pcStatus[_i] is "bigButtPlug">>
Choose to remove your <<link "butt plug">>
<<set $pcStatus.deleteAt(_i)>>
<<resolution "buttPlug">>
<</link>>?<br>
<</if>>
<</for>>
<</if>>
<<if _handicapsCount is 0>>
You currently have no handicap.<br>
<</if>>
Choose more <<link "points">>
<<resolution points>>
<</link>><br>
<<else>>
<<set _handicaps to []>>
<<if $players[_currentPlayerTurn].state isnot "dressed">>
<<set _handicapsCount++>>
<<if $players[_currentPlayerTurn].state is "lingerie">>
<<He _currentPlayerTurn>> is in <<his _currentPlayerTurn>> underwear.<br>
<<set _handicaps.push("lingerie")>>
<<else>>
<<He _currentPlayerTurn>> is naked.<br>
<<set _handicaps.push("naked")>>
<</if>>
<</if>>
<<if $players[_currentPlayerTurn].swap is "swap">>
<<set _handicapsCount++>>
<<He _currentPlayerTurn>> has to put clothes of the opposite gender.<br>
<<set _handicaps.push("swap")>>
<</if>>
<<if $players[_currentPlayerTurn].piss gt 0>>
<<set _handicapsCount++>>
<<He _currentPlayerTurn>> has urine on <<him _currentPlayerTurn>>.<br>
<<set _handicaps.push("piss")>>
<</if>>
<<if $pcStatus.length gt 0>>
<<set _handicapsCount++>>
<<for _i to 0; _i lt $players[_currentPlayerTurn].status.length; _i++>>
<<if $players[_currentPlayerTurn].status[_i] is "smallButtPlug" or $players[_currentPlayerTurn].status[_i] is "bigButtPlug">>
<<He _currentPlayerTurn>> has a butt plug in <<his _currentPlayerTurn>> anus.<br>
<<set _handicaps.push("buttPlug")>>
<</if>>
<</for>>
<</if>>
<<if _handicapsCount is 0>>
<<He _currentPlayerTurn>> currently has no handicap.<br>
<</if>>
<<set _handicaps.push("points")>>
<br>
<<link "Next">>
<<resolution `either(_handicaps)`>>
<</link>>
<</if>>
</span>
<span id="statsResult"></span>
<</nobr>><<nobr>>
<<set _winners to []>>
<<set _tempWinnerScore to -1>>
<h1>The End</h1><br>
<<if $winningCondition is "rounds">>
No more rounds available! It's time to see who the winner is. <br><br>
<<else>>
Someone has reached the points needed to win!<br><br>
<</if>>
<<for _i to 0; _i lt $playersInfos.length; _i++>>
<<if $playersInfos[_i].player is $players.length>>
<<colorText "pcColor">>$pcName<</colorText>>: $playersInfos[_i].points points<br>
<<else>>
<<set _friend to $playersInfos[_i].player>>
<<colorText $playersInfos[_i].player>>$players[_friend].name<</colorText>>: $playersInfos[_i].points points<br>
<</if>>
<<if $playersInfos[_i].points gt _tempWinnerScore>>
<<set _tempWinnerScore to $playersInfos[_i].points>>
<<set _winners.length to 0>>
<<set _winners.push($playersInfos[_i].player)>>
<<elseif $playersInfos[_i].points is _tempWinnerScore>>
<<set _winners.push($playersInfos[_i].player)>>
<</if>>
<</for>><br>
<<if _winners.length gt 1>>
There isn't one winner but _winners.length!
<<for _i to 0; _i lt _winners.length; _i++>>
<<if _i is 0>>
<<playerName _winners[_i] true>>
<<else>>
<<playerName _winners[_i] false>>
<</if>>
<<if _i is _winners.length - 2>>
and
<<elseif _i isnot _winners.length -1>>
,
<</if>>
<</for>>
are the winners! Congratulations!!!
<<else>>
The winner is <<playerName _winners[0] false>>! Congratulations!!!
<</if>><br><br>
<<link "End the game">>
<<set $pcName to "">>
<<set $pcGender to "">>
<<set $pcState to "dressed">>
<<set $pcSwap to "">>
<<set $pcPiss to 0>>
<<set $pcStatus to []>>
<<set $pcWillpower to "">>
<<set $pcStress to 0>>
<<set $pcArousal to 0>>
<<set $pcImage to "">>
<<set $players to []>>
<<set $pcColor to "white">>
<<set $friendsCustomized to false>>
<<set $characterCustomized to false>>
<<set $permanentStats to "none">>
<<set $luck to 1>>
<<set $randomPlayer to 0>>
<<set $turnProgress to 1>>
<<set $playerTurn to -1>>
<<set $playersInfos to []>>
<<set $winningCondition to "">>
<<set $roundsNumber to 30>>
<<set $pointsNumber to 80>>
<<set $forcedPlay to false>>
<<set $fetishes to {
feet: {isOn: false, label: "Feet"},
watersports: {isOn: false, label: "Watersports"},
crossdressing: {isOn: false, label: "Crossdressing"},
anal: {isOn: false, label: "Anal"},
analingus: {isOn: false, label: "Analingus"},
animal: {isOn: false, label: "Animal"},
deniedOrgasm: {isOn: false, label: "Denied Orgasm"},
blackmail: {isOn: false, label: "Blackmail"}}
>>
<<goto "Intro">>
<</link>>
<</nobr>><a href="https://patreon.com/LewdBoardGame?utm_medium=unknown&utm_source=join_link&utm_campaign=creatorshare_creator&utm_content=copyLink"> <img src="https://cdn.iconscout.com/icon/free/png-256/patreon-282262.png" width="40">atreon </a>
<<nobr>>
<h2>Roadmap</h2>
<br>
Be aware that these are only ideas that I have. I will propose polls on patreon and discuss with people on it to know wich direction to take. Especially on mid- and long-terms plans. <br>
<br>
<span class="bold title">Short-term plans</span><br>
- Adding more challenges <br>
- Adding more duels<br>
- Adding images to challenge/duel passages (gradually)<br>
- Adding a quick start button with predefined options<br>
- Adding a random start button with random options<br>
<br>
<span class="bold title">Mid-term plans</span><br>
- Adding gifs to challenge/duel passages<br>
- Adding other fetishes
- Adding an achievement system giving rewards such as more customization options, system options, bonuses at the start, etc<br>
- Adding a magical mode with transformation allowed and other related things<br>
<br>
<span class="bold title">Long-term plans</span><br>
- Adding a full story mode with basic management (sleep, school, hunger, etc) but with an emphasis on the game board<br>
- Adding a system allowing players to create and share challenges and duels<br>
<br>
<</nobr>>