Skip to content

Commit

Permalink
v0.8.4.1, Jumbled Text warning, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidPack committed Jan 4, 2020
1 parent 7921c51 commit 416b0f8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions HelpUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ internal UIElement CreateHelpPanel()
StringBuilder sb = new StringBuilder();

string headingColor = Color.CornflowerBlue.Hex3();
// Overhaul warning
if(Terraria.ModLoader.ModLoader.GetMod("TerrariaOverhaul") != null)
sb.Append($"[c/{headingColor}:Jumbled Text?]\n If the text below looks wrong, you'll need to disable Terraria Overhaul to fix it.\n\n");
// Recipes
sb.Append($"[c/{headingColor}:Recipes]\n Place items in the query slot to find recipes using or resulting in that item. You can also search and filter with the various options in the window. The Nearby Chests option filters the recipes to show only recipes that you have at least 1 of each ingredient. The [c/{Color.Goldenrod.Hex3()}:Item Checklist Only] option limits the recipes to only show recipes that result in an item you have never seen using items you have seen. The Tile checkbox brings up a list of crafting stations sorted by most often required. Clicking on a tile limits recipes to recipes using that crafting station. The [image:RecipeBrowser/Images/Help/uniqueTile] Show Unique Recipes option toggles showing inherited recipes. For example, Hellforge inherits all of the Forge recipes, but has the unique Hellstone Bar recipes. Crafting stations for a selected recipe are listed at the bottom. The color will be red or green showing if the player is near one or not. The right side will show any NPC that drops the selected item. Double Click on an NPC to visit the Bestiary. Double Clicking on a Recipe or Ingredient will populate the query slot with the item, great for traversing crafting trees for items with multiple levels of crafting. Alt-click on a recipe to favorite a recipe, see Favorite section below.\n");
// Craft
Expand Down
4 changes: 2 additions & 2 deletions RecipeBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,12 @@ public override object Call(params object[] args)
}
else
{
RecipeBrowser.instance.Logger.Error("RecipeBrowser Call Error: Unknown Message: " + message);
Logger.Error("Call Error: Unknown Message: " + message);
}
}
catch (Exception e)
{
RecipeBrowser.instance.Logger.Error("RecipeBrowser Call Error: " + e.StackTrace + e.Message);
Logger.Error("Call Error: " + e.StackTrace + e.Message);
}
return "Failure";
}
Expand Down
2 changes: 1 addition & 1 deletion UIElements/UIQueryItemSlot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ internal virtual void ReplaceWithFake(int type)
else
{
// TODO: Detect PreSaveAndQuit only.
RecipeBrowser.instance.Logger.Warn("RecipeBrowser: You left an item in the recipe browser with a full inventory and have lost the item: " + item2.Name);
RecipeBrowser.instance.Logger.Warn("You left an item in the recipe browser with a full inventory and have lost the item: " + item2.Name);
}
}
item = new Item();
Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
author = jopojelly
version = 0.8.4
version = 0.8.4.1
displayName = Recipe Browser
homepage = https://forums.terraria.org/index.php?threads/recipe-browser.62462/
buildIgnore = .vs\*, Properties\*, *.csproj, *.user, *.config, unused\*, .git\*,

0 comments on commit 416b0f8

Please sign in to comment.