include!(concat!(env!("OUT_DIR"), "/prototypes_gen.rs"));
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct Color {
pub r: f64,
pub g: f64,
pub b: f64,
pub a: Option<f64>,
}
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct BoundingBox {
pub left_top_x: f64,
pub left_top_y: f64,
pub right_bottom_x: f64,
pub right_bottom_y: f64,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct EnergySource {
pub r#type: &'static str,
pub usage_priority: Option<&'static str>,
}
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct MinableProperties {
pub mining_time: f64,
pub result: Option<&'static str>,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct RecipeIngredient {
pub name: &'static str,
pub amount: i64,
pub fluid: bool,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct RecipeProduct {
pub name: &'static str,
pub amount: i64,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct TechnologyUnitIngredient {
pub name: &'static str,
pub amount: i64,
}
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct TechnologyUnit {
pub count: i64,
pub time: f64,
pub ingredients: &'static [TechnologyUnitIngredient],
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct UnlockRecipeEffect {
pub recipe: &'static str,
}