Browse Source

cleanup

pbs
jake 5 years ago
parent
commit
a32a7130f4
  1. 8
      src/ship/drops/mod.rs

8
src/ship/drops/mod.rs

@ -98,13 +98,6 @@ pub struct ItemDrop {
pub item: ItemDropType,
}
impl ItemDrop {
pub fn as_client_bytes(&self) -> u8 {
0
}
}
pub struct DropTable<R: Rng + SeedableRng> {
monster_stats: HashMap<MonsterType, MonsterDropStats>,
@ -118,7 +111,6 @@ pub struct DropTable<R: Rng + SeedableRng> {
rng: R,
}
impl<R: Rng + SeedableRng> DropTable<R> {
pub fn new(episode: Episode, difficulty: Difficulty, section_id: SectionID) -> DropTable<R> {
let monster_stats: HashMap<String, MonsterDropStats> = load_data_file(episode, difficulty, section_id, "monster_dar.toml");

Loading…
Cancel
Save