Skip to content

Instantly share code, notes, and snippets.

@greyelf
Created March 1, 2019 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greyelf/52d46005ad7eaf74c14ec904f3b2180d to your computer and use it in GitHub Desktop.
Save greyelf/52d46005ad7eaf74c14ec904f3b2180d to your computer and use it in GitHub Desktop.
Indented version of Jatcher21's code
<<nobr>>
<<set $coin to Number($coin)>>
<<if $coin lt 0>>
<<display "No Coin">>
<<else>>
<table>
<tr>Breast Size</tr>
<tr>
<<if $coin gt 1>>
<<if $morph4 is "small breasts">>
Bigger Breasts (2)
<<link "Apply" "Redeem">>
<<set $coin -=2>>
<<set $morph4 to "breasts">>
<</link>>
<<elseif $morph4 is "breasts">>
Bigger Breasts (3)
<<link "Apply" "Redeem">>
<<set $coin -= 3>>
<<set $morph4 to "big breasts>>
<</link>>
<</if>>
<<else>>
Bigger Breasts (2) (Not Enough MC)
<</if>>
<</if>> /* <-- Issue invalid placement of end-of tag. */
</tr>
<tr>
<<if $morph4 is "big breasts">>
Smaller Breasts (1)
<<link "Apply" "Redeem">>
<<set $coin -=2>>
<<set $morph4 to "breasts">>
<</link>>
<</if>>
<<if $morph4 is "breasts">>
Smaller Breasts (1)
<<link "Apply" "Redeem">>
<<set $coin -=2>>
<<set $morph4 to "small breasts">>
<<set $morphb to false>>
<</link>> |
<</if>>
</tr>\
<tr>
<<if $morphb is false>>
<<if $morph4 is "big breasts","breasts">>
Extra Breasts (3)
<<if $coin gt 2>>
<<link "Apply" "Redeem">>
<<set $morph4 to "big breasts">>
<<set $morphb to true>>
<</link>>
<<else>>
Apply (Not enough MC)
<</if>> |
<</if>>
<</if>>
<<if $morphb is true>>
Less Breasts (2)
<<link "Apply" "Redeem">>
<<set $morph4 to "breasts">>
<<set $morphb to false>>
<</link>>
<</if>>
</tr>\
</table>
<<if $morph4 is "small breasts">>
<<if $morph1 is "none">>
Penis?
Add a penis (5)
<<if $coin gt 4>>
<<link "Apply" "Redeem">>
<<set $gender to "other">>
<<set $morph1 to "small penis">>
<<set $coin -=5>>
<</link>>
<<else>>
Apply (Not enough MC)
<</if>>
<</if>>
<</if>>
/* <-- Issue missing end-if tags. */
<</nobr>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment