Line 314: |
Line 314: |
| end | | end |
| | | |
− | function Formatting:format_remodel_level_and_item_cost(remodel_level, blueprint, catapult, report, gunmat, airmat, armament) | + | function Formatting:format_remodel_level_and_item_cost(remodel_level, blueprint, catapult, report, gunmat, airmat, armament, overseas) |
− | local item_requirements = self:format_remodel_items(blueprint, catapult, report, gunmat, airmat, armament) | + | local item_requirements = self:format_remodel_items(blueprint, catapult, report, gunmat, airmat, armament, overseas) |
| if remodel_level == nil then | | if remodel_level == nil then |
| remodel_level = "??" | | remodel_level = "??" |
Line 332: |
Line 332: |
| end | | end |
| | | |
− | function Formatting:format_remodel_items(blueprint, catapult, report, gunmat, airmat, armament) | + | function Formatting:format_remodel_items(blueprint, catapult, report, gunmat, airmat, armamen, overseas) |
| local items = {} | | local items = {} |
| -- explicit items | | -- explicit items |
Line 354: |
Line 354: |
| table.insert(items, self:format_remodel_item("new_model_armament_material_item", armament)) | | table.insert(items, self:format_remodel_item("new_model_armament_material_item", armament)) |
| end | | end |
| + | if overseas then |
| + | table.insert(items, self:format_remodel_item("latest_overseas_warship_technology_item", overseas)) |
| + | end |
| return #items > 0 and table.concat(items, " ") or nil | | return #items > 0 and table.concat(items, " ") or nil |
| end | | end |
Line 725: |
Line 728: |
| new_model_armament_material = "New Model Armament Material", | | new_model_armament_material = "New Model Armament Material", |
| new_model_armament_material_item = "New Model Armament Material", | | new_model_armament_material_item = "New Model Armament Material", |
| + | latest_overseas_warship_technology = "Latest Overseas Warship Technology", |
| + | latest_overseas_warship_technology_item = "Latest Overseas Warship Technology", |
| }) | | }) |
| | | |