|  | @@ -29,9 +29,23 @@ class WeaponImageApplier(ImageApplier):
 | 
	
		
			
			| 29 | 29 |  
 | 
	
		
			
			| 30 | 30 |      def get_images_scheme(self) -> typing.Dict[str, typing.Dict[str, str]]:
 | 
	
		
			
			| 31 | 31 |          from opencombat.gui.actor import MAN_STAND_UP
 | 
	
		
			
			|  | 32 | +        from opencombat.gui.actor import MAN_CRAWLING
 | 
	
		
			
			| 32 | 33 |          return {
 | 
	
		
			
			| 33 | 34 |              MAN_STAND_UP: {
 | 
	
		
			
			| 34 |  | -                RIFFLE: 'actors/man_weap1.png',
 | 
	
		
			
			|  | 35 | +                RIFFLE: [
 | 
	
		
			
			|  | 36 | +                    'actors/man_weap1.png'
 | 
	
		
			
			|  | 37 | +                ],
 | 
	
		
			
			|  | 38 | +            },
 | 
	
		
			
			|  | 39 | +            # FIXME NOW
 | 
	
		
			
			|  | 40 | +            # MAN_CRAWLING: {
 | 
	
		
			
			|  | 41 | +            'CRAWL': {
 | 
	
		
			
			|  | 42 | +                RIFFLE: [
 | 
	
		
			
			|  | 43 | +                    'actors/man_c1_weap1.png',
 | 
	
		
			
			|  | 44 | +                    'actors/man_c2_weap1.png',
 | 
	
		
			
			|  | 45 | +                    'actors/man_c3_weap1.png',
 | 
	
		
			
			|  | 46 | +                    'actors/man_c4_weap1.png',
 | 
	
		
			
			|  | 47 | +                ],
 | 
	
		
			
			|  | 48 | +
 | 
	
		
			
			| 35 | 49 |              }
 | 
	
		
			
			| 36 | 50 |          }
 | 
	
		
			
			| 37 | 51 |  
 | 
	
	
		
			
			|  | @@ -39,7 +53,24 @@ class WeaponImageApplier(ImageApplier):
 | 
	
		
			
			| 39 | 53 |          try:
 | 
	
		
			
			| 40 | 54 |              # FIXME Cache
 | 
	
		
			
			| 41 | 55 |              image_file_path = self.path_manager.path(
 | 
	
		
			
			| 42 |  | -                self._images_scheme[mode][weapon_type],
 | 
	
		
			
			|  | 56 | +                self._images_scheme[mode][weapon_type][0],
 | 
	
		
			
			|  | 57 | +            )
 | 
	
		
			
			|  | 58 | +            return Image.open(image_file_path)
 | 
	
		
			
			|  | 59 | +        except KeyError:
 | 
	
		
			
			|  | 60 | +            raise UnknownWeapon(
 | 
	
		
			
			|  | 61 | +                'Unknown weapon "{}" for mode "{}"'.format(weapon_type, mode),
 | 
	
		
			
			|  | 62 | +            )
 | 
	
		
			
			|  | 63 | +
 | 
	
		
			
			|  | 64 | +    def get_animation_image_for_weapon(
 | 
	
		
			
			|  | 65 | +        self,
 | 
	
		
			
			|  | 66 | +        mode: str,
 | 
	
		
			
			|  | 67 | +        weapon_type: str,
 | 
	
		
			
			|  | 68 | +        animation_position: int,
 | 
	
		
			
			|  | 69 | +    ) -> Image.Image:
 | 
	
		
			
			|  | 70 | +        try:
 | 
	
		
			
			|  | 71 | +            # FIXME Cache
 | 
	
		
			
			|  | 72 | +            image_file_path = self.path_manager.path(
 | 
	
		
			
			|  | 73 | +                self._images_scheme[mode][weapon_type][animation_position],
 | 
	
		
			
			| 43 | 74 |              )
 | 
	
		
			
			| 44 | 75 |              return Image.open(image_file_path)
 | 
	
		
			
			| 45 | 76 |          except KeyError:
 |