Add Leonard Nimoy's death poem
This commit is contained in:
parent
458b712394
commit
9a091cd9f3
14
src/chat.rs
14
src/chat.rs
|
@ -955,6 +955,7 @@ pub fn handle_chat_scripts(
|
|||
|
||||
pub fn update_chat_variables(
|
||||
mut vars: ResMut<var::GameVars>,
|
||||
settings: Res<var::Settings>,
|
||||
q_player: Query<&actor::Suit, With<actor::Player>>,
|
||||
prefs: ResMut<var::Preferences>,
|
||||
) {
|
||||
|
@ -974,5 +975,18 @@ pub fn update_chat_variables(
|
|||
"state_luna_intro",
|
||||
if prefs.state_luna_intro { 1 } else { 0 }.to_string(),
|
||||
);
|
||||
let wears_chefhat = if let Some(ava) = hud::PLAYER_AR_AVATARS.get(settings.ar_avatar) {
|
||||
match ava.0 {
|
||||
hud::Avatar::ChefHat => 1,
|
||||
_ => 0,
|
||||
}
|
||||
} else {
|
||||
0
|
||||
};
|
||||
vars.set_in_scope(
|
||||
"$",
|
||||
"chefhat",
|
||||
wears_chefhat.to_string(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -364,7 +364,7 @@
|
|||
- No problem at all!
|
||||
- set: grateful 0
|
||||
- goto: mainnode
|
||||
- if: "$$state_luna_intro"
|
||||
- if: "$$chefhat"
|
||||
Outer Woods:
|
||||
- if $explained:
|
||||
- ...
|
||||
|
@ -496,7 +496,6 @@
|
|||
- I don't believe you.
|
||||
- But there is obviously one way we can easily validate this.
|
||||
- set: $explained
|
||||
- script: save_state_luna_intro
|
||||
- "Kill yourself. Then come back to me, and make the first thing you say to me: Outer Woods."
|
||||
- That's genius.:
|
||||
- Thank you!
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
A life is like a garden.
|
||||
Perfect moments can be had,
|
||||
but not preserved,
|
||||
except in memory.
|
||||
Live long and prosper.
|
||||
- Leonard Nimoy, 2015
|
||||
|
||||
Though I heard
|
||||
Everyone goes this road
|
||||
Eventually
|
||||
|
|
Loading…
Reference in a new issue