// Function from file: mop.dm public void clean(dynamic A = null) { Obj_Effect O = null; if (Lang13.Bool(this.reagents.has_reagent("water", 1)) || Lang13.Bool(this.reagents.has_reagent("holywater", 1))) { ((Ent_Static)A).clean_blood(); A.thermite = 0; foreach (dynamic _a in Lang13.Enumerate(A, typeof(Obj_Effect))) { O = _a; if (O is Obj_Effect_Decal_Cleanable || O is Obj_Effect_Rune) { GlobalFuncs.qdel(O); } } } this.reagents.reaction(A, GlobalVars.TOUCH, 10); this.reagents.remove_any(1); return; }
// Function from file: watercloset.dm public void wash_turf( ) { Ent_Static tile = null; Obj_Effect E = null; if (this.loc is Tile) { tile = this.loc; this.loc.clean_blood(); foreach (dynamic _a in Lang13.Enumerate(tile, typeof(Obj_Effect))) { E = _a; if (E is Obj_Effect_Decal_Cleanable || E is Obj_Effect_Rune) { GlobalFuncs.qdel(E); } } } return; }