예제 #1
0
        public string FillString(string text, List <Profile> p)
        {
            if (p != null)
            {
                if (p.Count > 0)
                {
                    text = text.Replace("%NAME%", p[0].name);
                }
                if (p.Count > 1)
                {
                    text = text.Replace("%NAME2%", p[1].name);
                }
                if (p.Count > 2)
                {
                    text = text.Replace("%NAME3%", p[2].name);
                }
                if (p.Count > 3)
                {
                    text = text.Replace("%NAME4%", p[3].name);
                }
            }
            text = text.Replace("%PRICE%", Main.GetPriceString());
            if (this.valueCalculation != null)
            {
                object result = this.valueCalculation.result;
                switch (result)
                {
                case float _:
                case int _:
                    float single = Change.ToSingle(result);
                    text = text.Replace("%VALUE%", Change.ToString((object)single));
                    int int32 = Convert.ToInt32(result);
                    text = text.Replace("%INTVALUE%", Change.ToString((object)int32));
                    break;

                case string _:
                    text = text.Replace("%VALUE%", result as string);
                    break;
                }
            }
            if (this.valueCalculation2 != null)
            {
                object result = this.valueCalculation2.result;
                switch (result)
                {
                case float _:
                case int _:
                    float single = Change.ToSingle(result);
                    text = text.Replace("%VALUE2%", Change.ToString((object)single));
                    int int32 = Convert.ToInt32(result);
                    text = text.Replace("%INTVALUE2%", Change.ToString((object)int32));
                    break;

                case string _:
                    text = text.Replace("%VALUE2%", result as string);
                    break;
                }
            }
            return(text);
        }
예제 #2
0
        public override XElement LegacySerialize()
        {
            XElement xelement = base.LegacySerialize();

            xelement.Add((object)new XElement((XName)"direction", (object)Change.ToString((object)this.direction)));
            return(xelement);
        }
예제 #3
0
        public static void Update()
        {
            XInputPad device = Input.GetDevice <XInputPad>();

            if ((double)Shredder._noteWait <= 0.0)
            {
                if (device.MapDown(16384, false))
                {
                    Shredder._currentNote = Shredder.GetNextNote(Shredder._currentNote, Shredder._basicScale);
                    SFX.Play("guitar/guitar-" + Change.ToString((object)Shredder._currentNote));
                    Shredder._noteWait = 1f;
                }
                if (device.MapDown(32768, false))
                {
                    Shredder._currentNote = Shredder._currentNote = (int)Shredder._basicScale[0];
                    SFX.Play("guitar/guitar-" + Change.ToString((object)Shredder._currentNote));
                    Shredder._noteWait = 1f;
                }
                if (device.MapDown(8192, false))
                {
                    Shredder._currentNote = Shredder.GetPrevNote(Shredder._currentNote, Shredder._basicScale);
                    SFX.Play("guitar/guitar-" + Change.ToString((object)Shredder._currentNote));
                    Shredder._noteWait = 1f;
                }
            }
            Shredder._noteWait -= 0.15f;
        }
예제 #4
0
        public override XElement LegacySerialize()
        {
            XElement xelement = base.LegacySerialize();

            xelement.Add((object)new XElement((XName)"stanceSetting", (object)Change.ToString((object)this.stanceSetting)));
            xelement.Add((object)new XElement((XName)"contains", this.contains != (System.Type)null ? (object)this.contains.AssemblyQualifiedName : (object)""));
            xelement.Add((object)new XElement((XName)"chestPlate", (object)Change.ToString((object)this.chestPlate)));
            xelement.Add((object)new XElement((XName)"helmet", (object)Change.ToString((object)this.helmet)));
            return(xelement);
        }
예제 #5
0
 public void Draw()
 {
     Graphics.DrawRect(this._position, this._position + new Vec2(this._width, this._width), Color.Red, new Depth(1f), false);
     if (!this._split)
     {
         Graphics.DrawString(Change.ToString((object)this._objects.Count), this._position + new Vec2(2f, 2f), Color.White, new Depth(0.9f));
     }
     if (this._depth == 0 || !this._split)
     {
         return;
     }
     foreach (QuadTree child in this._children)
     {
         child.Draw();
     }
 }
