13 lines
248 B
Rust
13 lines
248 B
Rust
|
use serde::Deserialize;
|
||
|
|
||
|
use super::Renderable;
|
||
|
|
||
|
#[derive(Deserialize, Debug)]
|
||
|
pub struct SpawnTableEntry {
|
||
|
pub name: String,
|
||
|
pub weight: i32,
|
||
|
pub min_depth: i32,
|
||
|
pub max_depth: i32,
|
||
|
pub add_map_depth_to_weight: Option<bool>,
|
||
|
}
|