// Function from file: holo_effect.dm public override dynamic activate(Obj_Machinery_Computer_Holodeck HC = null) { this.D = new Obj_Item_Toy_Cards_Deck(this.loc); this.safety(!Lang13.Bool(HC.emagged) ?1:0); this.D.holo = HC; return(this.D); }
// Function from file: holo_effect.dm public override void deactivate(Obj_Machinery_Computer_Holodeck HC = null) { if (Lang13.Bool(this.mob)) { HC.derez(this.mob); } GlobalFuncs.qdel(this); return; }
// Function from file: holo_effect.dm public override dynamic activate(Obj_Machinery_Computer_Holodeck HC = null) { dynamic T = null; EffectSystem_SparkSpread s = null; T = GlobalFuncs.get_turf(this); if (Lang13.Bool(T)) { s = new EffectSystem_SparkSpread(); s.set_up(3, 1, T); s.start(); T.temperature = 5000; ((Tile)T).hotspot_expose(50000, 50000, true); } return(null); }
// Function from file: holo_effect.dm public override dynamic activate(Obj_Machinery_Computer_Holodeck HC = null) { dynamic v = null; if (this.mobtype is ByTable) { this.mobtype = Rand13.PickFromTable(this.mobtype); } this.mob = Lang13.Call(this.mobtype, this.loc); foreach (dynamic _a in Lang13.Enumerate(new ByTable(new object [] { "butcher_results", "corpse", "weapon1", "weapon2" }) & this.mob.vars)) { v = _a; this.mob.vars[v] = null; } return(this.mob); }
// Function from file: holo_effect.dm public virtual dynamic activate(Obj_Machinery_Computer_Holodeck HC = null) { return(null); }
// Function from file: holo_effect.dm public virtual void deactivate(Obj_Machinery_Computer_Holodeck HC = null) { GlobalFuncs.qdel(this); return; }