underground potions disc 1

This commit is contained in:
Arthur Beck 2025-05-08 16:17:51 -05:00
parent a8618649ba
commit 884508edcd
Signed by: ArthurB
GPG key ID: CA200B389F0F6BC9
2 changed files with 139 additions and 13 deletions

View file

@ -165,12 +165,48 @@ to = "love1-home1-correct2"
text = "Add the love spices and unicorn hair and mix for 15 seconds"
to = "love1-home1-incorrect1"
[track.love1-home1-incorrect3]
text = "You stop mixing, having mixed for forty seconds. Eww, it's turned neon red! I doubt this is correct."
[[track.love1-home1-incorrect3-arms.options]]
[track.love1-home1-incorrect6]
text = "You stop mixing, having mixed for under ten seconds. Eww, it's turned neon yellow! I doubt this is correct."
[[track.love1-home1-incorrect6.options]]
text = "Try to pass it off as correct anyway"
to = "love1-sell-incorrect3"
[[track.love1-home1-incorrect3-arms.options]]
[[track.love1-home1-incorrect6.options]]
text = "Remake it at your own expense"
to = "love1-home1"
[track.love1-home1-incorrect4]
text = "You stop mixing, having mixed for ten seconds. Eww, it's turned neon blue! I doubt this is correct."
[[track.love1-home1-incorrect4.options]]
text = "Try to pass it off as correct anyway"
to = "love1-sell-incorrect3"
[[track.love1-home1-incorrect4.options]]
text = "Remake it at your own expense"
to = "love1-home1"
[track.love1-home1-incorrect5]
text = "You stop mixing, having mixed for forty seconds. Eww, it's turned neon red! I doubt this is correct."
[[track.love1-home1-incorrect5.options]]
text = "Try to pass it off as correct anyway"
to = "love1-sell-incorrect3"
[[track.love1-home1-incorrect5.options]]
text = "Remake it at your own expense"
to = "love1-home1"
[track.love1-home1-correct3]
text = "You stop mixing, having mixed for thirty seconds. What next?"
[[track.love1-home1-correct3.options]]
text = "Remove from heat, add love spices and unicorn hair."
to = "love1-home1-correct4"
[[track.love1-home1-correct3.options]]
text = "Add unicorn hair and wait a while"
to = "love1-home1-incorrect1"
[track.love1-home1-incorrect3]
text = "You stop mixing, having mixed for forty seconds. Eww, it's turned neon red! I doubt this is correct."
[[track.love1-home1-incorrect3.options]]
text = "Try to pass it off as correct anyway"
to = "love1-sell-incorrect3"
[[track.love1-home1-incorrect3.options]]
text = "Remake it at your own expense"
to = "love1-home1"
@ -196,4 +232,92 @@ text = "Try to pass it off as correct anyway"
to = "love1-sell-incorrect3"
[[track.love1-home1-correct2-arms.options]]
text = "Remake it at your own expense"
to = "love1-home1"
to = "love1-home1"
[track.love1-home1-correct4]
text = "You do all that and it's turned a deep pink! You bottle it."
[[track.love1-home1-correct4.options]]
text = "Sell it to the buyer"
to = "love1-sell-correct"
[track.love1-sell-incorrect1]
text = "You meet up with the buyer and the buyer looks at you funny. He says, Are you sure this is correct? I don't know much about potions, but I don't think this is right. I'm not paying for this.\nAfter he says this, he walks away. You head back home, mildly disappointed."
[[track.love1-sell-incorrect1.options]]
text = "go to sleep"
to = "day2-incorrect1"
[track.love1-sell-incorrect2]
text = "You meet up with the buyer and the buyer goggles at the potion. He immediately offers the money and you give him the potion. Feeling mildly guilty for ripping him off, you head home."
[[track.love1-sell-incorrect2.options]]
text = "go to sleep"
to = "day2-incorrect2"
[track.love1-sell-incorrect3]
text = "You meet up with the buyer and he examines it. He says this is perfect! He hands you the money and walks away. Feeling mildly guilty for ripping him off, you head home."
[[track.love1-sell-incorrect3.options]]
text = "go to sleep"
to = "day2-incorrect2"
[track.love1-sell-correct]
text = "You meet up with the buyer and show him the potion. He thanks you, hands you your money, and grabs the potion before walking away. You head home."
[[track.love1-sell-correct.options]]
text = "go to sleep"
to = "day2-correct"
[track.day2-correct]
text = "Waking up feeling fulfilled, you get ready for the day and spend the day mostly on the right side of the law. In the evening however, you get a request from someone for a shapeshifting potion that can turn someone into a dragon. They make an offer of 1000 gold, but you know that that isn't at all what it's worth."
[[track.day2-correct.options]]
text = "make a counter offer"
to = "shapeshifting1-counter"
[track.day2-incorrect2]
text = "Waking up mildly uneasy, you get ready for the day and take your mind off things by working with your local charity for a majority of the day. In the afternoon you get a message from the buyer from yesterday saying that it worked, but also turned the person he tried it on into a dragon. They were both fine with that however, so it worked out. A few hours later, someone sends you a request for a shapeshifting potion that can turn someone into a dragon. They make an offer of 1000 gold, but you know that that isn't at all what it's worth."
[[track.day2-incorrect2.options]]
text = "make a counter offer"
to = "shapeshifting1-counter"
[track.shapeshifting1-counter]
text = "Of what?"
[[track.shapeshifting1-counter.options]]
text = "make a counter offer of 2000"
to = "shapeshifting1-counter2000"
[[track.shapeshifting1-counter.options]]
text = "make a counter offer of 2200"
to = "shapeshifting1-counter2200"
[[track.shapeshifting1-counter.options]]
text = "make a counter offer of 2400"
to = "shapeshifting1-counter2400"
[track.shapeshifting1-counter2000]
text = "After sending off the message, you wait a minute. Two minutes. Three minutes. Soon as you know it, it's been ten minutes with no response. You decide to do something else while waiting. Even an hour later, there's no response. You shrug it off and just continue doing legal stuff until eventually you go to bed."
[[track.shapeshifting1-counter2000.options]]
text = "go on to the next day"
to = "day3"
[track.shapeshifting1-counter2200]
text = "After sending off the message, you wait a minute. Two minutes. Three minutes. Soon as you know it, it's been ten minutes with no response. You decide to do something else while waiting. Even an hour later, there's no response. You shrug it off and just continue doing legal stuff until eventually you go to bed."
[[track.shapeshifting1-counter2200.options]]
text = "go on to the next day"
to = "day3"
[track.shapeshifting1-counter2400]
text = "After sending off the message, you wait a minute. Two minutes. Three minutes. Soon as you know it, it's been ten minutes with no response. You decide to do something else while waiting. Even an hour later, there's no response. You shrug it off and just continue doing legal stuff until eventually you go to bed."
[[track.shapeshifting1-counter2400.options]]
text = "go on to the next day"
to = "day3"
[track.day3]
text = "You wake up in the morning to banging on your door. You see through the peep hole a large number of police agents."
[[track.day3.options]]
text = "leave through the backdoor and hide"
to = "day3-hide"
[[track.day3.options]]
text = "open the door and talk to them"
to = "day3-submit"
[track.day3-hide]
text = "You quietly walk to the backdoor and open it. Stepping out into the alleyway, you leave and go to the criminal safehouse you know about. Switch to disc 2 to continue."
[track.day3-submit]
text = "You open the door and before you can say anything the one in front shouts, COME OUT WITH YOUR HANDS UP! YOU ARE CHARGED WITH ILLICIT POTION DEALING AND WILL BE DEALT WITH ACCORDINGLY. You walk out, following what they say, and are immediately arrested. Switch to disc 3 to continue."

