fix some NPCs being 4 meters tall

This commit is contained in:
yuni 2024-11-19 03:53:43 +01:00
parent 0b9b984c29
commit 54147a2b05

View file

@ -1113,6 +1113,8 @@ fn spawn_scenes(
state.name = Some(state.id.clone());
state.chat = state.id.clone();
state.model_scale = 1.0;
// command: angularmomentum 0.4 0.2 0.1
state.angular_momentum = DVec3::new(0.4, 0.2, 0.1);
@ -1129,6 +1131,8 @@ fn spawn_scenes(
state.name = Some("Nox".to_string());
state.chat = "PizzaChef".to_string();
state.model_scale = 1.1;
// command: wants matchvelocitywith pizzeria
state.wants_matchvelocity_id = Some("pizzeria".to_string());
@ -1144,6 +1148,8 @@ fn spawn_scenes(
state.name = Some("Rynyk".to_string());
state.chat = "Rynyk".to_string();
state.model_scale = 0.9;
// command: wants matchvelocitywith pizzeria
state.wants_matchvelocity_id = Some("pizzeria".to_string());
@ -1160,16 +1166,19 @@ fn spawn_scenes(
state.chat = "Ash".to_string();
state.wants_matchvelocity_id = Some("hideout".to_string());
state.pronoun = Some("they".to_string());
state.model_scale = 1.0;
} else if template == "cultfollower" {
state.name = Some("River".to_string());
state.chat = "River".to_string();
state.wants_matchvelocity_id = Some("hideout".to_string());
state.pronoun = Some("she".to_string());
state.model_scale = 1.0;
} else if template == "pig" {
state.name = Some("Mudley".to_string());
state.id = "Mudley".to_string();
state.chat = "pig".to_string();
state.model = Some("sus".to_string());
state.model_scale = 2.0;
// command: angularmomentum 0.4 0.2 0.1
state.angular_momentum = DVec3::new(0.4, 0.2, 0.1);