Share stable content IDs across raids, inventory and item dispatch (#91)
Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user