ID:149456
 
I have no idea where in my coding to put this proc, or the syntax, any help would be appreciated....
oh, and let's say i wanted to have swords that could be made out of copper or iron, and i wanted to swap 000,000,000
with color XXX,YYY,ZZZ... how would i do this in a var/obj/item/sword/Sword variable declaration?

so like Sword.metal is the determining thingy, lets say

New()
If(Sword.metal=="iron")
(INSERT SNIPPET A HERE)
If(Sword.metal=="copper")
(INSERT SNIPPET B HERE)

how would i use the swap color proc?