(User:Nalyddd)
Jump to navigation
Jump to search
I am nalyddd, creator of Aequus.
Sandbox
Mod Calls are special functions provided by tModLoader that mod creators can use to interact with Aequus in certain ways. They are accessible through Mod.Call
and a given call name; for more details, see the tModLoader wiki. This page lists the mod call functions Aequus currently adds.
This page expects you to have an understanding of Terraria mod coding, and how to utilize Mod.Call.
If you would like to view the code for handling mod calls, you can find it here
Important Information
All Calls are required to have atleast 1 parameter. A string
, which is the name of the call.
Examples
The simplest way to get an instance of Aequus:
if (ModLoader.TryGetMod("Aequus", out Mod aequus)) } // A call goes here }
Example of some mod calls.
aequus.Call("downedCrabson", Mod); // Returns whether Crabson has been defeated. aequus.Call("downedCrabson", Mod, true); // Sets Crabson to defeated.
Mod Calls
Call | Parameters | Result |
---|---|---|
AbominationnClearEvents
|
• Boolean (canClearEvents)
|
Boolean |
RemoveExpertExclusivity
|
• (Optional) Boolean (value)
|
Boolean |
TestCall
|
• (Optional) Boolean (value)
• List{String} (things)
|
Boolean |