Elin Modding Docs Doc
Loading...
Searching...
No Matches
ActDreamBug.cs
1using System;
2
3// Token: 0x020001DA RID: 474
4public class ActDreamBug : Ability
5{
6 // Token: 0x06000D65 RID: 3429 RVA: 0x00068210 File Offset: 0x00066410
7 public override bool Perform()
8 {
9 if (Act.TC.things.IsFull(0))
10 {
11 Msg.SayNothingHappen();
12 return true;
13 }
14 Act.TC.AddThing(ThingGen.Create("dreambug", -1, -1), true, -1, -1);
15 Act.CC.Say("dreambug", Act.CC, Act.TC, null, null);
16 Act.CC.PlaySound("pick_thing", 1f, true);
17 return true;
18 }
19}
Definition Act.2.cs:7
Definition Msg.cs:7