Page 1 of 1
Special DyeTub (CR)
Posted: Fri Jan 12, 2007 5:37 pm
by lokaum
Hi guys,
i want the special dyetub... +/- same from Chaotic Realm
you buy the dyetub of 1 charge.. you can use it in
Normal Clothes/Jewelry
Skill Clothers/Jewelry
All Armors
Can anyone help me?
im using with base the dyecheck.src
Posted: Sat Jan 13, 2007 1:53 pm
by MontuZ
This is one of those things you're going to have to do yourself. Or at least ask for some help on how to do such a thing.
Most of the people on this forum have no idea what Chaotic Realm was... excluding me. So don't be surprised if we look at you weird.

Posted: Tue Jan 16, 2007 1:28 am
by Yukiko
You want to be able to use the dye tub to dye other items besides clothes?
If so you'd need to decide whether it can be used on anything or if you want to limit what it can dye. If using it on anything is allowed then that isn't too hard to do.
Posted: Tue Jan 16, 2007 2:14 pm
by lokaum
im trying to make! thanks
Posted: Tue Jan 16, 2007 9:57 pm
by Yukiko
Look in \pol\pkg\skills\tailoring for the file dyeable.src
Look at lines 45-58 for this code:
Code: Select all
var element := FindConfigElem(cfg, item.objtype);
var dyeable := GetConfigInt(element, "dyeable");
if(dyeable == 1)
if((item.objtype == 0xfab) and (dyetub.color == 1))
SendSysMessage(who, "You cannot duplicate black dye tubs");
return;
else
item.color := dyetub.color;
PlaySoundEffect(who, 0x23f);
endif
else
SendSysMessage( who, "that item cannot be dyed");
return;
endif
if you want to allow people to dye anything with a dye tub then change those lines to the following code and compile the script. and restart the server.
Code: Select all
item.color := dyetub.color;
PlaySoundEffect(who, 0x23f);
keep in mind that now a dye tub will dye anything.