roguelike-game/src/raws/weapon_traits.rs

10 lines
180 B
Rust
Raw Normal View History

2022-01-31 09:48:44 -05:00
use std::collections::HashMap;
use ::serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct WeaponTrait {
pub name: String,
pub effects: HashMap<String, String>,
}