| Line 58: |
Line 58: |
| | _eq_group_template = " (${eq_group})", | | _eq_group_template = " (${eq_group})", |
| | _fit_group_tooltip = "Fit group based on experimental findings", | | _fit_group_tooltip = "Fit group based on experimental findings", |
| − | _concentrated_label = "Concentrated", | + | --_concentrated_label = "Concentrated", |
| | _air_radar_label = "Air Radar", | | _air_radar_label = "Air Radar", |
| | _high_angle_label = "High-angle", | | _high_angle_label = "High-angle", |
| − | _plus_fire_director_label = " + Fire Director", | + | --_plus_fire_director_label = " + Fire Director", |
| | _library_name_label = "Library name", | | _library_name_label = "Library name", |
| | _list_name_label = "List name", | | _list_name_label = "List name", |
| Line 236: |
Line 236: |
| | if eq_type == 3 or eq_type == 38 then | | if eq_type == 3 or eq_type == 38 then |
| | self._vars.eq_group = format{self._eq_group_template, eq_group = Formatting:tooltip(Formatting:format_stat(self._equipment:gun_fit_group()), self._fit_group_tooltip)} | | self._vars.eq_group = format{self._eq_group_template, eq_group = Formatting:tooltip(Formatting:format_stat(self._equipment:gun_fit_group()), self._fit_group_tooltip)} |
| − | elseif eq_type == 21 then | + | --elseif eq_type == 21 then |
| − | local aa = self._equipment:aa()
| + | -- local aa = self._equipment:aa() |
| − | if aa and aa >= 9 then
| + | -- if aa and aa >= 9 then |
| − | self._vars.eq_group = format{self._eq_group_template, eq_group = self._concentrated_label}
| + | -- self._vars.eq_group = format{self._eq_group_template, eq_group = self._concentrated_label} |
| − | end
| + | -- end |
| | elseif eq_type == 12 or eq_type == 13 or eq_type == 93 then | | elseif eq_type == 12 or eq_type == 13 or eq_type == 93 then |
| | local aa = self._equipment:aa() | | local aa = self._equipment:aa() |
| Line 247: |
Line 247: |
| | end | | end |
| | else | | else |
| − | local icon = self._equipment:icon() | + | --local icon = self._equipment:icon() |
| − | if icon and icon == 16 then | + | --if icon and icon == 16 then |
| − | local aa = self._equipment:aa()
| + | -- local aa = self._equipment:aa() |
| − | local eq_group = self._high_angle_label
| + | -- local eq_group = self._high_angle_label |
| − | if aa and aa >= 8 then
| + | -- if aa and aa >= 8 then |
| − | eq_group = eq_group .. self._plus_fire_director_label
| + | -- eq_group = eq_group .. self._plus_fire_director_label |
| − | end
| + | -- end |
| − | self._vars.eq_group = format{self._eq_group_template, eq_group = eq_group}
| + | -- self._vars.eq_group = format{self._eq_group_template, eq_group = eq_group} |
| − | end | + | --end |
| | end | | end |
| | end | | end |