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

◆ LikePrincess()

void Terraria.GameContent.ShopHelper.LikePrincess ( )
inlinepackage

Definition at line 282 of file ShopHelper.cs.

283 {
284 AddHappinessReportText("LikeNPC_Princess", new
285 {
286 NPCName = NPC.GetFullnameByID(663)
287 });
289 }
void AddHappinessReportText(string textKeyInCategory, object substitutes=null, int otherNPCType=0)
static readonly Dictionary< AffectionLevel, float > AffectionLevelToPriceMultiplier
Allows you to modify the shop price multipliers associated with a (biome/npc type) relationship level...
This struct provides access to an NPC type's NPC & Biome relationships.

References Terraria.GameContent.ShopHelper._currentPriceAdjustment, Terraria.GameContent.ShopHelper.AddHappinessReportText(), Terraria.ModLoader.NPCHappiness.AffectionLevelToPriceMultiplier, and Terraria.NPC.GetFullnameByID().

+ Here is the call graph for this function: