blueskynax.blogg.se

Terraria mods tmodloader download
Terraria mods tmodloader download











More.Īutomatically sets certain static defaults. Use this method to force or stop an autoload or change the internal name. Return true to allow autoloading by default returns the mod's autoload property. More.Īllows you to automatically load an item instead of using Mod.AddItem. This information is used for when the player is holding down the auto-select hotkey. More.ĪutoLightSelect (ref bool dryTorch, ref bool wetTorch, ref bool glowstick)Īllows you to tell the game whether this item is a torch that cannot be placed in liquid, a torch that can be placed in liquid, or a glowstick. Override this if you do not want the properties to be set for you. More.Īutomatically sets certain defaults. Use the player.armorEffectDraw bools to activate the desired effects. Note that this hook is only ever called through this item's associated equipment texture. More.Īllows you to determine special visual effects this vanity set has on the player without having to code them yourself. Also note that this hook is only ever called through this item's associated equipment texture. Note that this is only called for body armor. More.ĪrmorArmGlowMask (Player drawPlayer, float shadow, ref int glowMask, ref Color color)Īllows you to modify which glow mask and in what color is drawn on the player's arms. The description parameter is his dialogue, and catchLocation should be set to "\n(Caught at )". More.ĪnglerQuestChat (ref string description, ref string catchLocation)Īllows you to set what the Angler says when he requests for this item. When this item is used by right-clicking, player.altFunctionUse will be set to 2. More.Īllows you to make this item usable by right-clicking. More.įorce a re-roll of a prefix by returning false. This allows you to avoid clutter in your overriding Mod class by adding recipes for which this item is the result.

terraria mods tmodloader download terraria mods tmodloader download terraria mods tmodloader download

Do note that this will be called for every instance of the overriding ModItem class that is added to the game. This is essentially the same as Mod.AddRecipes.













Terraria mods tmodloader download