From a618414a1a21321042f363ae5cf2adb3dd7b3d3e Mon Sep 17 00:00:00 2001 From: yuni Date: Wed, 9 Oct 2024 22:13:20 +0200 Subject: [PATCH] Fuel Tank: interact to refill oxygen --- src/chats/serenity.yaml | 7 +++++++ src/cmd.rs | 3 +++ 2 files changed, 10 insertions(+) diff --git a/src/chats/serenity.yaml b/src/chats/serenity.yaml index 0a317b5..d092322 100644 --- a/src/chats/serenity.yaml +++ b/src/chats/serenity.yaml @@ -822,3 +822,10 @@ - Phew, that was close. Take care of yourself! - Anything else? - goto: entrypoint + + +--- + +- chat: OxygenTank +- script: refilloxygen 1 +- system: Oxygen refilled diff --git a/src/cmd.rs b/src/cmd.rs index a34f36c..5bc99d6 100644 --- a/src/cmd.rs +++ b/src/cmd.rs @@ -832,6 +832,9 @@ fn spawn_scenes( // command: density 2000 state.density = 2000.0; + // command: chatid OxygenTank + state.chat = String::from("OxygenTank"); + // command: pointofinterest yes ew_spawn.send(SpawnEvent(state)); }