diff --git a/src/ship/drops/mod.rs b/src/ship/drops/mod.rs index 294eed4..0f2e7c3 100644 --- a/src/ship/drops/mod.rs +++ b/src/ship/drops/mod.rs @@ -1,3 +1,9 @@ +// TODO: there is some structure duplication that occurs here: +// the rare and box tables instantiate their own copies of the +// generic drop tables as they need them to apply their modifiers +// to their drops + + mod drop_table; mod rare_drop_table; mod generic_weapon; @@ -78,16 +84,18 @@ pub enum ItemDropType { Shield(shield::Shield), Unit(unit::Unit), Tool(tool::Tool), + //Tools(Vec), TechniqueDisk(tech::TechniqueDisk), Mag(mag::Mag), Meseta(u32), } -struct ItemDrop { - x: f32, - y: f32, - z: f32, - item: ItemDropType, +pub struct ItemDrop { + pub map_area: MapArea, + pub x: f32, + pub y: f32, + pub z: f32, + pub item: ItemDropType, } impl ItemDrop {