Changes

Hackish attempt to include more format_bonus_text _formats. Will still need to do something about "DD-class" for "_bonuses".
Line 331: Line 331:  
     local with_formats = {
 
     local with_formats = {
 
         ["Radar"] = "[[File:Radar.png|link=Radar|Radar with accuracy ≥ 3]]",
 
         ["Radar"] = "[[File:Radar.png|link=Radar|Radar with accuracy ≥ 3]]",
 +
        ["SRadar"] = "[[File:Radar.png|link=Radar|Surface Radar with accuracy ≥ 3]]",
 +
        ["ARadar"] = "[[File:Radar.png|link=Radar|Air Radar with accuracy ≥ 3]]",
 +
        ["53Torpedo"] = "[[File:Torpedo.png|link=53cm Twin Torpedo Mount|53cm Twin Torpedo Mount]]",
 +
        ["61Torpedo"] = "[[File:Torpedo.png|link=:Category:Equipment_fits_with_12.7cm_Single_High-angle_Gun_Mount_(Late_Model)|Fits with 61cm Triple Torpedo Mount and 61cm Triple (Oxygen) Torpedo Mount only]]",
 
     }
 
     }
 
     local with = desc._with and with_formats[desc._with] and " " .. with_formats[desc._with] or ""
 
     local with = desc._with and with_formats[desc._with] and " " .. with_formats[desc._with] or ""
104

edits