remove Luna's time travel quest

A bit too ambitious. And it doesn't fit into the idea of statelessness.
This commit is contained in:
yuni 2024-11-23 04:46:36 +01:00
parent 51a297158d
commit 9f968e2aa1
3 changed files with 0 additions and 191 deletions

View file

@ -908,7 +908,6 @@ pub fn handle_chat_scripts(
mut ew_playerdies: EventWriter<game::PlayerDiesEvent>,
id2pos: Res<game::Id2Pos>,
id2v: Res<game::Id2V>,
mut prefs: ResMut<Preferences>,
) {
for script in er_chatscript.read() {
// Parse the script string
@ -1045,11 +1044,6 @@ pub fn handle_chat_scripts(
}
}
}
"installlunabackup" => {
ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::Achieve));
prefs.luna_backup = true;
prefs.save()
}
"bullet" => {
ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::Crash));
ew_playerdies.send(game::PlayerDiesEvent(actor::DamageType::Bullet));
@ -1064,7 +1058,6 @@ pub fn handle_chat_scripts(
pub fn update_chat_variables(
mut vars: ResMut<var::GameVars>,
settings: Res<var::Settings>,
prefs: Res<var::Preferences>,
q_player: Query<&actor::Suit, With<actor::Player>>,
) {
if let Ok(suit) = q_player.get_single() {
@ -1079,16 +1072,6 @@ pub fn update_chat_variables(
((suit.integrity * 100.0).round() as u8).to_string(),
);
vars.set_in_scope("$", "ar", bool2chatvar(settings.hud_active));
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());
vars.set_in_scope("$", "backupinstalled", bool2chatvar(prefs.luna_backup));
}
}

View file

@ -663,10 +663,6 @@
- if $lunahatesyou:
- "[Connection refused.]"
- goto: EXIT
- if $$backupinstalled:
- set: begged
- set: believe
- set: timetravel
- "if $$player_suit_health_percent < 100":
- Waah, look at all those scratches on your suit! May I fix 'em?
- Yes, please!:
@ -722,51 +718,6 @@
- set: $lunahatesyou
- Just 滚开.
- goto: EXIT
- if: "$$chefhat"
The cake is a lie.:
- set: grateful 0
- if $begged:
- Damn sure it is!
- if $backupinstalled:
- Thanks again for letting me install my backup software!
- goto: mainnode
- Let's not waste this opportunity and *please* let me install my backup software on your space suit.
- goto: node_spyware
- if $believe:
- Yes, time traveler. Please!! Tell me about it!
- goto: node_ask
- if $explained:
- ...
- Yes, indeed.
- I memorized this phrase to tell anyone who claims to be able to travel back in time.
- If they can tell me one of those phrases *before* I tell them, it must mean that they traveled back in time! How else could they know the phrase?
- But... You're telling me the phrase *after* I told you.
- So you are proving nothing.
- Go kill yourself, magically rewind time, and *then* tell me the phrase with the chef hat on.
- goto: mainnode
- Ooooh.
- Now why would you say that?
- I... don't really know.:
- You seem confused.
- It's ok. Just drift a bit, take some deep breaths, and come back when you are feeling better.
- goto: EXIT
- I was promised a cake. There was no cake.:
- How utterly disturbing.
- The real question is, why would I not say that?:
- Point taken.
- That's a great sentence to just randomly say.
- Congratulations on your creativity.
- Funny hat too.
- I'm just following orders.:
- YOU'RE AN ACTUAL FUCKING TIME TRAVELER?!
- set: believe
- Please, tell me everything you can about this!
- goto: node_ask
- Because cake is delicious!:
- That makes no sense whatsoever.
- Stop wasting my time, lunatic.
- goto: EXIT
- goto: mainnode
- What are you up to?:
- set: grateful 0
- Tinkering on various projects and running a workshop. Come by if you need any repairs!
@ -807,7 +758,6 @@
- You age slower, can fly further, time dilation from special relativity.
- label: skiprelativityintro
- Given the right speed, you age so slowly that you can literally go anywhere you want.
- set: timetravel
- Any *time* you want.
- Time travel! Only into the future though, of course.:
- Exactly.
@ -871,137 +821,14 @@
- 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?:
- set: grateful 0
- if $believe:
- Well, you just proved it to me, didn't you?
- How else would you know the phrase and the chef hat thing?
- I still can't believe it.
- Sad that we don't know *how* or *why* this is happening.
- This will give me a lot to think about. Thank you!
- goto: mainnode
- No.
- Well, theoretically, there's all sorts of way to do this but none of them are feasible.
- Why do you ask?
- Just curious:
- It's good to stay curious.
- goto: mainnode
- If I die, I seem to wake up in the same spot over and over again...:
- Hey, let me be very clear here.
- Do not waste my time with bullshit, or I will scrap your body for raw materials.
- I'm serious. Everything reverts back to how it was before, and nobody remembers me.:
- Hm.
- Fascinating.
- I don't believe you.
- But there is obviously one way we can easily validate this.
- set: $explained
- Kill yourself to rewind time. Then come back to me wearing a silly chef hat and say "The cake is a lie."
- label: timetravelqanda
- Why? I don't get it.:
- You know, I think a lot about time travel.
- I memorized some phrases that I would tell anyone who claims to be able to travel back in time.
- If they can tell me one of those phrases *before* I tell them, it must mean that they traveled back in time! How else could they know the phrase?
- goto: timetravelqanda
- Where can I get a chef hat?:
- Not a real one, of course.
- Change the settings of your space suit to project an avatar in augmented reality.
- You should find a "Chef Hat" option somewhere. [Press ESC]
- goto: timetravelqanda
- That's genius.:
- Thank you!
- Now go kill yourself. Don't forget the chef hat.
- goto: EXIT
- I'm not going to kill myself.:
- Well, doesn't really matter how you die.
- "Just remember. Wear silly chef hat, and tell me: The cake is a lie."
- goto: EXIT
- Whatever.:
- Thank you.
- goto: mainnode
- Bye!:
- set: grateful 0
- label: bye
- if $believe:
- So long, time traveler!
- goto: EXIT
- So long, drifter!
- goto: EXIT
- label: timeout
- goto: mainnode
- label: node_ask
- When I die, I just wake up and everything is back as it was before.:
- What? Just like that? This is so wild.
- label: node_ask2
- We have talked before. You told me to die, come back to you with a chef hat, and say that sentence.:
- Hah, so the plan worked out! YES!
- Let me apologize though. I must have been rude before you showed me proof for your story.
- There are just so many bullshitters in the world and I don't have the patience anymore.
- But I believe you now.
- AAAH THIS IS SO COOL!!!
- I KNOW RIGHT???:
- Wait, something doesn't add up.
- You say that when you die, everything reverts to how it was before.
- But your memory seems to persist across deaths!
- Is there anything else that persists?
- Well, my space suit settings stay the same:
- Fascinating!
- Hmm...
- This opens up interesting opportunities!
- Imagine, I could upload my research onto your space suit, and recover it in the next time line!
- set: begged
- Would it be ok if I install some backup software on your space suit?
- goto: node_spyware
- goto: mainnode
- Leave me alone.:
- goto: gtfo
- goto: node_ask2
- Leave me alone.:
- label: gtfo
- What? No!
- Argh.
- You damn teaser.
- Fine.
- goto: EXIT
- Please, I *have* to know.
- goto: node_ask
- label: node_spyware
- What does the software do?:
- It stores an encrypted backup of my personal notes and my research projects.
- I'll get read/write access to a portion of your suit's storage.
- This way, I could save my research from this timeline and recover it in the next timeline!
- Imagine the possibilities!
- goto: node_spyware
- What if it's a virus?:
- I won't try to convince you to trust me.
- People deceive all the time.
- But if you have any problem with the software, just do a factory reset.
- goto: node_spyware
- Ok, let's do this!:
- label: accept_spyware
- Wonderful. I will connect now. Just ignore the warnings.
- system: "WARNING: Untrusted application installation requested"
- "[Accept]":
- system: "Untrusted application installed!"
- script: installlunabackup
- Aah, you're a treasure! That will help a lot! Thank you!
- goto: mainnode
- Wait, I have some questions first.:
- Of course. I don't want you to feel scammed or something.
- goto: node_spyware
- No, I don't want to do this.:
- Sure. This is completely up to you of course.
- Just...
- Such a waste of this opportunity.
- Ok, maybe you have a point. Let's do this.:
- goto: accept_spyware
- Forget it.:
- Ok, ok.
- goto: main_node
---
# Ash {{{1

View file

@ -497,7 +497,6 @@ pub struct Preferences {
#[serde(default = "Preferences::default_flashlight_power")]
pub flashlight_power: usize, // 0-2
pub thruster_boost: usize, // 0-2
pub luna_backup: bool,
#[serde(skip)]
pub source_file: Option<String>,