-
Notifications
You must be signed in to change notification settings - Fork 0
Available Calls
Here are all currently available and newly added calls
Technical breakdown/listing can be found on the main mod's repo. Change to the 1.4 branch if needed.
Any changes to existing calls will be documented here.
Documentation and call wrappers here (possibly indated (or outdated if 1.4), navigate to branches, swap to tags, and pick the latest version if you need to)
-
1.4 Update!
- Now works with the associated tml release for Terraria 1.4 content.
- Obsolete/Outdated calls from 1.3 are no longer supported in 1.4.
-
ClickerCompat changes
- No more manually calling
LoadandUnload
- No more manually calling
-
Additions/Changes
- Added more options for accessory/armor set calls to mirror new content
- Added
GetAccessoryItem/SetAccessoryItemfor accessories that cause projectile spawning (for proper tracking ofIProjectileSource) - Added
SetClickerProjectileDefaults,IsClickerWeaponProj, andRegisterClickerWeaponProjectile -
Colorvalue of theGetClickEffectAsDictreturn is nowFunc<Color> -
Actionvalue of theGetClickEffectAsDictreturn now hasProjectileSource_Item_WithAmmoas it's second parameter -
RegisterClickEffectnow has aFunc<Color>overload -
Actionparameter ofRegisterClickEffectnow hasProjectileSource_Item_WithAmmoas it's second parameter -
GetAccessory/SetAccessorychanges:-
EnchantedLED2now available -
Cookienow changed toCookieVisualandCookieVisual2for one of the two possible visuals for cookies. Use in conjunction withGetAccessoryItem/SetAccessoryItem+Cookie
-
Updated ClickerClassExampleMod:
- Please revisit the examples again to see how the new calls are used and which new calls are now mandatory.
-
Fixes
- Fixed some outdated calls not being handled properly
-
Additions/Changes
-
GetAccessory/SetAccessorynow accepts "GoldenTicket" and "PortableParticleAccelerator" - Added
SetDisplayMoneyGenerated
-
-
Fixes
- Fixed several SetPlayerStat stat limits:
clickerCrit,clickerDamage,clickerBonus,clickerBonusPercentandclickerRadius
- Fixed several SetPlayerStat stat limits:
-
Additions/Changes
-
RegisterClickEffectaccepts null for display name and description, useful if you wish to also use .lang for your mod -
GetClickEffectAsDictchanged"InternalName"representation, added"Mod"and"UniqueName"keys
-
-
Fixes
- Fixed
GetPlayerStat->clickAmountTotalcall not working at all, now also requires an effect name as a parameter
- Fixed
-
Removals/Changes
- Reminder that all of these are still backwards compatible, you don't HAVE to update your mod immediately
-
SetAmountis deleted -
SetEffectis obsolete -
GetAccessory/SetAccessory->ChocolateChip/StickyKeychainis obsolete
-
Additions/Changes
- Added
borderTextureparameter forRegisterClickerWeapon - Added
GetPathToBorderTexture - Added
RegisterClickEffect,IsClickEffect,AddEffect,GetAllEffectNames,GetClickEffectAsDict,EnableClickEffectandHasClickEffect - Added
GetPlayerStat->clickerPerSecond
- Added
Updated ClickerClassExampleMod:
- Added an advanced clicker weapon, with a custom outline, adding a custom effect which uses a custom clicker projectile
- Revisit the weapon clicker guide on the wiki for updated instructions
-
Fixed
ClickerCompat.GetClickAmount()andClickerCompat.GetClickerAmountTotal()returning float instead of int (API Breaking, update your mod if you were using that previously) -
Added Get and Set calls for accessory effects, and Get calls for armor sets:
GetArmorSet options: Motherboard, Overclock, Precursor, Mice
GetAccesory options: ChocolateChip, EnchantedLED, HandCream, StickyKeychain, GlassOfMilk, Cookie, ClickingGlove, AncientClickingGlove, RegalClickingGlove
SetAccessory options: ChocolateChip, EnchantedLED, EnchantedLED2, HandCream, StickyKeychain, GlassOfMilk, Cookie, Cookie2, ClickingGlove, AncientClickingGlove, RegalClickingGlove
No calls