This commit is contained in:
mountaindrew10 committed 2023-07-17 03:02:43 -05:00
commit 16be6b0f6a
32 files changed
+785 -780

No files matched your search

-4
View File
@@ -151,7 +151,6 @@ namespace CalamityMod
internal Mod ancientsAwakened = null;
internal Mod bossChecklist = null;
internal Mod census = null;
internal Mod crouchMod = null;
internal Mod dialogueTweak = null;
internal Mod fargos = null;
@@ -182,8 +181,6 @@ namespace CalamityMod
ModLoader.TryGetMod("AAMod", out ancientsAwakened);
bossChecklist = null;
ModLoader.TryGetMod("BossChecklist", out bossChecklist);
census = null;
ModLoader.TryGetMod("Census", out census);
crouchMod = null;
ModLoader.TryGetMod("CrouchMod", out crouchMod);
dialogueTweak = null;
@@ -422,7 +419,6 @@ namespace CalamityMod
ancientsAwakened = null;
bossChecklist = null;
census = null;
crouchMod = null;
dialogueTweak = null;
fargos = null;
+1 -1
View File
@@ -228,7 +228,7 @@ namespace CalamityMod.Items.Accessories
// Display a level up text notification.
Rectangle textArea = new Rectangle((int)Player.Center.X, (int)Player.Center.Y, 1, 1);
Color textColor = new Color(236, 209, 236);
CombatText.NewText(textArea, textColor, "The Community cracks...", false, false);
CombatText.NewText(textArea, textColor, CalamityUtils.GetTextValueFromModItem<ShatteredCommunity>("LevelUpText"), false, false);
}
}
}
+3 -3
View File
@@ -1,4 +1,5 @@
using CalamityMod.Rarities;
using System;
using System.Collections.Generic;
using System.Linq;
using Terraria;
@@ -23,10 +24,9 @@ namespace CalamityMod.Items.Accessories
public override void ModifyTooltips(List<TooltipLine> list)
{
string hotkey = CalamityKeybinds.SpectralVeilHotKey.TooltipHotkeyString();
TooltipLine line = list.FirstOrDefault(x => x.Mod == "Terraria" && x.Name == "Tooltip1");
TooltipLine line = list.FirstOrDefault(x => x.Mod == "Terraria" && x.Text.Contains("{0}"));
if (line != null)
line.Text = "Press " + hotkey + " to consume 25% of your maximum stealth to perform a mid-range teleport and render you momentarily invulnerable";
line.Text = String.Format(line.Text, hotkey);
}
public override void UpdateAccessory(Player player, bool hideVisual)
-4
View File
@@ -1,5 +1,4 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Accessories;
using CalamityMod.Items.Materials;
using CalamityMod.Rarities;
using CalamityMod.Tiles.Furniture.CraftingStations;
@@ -39,7 +38,6 @@ namespace CalamityMod.Items.Armor.Auric
public override void UpdateEquip(Player player)
{
var modPlayer = player.Calamity();
modPlayer.fBarrier = true;
player.statLifeMax2 += 100;
player.GetDamage<GenericDamageClass>() += 0.08f;
player.GetCritChance<GenericDamageClass>() += 5;
@@ -51,7 +49,6 @@ namespace CalamityMod.Items.Armor.Auric
AddIngredient<GodSlayerChestplate>().
AddIngredient<BloodflareBodyArmor>().
AddIngredient<TarragonBreastplate>().
AddIngredient<FrostBarrier>().
AddIngredient<AuricBar>(18).
AddTile<CosmicAnvil>().
Register();
@@ -60,7 +57,6 @@ namespace CalamityMod.Items.Armor.Auric
AddIngredient<SilvaArmor>().
AddIngredient<BloodflareBodyArmor>().
AddIngredient<TarragonBreastplate>().
AddIngredient<FrostBarrier>().
AddIngredient<AuricBar>(18).
AddTile<CosmicAnvil>().
Register();
@@ -65,7 +65,6 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings
"AquaSG",
"Atalya",
"Ben-TK",
"Blastitle",
"Cei",
"Cooper",
"CrabBar",
@@ -108,6 +107,7 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings
"Amadis",
"AstroKnight",
"Blast",
"Blastitle",
"Blockaroz",
"Boffin",
"Bravioli",
+2 -2
View File
@@ -95,11 +95,11 @@ namespace CalamityMod.Items.Weapons.Summon
if (!sufficientSpace)
{
Rectangle displayZone = player.Hitbox;
CombatText.NewText(displayZone, new Color(203, 157, 255), "Insufficient space!", true);
CombatText.NewText(displayZone, new Color(203, 157, 255), CalamityUtils.GetTextValueFromModItem<FlamsteedRing>("NoSpaceTextBottom"), true);
displayZone.Y -= 30;
CombatText.NewText(displayZone, new Color(59, 194, 255), "Cannot Deploy", true);
CombatText.NewText(displayZone, new Color(59, 194, 255), CalamityUtils.GetTextValueFromModItem<FlamsteedRing>("NoSpaceTextTop"), true);
return false;
}
@@ -0,0 +1,19 @@
AcidRainT1: {
EntryName: Acid Rain
SpawnInfo: Use a [i:CalamityMod/CausticTear] or wait for the invasion to occur naturally after the Eye of Cthulhu is defeated.
}
AcidRainT2: {
EntryName: Acid Rain (Tier 2)
SpawnInfo: Use a [i:CalamityMod/CausticTear] or wait for the invasion to occur naturally after the Aquatic Scourge is defeated
}
AcidRainT3: {
EntryName: Acid Rain (Tier 3)
SpawnInfo: Use a [i:CalamityMod/CausticTear] or wait for the invasion to occur naturally after the Polterghast is defeated
}
BossRush: {
EntryName: Boss Rush
SpawnInfo: Use a [i:CalamityMod/Terminus] found at the bottom of the Abyss
}
@@ -1451,7 +1451,7 @@ SpectralVeil: {
DisplayName: Spectral Veil
Tooltip:
'''
TOOLTIP LINE HERE
Press {0} to consume 25% of your maximum stealth to perform a mid-range teleport and render you momentarily invulnerable
If you dodge something while invulnerable, you instantly gain full stealth
Teleportation is disabled while Chaos State is active
Stealth generates 15% faster
@@ -4,7 +4,6 @@ AuricTeslaBodyArmor: {
'''
+100 max life
8% increased damage and 5% increased critical strike chance
You will freeze enemies near you when you are struck
'''
}
@@ -145,18 +145,6 @@ Cnidarian: {
'''
}
GlacialEmbrace: {
DisplayName: Glacial Embrace
Tooltip:
'''
Summons the power of the ancient ice castle
For each minion slot used, you will gain an additional orbiting shield spike
These spikes accelerate rapidly towards a nearby enemy to inflict heavy damage
They take some time to regenerate after launching themselves at the target, however
On right click, summons a duplicate ring around the targeted enemy, which slowly converges before exploding
'''
}
CorroslimeStaff: {
DisplayName: Corroslime Staff
Tooltip: Summons a corro slime to fight for you
@@ -334,6 +322,8 @@ EyeOfNight: {
FlamsteedRing: {
DisplayName: Flamsteed Ring
NoSpaceTextTop: Cannot Deploy
NoSpaceTextBottom: Insufficient space!
Tooltip:
'''
Summons a colossal controllable mech
@@ -400,6 +390,18 @@ GastricBelcherStaff: {
'''
}
GlacialEmbrace: {
DisplayName: Glacial Embrace
Tooltip:
'''
Summons the power of the ancient ice castle
For each minion slot used, you will gain an additional orbiting shield spike
These spikes accelerate rapidly towards a nearby enemy to inflict heavy damage
They take some time to regenerate after launching themselves at the target, however
On right click, summons a duplicate ring around the targeted enemy, which slowly converges before exploding
'''
}
GodspawnHelixStaff: {
DisplayName: Godspawn Helix Staff
Tooltip: Summons astral probes to protect you
+12 -1
View File
@@ -35,9 +35,20 @@ PlanetoidSchematicRecipeCondition: Place a schematic from the lab in the large p
JungleSchematicRecipeCondition: Place a schematic from the lab deep within the jungle in your inventory at least once
UnderworldSchematicRecipeCondition: Place a schematic from the lab near the edges of the underworld in your inventory at least once
IceSchematicRecipeCondition: Place a schematic from the lab within the frozen caverns in your inventory at least once
// Item Messages
// Other CombatText uses and Item Messages
ShiftToExpand: Hold SHIFT to see an expanded description
LearnedSchematic: You learned how to create new things!
CragmawVibeCheck: Vibe check.
AutocannonHot: OUCH! HOT!
NoComputer: No decryption computer installed
ArkParry: Parry!
ClockworkTick: Tick
ClockworkTock: Tock
SevensJackpot: Jackpot!!!
SevensBust: Bust!
SevensDoubles: Doubles!
SevensTriples: Triples!
StylishHammerHit: Stylish!
ThirdSageBlessingText: You have been blessed by the Third Sage!
ThirdSageBlessingText2: The Third Sage has rescinded its blessing...
GenericConsumedText: "[c/8a8a8a:You have already consumed this item]"
+339 -30
View File
@@ -21,12 +21,50 @@ Viperfish.DisplayName: Viperfish
AcidEel.DisplayName: Acid Eel
BabyFlakCrab.DisplayName: Baby Flak Crab
BloodwormNormal.DisplayName: Bloodworm
CragmawMire.DisplayName: Cragmaw Mire
CragmawMire: {
DisplayName: Cragmaw Mire
BossChecklistIntegration: {
SpawnInfo:
'''
Spawns during Acid Rain after the Aquatic Scourge has been defeated.
Start Acid Rain with a [i:CalamityMod/CausticTear]
'''
DespawnMessage: "[c/f0e68c:The Cragmaw Mire buries itself within the sand.]"
}
}
FlakCrab.DisplayName: Flak Crab
GammaSlime.DisplayName: Gamma Slime
IrradiatedSlime.DisplayName: Irradiated Slime
Mauler.DisplayName: Mauler
NuclearTerror.DisplayName: Nuclear Terror
Mauler: {
DisplayName: Mauler
BossChecklistIntegration: {
SpawnInfo:
'''
Spawns during Acid Rain after Polterghast has been defeated.
Start Acid Rain with a [i:CalamityMod/CausticTear]
'''
DespawnMessage: "[c/f0e68c:The brutish shark looks elsewhere to turn its aggression.]"
}
}
NuclearTerror: {
DisplayName: Nuclear Terror
BossChecklistIntegration: {
SpawnInfo:
'''
Spawns during Acid Rain after Polterghast has been defeated.
Start Acid Rain with a [i:CalamityMod/CausticTear]
'''
DespawnMessage: "[c/f0e68c:The radioactive aberration fades away in a sickly light.]"
}
}
NuclearToad.DisplayName: Nuclear Toad
Orthocera.DisplayName: Orthocera
Radiator.DisplayName: Radiator
@@ -35,7 +73,17 @@ SulphurousSkater.DisplayName: Sulphurous Skater
Trilobite.DisplayName: Trilobite
AdultEidolonWyrmHead.DisplayName: Adult Eidolon Wyrm
Jared: Jared
AquaticScourgeHead.DisplayName: Aquatic Scourge
AquaticScourgeHead: {
DisplayName: Aquatic Scourge
BossChecklistIntegration: {
SpawnInfo: Use a [i:CalamityMod/Seafood] in the Sulphuric Sea or wait for it to spawn in the Sulphuric Sea
DespawnMessage: "[c/f0e68c:The poisoned scourge swims back to the tranquil, open ocean.]"
EntryName: Aquatic Scourge
}
}
Aries.DisplayName: Aries
AstralachneaGround.DisplayName: Astralachnea
AstralProbe.DisplayName: Astral Probe
@@ -52,22 +100,89 @@ SightseerCollider.DisplayName: Sightseer Collider
SightseerSpitter.DisplayName: Sightseer Spitter
StellarCulex.DisplayName: Stellar Culex
Twinkler.DisplayName: Twinkler
AstrumAureus.DisplayName: Astrum Aureus
AstrumAureus: {
DisplayName: Astrum Aureus
BossChecklistIntegration: {
SpawnInfo: Use an [i:CalamityMod/AstralChunk] at Night in the Astral Biome
DespawnMessage: "[c/ffd700:Aureus has neutralized all threats. Resume prior reconnaissance.]"
}
}
AureusSpawn.DisplayName: Aureus Spawn
AstrumDeusHead.DisplayName: Astrum Deus
AstrumDeusHead: {
DisplayName: Astrum Deus
BossChecklistIntegration: {
SpawnInfo: Use a [i:CalamityMod/TitanHeart] or [i:CalamityMod/Starcore] as offering at an [i:CalamityMod/AstralBeaconItem]
DespawnMessage: "[c/ffd700:The infected deity retreats to the heavens.]"
EntryName: Astrum Deus
}
}
Brimling.DisplayName: Brimling
BrimstoneElemental.DisplayName: Brimstone Elemental
BrimstoneElemental: {
DisplayName: Brimstone Elemental
BossChecklistIntegration: {
SpawnInfo: Use a [i:CalamityMod/CharredIdol] in the Brimstone Crag
DespawnMessage: "[c/dc143c:The elemental ever maintains her somber vigil over Azafure…]"
}
}
Bumblebirb: Bumblebirb
Bumblefuck.DisplayName: The Dragonfolly
Bumblefuck: {
DisplayName: The Dragonfolly
BossChecklistIntegration: {
EntryName: Dragonfolly
SpawnInfo: Use [i:CalamityMod/ExoticPheromones] in the Jungle Biome
DespawnMessage: "[c/ffd700:The folly returns to its secluded roost.]"
}
}
Bumblefuck2.DisplayName: Draconic Swarmer
CalamitasClone.DisplayName: Calamitas Clone
CalamitasClone: {
DisplayName: Calamitas Clone
BossChecklistIntegration: {
EntryName: The Calamitas Clone
SpawnInfo: Use an [i:CalamityMod/EyeofDesolation] at Night
DespawnMessage: "[c/ffa500:The clone spits a bit of blood in disappointment and vanishes.]"
}
}
Cataclysm.DisplayName: Cataclysm
Catastrophe.DisplayName: Catastrophe
SoulSeeker.DisplayName: Soul Seeker
CeaselessVoid.DisplayName: Ceaseless Void
CeaselessVoid: {
DisplayName: Ceaseless Void
BossChecklistIntegration: {
SpawnInfo: Use a [i:CalamityMod/RuneofKos] in the Dungeon
DespawnMessage: "[c/4b0082:The ancient spatial rift slips away to places unknown.]"
EntryName: Ceaseless Void
}
}
DarkEnergy.DisplayName: Dark Energy
CrabShroom.DisplayName: Crab Shroom
Crabulon.DisplayName: Crabulon
Crabulon: {
DisplayName: Crabulon
BossChecklistIntegration: {
SpawnInfo: Use a [i:CalamityMod/DecapoditaSprout] in the Mushroom Biome
DespawnMessage: "[c/6495ed:The monstrous mycelial crab shuffles away…]"
}
}
CalamityEye.DisplayName: Calamity Eye
CharredSlime.DisplayName: Charred Slime
RenegadeWarlock.DisplayName: Renegade Warlock
@@ -76,14 +191,43 @@ HeatSpirit.DisplayName: Heat Spirit
Scryllar.DisplayName: Scryllar
ScryllarRage.DisplayName: Scryllar
SoulSlurper.DisplayName: Soul Slurper
Cryogen.DisplayName: Cryogen
Cryogen: {
DisplayName: Cryogen
BossChecklistIntegration: {
SpawnInfo: Use a [i:CalamityMod/CryoKey] in the Snow Biome
DespawnMessage: "[c/00ffff:Cryogen disappears amidst the biting winds of the blizzard.]"
}
}
Pyrogen: Pyrogen
CryogenShield.DisplayName: Cryogen's Shield
PyrogenShield: Pyrogen's Shield
DesertNuisanceHead.DisplayName: A Desert Nuisance
DesertScourgeHead.DisplayName: Desert Scourge
DesertScourgeHead: {
DisplayName: Desert Scourge
BossChecklistIntegration: {
SpawnInfo: Use a [i:CalamityMod/DesertMedallion] in the Desert Biome
DespawnMessage: "[c/eee8aa:The scourge of the desert delves back into the sand.]"
EntryName: Desert Scourge
}
}
CosmicGuardianHead.DisplayName: Cosmic Guardian
DevourerofGodsHead.DisplayName: The Devourer of Gods
DevourerofGodsHead: {
DisplayName: The Devourer of Gods
BossChecklistIntegration: {
EntryName: Devourer of Gods
SpawnInfo: Use a [i:CalamityMod/CosmicWorm]
DespawnMessage: "[c/00ffff:The Devourer of Gods haughtily returns to the depths of the Distortion.]"
}
}
Androomba.DisplayName: Androomba
Nanodroid.DisplayName: Nanodroid
RepairUnitCritter.DisplayName: Repair Unit
@@ -91,6 +235,12 @@ RepairUnitCritter.DisplayName: Repair Unit
Apollo: {
DisplayName: XS-03 Apollo
HekateName: Corrosive Eye of XB-∞ Hekate
BossChecklistIntegration: {
EntryName: Exo Mechs
SpawnInfo: By using a high-tech computer
DespawnMessage: "[c/7fffd4:An imperfection after all… what a shame.]"
}
}
AresBody: {
@@ -130,16 +280,43 @@ ThanatosHead: {
HekateName: Spine of XB-∞ Hekate
}
GreatSandShark.DisplayName: Great Sand Shark
GreatSandShark: {
DisplayName: Great Sand Shark
BossChecklistIntegration: {
SpawnInfo: Kill 10 sand sharks after defeating Plantera or use a [i:CalamityMod/SandstormsCore] in the Desert Biome
DespawnMessage: "[c/daa520:The apex predator of the sands disappears between the dunes.]"
}
}
DankCreeper.DisplayName: Dank Creeper
DarkHeart.DisplayName: Dark Heart
HiveBlob.DisplayName: Hive Blob
HiveMind.DisplayName: The Hive Mind
HiveMind: {
DisplayName: The Hive Mind
BossChecklistIntegration: {
SpawnInfo: Kill a Tumor in the Corruption or use a [i:CalamityMod/Teratoma] in the Corruption
DespawnMessage: "[c/9400d3:The Hive Mind flits away to brood elsewhere.]"
}
}
HiveTumor.DisplayName: Hive Tumor
Anahita.DisplayName: Anahita
AnahitasIceShield.DisplayName: Ice Shield
AquaticAberration.DisplayName: Aquatic Aberration
Leviathan.DisplayName: The Leviathan
Leviathan: {
DisplayName: The Leviathan
BossChecklistIntegration: {
EntryName: Leviathan
SpawnInfo: By killing an unknown entity in the Ocean Biome
DespawnMessage: "[c/7fffd4:The aquatic outcasts return to their lonesome company.]"
}
}
LeviathanStart.DisplayName: ???
AeroSlime.DisplayName: Aero Slime
ArmoredDiggerHead.DisplayName: Armored Digger
@@ -188,7 +365,17 @@ WulfrumDrone.DisplayName: Wulfrum Drone
WulfrumGyrator.DisplayName: Wulfrum Gyrator
WulfrumHovercraft.DisplayName: Wulfrum Hovercraft
WulfrumRover.DisplayName: Wulfrum Rover
OldDuke.DisplayName: The Old Duke
OldDuke: {
DisplayName: The Old Duke
BossChecklistIntegration: {
EntryName: Old Duke
SpawnInfo: Defeat the Acid Rain event post-Polterghast or fish using a [i:CalamityMod/BloodwormItem] in the Sulphurous Sea
DespawnMessage: "[c/f0e68c:The old duke retreats further into the acidic downpour.]"
}
}
BoomerDuke: The Boomer Duke
OldDukeToothBall.DisplayName: Tooth Ball
SulphurousSharkron.DisplayName: Sulphurous Sharkron
@@ -200,8 +387,27 @@ PerforatorCyst.DisplayName: Perforator Cyst
PerforatorHeadLarge.DisplayName: The Perforator
PerforatorHeadMedium.DisplayName: The Perforator
PerforatorHeadSmall.DisplayName: The Perforator
PerforatorHive.DisplayName: The Perforator Hive
PlaguebringerGoliath.DisplayName: The Plaguebringer Goliath
PerforatorHive: {
DisplayName: The Perforator Hive
BossChecklistIntegration: {
EntryName: The Perforators
SpawnInfo: Kill a Cyst in the Crimson or use a [i:CalamityMod/BloodyWormFood] in the Crimson
DespawnMessage: "[c/dc143c:The Perforators search for more hosts to gorge themselves on.]"
}
}
PlaguebringerGoliath: {
DisplayName: The Plaguebringer Goliath
BossChecklistIntegration: {
EntryName: Plaguebringer Goliath
SpawnInfo: Use an [i:CalamityMod/Abombination] in the Jungle Biome
DespawnMessage: "[c/00ff00:SPECIMENS EUTHANIZED. EXITING COMBAT PROTOCOL.]"
}
}
PlagueHomingMissile.DisplayName: Plague Homing Missile
PlagueMine.DisplayName: Plague Mine
Melter.DisplayName: Melter
@@ -211,34 +417,104 @@ PlagueCharger.DisplayName: Plague Charger
Plagueshell.DisplayName: Plagueshell
Viruling.DisplayName: Viruling
PhantomFuckYou.DisplayName: Phantom
Polterghast.DisplayName: Polterghast
Polterghast: {
DisplayName: Polterghast
BossChecklistIntegration: {
SpawnInfo: Kill 30 phantom spirits or use a [i:CalamityMod/NecroplasmicBeacon] in the Dungeon
DespawnMessage: "[c/b0e0e6:The volatile phantasm disperses in an echoing wail.]"
EntryName: Polterghast
}
}
Necroghast: Necroghast
Necroplasm: Necroplasm
Polterplasm: Polterplasm
PolterghastHook.DisplayName: Polterghast Hook
PolterPhantom.DisplayName: Polterghast
ProfanedGuardianCommander.DisplayName: Guardian Commander
ProfanedGuardianCommander: {
DisplayName: Guardian Commander
BossChecklistIntegration: {
EntryName: Profaned Guardians
SpawnInfo: Use a [i:CalamityMod/ProfanedShard] in the Hallow or Underworld Biomes
DespawnMessage: "[c/ffa500:The Guardians are recalled to their Goddess' side.]"
}
}
ProfanedGuardianDefender.DisplayName: Guardian Defender
ProfanedGuardianHealer.DisplayName: Guardian Healer
ProfanedRocks.DisplayName: Profaned Rocks
Providence.DisplayName: Providence, the Profaned Goddess
Providence: {
DisplayName: Providence, the Profaned Goddess
BossChecklistIntegration: {
EntryName: Providence
SpawnInfo: Use [i:CalamityMod/ProfanedCore] in the Hallow or Underworld Biomes
DespawnMessage: "[c/ffa500:The Profaned Goddess veils herself in purifying flame, leaving only ashes behind…]"
}
}
ProvSpawnDefense.DisplayName: Providence Defender
ProvSpawnHealer.DisplayName: Providence Healer
ProvSpawnOffense.DisplayName: Providence Offense
FlamePillar.DisplayName: Flame Pillar
RavagerBody.DisplayName: Ravager
RavagerBody: {
DisplayName: Ravager
BossChecklistIntegration: {
SpawnInfo: Use a [i:CalamityMod/DeathWhistle]
DespawnMessage: "[c/b22222:The Ravager resumes its aimless, horrific rampage.]"
EntryName: Ravager
}
}
RockPillar.DisplayName: Rock Pillar
CosmicLantern.DisplayName: Cosmic Lantern
CosmicMine.DisplayName: Cosmic Mine
Signus.DisplayName: Signus, Envoy of the Devourer
Signus: {
DisplayName: Signus, Envoy of the Devourer
BossChecklistIntegration: {
EntryName: Signus
SpawnInfo: Use a [i:CalamityMod/RuneofKos] in the Underworld
DespawnMessage: "[c/ba55d3:Signus inexplicably ceases to be where he once was.]"
}
}
CorruptSlimeSpawn.DisplayName: Corrupt Slime Spawn
CrimsonSlimeSpawn.DisplayName: Crimson Slime Spawn
CrimulanPaladin.DisplayName: Crimulan Paladin
EbonianPaladin.DisplayName: Ebonian Paladin
SlimeGodCore.DisplayName: The Slime God
SlimeGodCore: {
DisplayName: The Slime God
BossChecklistIntegration: {
EntryName: Slime God
SpawnInfo: Use an [i:CalamityMod/OverloadedSludge]
DespawnMessage: "[c/ba5533:The grimy, gelatinous God hops away, its vengeance achieved.]"
}
}
SplitCrimulanPaladin.DisplayName: Crimulan Paladin
SplitEbonianPaladin.DisplayName: Ebonian Paladin
StormWeaverHead.DisplayName: Storm Weaver
StormWeaverHead: {
DisplayName: Storm Weaver
BossChecklistIntegration: {
SpawnInfo: Use a [i:CalamityMod/RuneofKos] in Space
DespawnMessage: "[c/ee82ee:Storm Weaver hides itself within the fierce anvilhead clouds.]"
EntryName: Storm Weaver
}
}
AnthozoanCrab.DisplayName: Anthozoan Crab
AquaticUrchin.DisplayName: Aquatic Urchin
BelchingCoral.DisplayName: Belching Coral
@@ -252,7 +528,16 @@ BlindedAngler.DisplayName: Blinded Angler
Clam.DisplayName: Clam
EutrophicRay.DisplayName: Eutrophic Ray
GhostBell.DisplayName: Ghost Bell
GiantClam.DisplayName: Giant Clam
GiantClam: {
DisplayName: Giant Clam
BossChecklistIntegration: {
SpawnInfo: Can spawn naturally in the Sunken Sea
DespawnMessage: "[c/7fffd4:The Giant Clam returns into hiding in its grotto.]"
}
}
Clamitas: Clamitas
SupremeClamitas: Supreme Clamitas
PrismBack.DisplayName: Prism-Back
@@ -262,16 +547,36 @@ SeaSerpent1.DisplayName: Sea Serpent
BrimstoneHeart.DisplayName: Brimstone Heart
SepulcherHead.DisplayName: Sepulcher
SoulSeekerSupreme.DisplayName: Soul Seeker
SupremeCalamitas.DisplayName: Supreme Witch, Calamitas
SupremeCalamitas: {
DisplayName: Supreme Witch, Calamitas
BossChecklistIntegration: {
SpawnInfo: Use [i:CalamityMod/AshesofCalamity] or a [i:CalamityMod/CeremonialUrn] as offering at an [i:CalamityMod/AltarOfTheAccursedItem]
DespawnMessage: "[c/ffa500:Please don't waste my time.]"
}
}
SupremeCataclysm.DisplayName: Cataclysm
SupremeCatastrophe.DisplayName: Catastrophe
Yharon.DisplayName: Yharon, Dragon of Rebirth
Yharon: {
DisplayName: Yharon, Dragon of Rebirth
BossChecklistIntegration: {
EntryName: Yharon
SpawnInfo: Use a [i:CalamityMod/YharonEgg]
DespawnMessage: "[c/ffa500:Yharon soars out of sight, his task fulfilled.]"
}
}
YharonPhase2: Yharon, Resplendent Phoenix
// Town NPCs, Pets, etc
AndroombaFriendly.DisplayName: Androomba Pal
DILF: {
DisplayName: Archmage
Census.SpawnCondition: Defeat Cryogen
Name.Permafrost: Permafrost
Chat: {
@@ -310,6 +615,7 @@ DILF: {
FAP: {
DisplayName: Drunk Princess
Census.SpawnCondition: Have {$Mods.CalamityMod.Items.Potions.FabsolsVodka.DisplayName} [i:CalamityMod/FabsolsVodka] in your inventory in Hardmode
Name.Cirrus: Cirrus
Chat: {
@@ -404,6 +710,7 @@ FAP: {
SEAHOE: {
DisplayName: Sea King
Census.SpawnCondition: Defeat a Giant Clam after defeating the Desert Scourge
Name.Amidias: Amidias
Chat: {
@@ -488,6 +795,7 @@ SEAHOE: {
THIEF: {
DisplayName: Bandit
Census.SpawnCondition: Have a {$ItemName.PlatinumCoin} [i:PlatinumCoin] in your inventory after defeating Skeletron
Name: {
Laura: Laura
@@ -568,6 +876,7 @@ THIEF: {
WITCH: {
DisplayName: Brimstone Witch
Census.SpawnCondition: Defeat Supreme Witch, Calamitas
Name.Calamitas: Calamitas
Chat: {
@@ -20,9 +20,9 @@ Server: Server
Terminal: Terminal
// Individual entries
// Sulphurous Sea & Abyss
SteamGeyser1.MapEntry: Geyser
AbyssVent1.MapEntry: Steam Vent
ThermalVent1.MapEntry: Thermal Vent
SteamGeyser.MapEntry: Geyser
AbyssVent.MapEntry: Steam Vent
ThermalVent.MapEntry: Thermal Vent
// Brimstone Crag
SpineSapling.MapEntry: Spine Sapling
SpineTree.MapEntry: Giant Spine
@@ -46,19 +46,13 @@ UelibloomOre.MapEntry: Uelibloom
ArenaTile.MapEntry: Arena
AshenChest: {
MapEntry0: "{$ItemName.AshenChest}"
MapEntry1: Locked Ashen Chest
MapEntry0: "{$Mods.CalamityMod.Items.Placeables.AshenChest.DisplayName}"
MapEntry1: Locked {$Mods.CalamityMod.Items.Placeables.AshenChest.DisplayName}
}
AstralChestLocked: {
MapEntry0: "{$ItemName.AstralChest}"
MapEntry1: Locked Astral Chest
MapEntry0: "{$Mods.CalamityMod.Items.Placeables.AstralChest.DisplayName}"
MapEntry1: Locked {$Mods.CalamityMod.Items.Placeables.AstralChest.DisplayName}
}
PlaguedPlateBed.MapEntry: "'Bed'"
SteamGeyser3.MapEntry: Steam Geyser3
SteamGeyser2.MapEntry: Steam Geyser2
ThermalVent3.MapEntry: Thermal Vent3
ThermalVent2.MapEntry: Thermal Vent2
AbyssVent3.MapEntry: Abyss Vent3
AbyssVent2.MapEntry: Abyss Vent2
PlaguedPlateBed.MapEntry: "'Bed'"
@@ -88,6 +88,8 @@ Cooldowns: {
InkBomb: Ink Bomb Cooldown
LifeSteal: Life Steal Cooldown
LionHeartShield: Energy Shell Cooldown
MasterChefShieldDurability: Energy Shield Durability
MasterChefShieldRecharge: Energy Shield Recharge
NebulousCore: Nebulous Core Cooldown
OmegaBlueActive: Abyssal Madness
OmegaBlueCooldown: Abyssal Madness Cooldown
File diff suppressed because it is too large. Load diff
-189
View File
@@ -11252,194 +11252,5 @@ namespace CalamityMod.NPCs
#endregion
#endregion
#region DD2 Event AIs
public static int DD2EventEnemySpawnRate
{
get
{
int enemySpawnRateSpeedup = 0;
if (Main.npc.IndexInRange(CalamityGlobalNPC.DD2CrystalIndex) && Main.npc[CalamityGlobalNPC.DD2CrystalIndex].active)
enemySpawnRateSpeedup = (int)Main.npc[CalamityGlobalNPC.DD2CrystalIndex].ai[2];
return Utils.Clamp(DD2Event.LaneSpawnRate - enemySpawnRateSpeedup, 15, DD2Event.LaneSpawnRate);
}
}
public static void DD2PortalAI(NPC npc)
{
// Idly emit light if the portal has completely faded in.
if (npc.alpha == 0)
Lighting.AddLight(npc.Center, 0.5f, 0.1f, 0.3f);
ref float enemySpawnTimer = ref npc.ai[0];
ref float fadeOutTimer = ref npc.ai[2];
ref float fadeInTimer = ref npc.localAI[0];
ref float idlePlaySoundId = ref npc.localAI[3];
if (npc.ai[1] == 0f)
{
// Play the portal opening sound at the moment of the portal's creation.
if (fadeInTimer == 0f)
{
SoundEngine.PlaySound(SoundID.DD2_EtherianPortalOpen, npc.Center);
idlePlaySoundId = SlotId.Invalid.ToFloat();
}
ActiveSound soundOut;
if (fadeInTimer > 150f && !SoundEngine.TryGetActiveSound(SlotId.FromFloat(idlePlaySoundId), out soundOut))
idlePlaySoundId = SoundEngine.PlaySound(SoundID.DD2_EtherianPortalIdleLoop, npc.Center).ToFloat();
if (!DD2Event.EnemySpawningIsOnHold)
enemySpawnTimer++;
if (enemySpawnTimer >= DD2EventEnemySpawnRate)
{
if (enemySpawnTimer >= DD2EventEnemySpawnRate * 3)
enemySpawnTimer = 0f;
if (Main.netMode != NetmodeID.MultiplayerClient && (int)enemySpawnTimer % DD2EventEnemySpawnRate == 0)
{
DD2Event.SpawnMonsterFromGate(npc.Bottom);
// If enemy spawning is on hold, add 1 to the spawn timer to ensure that the above
// modulo doesn't get activated every single frame due to no other change above.
if (DD2Event.EnemySpawningIsOnHold)
enemySpawnTimer++;
}
npc.netUpdate = true;
}
fadeInTimer++;
// Begin to fade out of existence if the crystal is gone and the portal is done doing fade-in effects.
if (Main.netMode != NetmodeID.MultiplayerClient && !NPC.AnyNPCs(NPCID.DD2EterniaCrystal) && fadeInTimer >= 180f)
{
npc.ai[1] = 1f;
enemySpawnTimer = 0f;
npc.dontTakeDamage = true;
npc.netUpdate = true;
}
}
// Fade-out effects.
else if (npc.ai[1] == 1f)
{
fadeOutTimer++;
npc.scale = MathHelper.Lerp(1f, 0.05f, Utils.GetLerpValue(500f, 600f, fadeOutTimer, true));
// Reset the idle play sound if it didn't get activated before for some reason.
ActiveSound result;
if (!SoundEngine.TryGetActiveSound(SlotId.FromFloat(idlePlaySoundId), out result))
idlePlaySoundId = SoundEngine.PlaySound(SoundID.DD2_EtherianPortalIdleLoop, npc.Center).ToFloat();
ActiveSound activeSound;
if (SoundEngine.TryGetActiveSound(SlotId.FromFloat(idlePlaySoundId), out activeSound))
activeSound.Volume = npc.scale;
// Kill the portal after enough time has passed.
if (fadeOutTimer >= 550f)
{
npc.dontTakeDamage = false;
npc.life = 0;
npc.checkDead();
npc.netUpdate = true;
if (activeSound != null)
{
activeSound.Stop();
return;
}
}
}
}
public static void DD2CrystalExtraAI(NPC npc)
{
CalamityGlobalNPC.DD2CrystalIndex = npc.whoAmI;
ref float initialClickDelay = ref npc.localAI[3];
ref float enemySpawnRateSpeedup = ref npc.ai[2];
ref float animationCountdown = ref npc.ai[3];
if (animationCountdown > 0f)
animationCountdown--;
// This is done to ensure that the initial click on the pedestal is not registered as a click to the crystal itself.
initialClickDelay++;
bool clickingOnCrystal = Main.mouseRight && Main.mouseRightRelease && CalamityUtils.MouseHitbox.Intersects(npc.Hitbox) && initialClickDelay > 25f;
// Reset the spawn rate speed-up after the wave is over.
if (Main.netMode != NetmodeID.MultiplayerClient && DD2Event.TimeLeftBetweenWaves > 1 && enemySpawnRateSpeedup != 0f)
{
enemySpawnRateSpeedup = 0f;
npc.netUpdate = true;
}
if (clickingOnCrystal && npc.WithinRange(Main.LocalPlayer.Center, 285f))
{
bool changeOccured = false;
// If the event is waiting for time to pass and a player clicks on the crystal skip the wait.
if (DD2Event.TimeLeftBetweenWaves > 1)
{
DD2Event.TimeLeftBetweenWaves = 1;
if (Main.netMode == NetmodeID.Server)
NetMessage.SendData(MessageID.CrystalInvasionSendWaitTime, -1, -1, null, DD2Event.TimeLeftBetweenWaves);
changeOccured = true;
}
// Otherwise speed up the portal spawn rate for this wave.
else
{
if (Main.netMode != NetmodeID.MultiplayerClient)
{
int oldSpawnRate = DD2EventEnemySpawnRate;
enemySpawnRateSpeedup += 8f;
// Release a circle of dust if a change was made to show that changes are indeed being done
// since the animation might be ongoing when this action is performed.
if (!Main.dedServ && oldSpawnRate != DD2EventEnemySpawnRate)
{
for (int i = 0; i < 55; i++)
{
for (float speed = 6f; speed < 13f; speed += 4f)
{
Vector2 shootDirection = (MathHelper.TwoPi * i / 55f).ToRotationVector2() * new Vector2(1f, 0.6f);
Dust etherealLight = Dust.NewDustPerfect(npc.Center - Vector2.UnitY * 20f + shootDirection * 12f, 264);
etherealLight.velocity = shootDirection * speed;
etherealLight.fadeIn = 0f;
etherealLight.scale = 2.3f;
etherealLight.noGravity = true;
etherealLight.noLight = true;
}
}
changeOccured = true;
}
npc.netUpdate = true;
}
}
// Play an animation to accompany the change.
if (changeOccured)
{
if (animationCountdown <= 0f)
animationCountdown = 120f;
SoundEngine.PlaySound(SoundID.DD2_DarkMageHealImpact);
}
// As well as some indicator text.
if (changeOccured)
{
bool dramaticText = DD2EventEnemySpawnRate <= 25;
Color textColor = dramaticText ? Color.DeepPink : Color.Pink;
string[] potentialTexts = new string[]
{
"The invasion hastens!",
"The ethereal invaders march ever-faster!"
};
CombatText.NewText(npc.Hitbox, textColor, Main.rand.Next(potentialTexts), dramaticText);
}
}
}
#endregion DD2 Event AIs
}
}
-11
View File
@@ -255,7 +255,6 @@ namespace CalamityMod.NPCs
// whoAmI Variables
public static int[] bobbitWormBottom = new int[5];
public static int DD2CrystalIndex = -1;
public static int hiveMind = -1;
public static int perfHive = -1;
public static int slimeGodPurple = -1;
@@ -498,7 +497,6 @@ namespace CalamityMod.NPCs
for (int i = 0; i < bobbitWormBottom.Length; i++)
ResetSavedIndex(ref bobbitWormBottom[i], NPCType<BobbitWormSegment>());
ResetSavedIndex(ref DD2CrystalIndex, NPCID.DD2EterniaCrystal);
ResetSavedIndex(ref hiveMind, NPCType<HiveMind.HiveMind>());
ResetSavedIndex(ref perfHive, NPCType<PerforatorHive>());
ResetSavedIndex(ref slimeGodPurple, NPCType<SlimeGod.EbonianPaladin>(), NPCType<SplitEbonianPaladin>());
@@ -3784,12 +3782,6 @@ namespace CalamityMod.NPCs
}
}
if (npc.type == NPCID.DD2LanePortal)
{
CalamityGlobalAI.DD2PortalAI(npc);
return false;
}
return true;
}
#endregion
@@ -4310,9 +4302,6 @@ namespace CalamityMod.NPCs
if (pearlAura > 0)
npc.velocity *= 0.9f;
}
if (npc.type == NPCID.DD2EterniaCrystal)
CalamityGlobalAI.DD2CrystalExtraAI(npc);
}
#endregion
+6 -3
View File
@@ -535,10 +535,10 @@ namespace CalamityMod.NPCs.Providence
DoDeathAnimation();
return;
}
// Trigger the death animation
else if (NPC.life == 1)
else if (NPC.life <= 1)
{
NPC.life = 1;
DespawnSpecificProjectiles(true);
Dying = true;
NPC.dontTakeDamage = true;
@@ -1844,7 +1844,10 @@ namespace CalamityMod.NPCs.Providence
{
return false;
}
public override bool CheckDead()
{
return false;
}
public override void OnKill()
{
CalamityGlobalNPC.SetNewBossJustDowned(NPC);
+1 -1
View File
@@ -59,7 +59,7 @@ namespace CalamityMod.Projectiles.Enemy
{
if (Main.zenithWorld)
{
CombatText.NewText(Main.player[toTarget].getRect(), Color.Red, "Vibe check.", true);
CombatText.NewText(Main.player[toTarget].getRect(), Color.Red, CalamityUtils.GetTextValue("Misc.CragmawVibeCheck"), true);
}
Projectile.localAI[0] = 1f;
ReelingPlayer = true;
@@ -26,9 +26,6 @@ namespace CalamityMod.Projectiles.Melee
public ref float AlreadyParried => ref Projectile.ai[1];
public Player Owner => Main.player[Projectile.owner];
public override void SetStaticDefaults()
{
}
public override void SetDefaults()
{
Projectile.DamageType = DamageClass.MeleeNoSpeed;
@@ -57,7 +54,7 @@ namespace CalamityMod.Projectiles.Melee
SoundEngine.PlaySound(SoundID.DD2_WitherBeastCrystalImpact);
SoundEngine.PlaySound(SoundID.Item67);
CombatText.NewText(Projectile.Hitbox, new Color(111, 247, 200), "Parry!", true);
CombatText.NewText(Projectile.Hitbox, new Color(111, 247, 200), CalamityUtils.GetTextValue("Misc.ArkParry"), true);
AlreadyParried = 1f;
}
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
@@ -30,9 +30,6 @@ namespace CalamityMod.Projectiles.Melee
public ref float AlreadyParried => ref Projectile.ai[1];
public Player Owner => Main.player[Projectile.owner];
public override void SetStaticDefaults()
{
}
public override void SetDefaults()
{
Projectile.DamageType = DamageClass.MeleeNoSpeed;
@@ -64,7 +61,7 @@ namespace CalamityMod.Projectiles.Melee
SoundEngine.PlaySound(SoundID.DD2_WitherBeastCrystalImpact);
SoundEngine.PlaySound(CommonCalamitySounds.ScissorGuillotineSnapSound with { Volume = CommonCalamitySounds.ScissorGuillotineSnapSound.Volume * 1.3f }, Projectile.Center);
CombatText.NewText(Projectile.Hitbox, new Color(111, 247, 200), "Parry!", true);
CombatText.NewText(Projectile.Hitbox, new Color(111, 247, 200), CalamityUtils.GetTextValue("Misc.ArkParry"), true);
for (int i = 0; i < 5; i ++) //Don't loose your way
{
@@ -29,9 +29,6 @@ namespace CalamityMod.Projectiles.Melee
public ref float AlreadyParried => ref Projectile.ai[1];
public Player Owner => Main.player[Projectile.owner];
public override void SetStaticDefaults()
{
}
public override void SetDefaults()
{
Projectile.DamageType = DamageClass.MeleeNoSpeed;
@@ -62,7 +59,7 @@ namespace CalamityMod.Projectiles.Melee
}
SoundEngine.PlaySound(SoundID.DD2_WitherBeastCrystalImpact);
SoundEngine.PlaySound(CommonCalamitySounds.ScissorGuillotineSnapSound with { Volume = CommonCalamitySounds.ScissorGuillotineSnapSound.Volume * 1.3f }, Projectile.Center);
CombatText.NewText(Projectile.Hitbox, new Color(111, 247, 200), "Parry!", true);
CombatText.NewText(Projectile.Hitbox, new Color(111, 247, 200), CalamityUtils.GetTextValue("Misc.ArkParry"), true);
for (int i = 0; i < 5; i ++) //Don't loose your way
{
@@ -26,9 +26,6 @@ namespace CalamityMod.Projectiles.Melee
public ref float AlreadyParried => ref Projectile.ai[1];
public Player Owner => Main.player[Projectile.owner];
public override void SetStaticDefaults()
{
}
public override void SetDefaults()
{
Projectile.DamageType = DamageClass.MeleeNoSpeed;
@@ -56,7 +53,7 @@ namespace CalamityMod.Projectiles.Melee
sword.Charge = 10f;
SoundEngine.PlaySound(SoundID.DD2_WitherBeastCrystalImpact);
SoundEngine.PlaySound(SoundID.Item67);
CombatText.NewText(Projectile.Hitbox, new Color(111, 247, 200), "Parry!", true);
CombatText.NewText(Projectile.Hitbox, new Color(111, 247, 200), CalamityUtils.GetTextValue("Misc.ArkParry"), true);
AlreadyParried = 1f;
}
+2 -2
View File
@@ -94,9 +94,9 @@ namespace CalamityMod.Projectiles.Ranged
++LoadedBolts;
if (LoadedBolts % 2 == 0)
CombatText.NewText(Owner.Hitbox, new Color(155, 255, 255), "Tock", true);
CombatText.NewText(Owner.Hitbox, new Color(155, 255, 255), CalamityUtils.GetTextValue("Misc.ClockworkTock"), true);
else
CombatText.NewText(Owner.Hitbox, new Color(255, 200, 100), "Tick", true);
CombatText.NewText(Owner.Hitbox, new Color(255, 200, 100), CalamityUtils.GetTextValue("Misc.ClockworkTick"), true);
FramesToLoadBolt *= 0.950f;
+4 -4
View File
@@ -134,7 +134,7 @@ namespace CalamityMod.Projectiles.Ranged
if (shottimer == 1)
{
SoundEngine.PlaySound(TheSevensStriker.JackpotSound, Projectile.Center);
CombatText.NewText(player.getRect(), Color.Gold, "Jackpot!!!", true);
CombatText.NewText(player.getRect(), Color.Gold, CalamityUtils.GetTextValue("Misc.SevensJackpot"), true);
}
// Every 5 frames, shoot 7 coins. The first 5 frames are excluded for timing purposes
if (shottimer % 5 == 0 && shottimer > 5)
@@ -164,14 +164,14 @@ namespace CalamityMod.Projectiles.Ranged
// A single brick with 100% damage
case 1:
Shoot(1, ModContent.ProjectileType<SevensStrikerBrick>(), weaponDamage, 0, 2f, 0);
CombatText.NewText(player.getRect(), Color.Gray, "Bust!", true);
CombatText.NewText(player.getRect(), Color.Gray, CalamityUtils.GetTextValue("Misc.SevensBust"), true);
SoundEngine.PlaySound(TheSevensStriker.BustSound, Projectile.Center);
break;
// 7 exploding oranges with 200% damage
case 2:
int doublesDamage = (int)(weaponDamage * TheSevensStriker.DoublesMultiplier);
Shoot(7, ModContent.ProjectileType<SevensStrikerOrange>(), doublesDamage, weaponKnockback, 2f, 0.1f);
CombatText.NewText(player.getRect(), Color.Orange, "Doubles!", true);
CombatText.NewText(player.getRect(), Color.Orange, CalamityUtils.GetTextValue("Misc.SevensDoubles"), true);
SoundEngine.PlaySound(TheSevensStriker.DoublesSound, Projectile.Center);
break;
// 7 piercing grapes with X% damage
@@ -181,7 +181,7 @@ namespace CalamityMod.Projectiles.Ranged
int grapeDamage = (int)(weaponDamage * TheSevensStriker.TriplesGrapeMultiplier);
Shoot(7, ModContent.ProjectileType<SevensStrikerCherry>(), cherryDamage, weaponKnockback, 1.5f, 0.1f);
Shoot(7, ModContent.ProjectileType<SevensStrikerGrape>(), grapeDamage, weaponKnockback, 2f, 0.2f);
CombatText.NewText(player.getRect(), Color.Red, "Triples!", true);
CombatText.NewText(player.getRect(), Color.Red, CalamityUtils.GetTextValue("Misc.SevensTriples"), true);
SoundEngine.PlaySound(TheSevensStriker.TriplesSound, Projectile.Center);
break;
}
@@ -122,7 +122,7 @@ namespace CalamityMod.Projectiles.Summon
Projectile.velocity = new Vector2(Projectile.spriteDirection * 3f, -4f);
Projectile.netUpdate = true;
if (HeatInterpolant >= 1f)
CombatText.NewText(Owner.Hitbox, Color.OrangeRed, "OUCH! HOT!", true);
CombatText.NewText(Owner.Hitbox, Color.OrangeRed, CalamityUtils.GetTextValue("Misc.AutocannonHot"), true);
return;
}
+1 -1
View File
@@ -263,7 +263,7 @@ namespace CalamityMod.Projectiles.Summon.Umbrella
if ((Behavior == 3f || Behavior == 4f) && Main.rand.NextBool(20) && Projectile.soundDelay <= 0)
{
Rectangle location = new Rectangle((int)target.position.X, (int)target.position.Y, target.width, target.height);
CombatText.NewText(location, new Color(239, 113, 152), "Stylish!", true);
CombatText.NewText(location, new Color(239, 113, 152), CalamityUtils.GetTextValue("Misc.StylishHammerHit"), true);
SoundEngine.PlaySound(StylishSound with { Volume = 0.35f }, target.Center);
Projectile.soundDelay = 60;
for (int i = 0; i < 5; i++)
+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Tiles.Abyss.AbyssAmbient
Main.tileNoAttach[Type] = true;
TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
TileObjectData.addTile(Type);
AddMapEntry(new Color(106, 80, 102), CreateMapEntryName());
AddMapEntry(new Color(106, 80, 102), CalamityUtils.GetText($"{LocalizationCategory}.AbyssVent.MapEntry"));
DustType = 33;
base.SetStaticDefaults();
+1 -1
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.Tiles.Abyss.AbyssAmbient
TileObjectData.newTile.LavaDeath = true;
TileObjectData.newTile.DrawYOffset = 2;
TileObjectData.addTile(Type);
AddMapEntry(new Color(132, 56, 42), CreateMapEntryName());
AddMapEntry(new Color(132, 56, 42), CalamityUtils.GetText($"{LocalizationCategory}.ThermalVent.MapEntry"));
DustType = 162;
base.SetStaticDefaults();
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Tiles.Abyss
TileObjectData.newTile.DrawYOffset = 2;
TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
TileObjectData.addTile(Type);
AddMapEntry(new Color(103, 65, 64), CreateMapEntryName());
AddMapEntry(new Color(103, 65, 64), CalamityUtils.GetText($"{LocalizationCategory}.SteamGeyser.MapEntry"));
DustType = (int)CalamityDusts.SulfurousSeaAcid;
base.SetStaticDefaults();
+1 -1
View File
@@ -133,7 +133,7 @@ namespace CalamityMod.Tiles.DraedonSummoner
{
// Create a warning if someone attempts to click on a codebreaker without a computer with which to open the UI.
if (!codebreakerTileEntity.ContainsDecryptionComputer)
CombatText.NewText(player.Hitbox, Color.Cyan, "No decryption computer installed");
CombatText.NewText(player.Hitbox, Color.Cyan, CalamityUtils.GetTextValue("Misc.NoComputer"));
CodebreakerUI.ViewedTileEntityID = -1;
SoundEngine.PlaySound(SoundID.MenuClose);
+1
View File
@@ -1145,6 +1145,7 @@ namespace CalamityMod
/// <param name="solidTop">Whether this tile is supposed to have a solid top. Defaults to true.</param>
internal static void SetUpPiano(this ModTile mt, bool lavaImmune = false, bool solidTop = true)
{
Main.tileTable[mt.Type] = solidTop;
Main.tileSolidTop[mt.Type] = solidTop;
Main.tileLighted[mt.Type] = true;
Main.tileFrameImportant[mt.Type] = true;