Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ LoveNPCByTypeName()

void Terraria.GameContent.ShopHelper.LoveNPCByTypeName ( int npcType)
inline

Definition at line 264 of file ShopHelper.cs.

265 {
266 AddHappinessReportText("LoveNPC_" + NPCID.Search.GetName(npcType), new
267 {
268 NPCName = NPC.GetFullnameByID(npcType)
269 });
271 }
void AddHappinessReportText(string textKeyInCategory, object substitutes=null)
static readonly IdDictionary Search
Definition NPCID.cs:11746

References Terraria.GameContent.ShopHelper._currentPriceAdjustment, Terraria.GameContent.ShopHelper.AddHappinessReportText(), and Terraria.ID.NPCID.Search.