Changes

m
Altered how BP/Catapult is checked at Kyori's suggestion.
Line 124: Line 124:  
         remodelammo = remodelammo .. ' ' .. shipmodule.data[shipNum]["remodelreq"][2]
 
         remodelammo = remodelammo .. ' ' .. shipmodule.data[shipNum]["remodelreq"][2]
 
         remodelinfo = remodelsteel .. ' ' .. remodelammo
 
         remodelinfo = remodelsteel .. ' ' .. remodelammo
         if shipmodule.data[shipNum]["remodelreq"][3] ~= nil then
+
         if shipmodule.data[shipNum]["remodelreq"][3] == 1 then
 
         local remodelBP = '[[File:IcoBlueprint.png|18px|Blueprint]]'
 
         local remodelBP = '[[File:IcoBlueprint.png|18px|Blueprint]]'
 
         remodelinfo = remodelinfo .. ' ' .. remodelBP
 
         remodelinfo = remodelinfo .. ' ' .. remodelBP
 
     end
 
     end
     if shipmodule.data[shipNum]["remodelreq"][4] ~= nil then
+
     if shipmodule.data[shipNum]["remodelreq"][4] == 2 then
 
         local remodelCatapult = '[[File:IcoCatapult.png|18px|Prototype Flight Deck Catapult]]'
 
         local remodelCatapult = '[[File:IcoCatapult.png|18px|Prototype Flight Deck Catapult]]'
 
         remodelinfo = remodelinfo .. ' ' .. remodelCatapult
 
         remodelinfo = remodelinfo .. ' ' .. remodelCatapult
3,663

edits