@@ -227,18 +227,50 @@ public static float GetClickerRadius(Player player)
227227 /// Call to get the players' click amount (how many clicks done)
228228 /// </summary>
229229 /// <param name="player">The player</param>
230- public static float GetClickAmount ( Player player )
230+ public static int GetClickAmount ( Player player )
231231 {
232- return ClickerClass ? . Call ( "GetPlayerStat" , versionString , player , "clickAmount" ) as float ? ?? 0 ;
232+ return ClickerClass ? . Call ( "GetPlayerStat" , versionString , player , "clickAmount" ) as int ? ?? 0 ;
233233 }
234234
235235 /// <summary>
236236 /// Call to get the players' total clicks required for the next effect to trigger
237237 /// </summary>
238238 /// <param name="player">The player</param>
239- public static float GetClickerAmountTotal ( Player player )
239+ public static int GetClickerAmountTotal ( Player player )
240240 {
241- return ClickerClass ? . Call ( "GetPlayerStat" , versionString , player , "clickerAmountTotal" ) as float ? ?? 1 ;
241+ return ClickerClass ? . Call ( "GetPlayerStat" , versionString , player , "clickerAmountTotal" ) as int ? ?? 1 ;
242+ }
243+
244+ /// <summary>
245+ /// Call to check if the player is wearing a specific set. Supported sets:
246+ /// Motherboard, Overclock, Precursor, Mice
247+ /// </summary>
248+ /// <param name="player">The player</param>
249+ public static bool GetArmorSet ( Player player , string set )
250+ {
251+ return ClickerClass ? . Call ( "GetArmorSet" , versionString , player , set ) as bool ? ?? false ;
252+ }
253+
254+ /// <summary>
255+ /// Call to check if a specific accessory effect is enabled (i.e. "Gamer Crate" will have multiple effects enabled). Supported accessories:
256+ /// ChocolateChip, EnchantedLED, HandCream, StickyKeychain, GlassOfMilk, Cookie, ClickingGlove, AncientClickingGlove, RegalClickingGlove.
257+ /// Visual variants (i.e. EnchantedLED2) are not gettable
258+ /// </summary>
259+ /// <param name="player">The player</param>
260+ public static bool GetAccessory ( Player player , string accessory )
261+ {
262+ return ClickerClass ? . Call ( "GetAccessory" , versionString , player , accessory ) as bool ? ?? false ;
263+ }
264+
265+ /// <summary>
266+ /// Call to set a specific player accessory effect (i.e. to emulate "Gamer Crate" you need to have set multiple effects). Supported accessories:
267+ /// ChocolateChip, EnchantedLED, HandCream, StickyKeychain, GlassOfMilk, Cookie, ClickingGlove, AncientClickingGlove, RegalClickingGlove.
268+ /// EnchantedLED and Cookie have a variant with "2" added to them that is a visual variation.
269+ /// </summary>
270+ /// <param name="player">The player</param>
271+ public static void SetAccessory ( Player player , string accessory )
272+ {
273+ ClickerClass ? . Call ( "SetAccessory" , versionString , player , accessory ) ;
242274 }
243275
244276 /// <summary>
0 commit comments