First Machine Age's Mods (Combined repo.)
Revision | b630aaab46432b769f9e3725b619a4be72fed3fc (tree) |
---|---|
Time | 2022-02-17 07:56:40 |
Author | melchior <melchior@user...> |
Commiter | melchior |
re-add Metal fragments tooltip
@@ -85,13 +85,13 @@ namespace AnvilMetalRecovery | ||
85 | 85 | |
86 | 86 | |
87 | 87 | |
88 | - public override void GetHeldItemInfo(ItemSlot inSlot, System.Text.StringBuilder dsc, IWorldAccessor world, bool withDebugInfo) | |
88 | + public override void GetHeldItemInfo(ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world, bool withDebugInfo) | |
89 | 89 | { |
90 | 90 | var metalName = MetalName(inSlot.Itemstack); |
91 | 91 | var metalQuantity = ( int )Math.Floor(MetalQuantity(inSlot.Itemstack) * AnvilMetalRecoveryMod.CachedConfiguration.VoxelEquivalentValue); |
92 | 92 | var props = RegenerateCombustablePropsFromStack(inSlot.Itemstack); |
93 | 93 | |
94 | - | |
94 | + dsc.AppendLine(Lang.Get("fma:itemdesc-item-metal_fragments")); | |
95 | 95 | dsc.AppendLine(Lang.Get("fma:metal_worth", metalQuantity, metalName)); |
96 | 96 | } |
97 | 97 |
@@ -153,7 +153,7 @@ namespace AnvilMetalRecovery | ||
153 | 153 | { |
154 | 154 | #if DEBUG |
155 | 155 | api.Logger.VerboseDebug("MatchesForCrafting::'{0}', RecipieName: '{1}', Ing. '{2}'", inputStack.Collectible.Code, gridRecipe.Name, ingredient.Code); |
156 | -#endif | |
156 | + #endif | |
157 | 157 | |
158 | 158 | if (inputStack != null |
159 | 159 | && gridRecipe.Name.Domain == this.Code.Domain |