there is no pattern.. here is the LUA script
Code:
function DIALOG()
NODE(0)
SAY("Hey you! Up for a quick game?")
ANSWER("Sure, if you got money to give away...", 1)
ANSWER("Nah, leave me alone!", 99)
NODE(1)
SAY("Good. We play pitch-and-toss. You know the rules?")
ANSWER("Don't try to teach a fish how to swim. Lets get started!", 2)
ANSWER("Uh, I don't think so...", 3)
NODE(2)
SAY("Hehe, you don't look like a fish to me...")
ANSWER("What a funny guy...", 4)
NODE(3)
SAY("Of course not! Why is it always me... nevermind. It's quite simple. You bet on heads or tails, i throw the coin, if your bet is topside, you get twice your stake, if it's downside, you loose. Any questions?")
ANSWER("No. Thanks for the explanation!", 4)
NODE(4)
SAY("OK, lets get started. What's your stake?")
ANSWER("10 NC", 10)
ANSWER("100 NC", 20)
ANSWER("1000 NC", 30)
ANSWER("10000 NC", 40)
ANSWER("100000 NC", 50)
ANSWER("1000000 NC", 60)
NODE(10)
TAKEMONEY(10)
if (result == 1) then
SAY("Good. Heads or tails?")
ANSWER("Heads", 11)
ANSWER("Tails", 12)
else
SAY("Yeah, I am always playing with money that i don't have too... while juggling chickens with my left and knitting with my right. Get lost!")
ENDDIALOG()
end
NODE(11)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 13)
else
ANSWER("Aaaaaaaaaaaaand...", 15)
end
NODE(12)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 14)
else
ANSWER("Aaaaaaaaaaaaand...", 16)
end
NODE(13)
GIVEMONEY(20)
SAY("Heads. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(14)
GIVEMONEY(20)
SAY("Tails. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(15)
SAY("Tails. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(16)
SAY("Heads. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(20)
TAKEMONEY(100)
if (result == 1) then
SAY("Good. Heads or tails?")
ANSWER("Heads", 11)
ANSWER("Tails", 12)
else
SAY("Yeah, I am always playing with money that i don't have too... while juggling chickens with my left and knitting with my right. Get lost!")
ENDDIALOG()
end
NODE(21)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 23)
else
ANSWER("Aaaaaaaaaaaaand...", 25)
end
NODE(22)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 24)
else
ANSWER("Aaaaaaaaaaaaand...", 26)
end
NODE(23)
GIVEMONEY(200)
SAY("Heads. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(24)
GIVEMONEY(200)
SAY("Tails. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(25)
SAY("Tails. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(26)
SAY("Heads. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(30)
TAKEMONEY(1000)
if (result == 1) then
SAY("Good. Heads or tails?")
ANSWER("Heads", 31)
ANSWER("Tails", 32)
else
SAY("Yeah, I am always playing with money that i don't have too... while juggling chickens with my left and knitting with my right. Get lost!")
ENDDIALOG()
end
NODE(31)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 33)
else
ANSWER("Aaaaaaaaaaaaand...", 35)
end
NODE(32)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 34)
else
ANSWER("Aaaaaaaaaaaaand...", 36)
end
NODE(33)
GIVEMONEY(2000)
SAY("Heads. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(34)
GIVEMONEY(2000)
SAY("Tails. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(35)
SAY("Tails. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(36)
SAY("Heads. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(40)
TAKEMONEY(10000)
if (result == 1) then
SAY("Good. Heads or tails?")
ANSWER("Heads", 41)
ANSWER("Tails", 42)
else
SAY("Yeah, I am always playing with money that i don't have too... while juggling chickens with my left and knitting with my right. Get lost!")
ENDDIALOG()
end
NODE(41)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 43)
else
ANSWER("Aaaaaaaaaaaaand...", 45)
end
NODE(42)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 44)
else
ANSWER("Aaaaaaaaaaaaand...", 46)
end
NODE(43)
GIVEMONEY(20000)
SAY("Heads. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(44)
GIVEMONEY(20000)
SAY("Tails. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(45)
SAY("Tails. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(46)
SAY("Heads. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(50)
TAKEMONEY(100000)
if (result == 1) then
SAY("Good. Heads or tails?")
ANSWER("Heads", 51)
ANSWER("Tails", 52)
else
SAY("Yeah, I am always playing with money that i don't have too... while juggling chickens with my left and knitting with my right. Get lost!")
ENDDIALOG()
end
NODE(51)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 53)
else
ANSWER("Aaaaaaaaaaaaand...", 55)
end
NODE(52)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 54)
else
ANSWER("Aaaaaaaaaaaaand...", 56)
end
NODE(53)
GIVEMONEY(200000)
SAY("Heads. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(54)
GIVEMONEY(200000)
SAY("Tails. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(55)
SAY("Tails. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(56)
SAY("Heads. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(60)
TAKEMONEY(1000000)
if (result == 1) then
SAY("Good. Heads or tails?")
ANSWER("Heads", 61)
ANSWER("Tails", 62)
else
SAY("Yeah, I am always playing with money that i don't have too... while juggling chickens with my left and knitting with my right. Get lost!")
ENDDIALOG()
end
NODE(61)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 63)
else
ANSWER("Aaaaaaaaaaaaand...", 65)
end
NODE(62)
SAY("OK. I toss the coin!")
RAND(2)
if (result == 0) then
ANSWER("Aaaaaaaaaaaaand...", 64)
else
ANSWER("Aaaaaaaaaaaaand...", 66)
end
NODE(63)
GIVEMONEY(2000000)
SAY("Heads. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(64)
GIVEMONEY(2000000)
SAY("Tails. You win. Shit. I mean nice. Here's your prize! Again?")
ANSWER("Yeah sure!", 4)
ANSWER("No, thanks!", 99)
NODE(65)
SAY("Tails. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(66)
SAY("Heads. Sorry, but that's life. Again?")
ANSWER("Sure, I have to make up the losses!", 4)
ANSWER("Nah... I don't have any more money!", 99)
NODE(99)
SAY("Then fuck off!")
ENDDIALOG()
end
|