9 public override IEnumerable<
AIAct.Status> Run()
11 if (this.toilet ==
null)
15 if (this.toilet ==
null)
17 yield
return this.Cancel();
19 yield
return base.DoGoto(this.toilet.owner,
null);
22 onProgressBegin = delegate()
24 this.owner.SetTempHand(-1, -1);
25 this.owner.SetPCCState(PCCState.Naked);
26 this.owner.SetCensored(
true);
27 this.owner.PlaySound(
"water", 1f,
true);
28 this.owner.Kick(this.owner.pos,
true);
29 this.owner.pos.TalkWitnesses(this.owner,
"disgust", 4, WitnessType.everyone,
null, 3);
33 this.owner.renderer.PlayAnime(AnimeID.Shiver,
default(Vector3),
false);
35 onProgressComplete = delegate()
37 if (this.toilet ==
null || !this.toilet.ExistsOnMap || !
this.toilet.owner.pos.Equals(
this.owner.pos))
39 EClass._map.SetLiquid(this.owner.pos.x,
this.owner.pos.z, 1, 3);
41 this.owner.ShowEmo(Emo.happy, 0f,
true);
44 yield
return base.Do(seq,
null);
49 public override void OnReset()
51 this.owner.SetPCCState(PCCState.Normal);
52 this.owner.SetCensored(
false);