public void UseFromHackingTool(MySmallShip useBy, int hackingLevelDifference) { float cashMoveToPlayer = Cash * (0.5f + hackingLevelDifference * 0.1f); MySession.Static.Player.Money += cashMoveToPlayer; Cash -= cashMoveToPlayer; MyHudNotification.AddNotification( new MyHudNotification.MyNotification(MyTextsWrapperEnum.YouObtainNotification, MyGuiManager.GetFontMinerWarsGreen(), 5000, null, new object[] { MyMwcUtils.GetFormatedPriceForGame((decimal)cashMoveToPlayer) })); }