Thank you for this.
If I go for it, it might even be reasonably fast! Would it be easy to weave into an updated Life on the Frontier? I presume that I would not be incorporating it immediately.
Code: Select all
/////////////////// SPECIAL LOCATION ///////////////////
this.bar0 = {
text: "The place is full of pilots. You don't see free seats at the tables, so you decide to sit at the counter. Everyone is pretty chatty: you hear talks of all kinds, public or private, and the usual jokers who take the opportunity to have a nice drink with friends.",
background: "litf_bg_localbar.png",
r1: "flag_drinkChallenge=0",
c1: "A group at a table repeat loud: 'CHALLENGE! CHALLENGE!' Maybe I could check?",
a1: "goNav:bar1",
r2: "flag_chatBartender=0",
c2: "I could talk a bit with the bartender",
a2: "goNav:bar2",
r3: "flag_offerToCounter=0,credits>=150",
c3: "I could offer a drink to everyone at the counter (should cost no more than 150cr)",
a3: "goNav:bar3",
c4: "Exit the Bar",
a4: "time:300|goNav:area3_1"
};
this.bar0_1 = {
text: "Suddenly, a brawny bouncer blocks you right at the entrance of the Bar. He's staring right into your eyes. 'We don't like cheaters or drunkard here, and you don't seem a cheater to me. Get lost', he says to you with a deep, serious voice.",
c1: "I think I'll follow your advice",
a1: "goNav:area3_1"
};
//
this.bar1 = {
text: "You sit in front of a $SPECIES_S$ that explains to you the rules of the challenge. 'A liquor is chosen. I drink a glass. You drink a glass. Again. Until one crashes. The bet is 50cr. You're in?",
background: "litf_bg_localbar.png",
r1: "credits>=50",
c1: "Yes, you can count me in",
a1: "credits:-50|goNav:bar11",
c2: "Not tonight, thanks",
a2: "goNav:bar0"
};
this.bar11 = {
text: "Today the liquor is the $LIQUOR$. 'First glass is mine'. The $SPECIES_S$ raise the glass and drink the content in one gulp.",
background: "litf_bg_localbar.png",
c1: "It's my turn",
a1: "goNav:bar12"
};
this.bar12 = {
text: "You raise your glass and drink. It burns, but you can stand it.",
background: "litf_bg_localbar.png",
c1: "It's your turn",
a1: "goNav:bar111"
};
this.bar111 = {
text: "'NEXT ROUND! You're not a newbie, I see!'\nThe $SPECIES_S$ raise the glass and drink the content in one gulp.",
background: "litf_bg_localbar.png",
c1: "It's my turn",
a1: "goNav:bar112"
};
this.bar112 = {
text: "You raise your glass and drink...",
background: "litf_bg_localbar.png",
c1: "It's your turn",
a1: "goNav:bar1111"
};
this.bar1111 = {
text: "'NEXT ROUND!'\nThe $SPECIES_S$ raise the glass and drink the content in one gulp.",
background: "litf_bg_localbar.png",
c1: "It's my turn...",
a1: "goNav:bar1112,bar1112,bar1112,bar1112,bar1113,bar1113"
};
this.bar1112 = {
text: "You raise your glass and drink...",
background: "litf_bg_localbar.png",
c1: "It's your turn!",
a1: "goNav:bar1111,bar1111,bar1111,bar1111,bar1114,bar1114"
};
this.bar1113 = {
text: "You focus on the glass... but now you see two glasses on the table. No, three glasses... dancing glasses. You move your hand but you can't take them, they always slip away. Then table becomes bigger and someone turn off the lights.\n\nYou awake in the street, outside the bar. Your rival pats you on the shoulder: 'You're not bad. But I won. Thanks for the money.'",
c1: "...burp",
a1: "flag_drinkChallenge:1|flag_getDrunk:1|time:3600|goNav:area3_1"
};
this.bar1114 = {
text: "'NEXT ROUND!'\nThat said, the $SPECIES_S$ collapses on the table! You raise one arm for victory while the other pilots at the table applaud you. The bet is yours. Too bad you're drunk, after all, because you can not keep your balance. The owner goes with you to the exit and gently throw you out. 'You can go back when you learn how to walk alone!'. The door closes but you can hear the laughters from inside.",
c1: "It's ok. I won!",
a1: "flag_drinkChallenge:1|flag_getDrunk:1|credits:100|time:1800|goNav:area3_1"
};
//
this.bar2 = {
text: "The $SPECIES_S$ bartender pours a glass of liquor, and you start chatting. After a bit, the bartender tells you: $GOSSIP$.",
background: "litf_bg_localbar.png",
c1: "Ok, I think it's enough for now",
a1: "time:300|goNav:bar0"
};
//
this.bar3 = {
text: "The customers at the counter rejoice and take their drinks. Many begin to sing. After everyone has been drinking his glass, another commander stands up and offers another round. And you have to start over!",
background: "litf_bg_localbar.png",
c1: "Let's go, another round!",
a1: "credits:-50,-150|reputation:5|goNav:bar31",
c2: "Ok, I'm out, I don't want to go too far...",
a2: "flag_offerToCounter:0|time:600|goNav:bar0"
};
this.bar31 = {
text: "You have just finished your glass, when another commander stands up and offer another round! Screams of joy and new songs! The party goes on!",
background: "litf_bg_localbar.png",
c1: "Let's go, another round!",
a1: "reputation:3|goNav:bar311,bar313",
c2: "Ok, I'm out, I don't want to go too far...",
a2: "flag_offerToCounter:0|time:1200|goNav:bar0"
};
this.bar311 = {
text: "And this glass is empty too! You try to say something when someone offers a new round! The glasses go around the counter, and you find one in your hands. This things could never end...",
background: "litf_bg_localbar.png",
c1: "Let's go, another round...",
a1: "reputation:2|goNav:bar31,bar313",
c2: "Ok, I'm out, I don't want to go too far...",
a2: "flag_offerToCounter:0|time:2400|goNav:bar0"
};
this.bar313 = {
text: "You say: 'Another round!', but there isn't another round. And there isn't the counter anymore. You open your eyes and you're on the street. The bar is closed since an hour at least. You decide to keep sitting in your place for a while, just to clear your mind.",
c1: "Five minutes. Five minutes and then I go...",
a1: "reputation:-15|flag_getDrunk:1|time:14400|goNav:area3_1"
};
////