write cozier dialog at pizza store

This commit is contained in:
yuni 2024-04-15 01:45:40 +02:00
parent 05769c988c
commit 97141ed73a
3 changed files with 157 additions and 11 deletions

View file

@ -815,6 +815,11 @@ pub fn handle_chat_scripts(
} else {
error!("Invalid parameter for command `{}`: `{}`", name, param1);
}
"repairsuit" => {
for (_, mut suit, _) in q_player.iter_mut() {
suit.integrity = 1.0;
}
}
"cryotrip" => {
if param1.is_empty() {
error!("Chat script cryotrip needs a parameter");

View file

@ -176,12 +176,16 @@
- chat: PizzaChef
- if $eat:
- Ah, they always come back.
- Ready for another round at Old Earth Pizza?
- goto: eat
- Oh hey, you found your way to the legendary Old Earth Pizza!
- Please find yourself a cozy place to drift.
- Time to loosen up! Find yourself a cozy place to drift.
- Do you have a reservation?
- label: reservation
- if: ~$reservation
Reservation? Is there not enough space for everybody?:
...Reservation? Is there not enough space for everybody?:
- Ah, space there is.
- But I can't get overworked, can I?
- I'm running this joint all by myself, after all.
@ -195,13 +199,150 @@
- Amazing.
- Sure, you can "buy" something, watcha want?
- goto: eat
- Can I ask you some... weird questions?:
- Of course. Just hold on, let me load my gun.
- Alright, shoot.
- goto: questions
- Wh... what's a pizzeria doing here?:
- Hah, beautiful, right? I carved it out this asteroid myself!
- You know how much work it was to neutralize the rotation of the asteroid, so my valued customers don't bang against the walls?
- Do you have a reservation though?
- goto: reservation
- My head hurts, my suit is leaking, I think I'm dying...:
- 他妈的, that sound terrible.
- Unlikely that you'll die though.
- You're wearing a SecondSkyn™. It's the best, it'll take care of you.
- Would you like me to patch it up?
- label: patchup
- Yes please!:
- Here you go!
- script: repairsuit
- system: SuitPatch™ SuperGlue™ applied.
- goto: reservation
- How much will you charge me?:
- Why would I charge you? Your suit is nuclear powered.
- So what about the patch up?
- goto: patchup
- Don't touch me.:
- Suit yourself.
- What about the reservation?
- goto: reservation
- I guess not.
- What about the reservation?
- goto: reservation
- Can I ask you some questions?:
- Shoot.
- goto: generic_questions
- I gotta go.:
- Come back any time! You are always welcome.
- goto: EXIT
- I guess not.
- But I can't you leave hungry, can I?
- So far away from everything.
- Just let me know if you want something.
- label: eat
- label: questions
- set: $eat
- What's on the menu?:
- set: $knows-menu
- Today's special is Suspicious Spacefunghi.
- It's pretty wild, but 真他媽的好吃.
- But we have pretty much anything you can dream of.
- Daring Durian, Artichoke Apple Pie, you name it.
- goto: eat
- Got pineapple in stock?:
- I can totally hook you up with that.
- But why would you want to?
- It's really delicious:
- Right, of course.
- Nevermind:
- So?
- set: $knows-pineapple
- goto: eat
- I made up my mind.:
- Which emulsion of deliciousness will it be?
- if: $knows-menu
I'd like a Suspicious Spacefunghi:
- Coming right up your feeding tube!
- system: Received Suspicious Spacefunghi pizza smoothie
- goto: served
- if: $knows-menu
I'd like a Daring Durian:
- Coming right up your feeding tube!
- system: Received Daring Durian pizza smoothie
- goto: served
- if: $knows-menu
I'd like an Artichoke Apple Pie pizza:
- Coming right up your feeding tube!
- system: Received Artichoke Apple Pie pizza smoothie
- goto: served
- if: $knows-pineapple
I'd like a pineapple pizza:
- Coming right up your feeding tube!
- system: Received pineapple pizza smoothie
- goto: served
- if: $knows-coffee
I'd like a cup of that legendary Old Earth Coffee, please:
- Coming right up your feeding tube!
- system: Received Old Earth Coffee
- goto: served
- Surprise me.:
- Hmm...
- I would take you for the adventurous type.
- Daring Durian, coming right up your feeding tube!
- system: Received Daring Durian pizza smoothie
- goto: served
- Actually... I haven't decided yet.:
- goto: eat
- I'm not hungry.:
- goto: not hungry
- Got anything other than pizza?:
- Anything you need, I got you covered.
- label: non-pizza
- I'm low on oxygen, can you spare some?:
- But of course! I take care of my guests.
- script: refilloxygen 1
- system: Oxygen refilled
- goto: served
- Could you patch up my space suit?:
- Right on.
- script: repairsuit
- system: SuitPatch™ SuperGlue™ applied.
- goto: served
- Got any coffee?:
- Your suit should have a coffee dispenser built right into it.
- Naturally, it's not as good as my legendary Old Earth Coffee!
- set: knows-coffee
- goto: non-pizza
- Can't think of anything right now.:
- So what would you like to order?
- goto: eat
- Can I ask you some general questions?:
- Shoot.
- goto: generic_questions
- I'm not hungry, thanks.:
- goto: not hungry
- If you don't want anything, that's fine too.
- label: not hungry
- Feel free to hang out as long as you like.
- goto: EXIT
- label: served
- Come back any time!
- goto: EXIT
- label: generic_questions
- include: generic_questions_serenity
- See you around!
---
- chat: generic_questions_serenity
- Where are we?:
- Inside Jupiter's rings, obviously.
- We're about 150,000km away from the gas giant.
- This region is called Serenity by its inhabitants, due to the relative safety from Jupiter's magnetic field and the micros.
- goto: generic_questions
- What time is it?:
- Oh, is your Augmented Reality deactivated?
- Push the TAB button, your space suit's AR will show you the date and time.
- goto: generic_questions
- I think I'm good for now.: []

View file

@ -177,14 +177,14 @@ actor -3300 10 0 pizzeria
wants maxrotation 0
wants maxvelocity 0
thrust 15 6 3 400 0.5
rotationy -0.5
rotationy -0.7
scale 3
chatid SubduedClippy
actor -35 0 0 suit
actor -45 -4 -4 suit
relativeto pizzeria
name "Space Pizza™"
chatid SpacePizzaChef
chatid PizzaChef
armodel suit_ar_chefhat
alive yes
scale 2
@ -192,7 +192,7 @@ actor -3300 10 0 pizzeria
thrust 1.2 1 1 10 1.5
wants maxrotation 0
wants maxvelocity 0
rotationy 1
rotationy -0.5
angularmomentum 0 0 0
pronoun he