not handling mag cell usage in feeding
This commit is contained in:
		
							parent
							
								
									acd4e57d1d
								
							
						
					
					
						commit
						9e275d23a0
					
				@ -1023,9 +1023,6 @@ impl Mag {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub fn feed(&mut self, tool: ToolType) {
 | 
			
		||||
        if tool.is_mag_cell() {
 | 
			
		||||
            //do_mag_cell_thing()
 | 
			
		||||
        }
 | 
			
		||||
        let previous_level = self.level();
 | 
			
		||||
        MAG_STATS.get(&self.mag).map(|stats| {
 | 
			
		||||
            MAG_FEEDING_TABLES.get(stats.feed_table).map(|feeding_table| {
 | 
			
		||||
@ -1156,7 +1153,6 @@ mod test {
 | 
			
		||||
        for _ in 0..284 {
 | 
			
		||||
            mag.feed(ToolType::Dimate);
 | 
			
		||||
        }
 | 
			
		||||
        //println!("mag! {:?}", mag);
 | 
			
		||||
        assert!(mag == Mag {
 | 
			
		||||
            mag: MagType::Sato,
 | 
			
		||||
            def: 507,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user