ID:145851
 
Code:
turf
paintable
painted=1


verb/Paint()
if(usr.paintbrush && usr.paint)
origicon = src.icon
origstate = src.icon_state
usr<<"Working on it."
var/r=input("How much red?","Painting") as num
var/b=input("How much blue?","Painting") as num
var/g=input("How much green?","Painting") as num
src.icon+=rgb(r,g,b)
usr.paintexp+=1
src.filthy=1
for(var/mob/M in world)
M.paint()


Problem description:
src.icon+=rgb(r,g,b) doesn't work! :O!

Look up SwapColor().
In response to Mega fart cannon
And how exactly do I figure out the RBG of a just created icon? o.o
In response to Mysame
bump. Yes, this is a bump like it's supposed to be.
In response to Mysame
in the icon editor put your mouse over the icon and it will tell you in the bottom right corner.
In response to Xx Dark Wizard xX
Of course, only problem being every icon has 10+ different RBG's in it. So that doesn't really work.
In response to Mysame
Yes it will, hold it on different colors of the icon.
In response to Xx Dark Wizard xX
I just used atom.icon=rgb(..), way more easier o.O