salesman now sells rev items, added new pitches

This commit is contained in:
sunny-raindrops authored and Cameron Ewell committed 2026-06-11 00:15:14 -04:00
1 parent 00fa7c5c45
commit fcebd7b754
5 files changed
+63 -5

No files matched your search

@@ -875,6 +875,11 @@ FungalSymbiote: {
Consuming mushrooms provides [cbuffplr:CalamityMod/Mushy], granting 5 defense and +1 HP/s life regen
10% increased damage while you have [cbuffplr:CalamityMod/Mushy]
'''
SalesPitch:
'''
‘You know that neat treasure you found when I was definitely not following you?’
‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’
'''
}
GiantPearl: {
@@ -913,6 +918,11 @@ GladiatorsLocket: {
Enemies drop a healing orb on kill
Gain an increase to your damage and movement speed the lower your health is, up to 20% at 50% life or below
'''
SalesPitch:
'''
‘You know that neat treasure you found when I was definitely not following you?’
‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’
'''
}
GloveOfPrecision: {
@@ -967,6 +977,11 @@ HarpyRing: {
HeartofDarkness: {
DisplayName: Heart of Darkness
Tooltip: You constantly gain rage over time, and rage does not fade away when out of combat
SalesPitch:
'''
‘Some people enjoy simple truths in life: good and evil, health and sickness.’
‘I’m not sure how healthy they are, but these edgy gadgets are bound to get your blood pumping! Help me give them simple labels and I’ll give you a heart-stopping discount!’
'''
}
HeartoftheElements: {
@@ -1127,6 +1142,11 @@ LuxorsGift: {
Held item class is not updated when holding a tool
When not in use, the scarab will condense itself into a small orb of light
'''
SalesPitch:
'''
‘You know that neat treasure you found when I was definitely not following you?’
‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’
'''
}
ManaPolarizer: {
@@ -1869,6 +1889,11 @@ StressPills: {
Adrenaline charges 20% faster
Increases your max movement speed and acceleration by 5%
'''
SalesPitch:
'''
‘Some people enjoy simple truths in life: good and evil, health and sickness.’
‘I’m not sure how healthy they are, but these edgy gadgets are bound to get your blood pumping! Help me give them simple labels and I’ll give you a heart-stopping discount!’
'''
}
SupremeBaitTackleBoxFishingStation: {
@@ -2045,6 +2070,11 @@ TrinketofChi: {
This buff expires on hit
+{2} HP/s life regen for you and your teammates
'''
SalesPitch:
'''
‘You know that neat treasure you found when I was definitely not following you?’
‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’
'''
}
UnholyTonic: {
@@ -2063,6 +2093,11 @@ UnstableGraniteCore: {
Gain an energy field that periodically zaps enemies with arcing energy
The arcing energy ignores a substantial amount of enemy defense
'''
SalesPitch:
'''
‘You know that neat treasure you found when I was definitely not following you?’
‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’
'''
}
V8Engine: {
@@ -2292,6 +2327,11 @@ FrozenCube: {
[DAMAGELINE]
[c/7497ED:'What I wanna know is, where's the mammoth?']
'''
SalesPitch:
'''
‘You know that neat treasure you found when I was definitely not following you?’
‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’
'''
EquippedDebuff: Current Cold Debuff boost: +{0}%
EquippedElumphant: Current Elumphant Power: +{0}%
Unequipped: Equip this accessory to view its statistics
@@ -677,6 +677,11 @@ CorruptionEffigy: {
However, this comes at a cost of {1}% damage reduction
This cannot be stacked with Crimson Effigy
'''
SalesPitch:
'''
‘You know that neat treasure you found when I was definitely not following you?’
‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’
'''
}
AltarOfTheAccursedItem: {
@@ -737,6 +742,11 @@ CrimsonEffigy: {
However, this comes at a cost of {2}% maximum health
This cannot be stacked with Corruption Effigy
'''
SalesPitch:
'''
‘You know that neat treasure you found when I was definitely not following you?’
‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’
'''
}
EffigyOfDecay: {
@@ -292,6 +292,11 @@ Terminus: {
TheHousingContract: {
DisplayName: The Housing Contract
Tooltip: Use to adopt a piggy for your town
SalesPitch:
'''
‘Have you ever wanted to take care of a piggy? As part of our campaign to stop piggy abuse, you can get one here and now!’
‘Just sign here and we’ll deliver you one posthaste!’
'''
}
YharonEgg: {
+5 -4
View File
@@ -30,7 +30,6 @@ using Terraria.Chat;
using Terraria.GameContent.Bestiary;
using Terraria.UI.Chat;
using Terraria.Utilities;
using static Terraria.ModLoader.ModContent;
namespace CalamityMod.NPCs.TownNPCs
{
@@ -289,6 +288,9 @@ namespace CalamityMod.NPCs.TownNPCs
.Add<GreedPot>()
.Add<FishStocks>()
.Add<TheGift>()
.Add<TheMonument>(Condition.Hardmode)
.Add<TheHousingContract>(Condition.Hardmode)
.Add<OmniGun>(Condition.DownedGolem)
.Add<GladiatorsLocket>(new Condition(CalamityUtils.GetText("Condition.HasFoundGladiatorsLocket"), () => RecipeUnlockHandler.HasFoundGladiatorsLocket && Main.moonPhase == 0))
.Add<LuxorsGift>(new Condition(CalamityUtils.GetText("Condition.HasFoundLuxorsGift"), () => RecipeUnlockHandler.HasFoundLuxorsGift && Main.moonPhase == 1))
.Add<CrimsonEffigy>(new Condition(CalamityUtils.GetText("Condition.HasFoundCrimsonEffigy"), () => RecipeUnlockHandler.HasFoundCrimsonEffigy && Main.moonPhase == 2))
@@ -297,9 +299,8 @@ namespace CalamityMod.NPCs.TownNPCs
.Add<FrozenCube>(new Condition(CalamityUtils.GetText("Condition.HasFoundFrozenCube"), () => RecipeUnlockHandler.HasFoundFrozenCube && Main.moonPhase == 5))
.Add<CorruptionEffigy>(new Condition(CalamityUtils.GetText("Condition.HasFoundCorruptionEffigy"), () => RecipeUnlockHandler.HasFoundCorruptionEffigy && Main.moonPhase == 6))
.Add<TrinketofChi>(new Condition(CalamityUtils.GetText("Condition.HasFoundTrinketOfChi"), () => RecipeUnlockHandler.HasFoundTrinketOfChi && Main.moonPhase == 7))
.Add<TheMonument>(Condition.Hardmode)
.Add<TheHousingContract>(Condition.Hardmode)
.Add<OmniGun>(Condition.DownedGolem)
.Add<HeartofDarkness>(Condition.DownedSkeletron, Condition.MoonPhasesEven, CalamityConditions.InRevengeanceMode)
.Add<StressPills>(Condition.DownedSkeletron, Condition.MoonPhasesOdd, CalamityConditions.InRevengeanceMode)
.Register();
}
+3 -1
View File
@@ -7,6 +7,7 @@ using CalamityMod.Items.Placeables.Furniture;
using CalamityMod.Items.Potions;
using CalamityMod.Items.Potions.Alcohol;
using CalamityMod.Items.Potions.Food;
using CalamityMod.Items.SummonItems.TownPets;
using CalamityMod.Items.Tools;
using CalamityMod.Items.Weapons.DraedonsArsenal;
using CalamityMod.Items.Weapons.Magic;
@@ -166,6 +167,7 @@ namespace CalamityMod.Systems.Collections
public static bool[] HasSalesmanText = Factory.CreateNamedSet("HasSalesmanText")
.Description("Labels this item as having Shady Salesman flavor text, making it draw at the top of the tooltip and the actual tooltip being drawn small below it.")
.RegisterBoolSet(ItemType<FishStocks>(), ItemType<TrustyOldRod>(), ItemType<RageBait>(), ItemType<GluttonyBlender>(), ItemType<TheMonument>(), ItemType<GreedPot>(), ItemType<BaconOil>(), ItemType<TheSandwich>(), ItemType<TheConcoction>(), ItemType<TheElixir>(), ItemType<TheGift>(), ItemType<OmniGun>(),
ItemType<CombatVoucher>(), ItemType<AggressiveVoucher>(), ItemType<OddVoucher>(), ItemType<UnbreakableVoucher>(), ItemType<HurriedVoucher>());
ItemType<CombatVoucher>(), ItemType<AggressiveVoucher>(), ItemType<OddVoucher>(), ItemType<UnbreakableVoucher>(), ItemType<HurriedVoucher>(), ItemType<TheHousingContract>(), ItemType<CorruptionEffigy>(), ItemType<CrimsonEffigy>(), ItemType<TrinketofChi>(), ItemType<FrozenCube>(), ItemType<LuxorsGift>(),
ItemType<FungalSymbiote>(), ItemType<GladiatorsLocket>(), ItemType<UnstableGraniteCore>(), ItemType<HeartofDarkness>(), ItemType<StressPills>());
}
}