View file

@ -117,15 +117,16 @@ async fn main() -> elevenlabs_rs::Result<()> {
for option in track.options {
text += &option.text;
text += " by pressing the ";
let mut i2 = -1isize;
let mut i2 = 0isize;
let mut found = false;
for track2 in &tracks {
if track2.id == option.to {
i2 += 1;
found = true;
break;
}
i2 += 1;
}
if i2 == -1 {
if !found {
panic!("Cannot find option reference {}!", option.to);
}
i2 += 1;
@ -133,19 +134,20 @@ async fn main() -> elevenlabs_rs::Result<()> {
let offset = i2 - (i + 1) as isize;
if offset.is_negative() {
if offset == -1 {
text += &format!("skip backward button 1 time.");
text += &format!("skip backward button 1 time");
} else {
text += &format!("skip backward button {} times.", -offset - 1);
text += &format!("skip backward button {} times", -offset - 1);
}
} else if offset.is_positive() {
if offset == 1 {
text += &format!("skip forward button 1 time.");
text += &format!("skip forward button 1 time");
} else {
text += &format!("skip forward button {} times.", offset);
text += &format!("skip forward button {} times", offset);
}
} else {
text += &format!("skip backward button 1 time.");
text += &format!("skip backward button 1 time");
}
text += &format!(" to get to track {}. ", i2);
text += "You can also ";
}
text = text.trim_end_matches("You can also ").to_string();