delete assets/scenes/conversations.scn.ron

This commit is contained in:
yuni 2024-03-20 06:00:00 +01:00
parent 20fd163aba
commit 2faa1b3dcf
2 changed files with 0 additions and 261 deletions

View file

@ -1,249 +0,0 @@
(
resources: {},
entities: {
4294967296: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "INIT",
delay: 2.0,
sound: "ping",
level: "info",
reply: "Requesting permission to communicate...",
choice: "",
goto: "requested",
),
},
),
4294967297: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "requested",
delay: 4.0,
sound: "chat",
level: "chat",
reply: "Oh hey there!",
choice: "",
goto: "sup",
),
},
),
4294967298: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "sup",
delay: 8.0,
sound: "chat",
level: "chat",
reply: "Didn't even notice you! Was playing some VR game! What's up?",
choice: "",
goto: "reply1",
),
},
),
4294967299: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "reply1",
delay: 5.5,
sound: "chat",
level: "chat",
reply: "Are you sure? Your suit is sending a distress call. But whatever you say, have fun!",
choice: "I'm good, how are you?",
goto: "pizza",
),
},
),
4294967300: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "reply1",
delay: 5.5,
sound: "chat",
level: "chat",
reply: "Yeah I can imagine, looks like your suit is leaking. Take care!",
choice: "Uhm... where am I? I don't feel so good.",
goto: "pizza",
),
},
),
4294967301: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "reply1",
delay: 3.5,
sound: "chat",
level: "chat",
reply: "Not so chatty, huh? That's ok. See you around.",
choice: "",
goto: "pizza",
),
},
),
4294967302: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "pizza",
delay: 2.5,
sound: "chat",
level: "chat",
reply: "Make sure to check out the Pizza place.",
choice: "",
goto: "disco_interactive",
),
},
),
4294967303: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "disco_interactive",
delay: 0.0,
sound: "ping",
level: "info",
reply: "Disconnected.",
choice: "",
goto: "EXIT",
),
},
),
4294967304: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "disco_interactive",
delay: 1.5,
sound: "ping",
level: "chat",
reply: "Bye!",
choice: "See ya~",
goto: "disco",
),
},
),
4294967305: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "disco",
delay: 0.0,
sound: "ping",
level: "info",
reply: "Disconnected.",
choice: "",
goto: "EXIT",
),
},
),
4294967306: (
components: {
"outfly::actor::ChatBranch": (
id: "hialien",
name: "Icarus",
label: "sup",
delay: 8.0,
sound: "chat",
level: "chat",
reply: "Didn't even notice you! Was playing some VR game! What's up?",
choice: "Uhm... hi",
goto: "reply1",
),
},
),
4294967400: (
components: {
"outfly::actor::ChatBranch": (
id: "pizzeria",
name: "Space Pizza™",
label: "INIT",
delay: 1.0,
sound: "ping",
level: "chat",
reply: "Requesting permission to communicate...",
choice: "",
goto: "requested",
),
},
),
4294967401: (
components: {
"outfly::actor::ChatBranch": (
id: "pizzeria",
name: "Space Pizza™",
label: "requested",
delay: 5.0,
sound: "chat",
level: "chat",
reply: "Welcome to Space Pizza™, best pizza all across the Jovian rings!",
choice: "",
goto: "ask",
),
},
),
4294967402: (
components: {
"outfly::actor::ChatBranch": (
id: "pizzeria",
name: "Space Pizza™",
label: "ask",
delay: 10.0,
sound: "chat",
level: "chat",
reply: "Would you like to order today's special Miracle Spacefungi? Freshly blended pizza smoothie ready for your space suit feeding tube!",
choice: "",
goto: "hello?",
),
},
),
4294967403: (
components: {
"outfly::actor::ChatBranch": (
id: "pizzeria",
name: "Space Pizza™",
label: "hello?",
delay: 10.0,
sound: "chat",
level: "chat",
reply: "Hello? Are you still there?",
choice: "",
goto: "disco",
),
},
),
4294967404: (
components: {
"outfly::actor::ChatBranch": (
id: "pizzeria",
name: "Space Pizza™",
label: "disco",
delay: 0.0,
sound: "ping",
level: "info",
reply: "Disconnected.",
choice: "",
goto: "EXIT",
),
},
),
},
)

View file

@ -2,12 +2,10 @@ use bevy::prelude::*;
use crate::{nature, settings, actor, audio, hud}; use crate::{nature, settings, actor, audio, hud};
const MIN_INTERACT_DISTANCE: f32 = 30.0; const MIN_INTERACT_DISTANCE: f32 = 30.0;
//const ASSET_CONVERSATIONS: &str = "scenes/conversations.scn.ron";
pub struct ActorPlugin; pub struct ActorPlugin;
impl Plugin for ActorPlugin { impl Plugin for ActorPlugin {
fn build(&self, app: &mut App) { fn build(&self, app: &mut App) {
app.add_systems(Startup, setup);
app.register_type::<ChatBranch>(); app.register_type::<ChatBranch>();
app.add_systems(FixedUpdate, ( app.add_systems(FixedUpdate, (
update_physics_lifeforms, update_physics_lifeforms,
@ -115,16 +113,6 @@ const SUIT_SIMPLE: Suit = Suit {
oxygen_max: nature::OXY_D, oxygen_max: nature::OXY_D,
}; };
pub fn setup(
mut commands: Commands,
asset_server: Res<AssetServer>,
) {
// commands.spawn(DynamicSceneBundle {
// scene: asset_server.load(ASSET_CONVERSATIONS),
// ..default()
// });
}
pub fn update_physics_actors( pub fn update_physics_actors(
time: Res<Time>, time: Res<Time>,
mut q_actors: Query<(&mut Actor, &mut Transform)>, mut q_actors: Query<(&mut Actor, &mut Transform)>,