From ff9a802586e056cab0c38a92be4150ac7eea06ce Mon Sep 17 00:00:00 2001 From: yuni Date: Wed, 20 Nov 2024 02:30:48 +0100 Subject: [PATCH] rewrite pizza delivery quest --- src/chats/fastravel.yaml | 8 ++ src/chats/serenity.yaml | 206 +++++++++++++++++++++++++++++++++------ 2 files changed, 184 insertions(+), 30 deletions(-) diff --git a/src/chats/fastravel.yaml b/src/chats/fastravel.yaml index c497226..ef7faf4 100644 --- a/src/chats/fastravel.yaml +++ b/src/chats/fastravel.yaml @@ -11,6 +11,9 @@ - chat: NPCinCryoStasis - system: "Error: No response" - system: Lifeform in cryostasis detected +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - system: "[ERROR: no response]" --- @@ -62,6 +65,11 @@ - chat: BusStops +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - I do not have a mechanism for pizza ingestion. + - Subsistence is futile. + - goto: fastravel - I wish I could use this shuttle service from anywhere!: - Actually, you can! - Just give us a phone call, we'll pick you up! diff --git a/src/chats/serenity.yaml b/src/chats/serenity.yaml index 0b295df..7dc0652 100644 --- a/src/chats/serenity.yaml +++ b/src/chats/serenity.yaml @@ -18,9 +18,14 @@ - set: $met - I found you drifting out cold, and thought, I better watch over you. - Took us here behind that moonlet, to shield you from the micrometeorites. +- label: entrypoint - if: "$$player_oxygen_seconds <= 0" HELP! I'M SUFFOCATING: - goto: suffocating +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - Nope. + - goto: entrypoint - Thank you!: - label: thx - No worries. Folks are stretched thin around this corner, we gotta watch out for each other. @@ -44,6 +49,10 @@ - if: "$$player_oxygen_seconds <= 0" HELP! I'M SUFFOCATING: - goto: suffocating +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - Nope. + - goto: howru - I feel quite cozy, this space suit feels like a second skin.: - set: friends - Hah, it does, doesn't it? @@ -198,42 +207,118 @@ - But you know what? I'll make an exception, just for you. - set: reservation - goto: node_menu +- if: "$$quest_pizza_disappoint" + I don't think I'll be able to deliver the pizza.: + - How come? + - I think Luna hates me.: + - Oh. Yeah, that... happens. + - set: $$quest_pizza_disappoint 0 + - Don't take it personally, I think she has some issues. + - Maybe this quest was not the best idea. + - I don't know. Let's just move on. + - goto: entrypoint - if: "$$quest_pizza_getreward" - I delivered the pizza to Luna! She sends her regards.: - - That's amazing! + I delivered the pizza to Luna!: + - Amazing! - set: $$quest_pizza_getreward 0 - - I hereby formally acknowledge that you have fulfilled your destiny and succeeded in your quest. - - Is this what you wanted? - - Yes, this is awesome! Where's my reward?: - - Great! Your reward is... - - From now on, you get all the pizza you want! For free! - - Thank you so much!: - - No problem. Really. + - How did she like it? + - She seemed quite disgusted by it.: + - Oh. + - Well, I did my best. + - "[Lie] I think she loved it.": + - I hope she will finally come around and give this place a visit! + - You did a good job with the delivery. + - Can I get a reward too?: + - You'd like a reward? + - Shouldn't *you* give *me* a reward? + - After all, I gave your life purpose, if only for a little while. + - "But ok, here's your reward:" + - set: reservation + - You can get free pizza any time *without* the need for a reservation. + - Thank you!: + - You want any pizza now? + - Yes!: + - goto: node_menu + - No, thanks.: + - Anything else? + - goto: entrypoint + - I was hoping for a rare weapon.: + - Haha, are you LARPing or something? + - label: larping + - Just kidding.: + - Good that you're having fun. + - Anything else I can help you with? + - You don't know that you're a video game character?: + - You think I'm a video game character? + - Your brain got hit by a micrometeorite or something? + - Better get yourself checked out. + - Anyway, need anything else? + - LARPing?: + - Live Action Role-Playing. + - You know, swinging swords and doing quests in real life. + - goto: larping + - goto: entrypoint - It kinda feels shallow.: - - What did you expect? - - If you wanna do questing with an addictive game loop, just fire up some VR game. - - Maybe try the good old Earth classic Stardew Canyon VRX, plenty of quests there. + - Oh. + - Maybe this quest thing was not the best idea. + - Wanna know what helps me when I don't know what to do? + - Sure, why not.: + - I'll just get back to the simple things. + - Drift around, look at the stars, call up my friends, care for my plants. + - Just appreciating the fact that I even exist and I'm able to breathe the air in my space suit. + - How extraordinary is it that I have these limbs made of millions of cells, individual life forms, that I can control WITH MY MIND! + - When I do some self-care, I always end up with good ideas of what to do next. + - Anyway, anything else? + - Not really.: + - Anything else I can help you with? + - goto: entrypoint - if: "~$$quest_pizza_delivered" Do you have a quest for me?: - if $$quest_pizza_start: - - I already gave you one. - - Deliver the pizza to Luna. Her workshop is between this pizzeria and the nearest moonlet. + - I gave you a quest, remember? + - Find the person that ordered the pizza and deliver it. + - The recipient is somewhere in the Serenity area. + - In other words, no more than 20 kilometers away from here. - goto: entrypoint - Come again? - A quest. Please?: - You want, like, work? - Why? Clippy drones do all the work these days. - - I don't know, I just have this urge to do some quest.: - - Well, in that case... - - Sure. How about this. + - I just really want to do a quest. Anything.: + - Like in a videogame? + - Hm, actually... I get it. + - You have everything you need here, everything is taken care of. + - But you are missing purpose. + - It takes a strong nerves and a brave heart to carve out your own purpose in life. + - And sometimes its nice to just follow a path that's been created for you. + - label: startquest + - Well. I've got this request for a pizza delivery. - set: $$quest_pizza_obtained - set: $$quest_pizza_start - - Please deliver this pizza smoothie to my friend Luna. - - Her workshop is between this pizzeria and the nearest moonlet. - - She tries to hide, but her light orbs give her away. - - You're right, I'll just embrace the fact that nobody expects anything from me.: - - That's the spirit! + - Here, take it, and deliver this pizza smoothie for me please. + - The recipient is a person somewhere around Serenity (no more than 20km away from here). + - I will not tell you who it is. Good luck. + - Yay, I'm a courier!: + - Don't get shot in the head! + - goto: EXIT + - Ow, that's evil.: + - If you really want to know who ordered it,... + - I guess you'll have to find out! + - goto: EXIT + - That was a silly idea. Nevermind.: + - No, no, I get it. + - You have everything you need here, everything is taken care of. + - But you are missing purpose. + - It takes a strong nerves and a brave heart to carve out your own purpose in life. + - And sometimes its nice to just follow a path that's been created for you. + - If you need something to do, I can come up with some quest for you. + - What do you have in mind?: + - goto: startquest + - No. I don't think I need a quest anymore.: + - That's the spirit. The world is your oyster! + - goto: entrypoint - Nevermind.: + - Oookay. - goto: entrypoint - Can I ask you some general questions?: - Shoot. @@ -401,6 +486,11 @@ HELP! I NEED OXYGEN!: - Oh no! You better get to the pizzeria fast, Nox can fill up your tank! - goto: EXIT +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - Why would I? + - If I wanted pizza, I would just float over to Nox myself. + - goto: entrypoint - That dress!: - Oh yes! I made the AR avatar myself! What about it? - label: node_dress @@ -554,6 +644,9 @@ # Luna {{{1 - chat: Luna +- if $lunahatesyou: + - "[Connection refused.]" + - goto: EXIT - if $$backupinstalled: - set: begged - set: believe @@ -577,14 +670,39 @@ - set: grateful 0 - goto: mainnode - if: "$$quest_pizza_obtained" - I am here to deliver this pizza for you.: - - Ah Nox, the old kidder. - - set: $$quest_pizza_delivered - - set: $$quest_pizza_getreward - - set: $$quest_pizza_obtained 0 - - Did he trick you into working for him? - - No, actually I insisted on working for him.: - - Thanks for the pizza, drifter. Give him my regards. + Did you order pizza by any chance?: + - What? + - Pizza? + - Actually, yes! A long time ago! + - They refused to deliver because they wanted me to go there physically and soak up the atmosphere. + - But that's ridiculous, no way I'm going there. + - Yeah...: [] + - Why not?: + - I didn't escape from civilization to hang out with random strangers. + - I got things to do here. + - What made them accept the delivery after all? + - Well, uhm, I begged them for something to do.: + - Hahaha, thanks, drifter. + - The sludge that the space suit synthesizes for food gets pretty boring after a while. + - Can I have the pizza? + - "[Give pizza smoothie]": + - Ok, let's give this a taste. + - ... + - set: $$quest_pizza_delivered + - set: $$quest_pizza_getreward + - set: $$quest_pizza_obtained 0 + - This taste... It makes no sense. + - Nothing fits together. + - Apple chunks? Cinnamon? What? Is this... + - PINEAPPLE? Oh come on. + - Thanks, I will never order pizza there again. + - "[Refuse to give]": + - 太空所有的星球都塞尽我的屁股!... + - set: $$quest_pizza_delivered + - set: $$quest_pizza_disappoint + - set: $lunahatesyou + - Just 滚开. + - goto: EXIT - if: "$$chefhat" The cake is a lie.: - set: grateful 0 @@ -873,6 +991,10 @@ - Look, I'm very busy right now constructing this place. - We can talk more once this is done. - label: entrypoint +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - No. + - goto: entrypoint - Can you spare some oxygen?: - Oh, sure thing! - script: refilloxygen 1 @@ -897,6 +1019,11 @@ - Welcome to our little oasis! - This will be great once it's finished. - label: entrypoint +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - There's pizza delivery ALL THE WAY HERE? + - No, I didn't order any. + - goto: entrypoint - Can you spare some oxygen?: - Oh, sure thing! - script: refilloxygen 1 @@ -918,12 +1045,20 @@ # Dead Drifter {{{1 + - chat: Drifter - system: "Error: No response" - system: No life signs detected +- label: entrypoint - Damn, it's gotta be moldy in that suit. How long has it been drifting?: +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - system: "[ERROR: no response]" + - goto: entrypoint - Harvest some oxygen: - script: refilloxygen 1 Drifter +- "[Disconnect]": + - goto: EXIT --- @@ -932,6 +1067,10 @@ # Pizzeria Clippy {{{1 - chat: SubduedClippy - At your service! +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - I do not have a mechanism for pizza ingestion. + - Subsistence is futile. --- @@ -953,6 +1092,13 @@ # =================== - label: entrypoint - include: generic_help_oxygen_entrypoint +- if: "$$quest_pizza_obtained" + Did you order pizza by any chance?: + - PIZZA!! + - I just love pizza. + - Will get some later. + - Not hungry right now. + - goto: entrypoint - What are you?: - Huh? - Why do you even want to know?