Removed spawnedPunchCard

This commit is contained in:
sunny-raindrops committed 2026-04-29 19:30:02 -07:00
1 parent 87a00f2314
commit fb5026aca0
1 file changed
-5
-5
View File
@@ -779,8 +779,6 @@ namespace CalamityMod.CalPlayer
#endregion
#region Permanent Buff
/// <summary> If true, the player has spawned in Punch Card through its one-time chat easter egg. </summary>
public bool spawnedPunchCard = false;
/// <summary> If true, the player has consumed Celestial Onion. </summary>
public bool extraAccessoryML = false;
/// <summary> If true, the player has consumed Comet Shard. </summary>
@@ -1855,7 +1853,6 @@ namespace CalamityMod.CalPlayer
#region Saving And Loading
public override void Initialize()
{
spawnedPunchCard = false;
extraAccessoryML = false;
eCore = false;
mFruit = false;
@@ -1907,7 +1904,6 @@ namespace CalamityMod.CalPlayer
public override void SaveData(TagCompound tag)
{
var boost = new List<string>();
boost.AddWithCondition("spawnedPunchCard", spawnedPunchCard);
boost.AddWithCondition("extraAccessoryML", extraAccessoryML);
boost.AddWithCondition("etherealCore", eCore);
boost.AddWithCondition("miracleFruit", mFruit);
@@ -1997,7 +1993,6 @@ namespace CalamityMod.CalPlayer
public override void LoadData(TagCompound tag)
{
var boost = tag.GetList<string>("boost");
spawnedPunchCard = boost.Contains("spawnedPunchCard");
extraAccessoryML = boost.Contains("extraAccessoryML");
eCore = boost.Contains("etherealCore");
mFruit = boost.Contains("miracleFruit");