// Function from file: blob_reagents.dm public override dynamic damage_reaction(Obj_Effect_Blob B = null, double original_health = 0, dynamic damage = null, dynamic damage_type = null, dynamic cause = null) { Tile_Simulated T = null; foreach (dynamic _a in Lang13.Enumerate(Map13.FetchInRange(B, 1), typeof(Tile_Simulated))) { T = _a; if (Rand13.PercentChance(Convert.ToInt32(damage))) { T.MakeSlippery(1); } } return(base.damage_reaction(B, original_health, (object)(damage), (object)(damage_type), (object)(cause))); }
// Function from file: blob_reagents.dm public override void death_reaction(Obj_Effect_Blob B = null, dynamic cause = null) { Tile_Simulated T = null; if (!(cause == null)) { B.visible_message("<span class='warning'><b>The blob ruptures, spraying the area with liquid!</b></span>"); } foreach (dynamic _a in Lang13.Enumerate(Map13.FetchInRange(B, 1), typeof(Tile_Simulated))) { T = _a; if (Rand13.PercentChance(50)) { T.MakeSlippery(1); } } return; }