• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

First Machine Age's Mods (Combined repo.)


Commit MetaInfo

Revisionb630aaab46432b769f9e3725b619a4be72fed3fc (tree)
Time2022-02-17 07:56:40
Authormelchior <melchior@user...>
Commitermelchior

Log Message

re-add Metal fragments tooltip

Change Summary

Incremental Difference

--- a/AnvilMetalRecovery/Items/VariableMetalItem.cs
+++ b/AnvilMetalRecovery/Items/VariableMetalItem.cs
@@ -85,13 +85,13 @@ namespace AnvilMetalRecovery
8585
8686
8787
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)
8989 {
9090 var metalName = MetalName(inSlot.Itemstack);
9191 var metalQuantity = ( int )Math.Floor(MetalQuantity(inSlot.Itemstack) * AnvilMetalRecoveryMod.CachedConfiguration.VoxelEquivalentValue);
9292 var props = RegenerateCombustablePropsFromStack(inSlot.Itemstack);
9393
94-
94+ dsc.AppendLine(Lang.Get("fma:itemdesc-item-metal_fragments"));
9595 dsc.AppendLine(Lang.Get("fma:metal_worth", metalQuantity, metalName));
9696 }
9797
@@ -153,7 +153,7 @@ namespace AnvilMetalRecovery
153153 {
154154 #if DEBUG
155155 api.Logger.VerboseDebug("MatchesForCrafting::'{0}', RecipieName: '{1}', Ing. '{2}'", inputStack.Collectible.Code, gridRecipe.Name, ingredient.Code);
156-#endif
156+ #endif
157157
158158 if (inputStack != null
159159 && gridRecipe.Name.Domain == this.Code.Domain