Share stable content IDs across raids, inventory and item dispatch (#91)

Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
2026-11-02 20:59:56 +03:00
parent 657d8f16c6
commit 5ad6ea8ad9
5 changed files with 258 additions and 66 deletions
+4
View File
@@ -9,6 +9,7 @@
use glam::{DQuat, DVec3};
use std::collections::HashMap;
pub mod catalog;
mod damage;
pub mod doctrine;
pub mod fires;
@@ -640,6 +641,9 @@ pub struct DroneSpec {
}
impl DroneSpec {
/// The registered visual model for this profile.
pub fn model(&self) -> &'static str { self.model }
/// Its size, for how thick its smoke is.
pub fn trail_scale(&self) -> f32 {
self.scale as f32