-
Notifications
You must be signed in to change notification settings - Fork 24
[1.4] Other Mod Calls
This mod provides more calls that just submitting entries for the checklist or boss log. [TODO: More explanation and add other mod calls]
If your mod adds collectibles, spawn items, or npcs to either a vanilla entry or another mod's entry, you can do so using this mod call.
string
The first argument needed is what type of data you are submitting.
Use this call if your mod adds an item to any boss's loot ONLY IF it is not dropped through normal means. This mod call should be solely used for items that are not dropped by any npc type within a boss's IDs. For example, the Torch God NPC itself does not drop the Torch God's Favor, but instead just 'places' it inside a player's inventory.
Use this call if your mod provides a special item to another mod's boss such as a new Music Box or vanity. This is also for mods that add a new universal collectible item such as a trading card or figurine. Collection types will automatically be detected.
Use this call if your mod adds a spawn item to a vanilla boss or to a boss of another mod. Crafting recipes for all submitted items are automatically detected. Note: there is currently no way to add spawn information.
Use this call if your mod adds npc to any event, whether its vanilla or modded. If you have setup the npc's drops properly, the event's loot table should automatically update.
string
To obtain a boss's key, simply open Boss Checklist's debug configs and turn on 'Access Internal Names'. When its on, you'll be able to go to the boss page you want to add to and use the copy buttons next to the name to get the boss key.
int or List<int>
The type/ID of your item(s) or npc(s). Please use ModContent.ItemType<>()
and ModContent.NPCType<>()
respectively.