FunctionsDialogChangeItemColorDialogChangeItemColor CallableDialogChangeItemColor(C: Character, Color: string): voidValidates that the player is allowed to change the item color and swaps it on the flyParametersC: CharacterThe player who wants to change the colorColor: stringThe new color in the format "#rrggbb"Returns voidNothing
Validates that the player is allowed to change the item color and swaps it on the fly