// Function from file: observer.dm public override dynamic Stat( ) { Gang G = null; base.Stat(); if (Interface13.IsStatPanelActive("Status")) { Interface13.Stat(null, "Station Time: " + GlobalFuncs.worldtime2text()); if (GlobalVars.ticker != null) { if (Lang13.Bool(GlobalVars.ticker.mode)) { foreach (dynamic _a in Lang13.Enumerate(GlobalVars.ticker.mode.gangs, typeof(Gang))) { G = _a; if (Lang13.Bool(Lang13.IsNumber(G.dom_timer))) { Interface13.Stat(null, "" + G.name + " Gang Takeover: " + Num13.MaxInt(Convert.ToInt32(G.dom_timer), 0)); } } } } } return(null); }
// Function from file: subsystem.dm public virtual void stat_entry(string msg = null) { string dwait = null; if (!(this.statclick != null)) { this.statclick = new Obj_Effect_Statclick_Debug("Initializing...", this); } dwait = ""; if (this.dynamic_wait) { dwait = "DWait:" + Num13.Round(this.wait, 0.1) + "ds "; } if (this.can_fire) { msg = "" + Num13.Round(this.cost, 0.01) + "ds "+ dwait + msg; } else { msg = "OFFLINE "+ msg; } Interface13.Stat(this.name, this.statclick.update(msg)); return; }
// Function from file: cameranet.dm public void stat_entry( ) { if (!(this.statclick != null)) { this.statclick = new Obj_Effect_Statclick_Debug("Initializing...", this); } Interface13.Stat(this.name, this.statclick.update("Cameras: " + GlobalVars.cameranet.cameras.len + " | Chunks: " + GlobalVars.cameranet.chunks.len)); return; }
// Function from file: master.dm public void stat_entry( ) { if (!(this.statclick != null)) { this.statclick = new Obj_Effect_Statclick_Debug("Initializing...", this); } Interface13.Stat("Master Controller:", this.statclick.update("" + Num13.Round(GlobalVars.Master.cost, 0.01) + "ds (Interval: " + GlobalVars.Master.processing_interval + " | Iteration:" + GlobalVars.Master.iteration + ")")); return; }
// Function from file: failsafe.dm public void stat_entry( ) { if (!(this.statclick != null)) { this.statclick = new Obj_Effect_Statclick_Debug("Initializing...", this); } Interface13.Stat("Failsafe Controller:", this.statclick.update("Defcon: " + GlobalVars.Failsafe.defcon_pretty() + " (Interval: " + GlobalVars.Failsafe.processing_interval + " | Iteration: " + GlobalVars.Failsafe.master_iteration + ")")); return; }
// Function from file: configuration.dm public void stat_entry( ) { if (!(this.statclick != null)) { this.statclick = new Obj_Effect_Statclick_Debug("Edit", this); } Interface13.Stat("" + this.name + ":", this.statclick); return; }
// Function from file: alien.dm public override dynamic Stat( ) { base.Stat(); if (Interface13.IsStatPanelActive("Status")) { Interface13.Stat(null, "Intent: " + this.a_intent); } return(null); }
// Function from file: swarmer.dm public override dynamic Stat( ) { base.Stat(); if (Interface13.IsStatPanelActive("Status")) { Interface13.Stat("Resources:", this.resources); } return(null); }
// Function from file: larva.dm public override dynamic Stat( ) { base.Stat(); if (Interface13.IsStatPanelActive("Status")) { Interface13.Stat(null, "Progress: " + this.amount_grown + "/" + this.max_grown); } return(null); }
// Function from file: simple_animal.dm public override dynamic Stat( ) { base.Stat(); if (Interface13.IsStatPanelActive("Status")) { Interface13.Stat(null, "Health: " + Num13.Floor(Convert.ToDouble(this.health / this.maxHealth * 100)) + "%"); return(1); } return(null); }
// Function from file: parrot.dm public override dynamic Stat( ) { base.Stat(); if (Interface13.IsStatPanelActive("Status")) { Interface13.Stat("Held Item", this.held_item); Interface13.Stat("Mode", this.a_intent); } return(null); }
// Function from file: revenant.dm public override dynamic Stat( ) { base.Stat(); if (Interface13.IsStatPanelActive("Status")) { Interface13.Stat(null, "Current essence: " + this.essence + "/" + this.essence_regen_cap + "E"); Interface13.Stat(null, "Stolen essence: " + this.essence_accumulated + "E"); Interface13.Stat(null, "Stolen perfect souls: " + this.perfectsouls); } return(null); }
// Function from file: overmind.dm public override dynamic Stat( ) { base.Stat(); if (Interface13.IsStatPanelActive("Status")) { if (this.blob_core != null) { Interface13.Stat(null, "Core Health: " + this.blob_core.health); } Interface13.Stat(null, "Power Stored: " + this.blob_points + "/" + this.max_blob_points); } return(null); }
// Function from file: god.dm public override dynamic Stat( ) { base.Stat(); if (Interface13.IsStatPanelActive("Status")) { if (this.god_nexus != null) { Interface13.Stat("Nexus health: ", this.god_nexus.health); } Interface13.Stat("Followers: ", this.alive_followers); Interface13.Stat("Faith: ", "" + this.faith + "/" + this.max_faith); } return(null); }
// Function from file: monkey.dm public override dynamic Stat( ) { base.Stat(); if (Interface13.IsStatPanelActive("Status")) { Interface13.Stat(null, "Intent: " + this.a_intent); Interface13.Stat(null, "Move Mode: " + this.m_intent); if (this.client != null && this.mind != null) { if (this.mind.changeling != null) { Interface13.Stat("Chemical Storage", "" + this.mind.changeling.chem_charges + "/" + this.mind.changeling.chem_storage); Interface13.Stat("Absorbed DNA", this.mind.changeling.absorbedcount); } } } return(null); }