Example #1
0
        private static Tuple <string, string> PreprocessTooltip(ItemDrop.ItemData item, string label, string value)
        {
            if (label == "$item_crafter")
            {
                value = item.GetCrafterName();
            }

            return(new Tuple <string, string>(label, value));
        }
Example #2
0
 public static bool Prefix(ItemDrop.ItemData item, int qualityLevel, bool crafting)
 {
     _realData          = item.m_crafterName;
     item.m_crafterName = item.GetCrafterName();
     return(true);
 }