Exemplo n.º 1
0
        // Function from file: tgstation.dme
        public override bool start(  )
        {
            Mob_Living_Carbon_Human H = null;
            bool    foundAlready      = false;
            Disease D = null;
            Disease_Appendicitis D2 = null;


            foreach (dynamic _b in Lang13.Enumerate(GlobalFuncs.shuffle(GlobalVars.living_mob_list), typeof(Mob_Living_Carbon_Human)))
            {
                H = _b;

                foundAlready = false;

                foreach (dynamic _a in Lang13.Enumerate(H.viruses, typeof(Disease)))
                {
                    D = _a;

                    foundAlready = true;
                }

                if (H.stat == 2 || foundAlready)
                {
                    continue;
                }
                D2 = new Disease_Appendicitis();
                H.ForceContractDisease(D2);
                break;
            }
            return(false);
        }
        // Function from file: organ_internal.dm
        public override void Remove(dynamic M = null, bool?special = null)
        {
            special = special ?? false;

            Disease_Appendicitis A = null;


            foreach (dynamic _a in Lang13.Enumerate(M.viruses, typeof(Disease_Appendicitis)))
            {
                A = _a;

                A.cure();
                this.inflamed = true;
            }
            this.update_icon();
            base.Remove((object)(M), special);
            return;
        }