예제 #6
0
        public override void Draw()
        {
            this.depth = new Depth(-0.5f);
            base.Draw();
            int count = this._team.activeProfiles.Count;

            if (this._sprite.frame == 0)
            {
                this._trophy.depth = this.depth + 1;
                Graphics.Draw(this._trophy, this.x, this.y - 14f);
            }
            this._scoreCard.depth = new Depth(1f);
            Graphics.Draw(this._scoreCard, this.x, this.y + 2f);
            string text = Change.ToString((object)this._team.score);

            this._font.Draw(text, this.x - this._font.GetWidth(text) / 2f, this.y, Color.DarkSlateGray, this._scoreCard.depth + 1);
        }
        public override void AfterDrawLayers()
        {
            if ((double)this._keepPaused <= 0.0)
            {
                return;
            }
            DuckGame.Graphics.screen.Begin(SpriteSortMode.FrontToBack, BlendState.AlphaBlend, SamplerState.PointClamp, DepthStencilState.Default, RasterizerState.CullNone, (MTEffect)null, Resolution.getTransformationMatrix());
            this._font.scale = new Vec2(8f, 8f);
            double width  = (double)this._font.GetWidth(Change.ToString((object)(this._currentHighlight + 1)));
            double height = (double)this._font.height;

            this._numbers.frame = 4 - this._currentHighlight;
            this._numbers.depth = new Depth(1f);
            this._numbers.scale = new Vec2(4f, 4f);
            DuckGame.Graphics.Draw((Sprite)this._numbers, 32f, 32f);
            DuckGame.Graphics.screen.End();
        }
        public override void Draw()
        {
            this._font.scale = new Vec2(1f, 1f);
            string str  = this._team.currentDisplayName;
            float  num1 = 0.0f;
            float  num2 = 0.0f;

            if (str.Length > 16)
            {
                str = str.Substring(0, 16);
            }
            string     text1      = "@ICONGRADIENT@" + str;
            BitmapFont bitmapFont = this._team.activeProfiles.Count <= 1 ? this._team.activeProfiles[0].font : Profiles.EnvironmentProfile.font;

            bitmapFont.scale = new Vec2(1f, 1f);
            bitmapFont.Draw(text1, this.x + 182f + num1 - bitmapFont.GetWidth(text1), this.y + 2f + num2, Color.White, this.depth);
            this._font.scale         = new Vec2(1f, 1f);
            this._targetSprite.scale = new Vec2(1f, 1f);
            DuckGame.Graphics.Draw(this._targetSprite, this.x, this.y);
            if (this._mode == BoardMode.Points)
            {
                this._smallFont.scale = new Vec2(2f, 2f);
                string text2 = Change.ToString((object)this._team.score);
                this._smallFont.Draw(text2, this.x + 183f - this._smallFont.GetWidth(text2), this.y + 10f, Color.White, this.depth);
            }
            else
            {
                int wins = this._team.wins;
                if (this._team.activeProfiles.Count == 1)
                {
                    wins = this._team.activeProfiles[0].wins;
                }
                for (int index = 0; index < wins; ++index)
                {
                    this._trophy.depth = (Depth)(float)(0.800000011920929 - (double)index * 0.00999999977648258);
                    DuckGame.Graphics.Draw(this._trophy, this.x + 175f - (float)(index * 8), this.y + 18f);
                }
            }
        }
