Skip to content

Mod.Call Info

pbone edited this page Jun 12, 2021 · 2 revisions

Every Mod.Call call should begin with a string specifying what it is, referred to here as the "Message". This page may be ahead of the public version of the mod, double check the "Added" bullet point to make sure it's available in the version you're working with.

Mysterious Trader

  • Message: "MysteriousTraderItem"
    • Args: (Mod) instance of mod calling it, (int) type of item to be added, (byte) rarity (see below), (Func<bool></bool>) condition for it to appear
    • Description: Adds an item to the mysterious traders shop pool with the supplied information. Items added through this method are rolled and added independently from the base items.
    • Rarities: Common (Mysterious Trader sells 3-5 of these), Rare (Mysterious Trader sells 2 of these), Legendary (Mysterious Trader has a 10% chance to sell one of these)
    • Added: v1.1.1

Clone this wiki locally