Add a new device that can be crafted by players, called a 'Dye Maker' acting like an extractor /separator of the RGB values of the Dyes.
The process goes like this:
1)Craft the device which will be on the ground, just like forge, fountain and such.
2)Activate the dye in your inventory and right click the device, click 'Add dye' and this will add your dye to the device, there is an amount that is lost for adding dye (this is set by server admin).
3)Activate any item and you get the action of 'check dye' this will tell you exactly how much dye has been stored in the device.
4)Activate a container that can hold dye in your inventory and right click device, click 'Extract Dye' and then you will get a window pop up asking you to set the values for the dye. Choose your RGB, quality and volume.
The game itself makes it very easy to make white dye which in the game at least is 255 255 255, so making white dye would add large amounts of each RGB, so there is a loss value to counter this which is set by the server admin, default is 50%. Then on the other side of the coin 0 0 0 is pure black and doing volume calculations on 0 would mean adding a tiny bit of dye you could extract thousands of volume of pure black, so there is a minimum value for the R G B extraction, which can be set by admin, default is 50. Which means the lowest RGB values possible to extract are 50, so 50 50 50, this makes a dark brown but not quite black colour.
Also a maxrgb value for adding dye, this is R+G+B, so you if set to 450 then you won't be able to add pure white of any ql.
perms, the player needs pickup perms on deed in order to extract dye, anyone can add dye and check how much dye but need perms to extract dye.
Note: this is a collaboration between 2 people, me and Angie, Angie did the models and they look awesome. There is a group of us working together at the moment in our own time to make more interesting things for wurm, including models. This is just the first released mod and there will no doubt be more to come. It has a new model, so the server will need to run serverpacks mod and the players will also need the client version of serverpacks mod in order to see the model.
Download mod: https://1drv.ms/u/s!AjnBltNOSFjChAaSk_G ... P?e=OQCEkZ