TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ PostSetupRecipes()

static void Terraria.ModLoader.RecipeLoader.PostSetupRecipes ( )
inlinestaticpackage

Definition at line 95 of file RecipeLoader.cs.

96 {
97 Mod[] mods = ModLoader.Mods;
98 for (int i = 0; i < mods.Length; i++)
99 {
100 Mod mod = (CurrentMod = mods[i]);
101 try
102 {
103 SystemLoader.PostSetupRecipes(mod);
104 }
105 catch (Exception ex)
106 {
107 ex.Data["mod"] = mod.Name;
108 throw;
109 }
110 finally
111 {
112 CurrentMod = null;
113 }
114 }
115 }
static Mod CurrentMod
The mod currently adding recipes.

References Terraria.ModLoader.RecipeLoader.CurrentMod, Terraria.ModLoader.ModLoader.Mods, Terraria.ModLoader.Mod.Name, and Terraria.ModLoader.SystemLoader.PostSetupRecipes().

Referenced by Terraria.ModLoader.ModContent.SetupRecipes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: