Esempio n. 1
0
        // Function from file: robot.dm
        public Hud_Robot(Mob_Living_Silicon_Robot owner = null) : base(owner)
        {
            Mob        mymobR = null;
            Obj_Screen _using = null;

            // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
            mymobR            = this.mymob;
            _using            = new Obj_Screen_Robot_Radio();
            _using.screen_loc = "EAST-1:28,SOUTH+1:7";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Robot_Module1();
            _using.screen_loc = "CENTER-2:16,SOUTH:5";
            this.static_inventory.Add(_using);
            ((dynamic)mymobR).inv1 = _using;
            _using            = new Obj_Screen_Robot_Module2();
            _using.screen_loc = "CENTER-1  :16,SOUTH:5";
            this.static_inventory.Add(_using);
            ((dynamic)mymobR).inv2 = _using;
            _using            = new Obj_Screen_Robot_Module3();
            _using.screen_loc = "CENTER  :16,SOUTH:5";
            this.static_inventory.Add(_using);
            ((dynamic)mymobR).inv3 = _using;
            _using            = new Obj_Screen_Ai_ImageTake();
            _using.screen_loc = "CENTER+3:21,SOUTH:5";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_ImageView();
            _using.screen_loc = "CENTER+4:21,SOUTH:5";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_Sensors();
            _using.screen_loc = "CENTER-3:16, SOUTH:5";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Robot_Lamp();
            _using.screen_loc = "CENTER-4:16, SOUTH:5";
            this.static_inventory.Add(_using);
            ((dynamic)mymobR).lamp_button = _using;
            _using            = new Obj_Screen_Robot_Thrusters();
            _using.screen_loc = "CENTER-5:16, SOUTH:5";
            this.static_inventory.Add(_using);
            ((dynamic)mymobR).thruster_button = _using;
            _using            = new Obj_Screen_ActIntent_Robot();
            _using.icon_state = this.mymob.a_intent;
            this.static_inventory.Add(_using);
            this.action_intent = _using;
            this.healths       = new Obj_Screen_Healths_Robot();
            this.infodisplay.Add(this.healths);
            this.mymob.hands            = new Obj_Screen_Robot_Module();
            this.mymob.hands.screen_loc = "CENTER+1:16,SOUTH:5";
            this.static_inventory.Add(this.mymob.hands);
            this.module_store_icon            = new Obj_Screen_Robot_Store();
            this.module_store_icon.screen_loc = "CENTER+2:16,SOUTH:5";
            this.pull_icon      = new Obj_Screen_Pull();
            this.pull_icon.icon = "icons/mob/screen_cyborg.dmi";
            this.pull_icon.update_icon(this.mymob);
            this.pull_icon.screen_loc = "EAST-2:26,SOUTH+1:7";
            this.hotkeybuttons.Add(this.pull_icon);
            this.zone_select = new Obj_Screen_ZoneSel_Robot();
            this.zone_select.update_icon(this.mymob);
            this.static_inventory.Add(this.zone_select);
            return;
        }
Esempio n. 2
0
        // Function from file: ai.dm
        public Hud_Ai(Mob_Living_Silicon_Ai owner = null) : base(owner)
        {
            Obj_Screen_Ai _using = null;

            // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
            _using            = new Obj_Screen_Ai_Aicore();
            _using.screen_loc = "SOUTH:6,WEST";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_CameraList();
            _using.screen_loc = "SOUTH:6,WEST+1";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_CameraTrack();
            _using.screen_loc = "SOUTH:6,WEST+2";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_CameraLight();
            _using.screen_loc = "SOUTH:6,WEST+3";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_CrewMonitor();
            _using.screen_loc = "SOUTH:6,WEST+4";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_CrewManifest();
            _using.screen_loc = "SOUTH:6,WEST+5";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_Alerts();
            _using.screen_loc = "SOUTH:6,WEST+6";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_Announcement();
            _using.screen_loc = "SOUTH:6,WEST+7";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_CallShuttle();
            _using.screen_loc = "SOUTH:6,WEST+8";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_StateLaws();
            _using.screen_loc = "SOUTH:6,WEST+9";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_PdaMsgSend();
            _using.screen_loc = "SOUTH:6,WEST+10";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_PdaMsgShow();
            _using.screen_loc = "SOUTH:6,WEST+11";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_ImageTake();
            _using.screen_loc = "SOUTH:6,WEST+12";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_ImageView();
            _using.screen_loc = "SOUTH:6,WEST+13";
            this.static_inventory.Add(_using);
            _using            = new Obj_Screen_Ai_Sensors();
            _using.screen_loc = "SOUTH:6,WEST+14";
            this.static_inventory.Add(_using);
            return;
        }