Example #1
0
 private void FindInnKeeper()
 {
     if (inn.InnKeeper == null)
     {
         Villager v = NPCManager.Instance.FindAvailableWorker(inn, inn.InnKeeperPosition);
         if (v != null)
         {
             v.MovementMode = MoveMode.Idle;
             inn.AddInnKeeper(v);
         }
     }
 }