Changes

Undo revision 179039 by Jigaraphale (talk)
Line 10: Line 10:  
! rowspan=2 style="width:30px;" | ⇒
 
! rowspan=2 style="width:30px;" | ⇒
 
! colspan=3 | After Remodel
 
! colspan=3 | After Remodel
! colspan=12 | Required Resources
+
! colspan=11 | Required Resources
 
|-
 
|-
 
! style="width: 50px;" | No.
 
! style="width: 50px;" | No.
Line 29: Line 29:  
! style="width: 30px;" | ${gunmat}
 
! style="width: 30px;" | ${gunmat}
 
! style="width: 30px;" | ${airmat}
 
! style="width: 30px;" | ${airmat}
! style="width: 30px;" | ${armament}
+
! style="width: 30px;" | ${armament}]],
! style="width: 30px;" | ${overseas}]],
   
_header_template_bottom = [[! style="width: 50px;" | No.
 
_header_template_bottom = [[! style="width: 50px;" | No.
 
! style="width: 100px;" | Name
 
! style="width: 100px;" | Name
Line 50: Line 49:  
! style="width: 30px;" | ${airmat}
 
! style="width: 30px;" | ${airmat}
 
! style="width: 30px;" | ${armament}
 
! style="width: 30px;" | ${armament}
! style="width: 30px;" | ${overseas}
   
|-
 
|-
 
! colspan=4 | Before Remodel
 
! colspan=4 | Before Remodel
 
! colspan=3 | After Remodel
 
! colspan=3 | After Remodel
! colspan=12 | Required Resources]],
+
! colspan=11 | Required Resources]],
 
_columns = {
 
_columns = {
 
"id",
 
"id",
Line 75: Line 73:  
"airmat",
 
"airmat",
 
"armament",
 
"armament",
"overseas",
   
},
 
},
 
_empty_cell = [[| style="text-align: center; vertical-align: middle;" | -]],
 
_empty_cell = [[| style="text-align: center; vertical-align: middle;" | -]],
Line 164: Line 161:  
airmat = "new_model_aerial_armament_material_item",
 
airmat = "new_model_aerial_armament_material_item",
 
armament = "new_model_armament_material_item",
 
armament = "new_model_armament_material_item",
overseas = "latest_overseas_warship_technology_item",
   
}
 
}
 
value = special_items[item] and Formatting:format_item_requirement(special_items[item], value, true) or value
 
value = special_items[item] and Formatting:format_item_requirement(special_items[item], value, true) or value
Line 220: Line 216:  
function ShipRemodelListKai:armament(ship)
 
function ShipRemodelListKai:armament(ship)
 
return self:remodel_item(ship, 'armament')
 
return self:remodel_item(ship, 'armament')
end
  −
  −
function ShipRemodelListKai:overseas(ship)
  −
return self:remodel_item(ship, 'overseas')
   
end
 
end
   Line 243: Line 235:  
airmat = ResourceIcons.new_model_aerial_armament_material,
 
airmat = ResourceIcons.new_model_aerial_armament_material,
 
armament = ResourceIcons.new_model_armament_material,
 
armament = ResourceIcons.new_model_armament_material,
overseas = ResourceIcons.latest_overseas_warship_technology,
   
}
 
}
 
for key, value in pairs(header_icons) do
 
for key, value in pairs(header_icons) do
40,380

edits