Compare commits

..

2 commits

Author SHA1 Message Date
yuni 7ec1cc885b fix Nitro not using any power 2024-11-18 05:13:05 +01:00
yuni 83cc58c6cd add choker to rynyk 2024-11-18 05:05:38 +01:00
2 changed files with 6 additions and 1 deletions

View file

@ -857,7 +857,7 @@ fn handle_wants_acceleration(
delta_v = delta_v =
(trans.rotation.inverse() * stop_direction.normalize()).as_dvec3(); (trans.rotation.inverse() * stop_direction.normalize()).as_dvec3();
engine.currently_matching_velocity = true; engine.currently_matching_velocity = true;
thruster_on = true; thruster_on = true; // is this redundant?
} }
} }
} }
@ -876,6 +876,7 @@ fn handle_wants_acceleration(
if delta_v.length_squared() > 0.003 { if delta_v.length_squared() > 0.003 {
// Engine is firing! // Engine is firing!
thruster_on = true; thruster_on = true;
engine.currently_firing = true;
engine.current_warmup = engine.current_warmup =
(engine.current_warmup + dt / engine.warmup_seconds).clamp(0.0, 1.0); (engine.current_warmup + dt / engine.warmup_seconds).clamp(0.0, 1.0);
@ -932,6 +933,7 @@ fn handle_wants_acceleration(
// Engine is not firing // Engine is not firing
engine.current_warmup = engine.current_warmup =
(engine.current_warmup - dt / engine.warmup_seconds).clamp(0.0, 1.0); (engine.current_warmup - dt / engine.warmup_seconds).clamp(0.0, 1.0);
engine.currently_firing = false;
} }
if is_player.is_some() { if is_player.is_some() {

View file

@ -1150,6 +1150,9 @@ fn spawn_scenes(
// command: armodel suit_ar_dress // command: armodel suit_ar_dress
state.ar_models.push("suit_ar_dress".to_string()); state.ar_models.push("suit_ar_dress".to_string());
// command: armodel suit_ar_choker
state.ar_models.push("suit_ar_choker".to_string());
// command: pronoun she // command: pronoun she
state.pronoun = Some("she".to_string()); state.pronoun = Some("she".to_string());
} else if template == "cultleader" { } else if template == "cultleader" {