This struct provides access to an NPC type's NPC & Biome relationships.
More...
|
static readonly Dictionary< AffectionLevel, float > | AffectionLevelToPriceMultiplier |
| Allows you to modify the shop price multipliers associated with a (biome/npc type) relationship level. More...
|
|
This struct provides access to an NPC type's NPC & Biome relationships.
◆ AffectionLevelToPriceMultiplier
readonly Dictionary<AffectionLevel, float> Terraria.ModLoader.NPCHappiness.AffectionLevelToPriceMultiplier |
|
static |
Initial value:= new() {
{ AffectionLevel.Hate, ShopHelper.hateValue },
{ AffectionLevel.Dislike, ShopHelper.dislikeValue },
{ AffectionLevel.Like, ShopHelper.likeValue },
{ AffectionLevel.Love, ShopHelper.loveValue },
}
Allows you to modify the shop price multipliers associated with a (biome/npc type) relationship level.