示例#1
0
 private void UpdateVerbsLinksAndProps()
 {
     if (this.beatFireVerb != null)
     {
         this.beatFireVerb.caster    = this.pawn;
         this.beatFireVerb.verbProps = NativeVerbPropertiesDatabase.VerbWithCategory(VerbCategory.BeatFire);
         this.beatFireVerb.loadID    = VerbUtility.GenerateBeatFireLoadId(this.pawn);
     }
     if (this.igniteVerb != null)
     {
         this.igniteVerb.caster    = this.pawn;
         this.igniteVerb.verbProps = NativeVerbPropertiesDatabase.VerbWithCategory(VerbCategory.Ignite);
         this.igniteVerb.loadID    = VerbUtility.GenerateIgniteLoadId(this.pawn);
     }
 }