Changes

no edit summary
Line 21: Line 21:  
_localized_name_template = "<br />''${localized_name}''",
 
_localized_name_template = "<br />''${localized_name}''",
 
_kekkon_max_template = "Maximum after marriage: ${value}",
 
_kekkon_max_template = "Maximum after marriage: ${value}",
_kekkon_template = "After marriage: ${value}",
+
_kekkon_template = "After marriage: ${value}; Upper bound: ${max}",
 
_remodel_level_stat_value_template = "At remodel level: ${value}",
 
_remodel_level_stat_value_template = "At remodel level: ${value}",
 
_nick_template = " (''${nick} ${japanese_nick}'')",
 
_nick_template = " (''${nick} ${japanese_nick}'')",
Line 240: Line 240:  
self._vars.hp = Formatting:tooltip(self._vars.hp, format{
 
self._vars.hp = Formatting:tooltip(self._vars.hp, format{
 
    self._kekkon_template,
 
    self._kekkon_template,
    value = hp_mod and hp_mod > 0 and Formatting:format_stat_with_max(hp, hp + hp_mod) or Formatting:format_stat(hp)
+
    value = hp_mod and hp_mod > 0 and Formatting:format_stat_with_max(hp, hp + hp_mod) or Formatting:format_stat(hp),
 +
    max = Formatting:format_stat(self._ship:hp_max())
 
         })
 
         })
 
end
 
end
cssedit, gkautomate
7,064

edits