Removed trace comments
This commit is contained in:
1 parent
02cb78eb60
commit
cb741f19bb
6 files changed
+5
-30
No files matched your search
@@ -4865,15 +4865,8 @@ namespace CalamityMod.CalPlayer
|
||||
if (CalamityConfig.Instance.SpeedrunTimer)
|
||||
CalamityMod.SpeedrunTimer.Restart();
|
||||
|
||||
//
|
||||
// 31OCT2024: Fabsol: Added a temporary message for the Gimme Swag plushie campaign.
|
||||
// This message should not exist indefinitely. It is being pushed as a silent public update just for itself.
|
||||
// As this message always displays and is not configurable, the previous rules about startup messages have been replaced with always-true.
|
||||
//
|
||||
|
||||
// Set a random delay between 12 and 20 seconds. When this delay hits zero, startup messages display
|
||||
bool plushieMessage = true;
|
||||
if (plushieMessage || CalamityConfig.Instance.WikiStatusMessage)
|
||||
if (CalamityConfig.Instance.WikiStatusMessage)
|
||||
{
|
||||
startMessageDisplayDelay = Main.rand.Next(CalamityUtils.SecondsToFrames(12), CalamityUtils.SecondsToFrames(20) + 1);
|
||||
}
|
||||
|
||||
@@ -4167,10 +4167,6 @@ namespace CalamityMod.CalPlayer
|
||||
CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Misc.WikiStatus1");
|
||||
CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Misc.WikiStatus2");
|
||||
}
|
||||
|
||||
// 31OCT2024: Fabsol: Plushie message always appears.
|
||||
// 11FEB2024: Fabsol: Currently commented out because the campaign has ended.
|
||||
// CalamityUtils.DisplayLocalizedText("Mods.CalamityMod.Misc.GimmeSwagPlushieCampaign");
|
||||
}
|
||||
|
||||
--startMessageDisplayDelay;
|
||||
|
||||
@@ -242,7 +242,6 @@ namespace CalamityMod.Events
|
||||
if (inNaturalSeaPosition && player.Calamity().ZoneSulphur)
|
||||
{
|
||||
// Makes rain pour at its maximum intensity (but only after an idiot meanders into the Sulphurous Sea)
|
||||
// You'll never catch me, Fabs, Not when I shift into MAXIMUM OVERDRIVE!!
|
||||
HasStartedAcidicDownpour = true;
|
||||
CalamityNetcode.SyncWorld();
|
||||
break;
|
||||
|
||||
@@ -934,7 +934,6 @@ namespace CalamityMod.Items
|
||||
// 10% charge = 83% damage
|
||||
// 0% charge = 41.33% damage
|
||||
//
|
||||
// Fabsol - I changed this formula because it was bad and confusing, and I had promised to do so a while ago.
|
||||
internal float ChargeDamageFormula()
|
||||
{
|
||||
float x = MathHelper.Clamp(ChargeRatio, 0f, 1f);
|
||||
|
||||
@@ -1512,8 +1512,8 @@ namespace CalamityMod.NPCs
|
||||
#region Vulnerabilities and Resistances
|
||||
private void VulnerabilitiesAndResistances(NPC npc)
|
||||
{
|
||||
// These enemies are categorized in such a way to make them easy to understand.
|
||||
// Do not mess with these categories unless you ask me for permission - Fab.
|
||||
// These enemies are categorized in such a way to make them easy to understand
|
||||
// Regroup these if necessary, reminder to keep it comprehensive
|
||||
switch (npc.type)
|
||||
{
|
||||
// Regular organic desert enemies.
|
||||
@@ -5993,17 +5993,6 @@ namespace CalamityMod.NPCs
|
||||
maxSpawns = (int)(maxSpawns * 5f);
|
||||
}
|
||||
|
||||
// This is horribly unoptimized, I'm leaving it commented out. - Fab
|
||||
/*if (NPC.AnyNPCs(NPCType<WulfrumAmplifier>()))
|
||||
{
|
||||
int otherWulfrumEnemies = NPC.CountNPCS(NPCType<WulfrumDrone>()) + NPC.CountNPCS(NPCType<WulfrumGyrator>()) + NPC.CountNPCS(NPCType<WulfrumHovercraft>()) + NPC.CountNPCS(NPCType<WulfrumRover>());
|
||||
if (otherWulfrumEnemies < 4)
|
||||
{
|
||||
spawnRate = (int)(spawnRate * 0.8);
|
||||
maxSpawns = (int)(maxSpawns * 1.2f);
|
||||
}
|
||||
}*/
|
||||
|
||||
// Reductions
|
||||
if (Main.SceneMetrics.PeaceCandleCount > 0)
|
||||
{
|
||||
@@ -6171,8 +6160,7 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
}
|
||||
|
||||
// 12JUL2023: Ozzatron: what does this do
|
||||
// 27SEP2023: Fabsol: disables vanilla spawns "a pool of [0] indicates vanilla spawning"
|
||||
// Disable vanilla spawns while in the Brimstone Crag
|
||||
if (calamityBiomeZone)
|
||||
{
|
||||
pool[0] = 0f;
|
||||
|
||||
@@ -339,7 +339,7 @@ namespace CalamityMod.Systems
|
||||
int tileTypeToPlaceThickness = 3;
|
||||
bool placeLilies = true;
|
||||
|
||||
// Do not change this number, ever. - Fabsol
|
||||
// Apparently this is a reference!
|
||||
int minDistanceFromOtherLilies = 66;
|
||||
|
||||
for (int k = x - minDistanceFromOtherLilies; k < x + minDistanceFromOtherLilies; k += 2)
|
||||
|
||||
Reference in new issue
Block a user