|
@ -1,15 +1,8 @@ |
|
|
#![allow(dead_code, unused_variables)]
|
|
|
#![allow(dead_code, unused_variables)]
|
|
|
// use std::collections::HashMap;
|
|
|
|
|
|
use rand::{Rng};
|
|
|
use rand::{Rng};
|
|
|
use rand::distributions::{WeightedIndex, Distribution};
|
|
|
use rand::distributions::{WeightedIndex, Distribution};
|
|
|
use serde::{Serialize, Deserialize};
|
|
|
use serde::{Serialize, Deserialize};
|
|
|
// use crate::entity::item::weapon::{Weapon, WeaponType};
|
|
|
|
|
|
// use crate::entity::item::armor::{Armor, ArmorType};
|
|
|
|
|
|
// use crate::entity::item::shield::{Shield, ShieldType};
|
|
|
|
|
|
// use crate::entity::item::unit::{Unit, UnitType};
|
|
|
|
|
|
// use crate::entity::item::tool::{Tool, ToolType};
|
|
|
|
|
|
use crate::entity::character::SectionID;
|
|
|
use crate::entity::character::SectionID;
|
|
|
// use crate::ship::monster::MonsterType;
|
|
|
|
|
|
use crate::ship::room::{Difficulty, Episode};
|
|
|
use crate::ship::room::{Difficulty, Episode};
|
|
|
use crate::ship::map::MapArea;
|
|
|
use crate::ship::map::MapArea;
|
|
|
use crate::ship::drops::{ItemDropType, load_data_file};
|
|
|
use crate::ship::drops::{ItemDropType, load_data_file};
|
|
|