예제 #9
0
        // Token: 0x060015CD RID: 5581
        public override void Update()         //When used
        {
            Duck duck = this.owner as Duck;

            if (duck != null)
            {
                if (base.isServerForObject)
                {
                    this.handPitch = 1f - Mouse.x / Layer.HUD.camera.width * 2f;
                    if (this.handPitch < 0f)                     //Prevents hand and pitch going too far
                    {
                        float currentpitch = this.handPitch;
                        float neededpitch  = 0f - this.handPitch;
                        this.handPitch = currentpitch + neededpitch;
                    }
                    if (duck.inputProfile.Down("SHOOT"))
                    {
                        this.notePitch = this.handPitch + 0.01f;
                    }
                    else
                    {
                        this.notePitch = 0f;
                    }
                }
                if (this.notePitch != this.prevNotePitch)
                {
                    if (this.notePitch != 0f)
                    {
                        int num = (int)Math.Round((double)(this.notePitch * 12f));
                        if (num < 0)
                        {
                            num = 0;
                        }
                        if (num > 12)
                        {
                            num = 12;
                        }
                        if (this.noteSound == null)
                        {
                            this.hitPitch = this.notePitch;
                            Sound sound = SFX.Play("trombone" + Change.ToString(num), 1f, 0f, 0f, false);
                            this.noteSound = sound;
                            Level.Add(new MusicNote(base.barrelPosition.x, base.barrelPosition.y, base.barrelVector));
                        }
                        else
                        {
                            this.noteSound.Pitch = Maths.Clamp(this.notePitch - this.hitPitch, -1f, 1f);
                        }
                    }
                    else if (this.noteSound != null)
                    {
                        this.noteSound.Stop();
                        this.noteSound = null;
                    }
                }
                if (this._raised)
                {
                    this.handAngle       = 0f;
                    this.handOffset      = new Vec2(0f, 0f);
                    this._holdOffset     = new Vec2(0f, 2f);
                    this.collisionOffset = new Vec2(-4f, -7f);
                    this.collisionSize   = new Vec2(8f, 16f);
                }
                else                 //Hand pitch
                {
                    this.handOffset      = new Vec2(6f + (1f - this.handPitch) * 4f, -4f + (1f - this.handPitch) * 4f);
                    this.handAngle       = (1f - this.handPitch) * 0.4f * (float)this.offDir;
                    this._holdOffset     = new Vec2(5f + this.handPitch * 2f, -9f + this.handPitch * 2f);
                    this.collisionOffset = new Vec2(-4f, -7f);
                    this.collisionSize   = new Vec2(2f, 16f);
                    this._slideVal       = 1f - this.handPitch;
                }
            }
            else
            {
                this.collisionOffset = new Vec2(-4f, -5f);
                this.collisionSize   = new Vec2(8f, 11f);
            }
            this.prevNotePitch = this.notePitch;
            base.Update();
        }
        public override XElement LegacySerialize()
        {
            XElement xelement = new XElement((XName)"Object");

            xelement.Add((object)new XElement((XName)"type", (object)this.GetType().AssemblyQualifiedName));
            xelement.Add((object)new XElement((XName)"blockType", (object)this._type.AssemblyQualifiedName));
            string str1 = "n,";
            string str2 = "";

            if (typeof(AutoBlock).IsAssignableFrom(this._type))
            {
                foreach (Thing thing in this._things)
                {
                    AutoBlock autoBlock = thing as AutoBlock;
                    autoBlock.groupedWithNeighbors = false;
                    autoBlock.neighborsInitialized = false;
                }
                foreach (Thing thing in this._things)
                {
                    AutoBlock autoBlock = thing as AutoBlock;
                    autoBlock.InitializeNeighbors();
                    str1 = str1 + Change.ToString((object)thing.x) + ",";
                    str1 = str1 + Change.ToString((object)thing.y) + ",";
                    str1 = str1 + (object)thing.frame + ",";
                    str1 = autoBlock.upBlock == null ? str1 + "-1," : str1 + Change.ToString((object)this._things.IndexOf((Thing)autoBlock.upBlock)) + ",";
                    str1 = autoBlock.downBlock == null ? str1 + "-1," : str1 + Change.ToString((object)this._things.IndexOf((Thing)autoBlock.downBlock)) + ",";
                    str1 = autoBlock.rightBlock == null ? str1 + "-1," : str1 + Change.ToString((object)this._things.IndexOf((Thing)autoBlock.rightBlock)) + ",";
                    str1 = autoBlock.leftBlock == null ? str1 + "-1," : str1 + Change.ToString((object)this._things.IndexOf((Thing)autoBlock.leftBlock)) + ",";
                    BlockGroup blockGroup = autoBlock.GroupWithNeighbors(false);
                    if (blockGroup != null)
                    {
                        str2 = str2 + Change.ToString((object)blockGroup.x) + ",";
                        str2 = str2 + Change.ToString((object)blockGroup.y) + ",";
                        str2 = str2 + Change.ToString((object)blockGroup.collisionOffset.x) + ",";
                        str2 = str2 + Change.ToString((object)blockGroup.collisionOffset.y) + ",";
                        str2 = str2 + Change.ToString((object)blockGroup.collisionSize.x) + ",";
                        str2 = str2 + Change.ToString((object)blockGroup.collisionSize.y) + ",";
                        str2 = str2 + Change.ToString((object)blockGroup.blocks.Count <Block>()) + ",";
                        foreach (Block block in blockGroup.blocks)
                        {
                            str2 = str2 + Change.ToString((object)this._things.IndexOf((Thing)block)) + ",";
                        }
                    }
                }
                foreach (Thing thing in this._things)
                {
                    AutoBlock autoBlock = thing as AutoBlock;
                    autoBlock.groupedWithNeighbors = false;
                    autoBlock.neighborsInitialized = false;
                }
                if (str2.Length > 0)
                {
                    string str3 = str2.Substring(0, str2.Length - 1);
                    xelement.Add((object)new XElement((XName)"groupData", (object)str3));
                }
            }
            else
            {
                foreach (Thing thing in this._things)
                {
                    str1 = str1 + Change.ToString((object)thing.x) + ",";
                    str1 = str1 + Change.ToString((object)thing.y) + ",";
                    str1 = str1 + (object)thing.frame + ",";
                }
            }
            string str4 = str1.Substring(0, str1.Length - 1);

            xelement.Add((object)new XElement((XName)"data", (object)str4));
            return(xelement);
        }
