Because we reserved a range of ten item IDs for each recolorable item. The item IDs 2050 - 2059 are the differently colored cotton shirts, 2060 - 2069 are the v-neck sweaters, 2070 - 2079 are the t-neck sweaters and so on.

Adding an eleventh color would create a mess in the database and would also make writing recolorisation scripts much more complicated.

Yes, we are aware that this structure is hellish unflexible. It is merely a short term solution to show off our dyeing system while we are still using eAthena.

My idea is to do this differently on TMWServ, though. Each recolorable item will only have one entry in the items.xml and the colorisation will be a property of each individual instance of the item. It can either be a value from a list of predefined colors or even a completely custom color gradient. I would also like to add an engine which allows to calculate custom dyeing palettes on the fly by mixing colors. The idea is that when you have a gray metal armor and put a fire enchantment on it the armor gets a red tint whichs intensity depends on the power of the enchantment. Then you apply blue dyestuff to it and the armor becomes a shade of purple.

former Manasource Programmer

former TMW Pixel artist

NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.

You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.