public virtual bool Dye(Mobile mob, DyeTub sender) { if (mob == null || sender == null || !mob.CanSee(sender) || !sender.IsAccessibleTo(mob)) { return(false); } Hue = sender.DyedHue; return(true); }
public override bool Dye(Mobile from, DyeTub sender) { if (from == null || sender == null || !from.CanSee(sender) || !sender.IsAccessibleTo(from)) { return(false); } if (!(sender is FurnitureDyeTub)) { return(false); } return(base.Dye(from, sender)); }