use crate::parser::raws::{
names::{Name, SingPlurName},
tags,
};
impl super::DFCreatureCaste {
pub fn new(name: &str) -> Self {
Self {
name: String::from(name),
tags: Vec::new(),
clutch_size: [0, 0],
litter_size: [0, 0],
max_age: [0, 0],
active_time: 0, curious_beast: 0, no_season: 0, trainable: 0,
baby: 0,
child: 0,
difficulty: 0,
egg_size: 0,
grass_trample: 0,
grazer: 0,
low_light_vision: 0,
pet_value: 0,
pop_ratio: 0,
baby_name: SingPlurName::new(""),
caste_name: Name::new(""),
child_name: SingPlurName::new(""),
description: String::new(),
creature_class: Vec::new(),
body_size: Vec::new(),
milkable: tags::DFMilkable::new("", 0),
}
}
}