Ejemplo n.º 1
0
        // Function from file: critter.dm
        public override dynamic Destroy(  )
        {
            dynamic T = null;
            double  i = 0;

            T             = GlobalFuncs.get_turf(this);
            this.tank.loc = T;
            this.tank     = null;

            foreach (dynamic _a in Lang13.IterateRange(1, Rand13.Int(2, 5)))
            {
                i = _a;

                Lang13.Call(this.material_drop, T);
            }
            return(base.Destroy());
        }
Ejemplo n.º 2
0
 // Function from file: critter.dm
 public Obj_Structure_Closet_Crate_Critter(dynamic loc = null) : base((object)(loc))
 {
     // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
     this.tank = new Obj_Item_Weapon_Tank_Internals_EmergencyOxygen();
     return;
 }