You are not logged in

An [effect] with apply_to=image_mod can contain color palettes and color ranges, which will be created if no color palette/range with the same ID exists already. These palettes continue existing until the user quits wesnoth.

This behavior is counterinituitive when testing changes, because reloading the data (F5 on the main screen) does not remove the old color palettes, so the next game session will still use the old palettes even though the specification has changed.

A better behavior would be to replace any palette with the same ID, or at least to clear the remembered palettes whenever the data is reloaded.

It would also be desirable to emit a warning whenever a palette ID conflict occurs.

Copyright (C) 2004-2006, the Gna! people. Posted items are owned by whoever posted them.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.