Mod Calls (Gensokyo)

From Terraria Mods Wiki
Jump to navigation Jump to search


Mod Calls are special functions that can be used a mod to access or modify properties of another mod. This page lists the Mod Calls provided by the Gensokyo mod.

Function Description Parameters Return value
DowsingRodOre Add an ore item and its associated tile to those searched for by the Dowsing Rod. It consumes one ore to find a nearby deposit of the same ore. (int) The ID of the ore item
(int) The ID of the associated tile
(string) Whether the set was successfully added, and an error message if not.
DowsingRodGem Add a gem item and its associated tile to those searched for by the Dowsing Rod. It consumes one gem to find a nearby deposit of any gem. (int) The ID of the gem item
(int) The ID of the associated tile
(string) Whether the set was successfully added, and an error message if not.
AddTransferableDebuff Add a debuff to the set of debuffs that can be absorbed by the Red Ribbon. (int) The ID of the debuff (string) Whether the debuff was successfully added, and an error message if not.
TimestopImmuneNPC Make an NPC immune to the Luna Dial's timestop. (int) The ID of the NPC (string) Whether the operation was successful, and an error message if not.
TimestopImmuneProjectile Make a projectile immune to the Luna Dial's timestop. (int) The ID of the projectile (string) Whether the operation was successful, and an error message if not.
UnalterableProjectile Make a projectile immune to the Vector Reversal's effects. (int) The ID of the projectile (string) Whether the operation was successful, and an error message if not.