sound_type = other.sound_type;
sound_volume = other.sound_volume;
}
+ if(other.show_icon)
+ {
+ show_icon = true;
+ icon_shape = other.icon_shape;
+ icon_color = other.icon_color;
+ icon_size = other.icon_size;
+ }
+ if(other.show_beam)
+ {
+ show_beam = true;
+ beam_color = other.beam_color;
+ }
}
void Appearance::add_lines(FilterStatement &st) const
st.add_line(format("MinimapIcon %d %s %s", icon_size, icon_color, icon_shape));
if(sound_type)
+ {
st.add_line(format("PlayAlertSound %d %d", sound_type, sound_volume));
+ st.add_line("DisableDropSound");
+ }
if(show_beam)
st.add_line(format("PlayEffect %s", beam_color));