Beispiel #1
0
 /// <summary>NPCs got loaded.</summary>
 /// <param name="e">Event data.</param>
 public static void OnNpcListChanged(NpcListChangedEventArgs e)
 {
     if (!e.IsCurrentLocation)
     {
         return;
     }
     NpcHelper.StoreAmountOfGiftsReceived(e.Added);
 }
Beispiel #2
0
 /// <summary>Player changes location.</summary>
 public static void OnWarped()
 {
     NpcHelper.StoreAmountOfGiftsReceived(Game1.player.currentLocation.characters);
 }