generic chat ids (luna->tinker, mudley->pig), add mudley phone call

This commit is contained in:
yuni 2024-10-27 18:03:06 +01:00
parent f92a7b190c
commit 039440cd7e
4 changed files with 54 additions and 6 deletions

View file

@ -26,8 +26,8 @@ pub const CHATS: &[&str] = &[
include_str!("chats/thebe.yaml"), include_str!("chats/thebe.yaml"),
]; ];
pub const CONTACTS: &[&str] = &["travel", "luna"]; pub const CONTACTS: &[&str] = &["travel", "tinker", "pig"];
pub const CONTACTS_PRETTY: &[&str] = &["FASTravel", "Luna"]; pub const CONTACTS_PRETTY: &[&str] = &["FASTravel", "Luna", "Mudley"];
pub const CONTACTS_UNKNOWN: &str = "[Unknown]"; pub const CONTACTS_UNKNOWN: &str = "[Unknown]";
pub const TEXT_CONTINUE: &str = "Continue..."; pub const TEXT_CONTINUE: &str = "Continue...";

View file

@ -18,11 +18,16 @@
- sound: phone - sound: phone
msg: Dialing... msg: Dialing...
- goto: travel - goto: travel
- if: phone$luna - if: phone$tinker
Luna: Luna:
- sound: phone - sound: phone
msg: Dialing... msg: Dialing...
- goto: luna - goto: luna
- if: phone$pig
Mudley:
- sound: phone
msg: Dialing...
- goto: pig
- "[Cancel]": - "[Cancel]":
- goto: EXIT - goto: EXIT
@ -87,3 +92,38 @@
- "[Hang up]": [] - "[Hang up]": []
- "[Hang up]": [] - "[Hang up]": []
- goto: EXIT - goto: EXIT
# ---------------------------------------------------------
# ---------------------------------------------------------
# ---------------------------------------------------------
- label: pig
- script: changename Mudley
- Heyyyy!! This is Mudley, what's up?
- label: pig_node_main
- Where are you hanging out?:
- I'm at the Old Eearth Pizzeria. Come over if you wanna hang!
- goto: pig_node_main
- What's your story?:
- I'm a geologist.
- set: pig$geologist
- set: pig$earth
- I just loved the mud and dirt on Earth so much, I decided to study it.
- An endlessly fascinating subject.
- But the old rock, Earth, has been studied to the end and back.
- No scientific frontier in geology anymore.
- So I decided to venture into space, hoping to discover something novel.
- Came for the science, stayed for the floooooating around!
- I'm actually flying! Weeeeeeeee! This is so awesome!
- goto: pig_node_main
- if: pig$earth
What do you miss most out here in space?:
- The mud!
- The space suit is quite liberating, with the comms and the appendages.
- But I miss being nude, wallowing in the mud.
- set: pig$mud
- So much dust and rocks out here and I can't touch any of it.
- It's driving me nuts!!! Aaaah!!
- goto: pig_node_main
- "[Hang up]": []
- goto: EXIT

View file

@ -540,7 +540,7 @@
- set: grateful 0 - set: grateful 0
- if $backupinstalled: - if $backupinstalled:
- Of course, time traveler! Anything! - Of course, time traveler! Anything!
- script: registercontact luna - script: registercontact tinker
- goto: mainnode - goto: mainnode
- if $believe: - if $believe:
- Hm... I trust you, but... I want you to do me a favor first. - Hm... I trust you, but... I want you to do me a favor first.
@ -786,7 +786,7 @@
--- ---
- chat: Mudley - chat: pig
- if $helmet: - if $helmet:
- Come on, cave monkey, I can't give you the snack if you don't take off your helmet. [press ESC] - Come on, cave monkey, I can't give you the snack if you don't take off your helmet. [press ESC]
- goto: EXIT - goto: EXIT
@ -902,6 +902,14 @@
- But the helmet is blocking your mouth, right? - But the helmet is blocking your mouth, right?
- So first, open the space suit menu [press ESC] and take off your helmet. - So first, open the space suit menu [press ESC] and take off your helmet.
- goto: EXIT - goto: EXIT
- if: "~phone$pig"
Can I get your phone number?:
- if $annoyed:
- No.
- goto: entrypoint
- Sure, buddy!
- script: registercontact pig
- goto: entrypoint
- Gotta go!: - Gotta go!:
- Bye! - Bye!
- goto: EXIT - goto: EXIT

View file

@ -522,7 +522,7 @@ actor -3300 10 0 pizzeria
relativeto pizzeriasign relativeto pizzeriasign
name Mudley name Mudley
id Mudley id Mudley
chatid Mudley chatid pig
angularmomentum 0.4 0.2 0.1 angularmomentum 0.4 0.2 0.1
wants maxrotation 0.2 wants maxrotation 0.2
wants matchvelocitywith pizzeria wants matchvelocitywith pizzeria