I rhink tea buffs should buff the amount of XP you get from gathering. I've actually implemented this on my server. The sollution is not perfect but it gives a base line. I modified the levelHandler() function.
float teabuff = 0;
if (player.modifiers.All.Count>0)
{
Modifier.ModifierType target;
switch (skill)
{
case "WC":
target = Modifier.ModifierType.Wood_Yield;
break;
case "M":
target = Modifier.ModifierType.Ore_Yield;
break;
default:
target = Modifier.ModifierType.Scrap_Yield;
break;
}
foreach (var modifier in player.modifiers.All)
{
if (target != Modifier.ModifierType.Scrap_Yield && modifier.Type == target)
{
teabuff = modifier.Value*pointsToGet;
}
}
}
Points += Convert.ToInt64(pointsToGet * (xpMultiplier / 100f)+teabuff);