Luna is a cat. Therefore Luna meows. (But Luna is *not* cute)

This commit is contained in:
yuni 2024-10-12 06:24:59 +02:00
parent c737e4ac8b
commit 295694c3b5
5 changed files with 16 additions and 0 deletions

View file

@ -35,6 +35,7 @@
- suit.jpg: By Yuni, CC0 License
- Icon: By Yuni, CC0 License
- Sounds by Yuni, CC0 License:
- cat.ogg: Recording of a cat. She was called Siri and was fucking adorable. She was also a serial killer but we don't talk about that.
- click.ogg: Recorded the click of a Victorinox Swisstool Spirit, when closing the big flathead screw driver
- click2.ogg: Recorded the click of a Victorinox Swisstool Spirit, when opening the big flathead screw driver. The second click is slightly amplified, the delay between clicks slightly shortened.
- connect.ogg: Tshhhhed into a microphone, pitch lowered by 15 semitones

BIN
assets/sounds/cat.ogg Normal file

Binary file not shown.

View file

@ -63,6 +63,7 @@ const PATHS: &[(SfxType, Sfx, &str)] = &[
(SfxType::LoopSfx, Sfx::Gasp, "sounds/gasp.ogg"),
(SfxType::OneOff, Sfx::GaspRelief, "sounds/gasprelief.ogg"),
(SfxType::OneOff, Sfx::Achieve, "sounds/achieve.ogg"),
(SfxType::OneOff, Sfx::Cat, "sounds/cat.ogg"),
(SfxType::OneOff, Sfx::Click, "sounds/click.ogg"),
(SfxType::OneOff, Sfx::Click3, "sounds/click3.ogg"),
(SfxType::OneOff, Sfx::Connect, "sounds/connect.ogg"),
@ -91,6 +92,7 @@ pub enum Sfx {
Achieve,
BGMActualJupiterRecording,
BGMTakeoff,
Cat,
Click,
Click3,
Connect,
@ -127,6 +129,7 @@ pub fn str2sfx(sfx_label: &str) -> Sfx {
"drink" => Sfx::Drink,
"woosh" => Sfx::Woosh,
"zoom" => Sfx::Zoom,
"cat" => Sfx::Cat,
"chat" => Sfx::IncomingChatMessage,
"ping" => Sfx::Ping,
"powerdown" => Sfx::PowerDown,

View file

@ -984,6 +984,11 @@ pub fn update_chat_variables(
"player_suit_health_percent",
((suit.integrity * 100.0).round() as u8).to_string(),
);
vars.set_in_scope(
"$",
"ar",
if settings.hud_active { String::from("1") } else { String::from("0") }
);
let wears_chefhat = if let Some(ava) = hud::PLAYER_AR_AVATARS.get(settings.ar_avatar) {
match ava.0 {
hud::Avatar::ChefHat => 1,

View file

@ -526,6 +526,13 @@
- I just want to get away from all this insanity...
- Just want to tinker without anyone bothering me.
- goto: mainnode
- if: "$$ar"
You're wearing cat ears!:
- msg: Meowwww!
sound: cat
- Yes.
- But I am NOT cute. I am serious and respectable.
- goto: mainnode
- if: "$timetravel"
Do you think time travel into the past is possible?:
- if $believe: