// Function from file: vehicle.dm public override dynamic Bump(Ent_Static Obstacle = null, dynamic yes = null) { dynamic _default = null; _default = base.Bump(Obstacle, (object)(yes)); if (this.auto_door_open) { if (Obstacle is Obj_Machinery_Door && Lang13.Bool(this.buckled_mob)) { Obstacle.Bumped(this.buckled_mob); } } return(_default); }
// Function from file: atoms_movable.dm public override dynamic Bump(Ent_Static Obstacle = null, dynamic yes = null) { dynamic _default = null; if (Obstacle != null && Lang13.Bool(yes)) { if (this.throwing) { this.throwing = false; this.throw_impact(Obstacle); _default = 1; if (!(Obstacle != null) || Lang13.Bool(GlobalFuncs.qdeleted(Obstacle))) { return(_default); } } Obstacle.Bumped(this); } return(_default); }