Line 55: |
Line 55: |
| _ship_image_template = "${ship_type} ${ship_name} ${api_id:3} ${image_type}.${extension}", | | _ship_image_template = "${ship_type} ${ship_name} ${api_id:3} ${image_type}.${extension}", |
| _ship_image_simple_template = "${ship_name} ${image_type}.${extension}", | | _ship_image_simple_template = "${ship_name} ${image_type}.${extension}", |
− | _equipment_image_template = "${equipment_name} ${api_id:3} ${image_type}.png", | + | _equipment_image_template = "Equipment ${image_type} ${equipment_name}.png", |
| _equipment_image_template_simple = "${equipment_name} ${image_type}.png", | | _equipment_image_template_simple = "${equipment_name} ${image_type}.png", |
| _item_image_template = "Item ${type} ${name}.png", | | _item_image_template = "Item ${type} ${name}.png", |
Line 281: |
Line 281: |
| | | |
| function Formatting:equipment_image(image_type, api_id, equipment_name) | | function Formatting:equipment_image(image_type, api_id, equipment_name) |
− | if api_id == false then
| + | return format{self._equipment_image_template, image_type = image_type, api_id = api_id, equipment_name = equipment_name} |
− | return format{self._equipment_image_template_simple, image_type = image_type, equipment_name = equipment_name}
| |
− | else
| |
− | return format{self._equipment_image_template, image_type = image_type, api_id = api_id, equipment_name = equipment_name}
| |
− | end
| |
| end | | end |
| | | |