@@ -22,7 +22,7 @@ internal static class ClickerCompat
2222
2323 //This is the version of the calls that are used for the mod.
2424 //If Clicker Class updates, it will keep working on the outdated calls, but new features might not be available
25- internal static readonly Version apiVersion = new Version ( 1 , 2 , 4 ) ;
25+ internal static readonly Version apiVersion = new Version ( 1 , 2 , 6 ) ;
2626
2727 internal static string versionString ;
2828
@@ -279,6 +279,15 @@ internal static void SetDisplayTotalClicks(Item item)
279279 {
280280 ClickerClass ? . Call ( "SetDisplayTotalClicks" , versionString , item ) ;
281281 }
282+
283+ /// <summary>
284+ /// Call in <see cref="ModItem.SetDefaults"/> for a clicker item to make it display total money generated in the tooltip
285+ /// </summary>
286+ /// <param name="item">The clicker class item</param>
287+ internal static void SetDisplayMoneyGenerated ( Item item )
288+ {
289+ ClickerClass ? . Call ( "SetDisplayMoneyGenerated" , versionString , item ) ;
290+ }
282291 #endregion
283292
284293 #region Player Calls
@@ -332,7 +341,7 @@ internal static bool GetArmorSet(Player player, string set)
332341
333342 /// <summary>
334343 /// Call to check if a specific accessory effect is enabled (i.e. "Gamer Crate" will have multiple effects enabled). Supported accessories:
335- /// ChocolateChip, EnchantedLED, HandCream, StickyKeychain, GlassOfMilk, Cookie, ClickingGlove, AncientClickingGlove, RegalClickingGlove.
344+ /// ChocolateChip, EnchantedLED, HandCream, StickyKeychain, GlassOfMilk, Cookie, ClickingGlove, AncientClickingGlove, RegalClickingGlove, GoldenTicket, PortableParticleAccelerator .
336345 /// Visual variants (i.e. EnchantedLED2) are not gettable
337346 /// </summary>
338347 /// <param name="player">The player</param>
0 commit comments