Пример #1
0
        // Function from file: swarmer.dm
        public Hud_Swarmer(Mob_Living_SimpleAnimal_Hostile_Swarmer owner = null) : base(owner)
        {
            Obj_Screen_Swarmer _using = null;

            // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
            _using            = new Obj_Screen_Swarmer_FabricateTrap();
            _using.screen_loc = "CENTER:-16,SOUTH:5";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Swarmer_Barricade();
            _using.screen_loc = "CENTER: 16,SOUTH:5";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Swarmer_Replicate();
            _using.screen_loc = "EAST-1:28,SOUTH:5";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Swarmer_RepairSelf();
            _using.screen_loc = "CENTER+1:18,SOUTH:5";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Swarmer_ToggleLight();
            _using.screen_loc = "CENTER-2:14,SOUTH:5";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Swarmer_ContactSwarmers();
            _using.screen_loc = "WEST:6,SOUTH:5";
            this.static_inventory.Add(_using);
            return;
        }
Пример #2
0
        // Function from file: swarmer.dm
        public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
        {
            dynamic T = null;


            foreach (dynamic _a in Lang13.Enumerate(Map13.FetchInRange(this, 1)))
            {
                T = _a;


                if (T is Tile_Space || T.loc is Zone_Space)
                {
                    S.WriteMsg("<span class='warning'>Destroying this object has the potential to cause a hull breach. Aborting.</span>");
                    return;
                }
            }
            base.swarmer_act(S);
            return;
        }
Пример #3
0
        // Function from file: swarmer.dm
        public override void attack_ghost(Mob user = null)
        {
            string be_swarmer = null;
            Mob_Living_SimpleAnimal_Hostile_Swarmer S = null;

            be_swarmer = Interface13.Alert("Become a swarmer? (Warning, You can no longer be cloned!)", null, "Yes", "No");

            if (be_swarmer == "No")
            {
                return;
            }

            if (Lang13.Bool(GlobalFuncs.qdeleted(this)))
            {
                user.WriteMsg("Swarmer has been occupied by someone else.");
                return;
            }
            S     = new Mob_Living_SimpleAnimal_Hostile_Swarmer(GlobalFuncs.get_turf(this.loc));
            S.key = user.key;
            GlobalFuncs.qdel(this);
            return;
        }
Пример #4
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>This bluespace source will be important to us later. Aborting.</span>");
     return;
 }
Пример #5
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>This device's destruction would result in the extermination of everything in the area. Aborting.</span>");
     return;
 }
Пример #6
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>Searching... sensor malfunction! Target lost. Aborting.</span>");
     return;
 }
Пример #7
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.DismantleMachine(this);
     return;
 }
Пример #8
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>Disrupting the power grid would bring no benefit to us. Aborting.</span>");
     return;
 }
Пример #9
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     return;
 }
Пример #10
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>This device is attempting to corrupt our entire network; attempting to interact with it is too risky. Aborting.</span>");
     return;
 }
Пример #11
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>The volatile chemicals in this machine would destroy us. Aborting.</span>");
     return;
 }
Пример #12
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>Attempting to dismantle this machine would result in an immediate counterattack. Aborting.</span>");
     return;
 }
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>This object is receiving unactivated swarmer shells to help us. Aborting.</span>");
     return;
 }
Пример #14
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>Destroying this object would cause a chain reaction. Aborting.</span>");
     return;
 }
Пример #15
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>An inhospitable area may be created as a result of destroying this object. Aborting.</span>");
     return;
 }
Пример #16
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>This communications relay should be preserved, it will be a useful resource to our masters in the future. Aborting.</span>");
     return;
 }
Пример #17
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>This object does not contain enough materials to work with.</span>");
     return;
 }
Пример #18
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.DisIntegrate(this);
     this.toggle_cam(S, false);
     return;
 }
Пример #19
0
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.Integrate(this);
     return;
 }
 // Function from file: swarmer.dm
 public override void swarmer_act(Mob_Living_SimpleAnimal_Hostile_Swarmer S = null)
 {
     S.WriteMsg("<span class='warning'>This machine has recorded large amounts of data on this structure and its inhabitants, it will be a useful resource to our masters in the future. Aborting. </span>");
     return;
 }