예제 #11
0
 public override void Update()
 {
     if (this.owner is Duck owner)
     {
         if (this.isServerForObject)
         {
             this.handPitch = owner.inputProfile.leftTrigger;
             this.notePitch = !owner.inputProfile.Down("SHOOT") ? 0.0f : this.handPitch + 0.01f;
         }
         if ((double)this.notePitch != (double)this.prevNotePitch)
         {
             if ((double)this.notePitch != 0.0)
             {
                 int num = (int)Math.Round((double)this.notePitch * 12.0);
                 if (num < 0)
                 {
                     num = 0;
                 }
                 if (num > 12)
                 {
                     num = 12;
                 }
                 if (this.noteSound == null)
                 {
                     this.hitPitch  = this.notePitch;
                     this.noteSound = SFX.Play("sax" + Change.ToString((object)num));
                     Level.Add((Thing) new MusicNote(this.barrelPosition.x, this.barrelPosition.y, this.barrelVector));
                 }
                 else
                 {
                     this.noteSound.Pitch = Maths.Clamp((float)(((double)this.notePitch - (double)this.hitPitch) * 0.100000001490116), -1f, 1f);
                 }
             }
             else if (this.noteSound != null)
             {
                 this.noteSound.Stop();
                 this.noteSound = (Sound)null;
             }
         }
         if (this._raised)
         {
             this.handAngle       = 0.0f;
             this.handOffset      = new Vec2(0.0f, 0.0f);
             this._holdOffset     = new Vec2(0.0f, 2f);
             this.collisionOffset = new Vec2(-4f, -7f);
             this.collisionSize   = new Vec2(8f, 16f);
             this.OnReleaseAction();
         }
         else
         {
             this.handOffset      = new Vec2((float)(5.0 + (1.0 - (double)this.handPitch) * 2.0), (float)((1.0 - (double)this.handPitch) * 4.0 - 2.0));
             this.handAngle       = (float)((1.0 - (double)this.handPitch) * 0.400000005960464) * (float)this.offDir;
             this._holdOffset     = new Vec2((float)(4.0 + (double)this.handPitch * 2.0), this.handPitch * 2f);
             this.collisionOffset = new Vec2(-1f, -7f);
             this.collisionSize   = new Vec2(2f, 16f);
         }
     }
     else
     {
         this.collisionOffset = new Vec2(-4f, -7f);
         this.collisionSize   = new Vec2(8f, 16f);
     }
     this.prevNotePitch = this.notePitch;
     base.Update();
 }
