/// <summary> /// Stores the gift giving event described by the NPC receiving and the gift given. /// </summary> /// <param name="npc">The NPC receiving the gift</param> /// <param name="gift">The Gift being given</param> public void AddGift(StardewValley.NPC npc, StardewValley.Item gift) { NPCGift equivalent = new NPCGift(npc.name, gift.Name); if (!giftsMade.Contains(equivalent)) { giftsMade.Add(equivalent); } }
public NPC(StardewNPC npc) { _npc = npc; _birthday = new GameDate(npc?.Birthday_Season ?? "spring", npc?.Birthday_Day ?? 0); }
internal Character(StardewValley.NPC character) { Char = character; }
public NPC(StardewNPC npc) { _npc = npc; _birthday = new GameDate(npc.Birthday_Season, npc.Birthday_Day); }