// Function from file: anomalies.dm public override void anomalyEffect( ) { Obj O = null; Mob_Living M = null; Mob_Living M2 = null; Obj O2 = null; dynamic target = null; base.anomalyEffect(); this.boing = true; foreach (dynamic _a in Lang13.Enumerate(Map13.FetchInRangeExcludeThis(this, 4), typeof(Obj))) { O = _a; if (!Lang13.Bool(O.anchored)) { Map13.StepTowardsSimple(O, this); } } foreach (dynamic _b in Lang13.Enumerate(Map13.FetchInRange(this, 0), typeof(Mob_Living))) { M = _b; this.gravShock(M); } foreach (dynamic _c in Lang13.Enumerate(Map13.FetchInRangeExcludeThis(this, 4), typeof(Mob_Living))) { M2 = _c; Map13.StepTowardsSimple(M2, this); } foreach (dynamic _d in Lang13.Enumerate(Map13.FetchInRange(this, 0), typeof(Obj))) { O2 = _d; if (!Lang13.Bool(O2.anchored)) { target = Lang13.FindIn(typeof(Mob_Living), Map13.FetchInView(this, 4)); if (Lang13.Bool(target) && !Lang13.Bool(target.stat)) { O2.throw_at(target, 5, 10); } } } return; }
// Function from file: anomalies.dm public override void anomalyEffect( ) { Obj O = null; dynamic target = null; base.anomalyEffect(); if (!(this.loc is Tile)) { GlobalFuncs.qdel(this); return; } this.grav(Rand13.Int(0, 3), Rand13.Int(2, 3), 50, 25); foreach (dynamic _a in Lang13.Enumerate(Map13.FetchInRange(this, 2), typeof(Obj))) { O = _a; if (O == this) { return; } if (!Lang13.Bool(O.anchored)) { target = Lang13.FindIn(typeof(Mob_Living), Map13.FetchInView(this, 4)); if (Lang13.Bool(target) && !Lang13.Bool(target.stat)) { O.throw_at(target, 7, 5); } } else { O.ex_act(2); } } return; }