Changes

no edit summary
Line 234: Line 234:  
     style = string.format(
 
     style = string.format(
 
     'text-align: center; height: 35px; background: #%s; color:#000',
 
     'text-align: center; height: 35px; background: #%s; color:#000',
     supp and 'add8e6' or i % 2 == 0 and '' or backgrounds[e.maparea_id] or backgrounds[0]
+
     i % 2 == 0 and '' or backgrounds[e.maparea_id] or backgrounds[0]
 
     ),
 
     ),
 
     id = tooltip(id, 'ID number as displayed in game') .. string.format(' (%s)', diffs[e.difficulty]),
 
     id = tooltip(id, 'ID number as displayed in game') .. string.format(' (%s)', diffs[e.difficulty]),
 
     name = (e.damage_type == 1 and string.format('<span style="color:red">%s</span>', tooltip(e.name, e.details)) or tooltip(e.name, e.details)) .. (e.reset_type == 1 and string.format(' (%s)', tooltip('M', 'Monthly expedtion')) or ''),
 
     name = (e.damage_type == 1 and string.format('<span style="color:red">%s</span>', tooltip(e.name, e.details)) or tooltip(e.name, e.details)) .. (e.reset_type == 1 and string.format(' (%s)', tooltip('M', 'Monthly expedtion')) or ''),
 
     time = tooltip(formatTime(e.time), 'Time required for expedition'),
 
     time = tooltip(formatTime(e.time), 'Time required for expedition'),
    desc = string.format('%s', args.explicit[id .. ' desc'] or ''),
   
     hq = tooltip(formatAmount(args.explicit[id .. ' hq'], hourly and e.time, e.reset_type), 'Admiral experience gained upon completion from this expedition'),
 
     hq = tooltip(formatAmount(args.explicit[id .. ' hq'], hourly and e.time, e.reset_type), 'Admiral experience gained upon completion from this expedition'),
 
     ship = tooltip(formatAmount(args.explicit[id .. ' ship'], hourly and e.time, e.reset_type), 'Ship experience gained upon completion from this expedition'),
 
     ship = tooltip(formatAmount(args.explicit[id .. ' ship'], hourly and e.time, e.reset_type), 'Ship experience gained upon completion from this expedition'),
Line 254: Line 253:  
     fuel_cost = e.use_fuel > 0 and '-' .. 10 * e.use_fuel or '',
 
     fuel_cost = e.use_fuel > 0 and '-' .. 10 * e.use_fuel or '',
 
     ammo_cost = e.use_bull > 0 and '-' .. 10 * e.use_bull or '',
 
     ammo_cost = e.use_bull > 0 and '-' .. 10 * e.use_bull or '',
 +
    desc = string.format('%s', args.explicit[id .. ' desc'] or ''),
 
   }
 
   }
 
end
 
end