예제 #12
0
 public override void Update()
 {
     if (this.owner is Duck owner)
     {
         if (this.isServerForObject)
         {
             if (owner.inputProfile.Pressed("SHOOT"))
             {
                 this.currentPitch = 2;
             }
             if (owner.inputProfile.Pressed("STRAFE"))
             {
                 this.currentPitch = 0;
             }
             if (owner.inputProfile.Pressed("RAGDOLL"))
             {
                 this.currentPitch = 1;
             }
             if ((double)owner.inputProfile.leftTrigger > 0.5 && !this.leftPressed)
             {
                 this.currentPitch = 2;
                 this.leftPressed  = true;
             }
             if ((double)owner.inputProfile.rightTrigger > 0.5 && !this.rightPressed)
             {
                 this.currentPitch = 3;
                 this.rightPressed = true;
             }
             if (owner.inputProfile.Released("STRAFE") && this.currentPitch == 0)
             {
                 this.currentPitch = -1;
             }
             if (owner.inputProfile.Released("SHOOT") && this.currentPitch == 2)
             {
                 this.currentPitch = -1;
             }
             if (owner.inputProfile.Released("RAGDOLL") && this.currentPitch == 1)
             {
                 this.currentPitch = -1;
             }
             if ((double)owner.inputProfile.leftTrigger <= 0.5)
             {
                 if (this.currentPitch == 2 && this.leftPressed)
                 {
                     this.currentPitch = -1;
                 }
                 this.leftPressed = false;
             }
             if ((double)owner.inputProfile.rightTrigger <= 0.5)
             {
                 if (this.currentPitch == 3 && this.rightPressed)
                 {
                     this.currentPitch = -1;
                 }
                 this.rightPressed = false;
             }
             this.notePitch = this.currentPitch < 0 || this._raised ? 0.0f : (float)((double)this.currentPitch / 3.0 + 0.00999999977648258);
         }
         if ((double)this.notePitch != (double)this.prevNotePitch)
         {
             if ((double)this.notePitch != 0.0)
             {
                 if (this.noteSound != null)
                 {
                     this.noteSound.Stop();
                     this.noteSound = (Sound)null;
                 }
                 int num = (int)Math.Round((double)this.notePitch * 3.0);
                 if (num < 0)
                 {
                     num = 0;
                 }
                 if (num > 12)
                 {
                     num = 12;
                 }
                 if (this.noteSound == null)
                 {
                     this.hitPitch  = this.notePitch;
                     this.noteSound = SFX.Play("trumpet0" + Change.ToString((object)(num + 1)), 0.8f);
                     Level.Add((Thing) new MusicNote(this.barrelPosition.x, this.barrelPosition.y, this.barrelVector));
                 }
                 else
                 {
                     this.noteSound.Pitch = Maths.Clamp((float)(((double)this.notePitch - (double)this.hitPitch) * 0.00999999977648258), -1f, 1f);
                 }
             }
             else if (this.noteSound != null)
             {
                 this.noteSound.Stop();
                 this.noteSound = (Sound)null;
             }
         }
         if (this._raised)
         {
             this.collisionOffset = new Vec2(4f, -4f);
             this.collisionSize   = new Vec2(8f, 8f);
             this._holdOffset     = new Vec2(0.0f, 0.0f);
             this.handOffset      = new Vec2(0.0f, 0.0f);
             this.OnReleaseAction();
         }
         else
         {
             this.collisionOffset = new Vec2(-6f, -4f);
             this.collisionSize   = new Vec2(8f, 8f);
             this._holdOffset     = new Vec2(10f, -2f);
             this.handOffset      = new Vec2(5f, -2f);
         }
     }
     else
     {
         this.leftPressed     = false;
         this.rightPressed    = false;
         this.currentPitch    = -1;
         this.collisionOffset = new Vec2(-6f, -4f);
         this.collisionSize   = new Vec2(8f, 8f);
         this._holdOffset     = new Vec2(6f, 2f);
     }
     this.prevNotePitch = this.notePitch;
     base.Update();
 }
예제 #13
0
        public override void Initialize()
        {
            this._background     = new Sprite("gym");
            this._boardHighlight = new Sprite("boardHighlight");
            this._boardHighlight.CenterOrigin();
            this._trophiesHighlight = new Sprite("trophiesHighlight");
            this._trophiesHighlight.CenterOrigin();
            HUD.AddCornerControl(HUDCorner.BottomLeft, "MOVE@DPAD@");
            HUD.AddCornerMessage(HUDCorner.TopLeft, this._profile.name);
            HUD.AddCornerControl(HUDCorner.TopRight, "@QUACK@EXIT");
            HUD.AddCornerControl(HUDCorner.BottomRight, "@GRAB@RESET");
            this.backgroundColor = Color.Black;
            this._confirmGroup   = new UIComponent(Layer.HUD.camera.width / 2f, Layer.HUD.camera.height / 2f, 0.0f, 0.0f);
            this._confirmMenu    = new UIMenu("CLEAR STATS?", Layer.HUD.camera.width / 2f, Layer.HUD.camera.height / 2f, 160f, conString: "@SELECT@SELECT");
            this._confirmMenu.Add((UIComponent) new UIMenuItem("NO!", (UIMenuAction) new UIMenuActionCloseMenu(this._confirmGroup)), true);
            this._confirmMenu.Add((UIComponent) new UIMenuItem("YES!", (UIMenuAction) new UIMenuActionCloseMenuSetBoolean(this._confirmGroup, this._clearStats)), true);
            this._confirmMenu.Close();
            this._confirmGroup.Add((UIComponent)this._confirmMenu, false);
            this._confirmGroup.Close();
            Level.Add((Thing)this._confirmGroup);
            Profile profile = this._profile;

            this._stats.Add(new LockerStat("KILLS: " + Change.ToString((object)profile.stats.kills), Color.GreenYellow));
            this._stats.Add(new LockerStat("DEATHS: " + Change.ToString((object)profile.stats.timesKilled), Color.Red));
            this._stats.Add(new LockerStat("SUICIDES: " + Change.ToString((object)profile.stats.suicides), Color.Red));
            this._stats.Add(new LockerStat("", Color.Red));
            this._stats.Add(new LockerStat("ROUNDS WON: " + Change.ToString((object)profile.stats.matchesWon), Color.GreenYellow));
            this._stats.Add(new LockerStat("ROUNDS LOST: " + Change.ToString((object)(profile.stats.timesSpawned - profile.stats.matchesWon)), Color.Red));
            this._stats.Add(new LockerStat("GAMES WON: " + Change.ToString((object)profile.stats.trophiesWon), Color.GreenYellow));
            this._stats.Add(new LockerStat("GAMES LOST: " + Change.ToString((object)(profile.stats.gamesPlayed - profile.stats.trophiesWon)), Color.Red));
            this._stats.Add(new LockerStat("", Color.Red));
            this._stats.Add(new LockerStat("FANS: " + Change.ToString((object)profile.stats.GetFans()), Color.Lime));
            int fans = profile.stats.GetFans();
            int num1 = 0;

            if (fans > 0)
            {
                num1 = (int)Math.Round((double)profile.stats.loyalFans / (double)profile.stats.GetFans() * 100.0);
            }
            this._stats.Add(new LockerStat("FAN LOYALTY: " + Change.ToString((object)num1) + "%", Color.Lime));
            this._stats.Add(new LockerStat("", Color.Red));
            float num2 = 0.0f;

            if (profile.stats.bulletsFired > 0)
            {
                num2 = (float)profile.stats.bulletsThatHit / (float)profile.stats.bulletsFired;
            }
            this._stats.Add(new LockerStat("ACCURACY: " + Change.ToString((object)(int)Math.Round((double)num2 * 100.0)) + "%", (double)num2 > 0.600000023841858 ? Color.Green : Color.Red));
            this._stats.Add(new LockerStat("", Color.Red));
            this._stats.Add(new LockerStat("TIMES QUACKED: " + Change.ToString((object)profile.stats.quacks), Color.Orange));
            this._stats.Add(new LockerStat("MINES STEPPED ON: " + Change.ToString((object)profile.stats.minesSteppedOn), Color.Orange));
            this._stats.Add(new LockerStat("PRESENTS OPENED: " + Change.ToString((object)profile.stats.presentsOpened), Color.Orange));
            this._stats.Add(new LockerStat("", Color.Red));
            this._stats.Add(new LockerStat("SPIRITUALITY", Color.White));
            this._stats.Add(new LockerStat("FUNERALS: " + Change.ToString((object)profile.stats.funeralsPerformed), Color.Orange));
            this._stats.Add(new LockerStat("CONVERSIONS: " + Change.ToString((object)profile.stats.conversions), Color.Orange));
            this._stats.Add(new LockerStat("", Color.Red));
            this._stats.Add(new LockerStat("TIME SPENT", Color.White));
            this._stats.Add(new LockerStat("IN NET: " + Change.ToString((object)(int)profile.stats.timeInNet) + " SECONDS", Color.Orange));
            this._stats.Add(new LockerStat("ON FIRE: " + Change.ToString((object)(int)profile.stats.timeOnFire) + " SECONDS", Color.Orange));
            this._stats.Add(new LockerStat("BRAINWASHED: " + Change.ToString((object)(int)profile.stats.timeUnderMindControl) + " SECONDS", Color.Orange));
            this._stats.Add(new LockerStat("MOUTH OPEN: " + Change.ToString((object)(int)profile.stats.timeWithMouthOpen) + " SECONDS", Color.Orange));
            base.Initialize();
        }