Created
July 27, 2012 14:28
-
-
Save arush/3188319 to your computer and use it in GitHub Desktop.
gift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var giftAa, giftAb, giftQ; | |
giftQ = function() { | |
var buttons, giftBut1, giftBut2, q; | |
wipeConsole(); | |
saveProgress("giftQ"); | |
q = "You must be looking to buy a gift for a very lucky man. But there are two ways to do this "; | |
newQ(q); | |
typeit(); | |
giftBut1 = ["smalltext convert", "Gift a taster<br/><span class=\"button-caption\">Buy him a 1, 3 or 12 month taster</span>", "giftAa()"]; | |
giftBut2 = ["smalltext convert", "Impersonate your man<br/><span class=\"button-caption\">Set up a recurring plan on his behalf</span>", "giftAb()"]; | |
buttons = [giftBut1, giftBut2]; | |
return insertButtons(buttons); | |
}; | |
giftAa = function() { | |
punter.gift = "gifter"; | |
wipeConsole(); | |
newQ("I wish I had a fembot like you.\n\nThe link below will take you to the gift page. If you don't like what you see, just use your browser's back button to continue M.A.L.E.™ where you left off. "); | |
typeit(); | |
return setTimeout((function() { | |
return insertContinue("window.location('/keep/calm/getgifted');"); | |
}), 2000); | |
}; | |
giftAb = function() { | |
punter.gift = "impersonater"; | |
wipeConsole(); | |
newQ("I know, I know, your man is too lazy to do this himself. What would he do without you.\n\nLet's continue the questions pretending you're him... "); | |
typeit(); | |
return setTimeout((function() { | |
return insertContinue("work()"); | |
}), 2000); | |
}; | |
}).call(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment