Massive amount of fixes and balancing for Draedon's Arsenal. Lore logs too.

This commit is contained in:
Cameron Ewell authored and GitHub committed 2020-07-31 18:15:11 -04:00
commit f08c8cc2ba
105 files changed
+1449 -1311

No files matched your search

+7 -8
View File
@@ -2681,9 +2681,9 @@ namespace CalamityMod.CalPlayer
if (areThereAnyDamnBosses || areThereAnyDamnEvents)
duration = chaosStateDurationBoss;
if (eScarfCooldown)
duration = (int)(chaosStateDuration * 1.5);
duration = (int)(duration * 1.5);
else if (scarfCooldown)
duration = chaosStateDuration * 2;
duration *= 2;
player.AddBuff(BuffID.ChaosState, duration, true);
}
}
@@ -2736,9 +2736,9 @@ namespace CalamityMod.CalPlayer
if (areThereAnyDamnBosses || areThereAnyDamnEvents)
duration = chaosStateDurationBoss;
if (eScarfCooldown)
duration = (int)(chaosStateDuration * 1.5);
duration = (int)(duration * 1.5);
else if (scarfCooldown)
duration = chaosStateDuration * 2;
duration *= 2;
player.AddBuff(BuffID.ChaosState, duration, true);
int numDust = 40;
@@ -3848,7 +3848,7 @@ namespace CalamityMod.CalPlayer
#region Rogue Mirrors
public void AbyssMirrorEvade()
{
if (player.whoAmI == Main.myPlayer && abyssalMirror && !abyssalMirrorCooldown)
if (player.whoAmI == Main.myPlayer && abyssalMirror && !abyssalMirrorCooldown && !eclipseMirror)
{
player.AddBuff(ModContent.BuffType<AbyssalMirrorCooldown>(), 1200);
player.immune = true;
@@ -3863,7 +3863,7 @@ namespace CalamityMod.CalPlayer
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/SilvaActivation"), (int)Main.player[Main.myPlayer].position.X, (int)Main.player[Main.myPlayer].position.Y);
for (int i = 0; i < 50; i++)
for (int i = 0; i < 10; i++)
{
int lumenyl = Projectile.NewProjectile(player.Center.X, player.Center.Y, Main.rand.NextFloat(-2f, 2f), Main.rand.NextFloat(-2f, 2f), ModContent.ProjectileType<AbyssalMirrorProjectile>(), (int)(55 * player.RogueDamage()), 0, player.whoAmI);
Main.projectile[lumenyl].rotation = Main.rand.NextFloat(0, 360);
@@ -7839,7 +7839,7 @@ namespace CalamityMod.CalPlayer
}
}
}
if (inkBomb)
if (inkBomb && !abyssalMirror && !eclipseMirror)
{
if (player.whoAmI == Main.myPlayer && !inkBombCooldown)
{
@@ -9807,7 +9807,6 @@ namespace CalamityMod.CalPlayer
GameShaders.Armor.GetSecondaryShader(player.dye[i].dye, player)?.UseColor(GetCurrentMoonlightDyeColor());
}
}
Main.blockInput = PopupGUIManager.AnyGUIsActive;
}
public static readonly PlayerLayer Tail = new PlayerLayer("CalamityMod", "Tail", PlayerLayer.BackAcc, delegate (PlayerDrawInfo drawInfo)
+1 -6
View File
@@ -3307,12 +3307,7 @@ namespace CalamityMod.CalPlayer
// Occasionally spawn cute sparks so it looks like an electrical aura
if (Main.rand.NextBool(10))
{
Vector2 velocity = new Vector2((float)Main.rand.Next(-50, 51), (float)Main.rand.Next(-50, 51));
while (velocity.X == 0f && velocity.Y == 0f)
velocity = new Vector2((float)Main.rand.Next(-50, 51), (float)Main.rand.Next(-50, 51));
velocity.Normalize();
velocity *= (float)Main.rand.Next(30, 61) * 0.1f;
Vector2 velocity = CalamityUtils.RandomVelocity(50f, 30f, 60f);
int spark = Projectile.NewProjectile(npc.Center, velocity, ModContent.ProjectileType<EutrophicSpark>(), damage / 2, 0f, player.whoAmI, 0f, 0f);
Main.projectile[spark].Calamity().forceTypeless = true;
Main.projectile[spark].localNPCHitCooldown = -2;
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

+2 -2
View File
@@ -11,8 +11,8 @@ namespace CalamityMod.Items.Accessories
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Pearl of Enthrallment");
Tooltip.SetDefault("Summons a siren to fight for you\n" +
"The siren stays above you, shooting water spears, ice mist, and treble clefs at nearby enemies");
Tooltip.SetDefault("Summons a water elemental to fight for you\n" +
"The elemental stays above you, shooting water spears, ice mist, and treble clefs at nearby enemies");
}
public override void SetDefaults()
+6 -3
View File
@@ -1000,15 +1000,18 @@ namespace CalamityMod.Items
teleportLocation.X -= (float)(player.width / 2);
if (teleportLocation.X > 50f && teleportLocation.X < (float)(Main.maxTilesX * 16 - 50) && teleportLocation.Y > 50f && teleportLocation.Y < (float)(Main.maxTilesY * 16 - 50))
{
if (!Collision.SolidCollision(teleportLocation, player.width, player.height))
int x = (int)teleportLocation.X / 16;
int y = (int)teleportLocation.Y / 16;
bool templeCheck = Main.tile[x, y].wall != WallID.LihzahrdBrickUnsafe || y <= Main.worldSurface || NPC.downedPlantBoss;
if (templeCheck && !Collision.SolidCollision(teleportLocation, player.width, player.height))
{
int duration = CalamityPlayer.chaosStateDuration;
if (CalamityPlayer.areThereAnyDamnBosses || CalamityPlayer.areThereAnyDamnEvents)
duration = CalamityPlayer.chaosStateDurationBoss;
if (modPlayer.eScarfCooldown)
duration = (int)(CalamityPlayer.chaosStateDuration * 1.5);
duration = (int)(duration * 1.5);
else if (modPlayer.scarfCooldown)
duration = CalamityPlayer.chaosStateDuration * 2;
duration *= 2;
player.AddBuff(BuffID.ChaosState, duration, true);
}
}
+42
View File
@@ -0,0 +1,42 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items
{
public class ChargerTestItem : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Charger Test Item");
Tooltip.SetDefault("Testing/Cheat Item" +
"Charges all Draedon's Arsenal weapons in your inventory");
}
public override void SetDefaults()
{
item.width = 42;
item.height = 42;
item.rare = ItemRarityID.Red;
item.Calamity().customRarity = CalamityRarity.DraedonRust;
item.consumable = false;
item.useStyle = ItemUseStyleID.SwingThrow;
item.useAnimation = 15;
item.useTime = 10;
item.autoReuse = true;
item.useTurn = true;
}
public override bool UseItem(Player player)
{
for (int i = 0; i < player.inventory.Length; i++)
{
if (player.inventory[i].type > ItemID.Count && player.inventory[i].Calamity().Chargeable)
player.inventory[i].Calamity().CurrentCharge = player.inventory[i].Calamity().ChargeMax;
}
return true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

+33
View File
@@ -0,0 +1,33 @@
using CalamityMod.UI;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items
{
public class DraedonsLogHell : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Draedon's Log - Hell");
Tooltip.SetDefault("Click to view its contents");
}
public override void SetDefaults()
{
item.width = 28;
item.height = 28;
item.rare = ItemRarityID.Red;
item.Calamity().customRarity = CalamityRarity.DraedonRust;
item.useAnimation = item.useTime = 20;
item.useStyle = ItemUseStyleID.HoldingUp;
}
public override bool UseItem(Player player)
{
if (Main.myPlayer == player.whoAmI)
PopupGUIManager.FlipActivityOfGUIWithType(typeof(DraedonLogHellGUI));
return true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

+33
View File
@@ -0,0 +1,33 @@
using CalamityMod.UI;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items
{
public class DraedonsLogJungle : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Draedon's Log - The Jungle and Plague");
Tooltip.SetDefault("Click to view its contents");
}
public override void SetDefaults()
{
item.width = 28;
item.height = 28;
item.rare = ItemRarityID.Red;
item.Calamity().customRarity = CalamityRarity.DraedonRust;
item.useAnimation = item.useTime = 20;
item.useStyle = ItemUseStyleID.HoldingUp;
}
public override bool UseItem(Player player)
{
if (Main.myPlayer == player.whoAmI)
PopupGUIManager.FlipActivityOfGUIWithType(typeof(DraedonLogJungleGUI));
return true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

+33
View File
@@ -0,0 +1,33 @@
using CalamityMod.UI;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items
{
public class DraedonsLogPlanetoid : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Draedon's Log - Space");
Tooltip.SetDefault("Click to view its contents");
}
public override void SetDefaults()
{
item.width = 28;
item.height = 28;
item.rare = ItemRarityID.Red;
item.Calamity().customRarity = CalamityRarity.DraedonRust;
item.useAnimation = item.useTime = 20;
item.useStyle = ItemUseStyleID.HoldingUp;
}
public override bool UseItem(Player player)
{
if (Main.myPlayer == player.whoAmI)
PopupGUIManager.FlipActivityOfGUIWithType(typeof(DraedonLogPlanetoidGUI));
return true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

+33
View File
@@ -0,0 +1,33 @@
using CalamityMod.UI;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items
{
public class DraedonsLogSnowBiome : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Draedon's Log - The Frozen Wasteland");
Tooltip.SetDefault("Click to view its contents");
}
public override void SetDefaults()
{
item.width = 28;
item.height = 28;
item.rare = ItemRarityID.Red;
item.Calamity().customRarity = CalamityRarity.DraedonRust;
item.useAnimation = item.useTime = 20;
item.useStyle = ItemUseStyleID.HoldingUp;
}
public override bool UseItem(Player player)
{
if (Main.myPlayer == player.whoAmI)
PopupGUIManager.FlipActivityOfGUIWithType(typeof(DraedonLogSnowBiomeGUI));
return true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

+1 -3
View File
@@ -26,9 +26,7 @@ namespace CalamityMod.Items
public override bool UseItem(Player player)
{
if (Main.myPlayer == player.whoAmI)
{
PopupGUIManager.DraedonLogSunkenSeaGUI.Active = !PopupGUIManager.DraedonLogSunkenSeaGUI.Active;
}
PopupGUIManager.FlipActivityOfGUIWithType(typeof(DraedonLogSunkenSeaGUI));
return true;
}
}
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.LoreItems
DisplayName.SetDefault("The Ocean");
Tooltip.SetDefault("Take care to not disturb the deep waters of this world.\n" +
"You may awaken something more terrifying than death itself.\n" +
"Favorite this item to prevent the mysterious siren lure from spawning.");
"Favorite this item to prevent the mysterious water elemental from spawning.");
}
public override void SetDefaults()
@@ -8,7 +8,7 @@ namespace CalamityMod.Items.Placeables.DraedonStructures
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Laboratory Console");
DisplayName.SetDefault("Laboratory Display");
}
public override void SetDefaults()
@@ -13,9 +13,10 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Frequency Manipulator");
Tooltip.SetDefault("Swings a spear around and then throws it\n" +
"On collision, the spear releases energy that homes towards energy\n" +
"Stealth Strikes releases more energy and explode on collision");
Tooltip.SetDefault("A long device, used in the tuning of some rather... original machines.\n" +
"Swings a spear around and then throws it\n" +
"On collision, the spear releases a burst of homing energy\n" +
"Stealth strikes releases more energy and explode on collision");
}
public override void SafeSetDefaults()
@@ -12,7 +12,10 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Galvanizing Glaive");
Tooltip.SetDefault("Swings a spear which envelops struck foes in an energy field\n" + "When done swinging, the spear discharges an extra pulse of energy");
Tooltip.SetDefault("Its use as a tool is to quickly separate a single object into two. That is also its use as a weapon.\n" +
"Swings a spear which envelops struck foes in an energy field\n" +
"When done swinging, the spear discharges an extra pulse of energy\n" +
"Deals more damage against enemies with high defenses");
}
public override void SetDefaults()
@@ -34,6 +37,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
item.value = CalamityGlobalItem.Rarity8BuyPrice;
item.shoot = ModContent.ProjectileType<GalvanizingGlaiveProjectile>();
item.shootSpeed = 21f;
item.Calamity().Chargeable = true;
item.Calamity().ChargeMax = 135;
}
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[item.shoot] <= 0;
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
{
DisplayName.SetDefault("Gatling Laser");
Tooltip.SetDefault("Large laser cannon used primarily by Yharim's fleet and base defense force\n" +
"Highly accurate, but lacks the power to punch through defensive targets");
"Deals less damage against enemies with high defense");
}
public override void SetDefaults()
@@ -29,6 +29,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
item.noUseGraphic = true;
item.autoReuse = false;
item.channel = true;
item.mana = 15;
item.useStyle = ItemUseStyleID.HoldingOut;
item.UseSound = mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/GatlingLaserFireStart");
+2 -1
View File
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Gauss Dagger");
Tooltip.SetDefault("Repeat strikes envelop foes in magnetic flux");
Tooltip.SetDefault("Slicing foes, it causes a flux of energy to form on the area tearing at them with turbulent forces.\n" +
"Repeat strikes envelop foes in magnetic flux");
}
public override void SetDefaults()
{
+3 -2
View File
@@ -10,7 +10,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Gauss Pistol");
Tooltip.SetDefault("Fires a devastating high velocity blast with extreme knockback");
Tooltip.SetDefault("A simple pistol that utilizes magic power; a weapon for the more magically adept.\n" +
"Fires a devastating high velocity blast with extreme knockback");
}
public override void SetDefaults()
@@ -19,7 +20,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
item.height = 22;
item.magic = true;
item.mana = 6;
item.damage = 70;
item.damage = 130;
item.knockBack = 11f;
item.useTime = item.useAnimation = 20;
item.autoReuse = true;
+2 -1
View File
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Gauss Rifle");
Tooltip.SetDefault("Fires a devastating high velocity blast with absurd knockback");
Tooltip.SetDefault("A large and slow weapon, the concussive force of its projectiles do well in clearing large groups.\n" +
"Fires a devastating high velocity blast with absurd knockback");
}
public override void SetDefaults()
@@ -10,7 +10,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Hydraulic Volt Crasher");
Tooltip.SetDefault("An electrically charged jackhammer which shocks all nearby foes on hit");
Tooltip.SetDefault("Good for both stamping metal plates and instantly fusing them, as well as crushing enemies.\n" +
"An electrically charged jackhammer which shocks all nearby foes on hit");
}
public override void SetDefaults()
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
{
DisplayName.SetDefault("Heavy Laser Rifle");
Tooltip.SetDefault("Laser weapon used by heavy infantry units in Yharim's army\n" +
"Incredibly accurate, but lacks the power to punch through defensive targets");
"Deals less damage against enemies with high defense");
}
public override void SetDefaults()
@@ -12,7 +12,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Matter Modulator");
Tooltip.SetDefault("Fires a burst of unstable matter that does significantly more damage after hitting a tile");
Tooltip.SetDefault("Using extra mass gained from collision with solid materials, it causes extra damage.\n" +
"Fires a burst of unstable matter that does significantly more damage after hitting a tile\n" +
"Deals more damage against enemies with high defenses");
}
public override void SetDefaults()
@@ -12,7 +12,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Mounted Scanner");
Tooltip.SetDefault("Summons a powerful weapon above your head that fires lasers at nearby enemies");
Tooltip.SetDefault("Laser technology used in this case for both targeting and defense.\n" +
"Summons a powerful weapon above your head that fires lasers at nearby enemies\n" +
"Deals less damage against enemies with high defense");
}
public override void SetDefaults()
@@ -20,7 +22,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
item.width = 26;
item.height = 26;
item.summon = true;
item.damage = 35;
item.damage = 41;
item.knockBack = 2f;
item.mana = 10;
item.useTime = item.useAnimation = 25;
+6 -4
View File
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
{
public class Phaseslayer : ModItem
{
public const int Damage = 19000;
public const int Damage = 11970;
// When below this percentage of charge, the sword is small instead of big.
public const float SizeChargeThreshold = 0.33f;
public const float SmallDamageMultiplier = 0.66f;
@@ -18,9 +18,11 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Phaseslayer");
Tooltip.SetDefault("Wield a colossal laser blade which is controlled by the cursor\n" +
Tooltip.SetDefault("A rough prototype of the Murasama blade, it is formed entirely from laser energy.\n" +
"Wield a colossal laser blade which is controlled by the cursor\n" +
"Faster swings deal more damage and release sword beams\n" +
"When at low charge, the blade is smaller and weaker");
"When at low charge, the blade is smaller and weaker\n" +
"Deals less damage against enemies with high defense");
}
public override void SetDefaults()
{
@@ -50,7 +52,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
item.channel = true;
}
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[item.shoot] <= 0;
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[item.shoot] <= 0 && item.Calamity().CurrentCharge > 0;
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
{
DisplayName.SetDefault("Plasma Caster");
Tooltip.SetDefault("Industrial tool used to fuse metal together with super-heated plasma\n" +
"Melts through target defense to deal extra damage to high defense targets\n" +
"Deals more damage against enemies with high defenses\n" +
"Right click for turbo mode");
}
@@ -29,6 +29,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
item.useTime = 45;
item.useAnimation = 45;
item.autoReuse = true;
item.mana = 24;
item.useStyle = ItemUseStyleID.HoldingOut;
item.UseSound = mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/PlasmaCasterFire");
@@ -54,6 +55,12 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
return 1f;
}
public override void ModifyManaCost(Player player, ref float reduce, ref float mult)
{
if (player.altFunctionUse == 2)
mult /= 3f;
}
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Vector2 velocity = new Vector2(speedX, speedY);
@@ -14,8 +14,10 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Plasma Grenade");
Tooltip.SetDefault("Throws a grenade that explodes into plasma on collision\n" +
"Stealth strikes explode violently on collision into a vaporizing blast");
Tooltip.SetDefault("Each grenade contains a heavily condensed and heated unit of plasma. Use with care.\n" +
"Throws a grenade that explodes into plasma on collision\n" +
"Stealth strikes explode violently on collision into a vaporizing blast\n" +
"Deals more damage against enemies with high defenses");
}
public override void SafeSetDefaults()
+2 -1
View File
@@ -14,7 +14,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Pole Warper");
Tooltip.SetDefault("Summons two floating magnets that repel each other");
Tooltip.SetDefault("Magnetic devices which tear at foes by propelling themselves off their opposite counterparts. Incredibly dangerous.\n" +
"Summons a pair of floating magnets that repel each other and relentlessly swarm enemies");
}
public override void SetDefaults()
+2 -1
View File
@@ -12,7 +12,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Pulse Dragon");
Tooltip.SetDefault("Throws two dragon heads that emit electrical fields");
Tooltip.SetDefault("Heavy duty flails, each containing a powerful generator which is activated upon launch.\n" +
"Throws two dragon heads that emit electrical fields");
}
public override void SetDefaults()
+2 -3
View File
@@ -10,13 +10,12 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
{
public class PulseRifle : ModItem
{
private int BaseDamage = 4500;
private int BaseDamage = 5900;
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Pulse Rifle");
Tooltip.SetDefault("Draedon's high-efficiency electromagnetic pulse rifle\n" +
"Incredibly accurate pulse weapon, crafted and wielded by Draedon to defend against his own creations\n" +
Tooltip.SetDefault("Draedon's former pulse rifle, used in emergencies for creations which turned against him.\n" +
"When the pulse hits a target it will arc to another nearby target\n" +
"Inflicts exceptional damage against inorganic targets");
}
@@ -12,7 +12,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Pulse Turret Remote");
Tooltip.SetDefault("Summons a pulse turret which eradicates nearby foes with focused energy blasts\n" +
Tooltip.SetDefault("A device used to defend against the weaker, less cognizant rogue creations of Draedon.\n" +
"Summons a pulse turret which eradicates nearby foes with focused energy blasts\n" +
"Especially effective against inorganic targets");
}
+3 -2
View File
@@ -13,13 +13,14 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Snake Eyes");
Tooltip.SetDefault("Summons a mechanical watcher that zaps and flies around enemies.");
Tooltip.SetDefault("Surveillance drones equipped with a strong electric field which can be directed at enemies.\n" +
"Summons a mechanical watcher that zaps and flies around enemies.");
}
public override void SetDefaults()
{
item.shootSpeed = 10f;
item.damage = 50;
item.damage = 40;
item.mana = 12;
item.width = 38;
item.height = 24;
@@ -12,7 +12,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Star Swallower Containment Unit");
Tooltip.SetDefault("Summons a biomechanical frog that vomits plasma onto enemies");
Tooltip.SetDefault("Small novelties created to easily transport and fire plasma, strangely popular with humans.\n" +
"Summons a biomechanical frog that vomits plasma onto enemies\n" +
"Deals more damage against enemies with high defenses");
}
public override void SetDefaults()
+6 -2
View File
@@ -13,8 +13,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("System Bane");
Tooltip.SetDefault("Hurls an unstable device which sticks to the ground and shocks nearby enemies with lightning\n" +
"Stealth Strikes make the device emit a large, damaging EMP field\n" +
Tooltip.SetDefault("Can be used to quickly send out an electromagnetic blast, strong enough to target organic nervous systems.\n" +
"Hurls an unstable device which sticks to the ground and shocks nearby enemies with lightning\n" +
"Stealth strikes make the device emit a large, damaging EMP field\n" +
"Stacks up to 5");
}
@@ -39,6 +40,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
item.shootSpeed = 16f;
item.shoot = ModContent.ProjectileType<SystemBaneProjectile>();
item.Calamity().Chargeable = true;
item.Calamity().ChargeMax = 135;
}
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[item.shoot] < item.stack;
+2 -1
View File
@@ -11,7 +11,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Taser");
Tooltip.SetDefault("Shoots a hook that attaches to enemies and electrocutes them before returning");
Tooltip.SetDefault("A slow, simple electric weapon, meant only for low ranking guards.\n" +
"Shoots a hook that attaches to enemies and electrocutes them before returning");
}
public override void SetDefaults()
@@ -30,6 +30,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
item.useTime = 90;
item.useAnimation = 90;
item.autoReuse = true;
item.mana = 30;
item.useStyle = ItemUseStyleID.HoldingOut;
item.UseSound = mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/TeslaCannonFire");
@@ -13,8 +13,10 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Tracking Disk");
Tooltip.SetDefault("Releases a flying disk that fires lasers at nearby enemies\n" +
"Stealth Strikes allow the disk to fire multiple larger lasers at different targets.");
Tooltip.SetDefault("A weapon that, as it flies, processes calculations and fires lasers.\n" +
"Releases a flying disk that fires lasers at nearby enemies\n" +
"Stealth strikes allow the disk to fire multiple larger lasers at different targets.\n" +
"Deals less damage against enemies with high defense");
}
public override void SafeSetDefaults()
{
+4 -3
View File
@@ -13,13 +13,14 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Wave Pounder");
Tooltip.SetDefault("Throws a bomb which explodes into a forceful shockwave\n" +
"Stealth Strikes emit absurdly powerful shockwaves");
Tooltip.SetDefault("It utilizes its power to send heavy shockwaves throughout the area, causing agonizing internal damage.\n" +
"Throws a bomb which explodes into a forceful shockwave\n" +
"Stealth strikes emit absurdly powerful shockwaves");
}
public override void SafeSetDefaults()
{
item.damage = 100;
item.damage = 50;
item.Calamity().rogue = true;
item.noMelee = true;
item.noUseGraphic = true;
+4 -10
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Magic
public override void SetDefaults()
{
item.damage = 306;
item.damage = 183;
item.mana = 40;
item.magic = true;
item.width = 48;
@@ -36,15 +36,9 @@ namespace CalamityMod.Items.Weapons.Magic
item.Calamity().customRarity = CalamityRarity.Turquoise;
}
public override Vector2? HoldoutOffset()
{
return new Vector2(-10, 0);
}
public override Vector2? HoldoutOffset() => new Vector2(-10, 0);
public override bool AltFunctionUse(Player player)
{
return true;
}
public override bool AltFunctionUse(Player player) => true;
public override bool CanUseItem(Player player)
{
@@ -80,7 +74,7 @@ namespace CalamityMod.Items.Weapons.Magic
}
else
{
Projectile.NewProjectile(position, new Vector2(speedX, speedY), type, damage, knockBack, player.whoAmI);
Projectile.NewProjectile(position, new Vector2(speedX, speedY), type, (int)(damage * 0.8571), knockBack, player.whoAmI);
}
return false;
}
+1 -1
View File
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Weapons.Magic
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Siren's Song");
DisplayName.SetDefault("Anahita's Song");
Tooltip.SetDefault("Casts slow-moving treble clefs that confuse enemies");
}
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override void SetDefaults()
{
item.damage = 265;
item.damage = 250;
item.ranged = true;
item.width = 84;
item.height = 30;
+1 -1
View File
@@ -8,7 +8,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
public class CelestialReaper : RogueWeapon
{
public const int BaseDamage = 240;
public const int BaseDamage = 120;
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Celestial Reaper");
+1 -1
View File
@@ -19,7 +19,7 @@ Stealth strike throws a volley of knives");
public override void SafeSetDefaults()
{
item.width = 18;
item.damage = 32;
item.damage = 25;
item.noMelee = true;
item.consumable = true;
item.noUseGraphic = true;
+83 -63
View File
@@ -9,55 +9,73 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Typeless
{
public class AethersWhisper : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Aether's Whisper");
Tooltip.SetDefault("Inflicts several long-lasting debuffs and splits on tile hits\n" +
"Projectiles gain damage as they travel\n" +
"Right click to change from magic to ranged damage");
}
public class AethersWhisper : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Aether's Whisper");
Tooltip.SetDefault("Inflicts several long-lasting debuffs and splits on tile hits\n" +
"Projectiles gain damage as they travel\n" +
"Right click to change from magic to ranged damage\n" +
"Right click consumes no mana");
}
public override void SetDefaults()
{
item.damage = 1150;
item.magic = true;
item.mana = 30;
item.width = 118;
item.height = 38;
item.useTime = 24;
item.useAnimation = 24;
item.useStyle = ItemUseStyleID.HoldingOut;
item.noMelee = true;
item.knockBack = 5.5f;
item.value = Item.buyPrice(1, 40, 0, 0);
item.rare = 10;
item.UseSound = mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/LaserCannon");
item.autoReuse = true;
item.shootSpeed = 12f;
item.shoot = ModContent.ProjectileType<AetherBeam>();
item.Calamity().customRarity = CalamityRarity.PureGreen;
}
public override void SetDefaults()
{
item.damage = 1150;
item.knockBack = 5.5f;
item.useTime = item.useAnimation = 24;
item.shootSpeed = 12f;
item.shoot = ModContent.ProjectileType<AetherBeam>();
item.mana = 30;
item.magic = true;
item.autoReuse = true;
public override Vector2? HoldoutOffset() => new Vector2(-10, 0);
item.width = 118;
item.height = 38;
item.noMelee = true;
item.useStyle = ItemUseStyleID.HoldingOut;
item.UseSound = mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/LaserCannon");
item.value = Item.buyPrice(1, 40, 0, 0);
item.rare = 10;
item.Calamity().customRarity = CalamityRarity.PureGreen;
}
public override bool AltFunctionUse(Player player) => true;
public override Vector2? HoldoutOffset() => new Vector2(-10, 0);
public override bool CanUseItem(Player player)
{
if (player.altFunctionUse == 2)
{
item.ranged = true;
item.magic = false;
}
else
{
item.ranged = false;
item.magic = true;
}
return base.CanUseItem(player);
}
public override bool AltFunctionUse(Player player) => true;
public override bool CanUseItem(Player player)
{
if (player.altFunctionUse == 2)
{
item.ranged = true;
item.magic = false;
}
else
{
item.ranged = false;
item.magic = true;
}
return base.CanUseItem(player);
}
public override bool OnPickup(Player player)
{
item.ranged = false;
item.magic = true;
return true;
}
public override void UpdateInventory(Player player)
{
// Reset to magic if not using an item to prevent sorting bugs.
if (player.itemAnimation <= 0)
{
item.ranged = false;
item.magic = true;
}
}
public override void ModifyManaCost(Player player, ref float reduce, ref float mult)
{
@@ -65,23 +83,25 @@ namespace CalamityMod.Items.Weapons.Typeless
mult *= 0f;
}
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
float ai0 = player.altFunctionUse == 2 ? 1f : 0f;
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, type, damage, knockBack, player.whoAmI, ai0, 0f);
return false;
}
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
// This is coded weirdly because it defaults to using magic boosts without this.
int dmg = player.GetWeaponDamage(player.ActiveItem());
float ai0 = player.altFunctionUse == 2 ? 1f : 0f;
Projectile.NewProjectile(position, new Vector2(speedX, speedY), type, dmg, knockBack, player.whoAmI, ai0, 0f);
return false;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<PlasmaRod>());
recipe.AddIngredient(ModContent.ItemType<Lazhar>());
recipe.AddIngredient(ModContent.ItemType<SpectreRifle>());
recipe.AddIngredient(ModContent.ItemType<TwistingNether>(), 3);
recipe.AddTile(TileID.LunarCraftingStation);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<PlasmaRod>());
recipe.AddIngredient(ModContent.ItemType<Lazhar>());
recipe.AddIngredient(ModContent.ItemType<SpectreRifle>());
recipe.AddIngredient(ModContent.ItemType<TwistingNether>(), 3);
recipe.AddTile(TileID.LunarCraftingStation);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
+2 -2
View File
@@ -124,8 +124,8 @@ namespace CalamityMod.Localization
new [] { "DefiledText", "Your soul is mine..." },
new [] { "DefiledText2", "Your soul is yours once more..." },
new [] { "IronHeartText", "Iron Heart is active, don't die." },
new [] { "IronHeartText2", "Iron Heart is not active, you can die again." },
new [] { "IronHeartText", "Iron Heart is active, healing is disabled." },
new [] { "IronHeartText2", "Iron Heart is not active, healing is restored." },
new [] { "FlameText", "The air is getting warmer around you." },
+13 -6
View File
@@ -100,17 +100,24 @@ namespace CalamityMod
case "great sand shark":
return CalamityWorld.downedGSS;
case "siren":
case "thesiren":
case "the siren":
case "leviathan":
case "theleviathan":
case "the leviathan":
case "sirenleviathan":
case "siren leviathan":
case "sirenandleviathan":
case "siren and leviathan":
case "the siren and the leviathan":
case "siren":
case "thesiren":
case "the siren":
case "anahita":
case "leviathan":
case "theleviathan":
case "the leviathan":
case "anahitaleviathan":
case "anahita leviathan":
case "anahitaandleviathan":
case "anahita and leviathan":
case "anahita and the leviathan":
return CalamityWorld.downedLeviathan;
case "aureus":
+3 -3
View File
@@ -214,7 +214,7 @@ namespace CalamityMod
BossDifficulty.TryGetValue("DesertScourge", out float order);
List<int> segments = new List<int>() { NPCType<DesertScourgeHead>(), NPCType<DesertScourgeBody>(), NPCType<DesertScourgeTail>() };
int summon = ItemType<DriedSeafood>();
List<int> loot = new List<int>() { ItemType<DesertScourgeBag>(), ItemID.SandBlock, ItemType<VictoryShard>(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ItemType<AquaticDischarge>(), ItemType<Barinade>(), ItemType<StormSpray>(), ItemType<SeaboundStaff>(), ItemType<ScourgeoftheDesert>(), ItemType<DuneHopper>(), ItemType<AeroStone>(), ItemType<SandCloak>(), ItemType<DeepDiver>(), ItemType<OceanCrest>(), ItemID.AnglerTackleBag, ItemID.HighTestFishingLine, ItemID.TackleBox, ItemID.AnglerEarring, ItemID.FishermansGuide, ItemID.WeatherRadio, ItemID.Sextant, ItemID.AnglerHat, ItemID.AnglerVest, ItemID.AnglerPants, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GoldenBugNet, ItemID.LesserHealingPotion };
List<int> loot = new List<int>() { ItemType<DesertScourgeBag>(), ItemID.SandBlock, ItemType<VictoryShard>(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ItemType<AquaticDischarge>(), ItemType<Barinade>(), ItemType<StormSpray>(), ItemType<SeaboundStaff>(), ItemType<ScourgeoftheDesert>(), ItemType<DuneHopper>(), ItemType<AeroStone>(), ItemType<SandCloak>(), ItemType<DeepDiver>(), ItemType<OceanCrest>(), ItemType<SandyAnglingKit>(), ItemID.LesserHealingPotion };
List<int> collection = new List<int>() { ItemType<DesertScourgeTrophy>(), ItemType<DesertScourgeMask>(), ItemType<KnowledgeDesertScourge>() };
string instructions = $"Use a [i:{summon}] in the Desert Biome";
string despawn = CalamityUtils.ColorMessage("The scourge of the desert delved back into the sand.", new Color(0xEE, 0xE8, 0xAA));
@@ -310,7 +310,7 @@ namespace CalamityMod
BossDifficulty.TryGetValue("AquaticScourge", out float order);
List<int> segments = new List<int>() { NPCType<AquaticScourgeHead>(), NPCType<AquaticScourgeBody>(), NPCType<AquaticScourgeBodyAlt>(), NPCType<AquaticScourgeTail>() };
int summon = ItemType<Seafood>();
List<int> loot = new List<int>() { ItemType<AquaticScourgeBag>(), ItemType<SulphurousSand>(), ItemType<VictoryShard>(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ItemType<SubmarineShocker>(), ItemType<Barinautical>(), ItemType<Downpour>(), ItemType<DeepseaStaff>(), ItemType<ScourgeoftheSeas>(), ItemType<SeasSearing>(), ItemType<AeroStone>(), ItemType<AquaticEmblem>(), ItemType<CorrosiveSpine>(), ItemID.AnglerTackleBag, ItemID.HighTestFishingLine, ItemID.TackleBox, ItemID.AnglerEarring, ItemID.FishermansGuide, ItemID.WeatherRadio, ItemID.Sextant, ItemID.AnglerHat, ItemID.AnglerVest, ItemID.AnglerPants, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GoldenBugNet, ItemID.GreaterHealingPotion };
List<int> loot = new List<int>() { ItemType<AquaticScourgeBag>(), ItemType<SulphurousSand>(), ItemType<VictoryShard>(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ItemType<SubmarineShocker>(), ItemType<Barinautical>(), ItemType<Downpour>(), ItemType<DeepseaStaff>(), ItemType<ScourgeoftheSeas>(), ItemType<SeasSearing>(), ItemType<AeroStone>(), ItemType<AquaticEmblem>(), ItemType<CorrosiveSpine>(), ItemType<BleachedAnglingKit>(), ItemID.GreaterHealingPotion };
List<int> collection = new List<int>() { ItemType<AquaticScourgeTrophy>(), ItemType<AquaticScourgeMask>(), ItemType<KnowledgeAquaticScourge>(), ItemType<KnowledgeSulphurSea>() };
string instructions = $"Use a [i:{summon}] in the Sulphuric Sea or wait for it to spawn in the Sulphuric Sea";
string despawn = CalamityUtils.ColorMessage("The Aquatic Scourge swam back into the open ocean.", new Color(0xF0, 0xE6, 0x8C));
@@ -385,7 +385,7 @@ namespace CalamityMod
BossDifficulty.TryGetValue("Ravager", out float order);
List<int> segments = new List<int>() { NPCType<RavagerBody>(), NPCType<RavagerClawLeft>(), NPCType<RavagerClawRight>(), NPCType<RavagerHead>(), NPCType<RavagerLegLeft>(), NPCType<RavagerLegRight>() };
int summon = ItemType<AncientMedallion>();
List<int> loot = new List<int>() { ItemType<RavagerBag>(), ItemType<Bloodstone>(), ItemType<VerstaltiteBar>(), ItemType<DraedonBar>(), ItemType<CruptixBar>(), ItemType<CoreofCinder>(), ItemType<CoreofEleum>(), ItemType<CoreofChaos>(), ItemType<BarofLife>(), ItemType<CoreofCalamity>(), ItemType<UltimusCleaver>(), ItemType<RealmRavager>(), ItemType<Hematemesis>(), ItemType<SpikecragStaff>(), ItemType<CraniumSmasher>(), ItemType<BloodPact>(), ItemType<FleshTotem>(), ItemType<BloodflareCore>(), ItemType<InfernalBlood>(), ItemID.GreaterHealingPotion };
List<int> loot = new List<int>() { ItemType<RavagerBag>(), ItemType<FleshyGeodeT1>(), ItemType<FleshyGeodeT2>(), ItemType<UltimusCleaver>(), ItemType<RealmRavager>(), ItemType<Hematemesis>(), ItemType<SpikecragStaff>(), ItemType<CraniumSmasher>(), ItemType<BloodPact>(), ItemType<FleshTotem>(), ItemType<BloodflareCore>(), ItemType<InfernalBlood>(), ItemID.GreaterHealingPotion };
List<int> collection = new List<int>() { ItemType<RavagerTrophy>(), ItemType<RavagerMask>(), ItemType<KnowledgeRavager>() };
string instructions = $"Use an [i:{summon}]";
string despawn = CalamityUtils.ColorMessage("The automaton of misshapen victims went looking for the true perpetrator.", new Color(0xB2, 0x22, 0x22));
+4
View File
@@ -60,6 +60,10 @@ namespace CalamityMod.NPCs.AcidRain
{
npc.TargetClosest(false);
Player player = Main.player[npc.target];
// Slow down over time on the X axis (to prevent endless sliding as a result of KB)
npc.velocity.X *= 0.96f;
// Hover on the top of the water
if (npc.wet)
{
+183 -205
View File
@@ -2468,38 +2468,35 @@ namespace CalamityMod.NPCs
}
#endregion
#region Set Patreon Town NPC Name
private void SetPatreonTownNPCName(NPC npc)
{
if (setNewName)
{
setNewName = false;
switch (npc.type)
{
case NPCID.Guide:
#region Set Patreon Town NPC Name
private void SetPatreonTownNPCName(NPC npc)
{
if (setNewName)
{
setNewName = false;
switch (npc.type)
{
case NPCID.Guide:
if (CalamityWorld.guideName)
break;
switch (Main.rand.Next(39)) // 34 guide names
{
case 0:
npc.GivenName = "Lapp";
CalamityWorld.guideName = true;
break;
CalamityWorld.guideName = true;
switch (Main.rand.Next(39)) // 34 guide names
{
case 0:
npc.GivenName = "Lapp";
break;
case 1:
npc.GivenName = "Ben Shapiro";
CalamityWorld.guideName = true;
break;
case 1:
npc.GivenName = "Ben Shapiro";
break;
case 2:
npc.GivenName = "StreakistYT";
CalamityWorld.guideName = true;
break;
case 2:
npc.GivenName = "StreakistYT";
break;
case 3:
npc.GivenName = "Neoplasmatic";
CalamityWorld.guideName = true;
break;
case 3:
npc.GivenName = "Neoplasmatic";
break;
case 4:
npc.GivenName = "Devin";
@@ -2508,251 +2505,232 @@ namespace CalamityMod.NPCs
default:
CalamityWorld.guideName = true;
break;
}
break;
}
break;
break;
case NPCID.Wizard:
case NPCID.Wizard:
if (CalamityWorld.wizardName)
break;
switch (Main.rand.Next(26)) // 23 wizard names
{
case 0:
npc.GivenName = "Mage One-Trick";
CalamityWorld.wizardName = true;
break;
CalamityWorld.wizardName = true;
switch (Main.rand.Next(26)) // 23 wizard names
{
case 0:
npc.GivenName = "Mage One-Trick";
break;
case 1:
npc.GivenName = "Inorim, son of Ivukey";
CalamityWorld.wizardName = true;
break;
case 1:
npc.GivenName = "Inorim, son of Ivukey";
break;
case 2:
npc.GivenName = "Jensen";
CalamityWorld.wizardName = true;
break;
case 2:
npc.GivenName = "Jensen";
break;
default:
CalamityWorld.wizardName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.Steampunker:
case NPCID.Steampunker:
if (CalamityWorld.steampunkerName)
break;
switch (Main.rand.Next(23)) // 21 steampunker names
{
case 0:
npc.GivenName = "Vorbis";
CalamityWorld.steampunkerName = true;
break;
CalamityWorld.steampunkerName = true;
switch (Main.rand.Next(23)) // 21 steampunker names
{
case 0:
npc.GivenName = "Vorbis";
break;
case 1:
npc.GivenName = "Angel";
CalamityWorld.steampunkerName = true;
break;
case 1:
npc.GivenName = "Angel";
break;
default:
CalamityWorld.steampunkerName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.Stylist:
case NPCID.Stylist:
if (CalamityWorld.stylistName)
break;
switch (Main.rand.Next(21)) // 20 stylist names
{
case 0:
npc.GivenName = "Amber";
CalamityWorld.stylistName = true;
break;
CalamityWorld.stylistName = true;
switch (Main.rand.Next(21)) // 20 stylist names
{
case 0:
npc.GivenName = "Amber";
break;
default:
CalamityWorld.stylistName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.WitchDoctor:
case NPCID.WitchDoctor:
if (CalamityWorld.witchDoctorName)
break;
switch (Main.rand.Next(11)) // 10 witch doctor names
{
case 0:
npc.GivenName = "Sok'ar";
CalamityWorld.witchDoctorName = true;
break;
CalamityWorld.witchDoctorName = true;
switch (Main.rand.Next(11)) // 10 witch doctor names
{
case 0:
npc.GivenName = "Sok'ar";
break;
default:
CalamityWorld.witchDoctorName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.TaxCollector:
case NPCID.TaxCollector:
if (CalamityWorld.taxCollectorName)
break;
switch (Main.rand.Next(21)) // 20 tax collector names
{
case 0:
npc.GivenName = "Emmett";
CalamityWorld.taxCollectorName = true;
break;
CalamityWorld.taxCollectorName = true;
switch (Main.rand.Next(21)) // 20 tax collector names
{
case 0:
npc.GivenName = "Emmett";
break;
default:
CalamityWorld.taxCollectorName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.Pirate:
case NPCID.Pirate:
if (CalamityWorld.pirateName)
break;
switch (Main.rand.Next(12)) // 11 pirate names
{
case 0:
npc.GivenName = "Tyler Van Hook";
CalamityWorld.pirateName = true;
break;
CalamityWorld.pirateName = true;
switch (Main.rand.Next(12)) // 11 pirate names
{
case 0:
npc.GivenName = "Tyler Van Hook";
break;
default:
CalamityWorld.pirateName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.Mechanic:
case NPCID.Mechanic:
if (CalamityWorld.mechanicName)
break;
switch (Main.rand.Next(26)) // 24 mechanic names
{
case 0:
npc.GivenName = "Lilly";
CalamityWorld.mechanicName = true;
break;
CalamityWorld.mechanicName = true;
switch (Main.rand.Next(26)) // 24 mechanic names
{
case 0:
npc.GivenName = "Lilly";
break;
case 1:
npc.GivenName = "Daawn";
CalamityWorld.mechanicName = true;
break;
case 1:
npc.GivenName = "Daawn";
break;
default:
CalamityWorld.mechanicName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.ArmsDealer:
case NPCID.ArmsDealer:
if (CalamityWorld.armsDealerName)
break;
switch (Main.rand.Next(26)) // 24 arms dealer names
{
case 0:
npc.GivenName = "Drifter";
CalamityWorld.armsDealerName = true;
break;
CalamityWorld.armsDealerName = true;
switch (Main.rand.Next(26)) // 24 arms dealer names
{
case 0:
npc.GivenName = "Drifter";
break;
case 1:
npc.GivenName = "Finchi";
CalamityWorld.armsDealerName = true;
break;
case 1:
npc.GivenName = "Finchi";
break;
default:
CalamityWorld.armsDealerName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.Dryad:
case NPCID.Dryad:
if (CalamityWorld.dryadName)
break;
switch (Main.rand.Next(23)) // 21 Dryad names
{
case 0:
npc.GivenName = "Rythmi";
CalamityWorld.dryadName = true;
break;
CalamityWorld.dryadName = true;
switch (Main.rand.Next(23)) // 21 Dryad names
{
case 0:
npc.GivenName = "Rythmi";
break;
case 1:
npc.GivenName = "Izuna";
CalamityWorld.dryadName = true;
break;
case 1:
npc.GivenName = "Izuna";
break;
default:
CalamityWorld.dryadName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.Nurse:
case NPCID.Nurse:
if (CalamityWorld.nurseName)
break;
switch (Main.rand.Next(25)) // 24 nurse names
{
case 0:
npc.GivenName = "Farsni";
CalamityWorld.nurseName = true;
break;
CalamityWorld.nurseName = true;
switch (Main.rand.Next(25)) // 24 nurse names
{
case 0:
npc.GivenName = "Farsni";
break;
default:
CalamityWorld.nurseName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.Angler:
case NPCID.Angler:
if (CalamityWorld.anglerName)
break;
switch (Main.rand.Next(23)) // 22 angler names
{
case 0:
npc.GivenName = "Dazren";
CalamityWorld.anglerName = true;
break;
CalamityWorld.anglerName = true;
switch (Main.rand.Next(23)) // 22 angler names
{
case 0:
npc.GivenName = "Dazren";
break;
default:
CalamityWorld.anglerName = true;
break;
}
default:
break;
}
break;
break;
case NPCID.Clothier:
case NPCID.Clothier:
if (CalamityWorld.clothierName)
break;
switch (Main.rand.Next(26)) // 25 clothier names
{
case 0:
npc.GivenName = "Joeseph Jostar";
CalamityWorld.clothierName = true;
break;
CalamityWorld.clothierName = true;
switch (Main.rand.Next(26)) // 25 clothier names
{
case 0:
npc.GivenName = "Joeseph Jostar";
break;
default:
CalamityWorld.clothierName = true;
break;
}
default:
break;
}
break;
break;
default:
break;
}
}
}
#endregion
default:
break;
}
}
}
#endregion
#region Boss Rush Force Despawn Other NPCs
private void BossRushForceDespawnOtherNPCs(NPC npc, Mod mod)
@@ -26,7 +26,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
projectile.width = 8;
projectile.height = 8;
projectile.friendly = true;
projectile.minion = true;
projectile.Calamity().rogue = true;
projectile.penetrate = 1;
projectile.timeLeft = Lifetime;
projectile.extraUpdates = 1;
@@ -89,7 +89,9 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
totalEnergyParticlesToSpawn = 4;
RingDustEffect(projectile.Center, 1.6f, 1.4f, 7f, 2.6f);
CalamityGlobalProjectile.ExpandHitboxBy(projectile, 160);
projectile.damage /= 2;
projectile.Damage();
projectile.damage *= 2;
}
for (int i = 0; i < totalEnergyParticlesToSpawn; i++)
@@ -42,6 +42,11 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
Projectile.NewProjectile(projectile.Center + offset, projectile.velocity.SafeNormalize(Vector2.UnitY) * 15f, ModContent.ProjectileType<GaussEnergy>(), (int)(projectile.damage * 0.4), 0f, projectile.owner);
};
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
damage += target.defense / 3;
}
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
{
Vector2 drawPosition = projectile.position + new Vector2(projectile.width, projectile.height) / 2f + Vector2.UnitY * projectile.gfxOffY - Main.screenPosition;
@@ -32,12 +32,17 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
projectile.width = projectile.height = 383;
projectile.friendly = true;
projectile.penetrate = -1;
projectile.tileCollide = false;
projectile.tileCollide = false;
projectile.Calamity().rogue = true;
projectile.usesIDStaticNPCImmunity = true;
projectile.idStaticNPCHitCooldown = frameLength * horizontalFrames * verticalFrames / 2;
}
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
damage += target.defense / 4;
}
public override void AI()
{
projectile.frameCounter++;
@@ -92,12 +92,12 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
projectile.damage /= 3;
projectile.damage = (int)(projectile.damage * 0.6);
}
public override void OnHitPvp(Player target, int damage, bool crit)
{
projectile.damage /= 3;
projectile.damage = (int)(projectile.damage * 0.6);
}
}
}
@@ -56,7 +56,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend, Main.DefaultSamplerState, DepthStencilState.None, Main.instance.Rasterizer, null, Main.GameViewMatrix.TransformationMatrix);
Rectangle frame = bladeTexture.Frame(1, 5, 0, projectile.frameCounter / 4 % 5);
var drawData2 = new DrawData(bladeTexture, projectile.Center - Main.screenPosition, frame, Color.White, projectile.rotation, bladeTexture.Size() * 0.5f, projectile.scale * 1.2f, SpriteEffects.None, 0);
var drawData2 = new DrawData(bladeTexture, projectile.Center - Main.screenPosition, frame, Color.White, projectile.rotation, bladeTexture.Size() / new Vector2(1f, 5f) * 0.5f, projectile.scale * 1.2f, SpriteEffects.None, 0);
distortationShader.Apply(drawData2);
drawData2.Draw(spriteBatch);
@@ -16,7 +16,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
public const float MaxFallSpeed = 12f;
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Web Ball");
DisplayName.SetDefault("Plasma Grenade");
}
public override void SetDefaults()
@@ -47,6 +47,11 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
Time++;
}
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
damage += target.defense / 4;
}
public override void Kill(int timeLeft)
{
if (projectile.Calamity().stealthStrike)
@@ -55,6 +55,11 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
}
}
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
damage += target.defense / 4;
}
public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox)
{
float dist1 = Vector2.Distance(projectile.Center, targetHitbox.TopLeft());
@@ -89,12 +89,12 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
}
NPCMovement(potentialTarget);
}
if (!SufferingFromSeparationAnxiety && projectile.Distance(player.Center) > (potentialTarget == null ? 360f : 1500f))
if (!SufferingFromSeparationAnxiety && projectile.Distance(player.Center) > (potentialTarget is null ? 360f : 1500f))
{
SufferingFromSeparationAnxiety = true;
projectile.netUpdate = true;
}
else if (SufferingFromSeparationAnxiety && projectile.Distance(player.Center) < (potentialTarget == null ? 10f : 120f))
else if (SufferingFromSeparationAnxiety && projectile.Distance(player.Center) < (potentialTarget is null ? 10f : 120f))
{
SufferingFromSeparationAnxiety = false;
projectile.netUpdate = true;
@@ -60,6 +60,11 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
return true;
}
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
damage += target.defense / 2;
}
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
target.AddBuff(ModContent.BuffType<Irradiated>(), 180);
@@ -32,7 +32,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
projectile.width = 22;
projectile.height = 22;
projectile.friendly = true;
projectile.melee = true;
projectile.Calamity().rogue = true;
projectile.penetrate = -1;
projectile.extraUpdates = 1;
projectile.tileCollide = false;
@@ -38,6 +38,8 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
public override void AI()
{
projectile.StickToTiles(false, true);
Time++;
projectile.rotation = projectile.velocity.ToRotation();
if (projectile.velocity.Y < 15f)
@@ -66,6 +66,11 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
}
}
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
damage += target.defense / 3;
}
public override bool OnTileCollide(Vector2 oldVelocity)
{
// Register the tile collision, if one has not happened yet.
+58 -69
View File
@@ -51,7 +51,8 @@ namespace CalamityMod.Projectiles.Pets
{
projectile.timeLeft = 2;
}
if (sleepyTimer < 180)
bool sleepy = sleepyTimer >= 180;
if (!sleepy)
{
projectile.frameCounter++;
if (projectile.frameCounter > 6)
@@ -71,7 +72,7 @@ namespace CalamityMod.Projectiles.Pets
{
if (projectile.frame >= 16)
{
projectile.frame = sleepyTimer >= 180 ? 16 : 8;
projectile.frame = sleepy ? 16 : 8;
}
}
underwater = player.IsUnderwater() || modPlayer.leviathanAndSirenLore;
@@ -92,7 +93,7 @@ namespace CalamityMod.Projectiles.Pets
}
else
{
if (sleepyTimer < 180)
if (!sleepy)
{
sleepyTimer++;
lightLevel = 1;
@@ -116,126 +117,114 @@ namespace CalamityMod.Projectiles.Pets
break;
}
float num23 = 0.2f;
float num24 = 5f;
Vector2 vector4 = new Vector2(projectile.position.X + (float)projectile.width * 0.5f, projectile.position.Y + (float)projectile.height * 0.5f);
float num25 = player.position.X + (float)(player.width / 2) - vector4.X;
float num26 = player.position.Y + player.gfxOffY + (float)(player.height / 2) - vector4.Y;
if (player.controlLeft && sleepyTimer < 180)
float velAdjustment = 0.2f;
float speedLimit = 5f;
Vector2 playerVec = player.Center - projectile.Center;
playerVec.Y += player.gfxOffY;
if (player.controlLeft && !sleepy)
{
num25 -= 120f;
playerVec.X -= 120f;
}
else if (player.controlRight && sleepyTimer < 180)
else if (player.controlRight && !sleepy)
{
num25 += 120f;
playerVec.X += 120f;
}
if (player.controlDown && sleepyTimer < 180)
if (player.controlDown && !sleepy)
{
num26 += 120f;
playerVec.Y += 120f;
}
else
{
if (player.controlUp && sleepyTimer < 180)
if (player.controlUp && !sleepy)
{
num26 -= 120f;
playerVec.Y -= 120f;
}
num26 -= 60f;
playerVec.Y -= 60f;
}
float num27 = (float)Math.Sqrt((double)(num25 * num25 + num26 * num26));
if (num27 > 1000f)
if (projectile.velocity.X < -0.25f || (player.controlLeft && !sleepy))
{
projectile.position.X += num25;
projectile.position.Y += num26;
projectile.direction = -1; //face left
}
else if (projectile.velocity.X > 0.25f || (player.controlRight && !sleepy))
{
projectile.direction = 1; //face right
}
projectile.spriteDirection = projectile.direction;
float playerDist = playerVec.Length();
if (playerDist > 1000f)
{
projectile.position.X += playerVec.X;
projectile.position.Y += playerVec.Y;
}
if (projectile.localAI[0] == 1f)
{
if (num27 < 10f && Math.Abs(player.velocity.X) + Math.Abs(player.velocity.Y) < num24 && player.velocity.Y == 0f)
if (playerDist < 10f && player.velocity.Length() < speedLimit && player.velocity.Y == 0f)
{
projectile.localAI[0] = 0f;
}
num24 = 12f;
if (num27 < num24)
speedLimit = 12f;
if (playerDist < speedLimit)
{
projectile.velocity.X = num25;
projectile.velocity.Y = num26;
projectile.velocity = playerVec;
}
else
{
num27 = num24 / num27;
projectile.velocity.X = num25 * num27;
projectile.velocity.Y = num26 * num27;
playerDist = speedLimit / playerDist;
projectile.velocity = playerVec * playerDist;
}
if (projectile.velocity.X > 0.5f)
{
projectile.direction = -1;
}
else if (projectile.velocity.X < -0.5f)
{
projectile.direction = 1;
}
projectile.spriteDirection = projectile.direction;
projectile.rotation = projectile.velocity.X * 0.05f;
return;
}
if (num27 > 200f)
if (playerDist > 200f)
{
projectile.localAI[0] = 1f;
}
if (projectile.velocity.X > 0.5f)
if (playerDist < 10f)
{
projectile.direction = -1;
}
else if (projectile.velocity.X < -0.5f)
{
projectile.direction = 1;
}
projectile.spriteDirection = projectile.direction;
if (num27 < 10f)
{
projectile.velocity.X = num25;
projectile.velocity.Y = num26;
projectile.velocity.X = playerVec.X;
projectile.velocity.Y = playerVec.Y;
projectile.rotation = projectile.velocity.X * 0.05f;
if (num27 < num24)
if (playerDist < speedLimit)
{
projectile.position += projectile.velocity;
projectile.velocity *= 0f;
num23 = 0f;
velAdjustment = 0f;
}
projectile.direction = -player.direction;
}
num27 = num24 / num27;
num25 *= num27;
num26 *= num27;
if (projectile.velocity.X < num25)
playerDist = speedLimit / playerDist;
playerVec *= playerDist;
if (projectile.velocity.X < playerVec.X)
{
projectile.velocity.X += num23;
projectile.velocity.X += velAdjustment;
if (projectile.velocity.X < 0f)
{
projectile.velocity.X = projectile.velocity.X * 0.99f;
projectile.velocity.X *= 0.99f;
}
}
if (projectile.velocity.X > num25)
if (projectile.velocity.X > playerVec.X)
{
projectile.velocity.X -= num23;
projectile.velocity.X -= velAdjustment;
if (projectile.velocity.X > 0f)
{
projectile.velocity.X = projectile.velocity.X * 0.99f;
projectile.velocity.X *= 0.99f;
}
}
if (projectile.velocity.Y < num26)
if (projectile.velocity.Y < playerVec.Y)
{
projectile.velocity.Y += num23;
projectile.velocity.Y += velAdjustment;
if (projectile.velocity.Y < 0f)
{
projectile.velocity.Y = projectile.velocity.Y * 0.99f;
projectile.velocity.Y *= 0.99f;
}
}
if (projectile.velocity.Y > num26)
if (projectile.velocity.Y > playerVec.Y)
{
projectile.velocity.Y -= num23;
projectile.velocity.Y -= velAdjustment;
if (projectile.velocity.Y > 0f)
{
projectile.velocity.Y = projectile.velocity.Y * 0.99f;
projectile.velocity.Y *= 0.99f;
}
}
if (projectile.velocity.X != 0f || projectile.velocity.Y != 0f)
+2 -2
View File
@@ -68,8 +68,8 @@ namespace CalamityMod.Projectiles.Ranged
public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox)
{
int width = (int)MathHelper.Max(targetHitbox.Width, 150);
int height = (int)MathHelper.Max(targetHitbox.Height, 150);
int width = (int)MathHelper.Min(targetHitbox.Width, 150);
int height = (int)MathHelper.Min(targetHitbox.Height, 150);
CalamityGlobalProjectile.ExpandHitboxBy(projectile, width, height);
return null;
}
@@ -45,7 +45,7 @@ namespace CalamityMod.Projectiles.Rogue
framesNeeded /= 6f - projectile.penetrate + 1f; // The addition of 1 is to prevent division by zero. The more hits, the more afterimages.
if (projectile.timeLeft % (int)framesNeeded == 0f)
{
Projectile.NewProjectile(projectile.Center, projectile.velocity, ModContent.ProjectileType<CelestialReaperAfterimage>(), projectile.damage, 2f, projectile.owner);
Projectile.NewProjectile(projectile.Center, projectile.velocity, ModContent.ProjectileType<CelestialReaperAfterimage>(), projectile.damage / 2, projectile.knockBack / 2f, projectile.owner);
}
}
}
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Projectiles.Rogue
public int frameY = 0;
private const int horizontalFrames = 5;
private const int verticalFrames = 4;
private const int frameLength = 5;
private const int frameLength = 4;
private const float radius = 204.5f;
public override void SetStaticDefaults()
+1 -1
View File
@@ -52,7 +52,7 @@ namespace CalamityMod.Projectiles.Summon
public int LaserCooldown = 0;
public const int LaserBaseDamage = 21000;
public const int RegicideBaseDamageSmall = 9487;
public const int RegicideBaseDamageLarge = 22250;
public const int RegicideBaseDamageLarge = 26000;
public override void SetStaticDefaults()
{
+7
View File
@@ -139,6 +139,13 @@ namespace CalamityMod.Projectiles.Summon
{
projectile.velocity = (projectile.velocity * 15f + projectile.DirectionTo(player.Center - new Vector2(player.direction * -80f, 160f)) * 19f) / 16f;
Vector2 distanceVector = player.Center - projectile.Center;
if (distanceVector.Length() > DistanceToCheck * 1.5f)
{
projectile.Center = player.Center;
projectile.netUpdate = true;
}
projectile.MinionAntiClump(0.35f);
projectile.rotation = projectile.velocity.X * 0.03f;
}
@@ -83,7 +83,7 @@ namespace CalamityMod.Projectiles.Summon
}
NPC potentialTarget = projectile.Center.MinionHoming(1560f, player);
if (potentialTarget == null || !player.HasAmmo(FalseGun, false))
if (potentialTarget is null || !player.HasAmmo(FalseGun, false))
{
float acceleration = 0.1f;
Vector2 distanceVector = player.Center - projectile.Center;
@@ -15,615 +15,227 @@ namespace CalamityMod.Schematics.AutoGeneratedContent
public static ColorTileMap GetMap()
{
var tile1 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 0, 0, 0);
var tile2 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(0, 54).UseHeaders(0, 0, 0, 32);
var tile3 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(36, 72).UseHeaders(0, 16, 0, 32);
var tile4 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(54, 0).UseHeaders(0, 32, 0, 32);
var tile5 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(54, 126).UseHeaders(0, 16, 0, 32);
var tile6 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(0, 18).UseHeaders(0, 16, 0, 32);
var tile7 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(0, 72).UseHeaders(0, 0, 0, 32);
var tile8 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(72, 54).UseHeaders(0, 32, 0, 32);
var tile9 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 108).UseFrame(54, 144).UseHeaders(0, 16, 3, 32);
var tile10 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 0).UseFrame(18, 18).UseHeaders(0, 0, 0, 32);
var tile11 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 0).UseFrame(54, 18).UseHeaders(0, 32, 0, 32);
var tile12 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseFrame(0, 36).UseHeaders(0, 33, 1, 32);
var tile13 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 0).UseFrame(0, 18).UseHeaders(0, 26, 0, 32);
var tile14 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseFrame(0, 18).UseHeaders(0, 17, 1, 32);
var tile15 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 0).UseHeaders(0, 10, 0, 32);
var tile16 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseHeaders(0, 1, 1, 32);
var tile17 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 0).UseFrame(0, 36).UseHeaders(0, 42, 0, 32);
var tile18 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseFrame(0, 72).UseHeaders(0, 1, 1, 32);
var tile19 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(0, 36).UseHeaders(0, 32, 0, 32);
var tile20 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(54, 144).UseHeaders(0, 16, 0, 32);
var tile21 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 0).UseFrame(36, 18).UseHeaders(0, 147, 0, 32);
var tile22 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(54, 18).UseHeaders(0, 163, 1, 32);
var tile23 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 36).UseFrame(18, 18).UseHeaders(0, 71, 1, 32);
var tile24 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(36, 18).UseHeaders(0, 155, 2, 32);
var tile25 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(18, 18).UseHeaders(0, 131, 1, 32);
var tile26 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 72).UseFrame(18, 18).UseHeaders(0, 71, 2, 32);
var tile27 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 36).UseFrame(18, 18).UseHeaders(0, 66, 1, 32);
var tile28 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(36, 18).UseHeaders(0, 147, 1, 32);
var tile29 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 36).UseFrame(36, 18).UseHeaders(0, 82, 1, 32);
var tile30 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 72).UseFrame(36, 18).UseHeaders(0, 87, 2, 32);
var tile31 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 36).UseFrame(54, 18).UseHeaders(0, 98, 1, 32);
var tile32 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(54, 36).UseHeaders(0, 163, 1, 32);
var tile33 = new TileDefinitionStructure(TileID.Trees).UseFrame(66, 0).UseHeaders(0, 0, 0, 32);
var tile34 = new TileDefinitionStructure(TileID.Trees).UseFrame(44, 242).UseHeaders(0, 0, 0, 32);
var tile35 = new TileDefinitionStructure(TileID.Trees).UseFrame(44, 132).UseHeaders(0, 0, 0, 32);
var tile36 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(18, 0).UseHeaders(0, 0, 0, 32);
var tile37 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 108).UseFrame(18, 18).UseHeaders(0, 0, 3, 32);
var tile38 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 36).UseFrame(18, 18).UseHeaders(0, 64, 1, 32);
var tile39 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseFrame(36, 18).UseHeaders(0, 17, 1, 32);
var tile40 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 0).UseFrame(18, 18).UseHeaders(0, 10, 0, 32);
var tile41 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 36).UseFrame(36, 18).UseHeaders(0, 152, 1, 32);
var tile42 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(54, 18).UseHeaders(0, 171, 2, 32);
var tile43 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 36).UseFrame(54, 18).UseHeaders(0, 168, 1, 32);
var tile44 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 36).UseFrame(18, 18).UseHeaders(0, 136, 1, 32);
var tile45 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(18, 18).UseHeaders(0, 139, 2, 32);
var tile46 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(54, 36).UseHeaders(0, 171, 2, 32);
var tile47 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 198).UseHeaders(0, 0, 0, 32);
var tile48 = new TileDefinitionStructure(TileID.Trees).UseFrame(88, 0).UseHeaders(0, 0, 0, 32);
var tile49 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 0).UseHeaders(0, 0, 0, 32);
var tile50 = new TileDefinitionStructure(TileID.Trees).UseFrame(0, 22).UseHeaders(0, 0, 0, 32);
var tile51 = new TileDefinitionStructure(TileID.Trees).UseFrame(44, 110).UseHeaders(0, 0, 0, 32);
var tile52 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 88).UseHeaders(0, 0, 0, 32);
var tile53 = new TileDefinitionStructure(TileID.Trees).UseFrame(110, 66).UseHeaders(0, 0, 0, 32);
var tile54 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 66).UseHeaders(0, 0, 0, 32);
var tile55 = new TileDefinitionStructure(TileID.Trees).UseFrame(0, 44).UseHeaders(0, 0, 0, 32);
var tile56 = new TileDefinitionStructure(TileID.Trees).UseHeaders(0, 0, 0, 32);
var tile57 = new TileDefinitionStructure(TileID.Trees).UseFrame(66, 132).UseHeaders(0, 0, 0, 32);
var tile58 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 0).UseFrame(54, 18).UseHeaders(0, 33, 0, 32);
var tile59 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 72).UseFrame(18, 18).UseHeaders(0, 136, 2, 32);
var tile60 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 72).UseFrame(36, 18).UseHeaders(0, 152, 2, 32);
var tile61 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseFrame(18, 18).UseHeaders(0, 1, 1, 32);
var tile62 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 0).UseFrame(54, 18).UseHeaders(0, 42, 0, 32);
var tile63 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseFrame(54, 18).UseHeaders(0, 33, 1, 32);
var tile64 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 0).UseFrame(36, 18).UseHeaders(0, 26, 0, 32);
var tile65 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 72).UseFrame(54, 18).UseHeaders(0, 103, 2, 32);
var tile66 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(36, 36).UseHeaders(0, 147, 1, 32);
var tile67 = new TileDefinitionStructure(TileID.Trees).UseFrame(66, 220).UseHeaders(0, 0, 0, 32);
var tile68 = new TileDefinitionStructure(ModContent.TileType<AstralShortPlants>()).UseFrame(126, 0).UseHeaders(0, 0, 0, 32);
var tile69 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 0).UseFrame(54, 18).UseHeaders(0, 163, 0, 32);
var tile70 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 36).UseFrame(36, 18).UseHeaders(0, 87, 1, 32);
var tile71 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 0).UseFrame(18, 18).UseHeaders(0, 11, 0, 32);
var tile72 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 36).UseFrame(18, 18).UseHeaders(0, 75, 1, 32);
var tile73 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 216, 36).UseFrame(54, 18).UseHeaders(0, 38, 1, 32);
var tile74 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(36, 0).UseHeaders(0, 16, 0, 32);
var tile75 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 0).UseFrame(36, 18).UseHeaders(0, 82, 0, 32);
var tile76 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 72).UseFrame(36, 18).UseHeaders(0, 154, 2, 32);
var tile77 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 36).UseFrame(18, 18).UseHeaders(0, 74, 1, 32);
var tile78 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 36).UseFrame(54, 18).UseHeaders(0, 106, 1, 32);
var tile79 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 36).UseFrame(18, 36).UseHeaders(0, 136, 1, 32);
var tile80 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 0).UseFrame(18, 18).UseHeaders(0, 66, 0, 32);
var tile81 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 216, 72).UseFrame(18, 18).UseHeaders(0, 6, 2, 32);
var tile82 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 72).UseFrame(36, 18).UseHeaders(0, 144, 2, 32);
var tile83 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 0).UseFrame(54, 36).UseHeaders(0, 42, 0, 32);
var tile84 = new TileDefinitionStructure(TileID.Trees).UseFrame(66, 22).UseHeaders(0, 0, 0, 32);
var tile85 = new TileDefinitionStructure(TileID.Trees).UseFrame(44, 198).UseHeaders(0, 0, 0, 32);
var tile86 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 216, 36).UseFrame(18, 18).UseHeaders(0, 6, 1, 32);
var tile87 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 36).UseFrame(36, 18).UseHeaders(0, 91, 1, 32);
var tile88 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 72).UseFrame(36, 18).UseHeaders(0, 148, 2, 32);
var tile89 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 36).UseFrame(54, 18).UseHeaders(0, 100, 1, 32);
var tile90 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 36).UseFrame(36, 18).UseHeaders(0, 84, 1, 32);
var tile91 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 72).UseFrame(18, 18).UseHeaders(0, 132, 2, 32);
var tile92 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 72).UseFrame(54, 18).UseHeaders(0, 160, 2, 32);
var tile93 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 144).UseFrame(54, 18).UseHeaders(0, 164, 4, 32);
var tile94 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 36).UseFrame(54, 36).UseHeaders(0, 98, 1, 32);
var tile95 = new TileDefinitionStructure(TileID.Trees).UseFrame(0, 110).UseHeaders(0, 0, 0, 32);
var tile96 = new TileDefinitionStructure(TileID.Trees).UseFrame(66, 66).UseHeaders(0, 0, 0, 32);
var tile97 = new TileDefinitionStructure(TileID.Trees).UseFrame(0, 66).UseHeaders(0, 0, 0, 32);
var tile98 = new TileDefinitionStructure(TileID.Trees).UseFrame(0, 132).UseHeaders(0, 0, 0, 32);
var tile99 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(18, 18).UseHeaders(0, 131, 1, 32);
var tile100 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 144).UseFrame(54, 18).UseHeaders(0, 99, 4, 32);
var tile101 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(18, 18).UseHeaders(0, 32, 0, 32);
var tile102 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(18, 18).UseHeaders(0, 16, 0, 32);
var tile103 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(162, 126).UseHeaders(0, 0, 0, 32);
var tile104 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(36, 180).UseHeaders(0, 32, 0, 32);
var tile105 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 0).UseFrame(54, 18).UseHeaders(0, 98, 0, 32);
var tile106 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 36).UseFrame(18, 18).UseHeaders(0, 68, 1, 32);
var tile107 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 0).UseFrame(18, 18).UseHeaders(0, 4, 0, 32);
var tile108 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 36).UseFrame(36, 36).UseHeaders(0, 152, 1, 32);
var tile109 = new TileDefinitionStructure(TileID.Trees).UseFrame(66, 242).UseHeaders(0, 0, 0, 32);
var tile110 = new TileDefinitionStructure(TileID.Trees).UseFrame(66, 198).UseHeaders(0, 0, 0, 32);
var tile111 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 132).UseHeaders(0, 0, 0, 32);
var tile112 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 144).UseFrame(18, 18).UseHeaders(0, 133, 4, 32);
var tile113 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(144, 54).UseHeaders(0, 32, 0, 32);
var tile114 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(18, 18).UseHeaders(0, 0, 0, 32);
var tile115 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 108).UseFrame(36, 18).UseHeaders(0, 83, 3, 32);
var tile116 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 72).UseFrame(18, 18).UseHeaders(0, 1, 2, 32);
var tile117 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 324, 72).UseFrame(54, 18).UseHeaders(0, 169, 2, 32);
var tile118 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 0).UseFrame(18, 36).UseHeaders(0, 10, 0, 32);
var tile119 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 72).UseFrame(54, 18).UseHeaders(0, 163, 2, 32);
var tile120 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 144).UseFrame(18, 18).UseHeaders(0, 71, 4, 32);
var tile121 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 108).UseFrame(54, 18).UseHeaders(0, 165, 3, 32);
var tile122 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 72).UseFrame(36, 18).UseHeaders(0, 149, 2, 32);
var tile123 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 144).UseFrame(54, 18).UseHeaders(0, 32, 4, 32);
var tile124 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 36).UseFrame(18, 36).UseHeaders(0, 66, 1, 32);
var tile125 = new TileDefinitionStructure(TileID.Trees).UseFrame(44, 220).UseHeaders(0, 0, 0, 32);
var tile126 = new TileDefinitionStructure(TileID.Trees).UseFrame(44, 154).UseHeaders(0, 0, 0, 32);
var tile127 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 72).UseFrame(18, 18).UseHeaders(0, 66, 2, 32);
var tile128 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 432, 0).UseFrame(18, 18).UseHeaders(0, 12, 0, 32);
var tile129 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 108).UseFrame(54, 18).UseHeaders(0, 99, 3, 32);
var tile130 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 108).UseFrame(36, 18).UseHeaders(0, 87, 3, 32);
var tile131 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 36).UseFrame(54, 36).UseHeaders(0, 168, 1, 32);
var tile132 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 242).UseHeaders(0, 0, 0, 32);
var tile133 = new TileDefinitionStructure(TileID.Trees).UseFrame(44, 88).UseHeaders(0, 0, 0, 32);
var tile134 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 44).UseHeaders(0, 0, 0, 32);
var tile135 = new TileDefinitionStructure(TileID.Trees).UseFrame(88, 132).UseHeaders(0, 0, 0, 32);
var tile136 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 144).UseFrame(54, 18).UseHeaders(0, 165, 4, 32);
var tile137 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(180, 144).UseHeaders(0, 16, 0, 32);
var tile138 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(198, 180).UseHeaders(0, 32, 0, 32);
var tile139 = new TileDefinitionStructure(TileID.Trees).UseFrame(88, 110).UseHeaders(0, 0, 0, 32);
var tile140 = new TileDefinitionStructure(TileID.Trees).UseFrame(88, 66).UseHeaders(0, 0, 0, 32);
var tile141 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 154).UseHeaders(0, 0, 0, 32);
var tile142 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 144).UseFrame(54, 18).UseHeaders(0, 103, 4, 32);
var tile143 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 0).UseFrame(36, 18).UseHeaders(0, 152, 0, 32);
var tile144 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 0).UseFrame(36, 18).UseHeaders(0, 16, 0, 32);
var tile145 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 144).UseFrame(18, 18).UseHeaders(0, 0, 4, 32);
var tile146 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseFrame(54, 36).UseHeaders(0, 33, 1, 32);
var tile147 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 144).UseFrame(36, 18).UseHeaders(0, 87, 4, 32);
var tile148 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 108).UseFrame(36, 18).UseHeaders(0, 149, 3, 32);
var tile149 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 0).UseFrame(36, 18).UseHeaders(0, 20, 0, 32);
var tile150 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(18, 36).UseHeaders(0, 131, 1, 32);
var tile151 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 432, 36).UseFrame(36, 18).UseHeaders(0, 92, 1, 32);
var tile152 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 108).UseFrame(198, 18).UseHeaders(0, 83, 3, 32);
var tile153 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 36).UseFrame(198, 18).UseHeaders(0, 84, 1, 32);
var tile154 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(36, 36).UseHeaders(0, 155, 2, 32);
var tile155 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(144, 72).UseHeaders(0, 32, 0, 32);
var tile156 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(18, 0).UseHeaders(0, 16, 0, 32);
var tile157 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(0, 162).UseHeaders(0, 32, 0, 32);
var tile158 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(180, 126).UseHeaders(0, 0, 0, 32);
var tile159 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(180, 162).UseHeaders(0, 32, 0, 32);
var tile160 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(198, 162).UseHeaders(0, 16, 0, 32);
var tile161 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 22).UseHeaders(0, 0, 0, 32);
var tile162 = new TileDefinitionStructure(TileID.Trees).UseFrame(22, 110).UseHeaders(0, 0, 0, 32);
var tile163 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(108, 72).UseHeaders(0, 0, 0, 32);
var tile164 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 108).UseFrame(18, 18).UseHeaders(0, 132, 3, 32);
var tile165 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 36).UseFrame(36, 18).UseHeaders(0, 80, 1, 32);
var tile166 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 108).UseFrame(216, 18).UseHeaders(0, 155, 3, 32);
var tile167 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(18, 0).UseHeaders(0, 32, 0, 32);
var tile168 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 108).UseFrame(18, 18).UseHeaders(0, 66, 3, 32);
var tile169 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 1056);
var tile170 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(0, 18).UseHeaders(0, 32, 0, 32);
var tile171 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 0).UseFrame(18, 18).UseHeaders(0, 1, 0, 32);
var tile172 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseFrame(18, 36).UseHeaders(0, 1, 1, 32);
var tile173 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseSlope(2).UseHeaders(0, 0, 0, 8224);
var tile174 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(18, 36).UseHeaders(0, 139, 2, 32);
var tile175 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseSlope(2).UseHeaders(0, 32, 0, 8224);
var tile176 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(0, 18).UseHeaders(0, 16, 0, 32);
var tile177 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(144, 54).UseHeaders(0, 0, 0, 32);
var tile178 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 0).UseFrame(36, 18).UseHeaders(0, 27, 0, 32);
var tile179 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 36).UseFrame(36, 18).UseHeaders(0, 82, 1, 32);
var tile180 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 36).UseFrame(54, 18).UseHeaders(0, 103, 1, 32);
var tile181 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 36).UseFrame(36, 36).UseHeaders(0, 17, 1, 32);
var tile182 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(0, 18).UseHeaders(0, 0, 0, 32);
var tile183 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(0, 36).UseSlope(4).UseHeaders(0, 32, 0, 16416);
var tile184 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(144, 54).UseHeaders(0, 16, 0, 32);
var tile185 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 108).UseFrame(54, 18).UseHeaders(0, 98, 3, 32);
var tile186 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 0).UseFrame(54, 18).UseHeaders(0, 36, 0, 32);
var tile187 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 72).UseFrame(198, 36).UseHeaders(0, 164, 2, 32);
var tile188 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(54, 0).UseSlope(1).UseHeaders(0, 0, 0, 4128);
var tile189 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(54, 18).UseHeaders(0, 0, 0, 32);
var tile190 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(180, 54).UseHeaders(0, 0, 0, 32);
var tile191 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(126, 54).UseHeaders(0, 16, 0, 32);
var tile192 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(144, 36).UseHeaders(0, 32, 0, 32);
var tile193 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(0, 36).UseHeaders(0, 32, 0, 32);
var tile194 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32);
var tile195 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 144).UseFrame(18, 18).UseHeaders(0, 1, 4, 32);
var tile196 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(198, 144).UseHeaders(0, 0, 0, 32);
var tile197 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 0).UseSlope(1).UseHeaders(0, 0, 0, 4128);
var tile198 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 18).UseHeaders(0, 16, 0, 32);
var tile199 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(126, 54).UseHeaders(0, 32, 0, 32);
var tile200 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(18, 36).UseHeaders(0, 32, 0, 32);
var tile201 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 108).UseFrame(36, 18).UseHeaders(0, 82, 3, 32);
var tile202 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 0).UseHeaders(0, 0, 0, 32);
var tile203 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(144, 36).UseHeaders(0, 0, 0, 32);
var tile204 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(126, 36).UseHeaders(0, 32, 0, 32);
var tile205 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 18).UseHeaders(0, 32, 0, 32);
var tile206 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 18).UseHeaders(0, 0, 0, 32);
var tile207 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 0).UseFrame(36, 18).UseHeaders(0, 17, 0, 32);
var tile208 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32);
var tile209 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(0, 18).UseHeaders(0, 0, 0, 32);
var tile210 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(0, 36).UseHeaders(0, 0, 0, 32);
var tile211 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(0, 54).UseHeaders(0, 0, 0, 32);
var tile212 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 36).UseSlope(3).UseHeaders(0, 16, 0, 12320);
var tile213 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 0).UseSlope(1).UseHeaders(0, 32, 0, 4128);
var tile214 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(126, 54).UseHeaders(0, 0, 0, 32);
var tile215 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 72).UseFrame(18, 18).UseHeaders(0, 128, 2, 32);
var tile216 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 72).UseFrame(54, 18).UseHeaders(0, 168, 2, 32);
var tile217 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(18, 0).UseHeaders(0, 0, 0, 32);
var tile218 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(18, 18).UseHeaders(0, 0, 0, 32);
var tile219 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(18, 36).UseHeaders(0, 0, 0, 32);
var tile220 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(18, 54).UseHeaders(0, 0, 0, 32);
var tile221 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(18, 0).UseHeaders(0, 0, 0, 32);
var tile222 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(18, 36).UseHeaders(0, 0, 0, 32);
var tile223 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 108).UseFrame(36, 18).UseHeaders(0, 16, 3, 32);
var tile224 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 0).UseFrame(54, 18).UseHeaders(0, 43, 0, 32);
var tile225 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(36, 0).UseHeaders(0, 0, 0, 32);
var tile226 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(36, 18).UseHeaders(0, 0, 0, 32);
var tile227 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(36, 36).UseHeaders(0, 0, 0, 32);
var tile228 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(36, 54).UseHeaders(0, 0, 0, 32);
var tile229 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 0).UseFrame(54, 18).UseHeaders(0, 168, 0, 32);
var tile230 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 72).UseFrame(54, 18).UseHeaders(0, 165, 2, 32);
var tile231 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 72).UseFrame(18, 18).UseHeaders(0, 138, 2, 32);
var tile232 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(54, 0).UseHeaders(0, 0, 0, 32);
var tile233 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(54, 18).UseHeaders(0, 0, 0, 32);
var tile234 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(54, 36).UseHeaders(0, 0, 0, 32);
var tile235 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(54, 54).UseHeaders(0, 0, 0, 32);
var tile236 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 216, 72).UseFrame(36, 18).UseHeaders(0, 22, 2, 32);
var tile237 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(72, 0).UseHeaders(0, 0, 0, 32);
var tile238 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(72, 18).UseHeaders(0, 0, 0, 32);
var tile239 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(72, 36).UseHeaders(0, 0, 0, 32);
var tile240 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseFrame(72, 54).UseHeaders(0, 0, 0, 32);
var tile241 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(0, 36).UseSlope(4).UseHeaders(0, 16, 0, 16416);
var tile242 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(126, 36).UseHeaders(0, 0, 0, 32);
var tile243 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(144, 36).UseHeaders(0, 16, 0, 32);
var tile244 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 36).UseSlope(3).UseHeaders(0, 32, 0, 12320);
var tile245 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 0).UseSlope(1).UseHeaders(0, 16, 0, 4128);
var tile246 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 36).UseFrame(54, 18).UseHeaders(0, 96, 1, 32);
var tile247 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseSlope(2).UseHeaders(0, 16, 0, 8224);
var tile248 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 0).UseHeaders(0, 16, 0, 32);
var tile249 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 36).UseFrame(54, 18).UseHeaders(0, 107, 1, 32);
var tile250 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(54, 0).UseSlope(2).UseHeaders(0, 32, 0, 8224);
var tile251 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(180, 54).UseHeaders(0, 32, 0, 32);
var tile252 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 0).UseHeaders(0, 16, 0, 1056);
var tile253 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 0).UseFrame(54, 18).UseHeaders(0, 103, 0, 32);
var tile254 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 72).UseFrame(54, 18).UseHeaders(0, 170, 2, 32);
var tile255 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 108).UseFrame(18, 18).UseHeaders(0, 67, 3, 32);
var tile256 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 72).UseFrame(18, 306).UseHeaders(0, 164, 2, 32);
var tile257 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 72).UseFrame(54, 18).UseHeaders(0, 164, 2, 32);
var tile258 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 108).UseFrame(36, 18).UseHeaders(0, 155, 3, 32);
var tile259 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 108).UseFrame(18, 18).UseHeaders(0, 139, 3, 32);
var tile260 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(252, 36).UseHeaders(0, 16, 0, 32);
var tile261 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 216, 36).UseFrame(36, 18).UseHeaders(0, 22, 1, 32);
var tile262 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseFrame(36, 54).UseHeaders(0, 32, 0, 32);
var tile263 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(162, 36).UseHeaders(0, 32, 0, 32);
var tile264 = new TileDefinitionStructure(ModContent.TileType<AstralShortPlants>()).UseFrame(90, 0).UseHeaders(0, 0, 0, 32);
var tile265 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(126, 72).UseHeaders(0, 16, 0, 32);
var tile266 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 216, 0).UseFrame(36, 18).UseHeaders(0, 22, 0, 32);
var tile267 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 0).UseFrame(18, 18).UseHeaders(0, 5, 0, 32);
var tile268 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 216, 72).UseFrame(54, 18).UseHeaders(0, 38, 2, 32);
var tile269 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 0).UseFrame(18, 270).UseHeaders(0, 4, 0, 32);
var tile270 = new TileDefinitionStructure(TileID.Trees).UseFrame(66, 44).UseHeaders(0, 0, 0, 32);
var tile271 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 324, 0).UseFrame(18, 18).UseHeaders(0, 9, 0, 32);
var tile272 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 108).UseFrame(36, 18).UseHeaders(0, 17, 3, 32);
var tile273 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 144).UseFrame(54, 18).UseHeaders(0, 98, 4, 32);
var tile274 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 144).UseFrame(18, 18).UseHeaders(0, 132, 4, 32);
var tile275 = new TileDefinitionStructure(ModContent.TileType<AstralShortPlants>()).UseHeaders(0, 0, 0, 32);
var tile276 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 108).UseFrame(18, 18).UseHeaders(0, 133, 3, 32);
var tile277 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 0).UseFrame(18, 18).UseHeaders(0, 131, 0, 32);
var tile278 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 72).UseFrame(54, 18).UseHeaders(0, 33, 2, 32);
var tile279 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(54, 54).UseSlope(1).UseHeaders(0, 16, 0, 4128);
var tile280 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(36, 108).UseHeaders(0, 0, 0, 32);
var tile281 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 108).UseFrame(54, 18).UseHeaders(0, 32, 3, 32);
var tile282 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 72).UseFrame(54, 18).UseHeaders(0, 98, 2, 32);
var tile283 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 108).UseFrame(36, 18).UseHeaders(0, 90, 3, 32);
var tile284 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(144, 126).UseHeaders(0, 0, 0, 32);
var tile285 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(54, 18).UseHeaders(0, 32, 0, 32);
var tile286 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 144).UseFrame(36, 18).UseHeaders(0, 82, 4, 32);
var tile287 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseFrame(144, 144).UseHeaders(0, 16, 0, 32);
var tile288 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(108, 198).UseHeaders(0, 0, 0, 32);
var tile289 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(90, 54).UseHeaders(0, 32, 0, 1056);
var tile290 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(36, 180).UseHeaders(0, 32, 0, 32);
var tile291 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 36).UseFrame(36, 18).UseHeaders(0, 90, 1, 32);
var tile292 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 36).UseFrame(144, 198).UseHeaders(0, 98, 1, 32);
var tile293 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(54, 54).UseHeaders(0, 16, 0, 1056);
var tile294 = new TileDefinitionStructure(ModContent.TileType<AstralGrass>()).UseFrame(72, 0).UseHeaders(0, 0, 0, 32);
var tile295 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(72, 36).UseHeaders(0, 163, 1, 32);
var tile296 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 36).UseFrame(72, 0).UseHeaders(0, 136, 1, 32);
var tile297 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(72, 18).UseHeaders(0, 155, 2, 32);
var tile298 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 36).UseFrame(72, 18).UseHeaders(0, 152, 1, 32);
var tile299 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(72, 36).UseHeaders(0, 171, 2, 32);
var tile300 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(72, 0).UseHeaders(0, 131, 1, 32);
var tile301 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(72, 0).UseHeaders(0, 139, 2, 32);
var tile302 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 108, 36).UseFrame(72, 18).UseHeaders(0, 147, 1, 32);
var tile303 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 36).UseFrame(72, 36).UseHeaders(0, 168, 1, 32);
var tile304 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 72).UseFrame(18, 72).UseHeaders(0, 139, 2, 32);
var tile2 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32);
var tile3 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(0, 18);
var tile4 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseHeaders(0, 32, 0, 32).UseFrame(0, 36);
var tile5 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseHeaders(0, 0, 0, 32).UseFrame(72, 90);
var tile6 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 32, 3, 32).UseFrame(0, 36).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 108);
var tile7 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 144, 2, 32).UseFrame(0, 18).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 0, 72);
var tile8 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 22, 3, 32).UseFrame(36, 72).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 216, 108);
var tile9 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(144, 54);
var tile10 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(18, 18);
var tile11 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(18, 18);
var tile12 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 1, 3, 32).UseFrame(18, 18).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 36, 108);
var tile13 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 98, 2, 32).UseFrame(54, 18).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 72, 72);
var tile14 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(144, 36);
var tile15 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(0, 18);
var tile16 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(0, 18);
var tile17 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(0, 36);
var tile18 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(18, 18);
var tile19 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 87, 4, 32).UseFrame(36, 18).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 252, 144);
var tile20 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(18, 36);
var tile21 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(18, 0);
var tile22 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 28, 0, 32).UseFrame(36, 18).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 432, 0);
var tile23 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(0, 36);
var tile24 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(18, 0);
var tile25 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(126, 36);
var tile26 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(180, 36);
var tile27 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseHeaders(0, 0, 0, 32).UseFrame(90, 0);
var tile28 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseHeaders(0, 0, 0, 32).UseFrame(108, 54);
var tile29 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 90, 3, 32).UseFrame(36, 36).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 108);
var tile30 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 153, 2, 32).UseFrame(36, 54).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 324, 72);
var tile31 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(144, 54);
var tile32 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 140, 2, 32).UseFrame(18, 0).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 432, 72);
var tile33 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(18, 36);
var tile34 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(144, 36);
var tile35 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseHeaders(0, 0, 0, 32);
var tile36 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseHeaders(0, 16, 0, 32).UseFrame(90, 18);
var tile37 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseHeaders(0, 16, 0, 32).UseFrame(126, 54);
var tile38 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(18, 0);
var tile39 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(126, 36);
var tile40 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(36, 18);
var tile41 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(36, 36);
var tile42 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(18, 36);
var tile43 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 1056);
var tile44 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(126, 36);
var tile45 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(36, 36);
var tile46 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 8224);
var tile47 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 1056);
var tile48 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(36, 36);
var tile49 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 8224);
var tile50 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(144, 54);
var tile51 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 16416).UseFrame(0, 36);
var tile52 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 4128).UseFrame(54, 0);
var tile53 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(54, 18);
var tile54 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(54, 18);
var tile55 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(180, 54);
var tile56 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(126, 54);
var tile57 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(144, 36);
var tile58 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32);
var tile59 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(162, 36);
var tile60 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseHeaders(0, 32, 0, 32).UseFrame(144, 54);
var tile61 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 4128).UseFrame(36, 0);
var tile62 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(36, 18);
var tile63 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(126, 54);
var tile64 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32);
var tile65 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(36, 0);
var tile66 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(36, 18);
var tile67 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(126, 54);
var tile68 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32);
var tile69 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(0, 18);
var tile70 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(0, 36);
var tile71 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(0, 54);
var tile72 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 12320).UseFrame(36, 36);
var tile73 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 4128).UseFrame(36, 0);
var tile74 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(18, 0);
var tile75 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(18, 18);
var tile76 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(18, 36);
var tile77 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(18, 54);
var tile78 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(36, 0);
var tile79 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(36, 18);
var tile80 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(36, 36);
var tile81 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(36, 54);
var tile82 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 152, 0, 32).UseFrame(36, 18).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 0);
var tile83 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 168, 3, 32).UseFrame(54, 36).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 288, 108);
var tile84 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(54, 0);
var tile85 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(54, 18);
var tile86 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(54, 36);
var tile87 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(54, 54);
var tile88 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(72, 0);
var tile89 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(72, 18);
var tile90 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(72, 36);
var tile91 = new TileDefinitionStructure(ModContent.TileType<AstralBeacon>()).UseHeaders(0, 0, 0, 32).UseFrame(72, 54);
var tile92 = new TileDefinitionStructure(ModContent.TileType<AstralOre>()).UseHeaders(0, 32, 0, 32).UseFrame(144, 0);
var tile93 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 8224);
var tile94 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 12320).UseFrame(36, 36);
var tile95 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 8224).UseFrame(54, 0);
var tile96 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(54, 18);
var tile97 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(180, 54);
var tile98 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 12320).UseFrame(36, 36);
var tile99 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 1056).UseFrame(36, 0);
var tile100 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 133, 2, 32).UseFrame(18, 18).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 72);
var tile101 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 69, 1, 32).UseFrame(18, 18).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 180, 36);
var tile102 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 132, 4, 32).UseFrame(18, 36).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 144, 144);
var tile103 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 92, 1, 32).UseFrame(36, 36).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 432, 36);
var tile104 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 171, 3, 32).UseFrame(72, 36).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 396, 108);
var tile105 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 90, 3, 32).UseFrame(36, 18).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 108);
var tile106 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 16, 0, 32).UseFrame(180, 36);
var tile107 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 22, 3, 32).UseFrame(36, 36).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 216, 108);
var tile108 = new TileDefinitionStructure(ModContent.TileType<AstralDirt>()).UseHeaders(0, 74, 3, 32).UseFrame(18, 54).UseWall((ushort)ModContent.WallType<AstralDirtWall>(), 360, 108);
var tile109 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 0, 0, 32).UseFrame(0, 36);
var tile110 = new TileDefinitionStructure(ModContent.TileType<AstralMonolith>()).UseHeaders(0, 32, 0, 32).UseFrame(36, 0);
Dictionary<Color, TileDefinitionStructure> colorTileMap = new Dictionary<Color, TileDefinitionStructure>()
{
{ new Color(255, 255, 255), tile1},
{ new Color(22, 190, 82), tile2},
{ new Color(77, 171, 121), tile3},
{ new Color(227, 189, 85), tile4},
{ new Color(113, 89, 16), tile5},
{ new Color(107, 51, 16), tile6},
{ new Color(18, 113, 232), tile7},
{ new Color(72, 174, 103), tile8},
{ new Color(67, 153, 27), tile9},
{ new Color(169, 151, 91), tile10},
{ new Color(114, 25, 160), tile11},
{ new Color(212, 85, 23), tile12},
{ new Color(22, 119, 41), tile13},
{ new Color(71, 156, 64), tile14},
{ new Color(55, 15, 126), tile15},
{ new Color(27, 142, 189), tile16},
{ new Color(47, 178, 214), tile17},
{ new Color(58, 117, 140), tile18},
{ new Color(163, 167, 133), tile19},
{ new Color(149, 211, 36), tile20},
{ new Color(55, 164, 19), tile21},
{ new Color(29, 112, 163), tile22},
{ new Color(181, 156, 3), tile23},
{ new Color(249, 84, 187), tile24},
{ new Color(231, 203, 213), tile25},
{ new Color(168, 17, 159), tile26},
{ new Color(233, 39, 10), tile27},
{ new Color(94, 122, 229), tile28},
{ new Color(133, 56, 163), tile29},
{ new Color(19, 49, 174), tile30},
{ new Color(145, 129, 164), tile31},
{ new Color(4, 15, 248), tile32},
{ new Color(44, 25, 158), tile33},
{ new Color(219, 101, 241), tile34},
{ new Color(185, 53, 93), tile35},
{ new Color(26, 83, 170), tile36},
{ new Color(183, 251, 150), tile37},
{ new Color(229, 171, 171), tile38},
{ new Color(25, 216, 41), tile39},
{ new Color(46, 151, 56), tile40},
{ new Color(255, 162, 107), tile41},
{ new Color(85, 103, 211), tile42},
{ new Color(23, 226, 187), tile43},
{ new Color(220, 123, 247), tile44},
{ new Color(1, 13, 193), tile45},
{ new Color(25, 164, 69), tile46},
{ new Color(135, 106, 229), tile47},
{ new Color(249, 91, 53), tile48},
{ new Color(23, 172, 213), tile49},
{ new Color(248, 234, 54), tile50},
{ new Color(206, 254, 129), tile51},
{ new Color(101, 219, 195), tile52},
{ new Color(133, 100, 205), tile53},
{ new Color(137, 3, 112), tile54},
{ new Color(238, 218, 128), tile55},
{ new Color(158, 227, 158), tile56},
{ new Color(234, 0, 52), tile57},
{ new Color(228, 166, 45), tile58},
{ new Color(82, 5, 71), tile59},
{ new Color(54, 61, 187), tile60},
{ new Color(254, 30, 247), tile61},
{ new Color(132, 13, 124), tile62},
{ new Color(118, 155, 49), tile63},
{ new Color(254, 147, 64), tile64},
{ new Color(119, 253, 103), tile65},
{ new Color(117, 10, 128), tile66},
{ new Color(181, 121, 200), tile67},
{ new Color(55, 14, 234), tile68},
{ new Color(2, 234, 88), tile69},
{ new Color(84, 19, 214), tile70},
{ new Color(123, 79, 39), tile71},
{ new Color(18, 139, 229), tile72},
{ new Color(120, 105, 205), tile73},
{ new Color(3, 40, 72), tile74},
{ new Color(108, 235, 109), tile75},
{ new Color(244, 108, 168), tile76},
{ new Color(197, 221, 250), tile77},
{ new Color(199, 128, 195), tile78},
{ new Color(242, 199, 16), tile79},
{ new Color(13, 130, 35), tile80},
{ new Color(36, 33, 136), tile81},
{ new Color(91, 130, 67), tile82},
{ new Color(24, 101, 114), tile83},
{ new Color(129, 252, 161), tile84},
{ new Color(179, 178, 80), tile85},
{ new Color(128, 202, 34), tile86},
{ new Color(124, 14, 125), tile87},
{ new Color(175, 142, 53), tile88},
{ new Color(219, 180, 207), tile89},
{ new Color(99, 31, 195), tile90},
{ new Color(213, 107, 231), tile91},
{ new Color(169, 223, 7), tile92},
{ new Color(192, 16, 105), tile93},
{ new Color(42, 219, 7), tile94},
{ new Color(53, 68, 225), tile95},
{ new Color(89, 19, 206), tile96},
{ new Color(114, 114, 252), tile97},
{ new Color(237, 144, 116), tile98},
{ new Color(165, 116, 146), tile99},
{ new Color(83, 128, 206), tile100},
{ new Color(115, 181, 69), tile101},
{ new Color(175, 172, 145), tile102},
{ new Color(185, 9, 210), tile103},
{ new Color(73, 192, 186), tile104},
{ new Color(185, 82, 50), tile105},
{ new Color(117, 121, 74), tile106},
{ new Color(83, 129, 160), tile107},
{ new Color(1, 240, 173), tile108},
{ new Color(198, 231, 218), tile109},
{ new Color(115, 4, 106), tile110},
{ new Color(116, 108, 143), tile111},
{ new Color(154, 182, 38), tile112},
{ new Color(194, 134, 151), tile113},
{ new Color(79, 160, 10), tile114},
{ new Color(251, 41, 178), tile115},
{ new Color(66, 52, 62), tile116},
{ new Color(65, 47, 250), tile117},
{ new Color(71, 255, 255), tile118},
{ new Color(45, 114, 197), tile119},
{ new Color(151, 232, 196), tile120},
{ new Color(182, 70, 5), tile121},
{ new Color(103, 212, 83), tile122},
{ new Color(42, 30, 156), tile123},
{ new Color(12, 179, 243), tile124},
{ new Color(179, 3, 224), tile125},
{ new Color(150, 5, 199), tile126},
{ new Color(251, 132, 179), tile127},
{ new Color(156, 49, 212), tile128},
{ new Color(112, 45, 109), tile129},
{ new Color(144, 109, 68), tile130},
{ new Color(97, 43, 157), tile131},
{ new Color(210, 152, 90), tile132},
{ new Color(5, 148, 84), tile133},
{ new Color(94, 23, 21), tile134},
{ new Color(161, 53, 124), tile135},
{ new Color(6, 148, 251), tile136},
{ new Color(30, 151, 108), tile137},
{ new Color(254, 155, 100), tile138},
{ new Color(17, 26, 20), tile139},
{ new Color(49, 247, 167), tile140},
{ new Color(230, 153, 177), tile141},
{ new Color(87, 171, 135), tile142},
{ new Color(86, 224, 106), tile143},
{ new Color(134, 145, 113), tile144},
{ new Color(114, 156, 108), tile145},
{ new Color(158, 250, 251), tile146},
{ new Color(87, 105, 153), tile147},
{ new Color(113, 114, 214), tile148},
{ new Color(215, 98, 143), tile149},
{ new Color(56, 193, 126), tile150},
{ new Color(69, 211, 157), tile151},
{ new Color(172, 120, 125), tile152},
{ new Color(100, 74, 138), tile153},
{ new Color(244, 176, 179), tile154},
{ new Color(144, 151, 5), tile155},
{ new Color(251, 139, 255), tile156},
{ new Color(247, 115, 32), tile157},
{ new Color(25, 217, 141), tile158},
{ new Color(14, 116, 39), tile159},
{ new Color(218, 128, 72), tile160},
{ new Color(248, 29, 31), tile161},
{ new Color(236, 65, 189), tile162},
{ new Color(212, 198, 36), tile163},
{ new Color(238, 57, 176), tile164},
{ new Color(113, 98, 184), tile165},
{ new Color(229, 224, 218), tile166},
{ new Color(208, 220, 215), tile167},
{ new Color(144, 64, 78), tile168},
{ new Color(94, 44, 250), tile169},
{ new Color(15, 157, 3), tile170},
{ new Color(86, 137, 201), tile171},
{ new Color(66, 252, 147), tile172},
{ new Color(148, 164, 86), tile173},
{ new Color(72, 39, 196), tile174},
{ new Color(219, 9, 57), tile175},
{ new Color(111, 167, 119), tile176},
{ new Color(212, 40, 148), tile177},
{ new Color(77, 10, 164), tile178},
{ new Color(112, 104, 220), tile179},
{ new Color(208, 142, 20), tile180},
{ new Color(195, 196, 40), tile181},
{ new Color(32, 152, 176), tile182},
{ new Color(230, 47, 102), tile183},
{ new Color(37, 81, 60), tile184},
{ new Color(131, 136, 180), tile185},
{ new Color(19, 181, 55), tile186},
{ new Color(21, 238, 132), tile187},
{ new Color(130, 58, 116), tile188},
{ new Color(111, 8, 127), tile189},
{ new Color(37, 209, 147), tile190},
{ new Color(182, 195, 22), tile191},
{ new Color(66, 133, 98), tile192},
{ new Color(156, 186, 113), tile193},
{ new Color(136, 137, 120), tile194},
{ new Color(17, 174, 215), tile195},
{ new Color(87, 201, 130), tile196},
{ new Color(239, 93, 179), tile197},
{ new Color(165, 187, 159), tile198},
{ new Color(144, 64, 137), tile199},
{ new Color(179, 176, 143), tile200},
{ new Color(48, 192, 93), tile201},
{ new Color(210, 111, 142), tile202},
{ new Color(37, 65, 2), tile203},
{ new Color(82, 118, 250), tile204},
{ new Color(198, 140, 101), tile205},
{ new Color(11, 112, 139), tile206},
{ new Color(157, 23, 63), tile207},
{ new Color(253, 54, 116), tile208},
{ new Color(224, 17, 7), tile209},
{ new Color(118, 178, 68), tile210},
{ new Color(216, 232, 10), tile211},
{ new Color(225, 88, 201), tile212},
{ new Color(27, 63, 63), tile213},
{ new Color(73, 50, 136), tile214},
{ new Color(127, 157, 230), tile215},
{ new Color(185, 222, 47), tile216},
{ new Color(58, 132, 207), tile217},
{ new Color(253, 21, 152), tile218},
{ new Color(80, 51, 137), tile219},
{ new Color(232, 241, 93), tile220},
{ new Color(134, 174, 143), tile221},
{ new Color(190, 121, 142), tile222},
{ new Color(239, 228, 52), tile223},
{ new Color(156, 240, 49), tile224},
{ new Color(76, 84, 229), tile225},
{ new Color(182, 125, 153), tile226},
{ new Color(142, 39, 51), tile227},
{ new Color(216, 60, 46), tile228},
{ new Color(116, 218, 210), tile229},
{ new Color(113, 145, 36), tile230},
{ new Color(63, 51, 77), tile231},
{ new Color(225, 194, 131), tile232},
{ new Color(249, 193, 35), tile233},
{ new Color(88, 201, 249), tile234},
{ new Color(251, 158, 147), tile235},
{ new Color(158, 177, 193), tile236},
{ new Color(178, 153, 181), tile237},
{ new Color(240, 90, 202), tile238},
{ new Color(42, 174, 114), tile239},
{ new Color(97, 73, 158), tile240},
{ new Color(187, 125, 83), tile241},
{ new Color(15, 92, 189), tile242},
{ new Color(227, 106, 145), tile243},
{ new Color(98, 188, 188), tile244},
{ new Color(118, 54, 93), tile245},
{ new Color(57, 221, 158), tile246},
{ new Color(154, 214, 41), tile247},
{ new Color(17, 191, 247), tile248},
{ new Color(110, 79, 216), tile249},
{ new Color(131, 183, 20), tile250},
{ new Color(16, 152, 119), tile251},
{ new Color(133, 156, 76), tile252},
{ new Color(166, 235, 65), tile253},
{ new Color(214, 186, 71), tile254},
{ new Color(47, 80, 221), tile255},
{ new Color(248, 122, 36), tile256},
{ new Color(109, 241, 208), tile257},
{ new Color(211, 198, 114), tile258},
{ new Color(117, 170, 190), tile259},
{ new Color(91, 161, 13), tile260},
{ new Color(228, 96, 179), tile261},
{ new Color(125, 81, 36), tile262},
{ new Color(69, 240, 153), tile263},
{ new Color(17, 147, 242), tile264},
{ new Color(93, 195, 28), tile265},
{ new Color(226, 225, 110), tile266},
{ new Color(26, 117, 212), tile267},
{ new Color(180, 22, 197), tile268},
{ new Color(67, 60, 209), tile269},
{ new Color(5, 15, 242), tile270},
{ new Color(141, 74, 73), tile271},
{ new Color(51, 242, 89), tile272},
{ new Color(147, 178, 254), tile273},
{ new Color(184, 179, 137), tile274},
{ new Color(138, 92, 94), tile275},
{ new Color(222, 118, 3), tile276},
{ new Color(85, 146, 200), tile277},
{ new Color(79, 65, 43), tile278},
{ new Color(56, 47, 74), tile279},
{ new Color(237, 57, 20), tile280},
{ new Color(82, 63, 225), tile281},
{ new Color(166, 131, 72), tile282},
{ new Color(168, 42, 208), tile283},
{ new Color(195, 78, 46), tile284},
{ new Color(112, 97, 194), tile285},
{ new Color(75, 41, 185), tile286},
{ new Color(103, 101, 198), tile287},
{ new Color(206, 175, 125), tile288},
{ new Color(42, 62, 9), tile289},
{ new Color(30, 250, 194), tile290},
{ new Color(14, 166, 121), tile291},
{ new Color(233, 102, 116), tile292},
{ new Color(168, 228, 216), tile293},
{ new Color(21, 54, 76), tile294},
{ new Color(50, 146, 68), tile295},
{ new Color(154, 223, 223), tile296},
{ new Color(105, 237, 5), tile297},
{ new Color(144, 134, 212), tile298},
{ new Color(78, 132, 143), tile299},
{ new Color(99, 124, 69), tile300},
{ new Color(62, 137, 47), tile301},
{ new Color(14, 180, 168), tile302},
{ new Color(181, 134, 250), tile303},
{ new Color(78, 163, 69), tile304},
{ new Color(0, 0, 0), tile1 },
{ new Color(69, 89, 217), tile2 },
{ new Color(42, 157, 230), tile3 },
{ new Color(26, 59, 82), tile4 },
{ new Color(37, 51, 189), tile5 },
{ new Color(201, 62, 244), tile6 },
{ new Color(75, 7, 228), tile7 },
{ new Color(88, 216, 67), tile8 },
{ new Color(239, 83, 114), tile9 },
{ new Color(224, 106, 75), tile10 },
{ new Color(203, 232, 84), tile11 },
{ new Color(158, 21, 124), tile12 },
{ new Color(25, 39, 133), tile13 },
{ new Color(113, 168, 156), tile14 },
{ new Color(228, 222, 227), tile15 },
{ new Color(184, 94, 97), tile16 },
{ new Color(114, 102, 1), tile17 },
{ new Color(118, 115, 249), tile18 },
{ new Color(32, 85, 59), tile19 },
{ new Color(61, 86, 5), tile20 },
{ new Color(102, 74, 50), tile21 },
{ new Color(154, 78, 82), tile22 },
{ new Color(253, 134, 30), tile23 },
{ new Color(64, 175, 22), tile24 },
{ new Color(111, 218, 94), tile25 },
{ new Color(71, 115, 249), tile26 },
{ new Color(95, 54, 244), tile27 },
{ new Color(17, 109, 4), tile28 },
{ new Color(73, 85, 117), tile29 },
{ new Color(90, 126, 192), tile30 },
{ new Color(65, 220, 209), tile31 },
{ new Color(127, 10, 93), tile32 },
{ new Color(105, 74, 143), tile33 },
{ new Color(145, 187, 216), tile34 },
{ new Color(66, 50, 183), tile35 },
{ new Color(234, 7, 153), tile36 },
{ new Color(155, 217, 225), tile37 },
{ new Color(66, 221, 32), tile38 },
{ new Color(16, 85, 221), tile39 },
{ new Color(46, 81, 249), tile40 },
{ new Color(221, 162, 8), tile41 },
{ new Color(94, 254, 210), tile42 },
{ new Color(69, 239, 207), tile43 },
{ new Color(0, 221, 40), tile44 },
{ new Color(105, 206, 122), tile45 },
{ new Color(28, 206, 59), tile46 },
{ new Color(76, 94, 78), tile47 },
{ new Color(220, 191, 165), tile48 },
{ new Color(222, 255, 254), tile49 },
{ new Color(176, 110, 181), tile50 },
{ new Color(128, 59, 249), tile51 },
{ new Color(150, 179, 24), tile52 },
{ new Color(207, 228, 51), tile53 },
{ new Color(228, 165, 23), tile54 },
{ new Color(201, 154, 251), tile55 },
{ new Color(184, 216, 14), tile56 },
{ new Color(165, 243, 134), tile57 },
{ new Color(161, 226, 242), tile58 },
{ new Color(170, 0, 226), tile59 },
{ new Color(99, 127, 255), tile60 },
{ new Color(211, 148, 128), tile61 },
{ new Color(25, 128, 162), tile62 },
{ new Color(47, 210, 27), tile63 },
{ new Color(98, 77, 233), tile64 },
{ new Color(8, 104, 185), tile65 },
{ new Color(55, 18, 37), tile66 },
{ new Color(169, 37, 38), tile67 },
{ new Color(240, 11, 122), tile68 },
{ new Color(47, 223, 89), tile69 },
{ new Color(6, 236, 179), tile70 },
{ new Color(53, 108, 100), tile71 },
{ new Color(52, 16, 16), tile72 },
{ new Color(150, 176, 26), tile73 },
{ new Color(89, 137, 6), tile74 },
{ new Color(243, 67, 166), tile75 },
{ new Color(156, 153, 121), tile76 },
{ new Color(57, 115, 238), tile77 },
{ new Color(189, 185, 90), tile78 },
{ new Color(216, 227, 137), tile79 },
{ new Color(5, 234, 160), tile80 },
{ new Color(73, 41, 230), tile81 },
{ new Color(103, 44, 224), tile82 },
{ new Color(132, 212, 88), tile83 },
{ new Color(168, 160, 98), tile84 },
{ new Color(11, 80, 156), tile85 },
{ new Color(32, 252, 200), tile86 },
{ new Color(212, 146, 70), tile87 },
{ new Color(223, 204, 120), tile88 },
{ new Color(196, 120, 179), tile89 },
{ new Color(10, 91, 44), tile90 },
{ new Color(135, 144, 197), tile91 },
{ new Color(121, 16, 95), tile92 },
{ new Color(31, 139, 23), tile93 },
{ new Color(198, 24, 196), tile94 },
{ new Color(33, 145, 211), tile95 },
{ new Color(139, 177, 105), tile96 },
{ new Color(190, 183, 230), tile97 },
{ new Color(193, 49, 88), tile98 },
{ new Color(90, 105, 92), tile99 },
{ new Color(109, 162, 179), tile100 },
{ new Color(45, 122, 120), tile101 },
{ new Color(43, 33, 15), tile102 },
{ new Color(156, 146, 64), tile103 },
{ new Color(60, 0, 112), tile104 },
{ new Color(176, 13, 122), tile105 },
{ new Color(129, 189, 59), tile106 },
{ new Color(165, 57, 198), tile107 },
{ new Color(74, 76, 164), tile108 },
{ new Color(69, 198, 94), tile109 },
{ new Color(109, 30, 166), tile110 },
};
return new ColorTileMap(colorTileMap);
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

@@ -134,10 +134,10 @@ namespace CalamityMod.Schematics.AutoGeneratedContent
var tile118 = new TileDefinitionStructure(ModContent.TileType<LaboratoryPlating>()).UseHeaders(0, 16, 3, 12320).UseFrame(54, 72).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 0, 108);
var tile119 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 10, 0, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 360, 0);
var tile120 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 68, 1, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 144, 36);
var tile121 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 4, 0, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 144, 0);
var tile122 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 10, 0, 32).UseFrame(0, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 360, 0);
var tile123 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 131, 1, 32).UseFrame(0, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 108, 36);
var tile124 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 131, 1, 32).UseFrame(0, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 108, 36);
var tile121 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 4, 0, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 144, 0);
var tile122 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 10, 0, 32).UseFrame(0, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 360, 0);
var tile123 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 131, 1, 32).UseFrame(0, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 108, 36);
var tile124 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 131, 1, 32).UseFrame(0, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 108, 36);
var tile125 = new TileDefinitionStructure(ModContent.TileType<HazardChevronPanels>()).UseHeaders(0, 33, 2, 32).UseFrame(162, 36).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 36, 72);
var tile126 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 131, 0, 0).UseWall((ushort)ModContent.WallType<RustedPlatingWall>(), 108, 0);
var tile127 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 64, 1, 0).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 0, 36);
@@ -146,10 +146,10 @@ namespace CalamityMod.Schematics.AutoGeneratedContent
var tile130 = new TileDefinitionStructure(ModContent.TileType<LaboratoryPanels>()).UseHeaders(0, 132, 2, 32).UseFrame(0, 54).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 144, 72);
var tile131 = new TileDefinitionStructure(ModContent.TileType<LaboratoryPanels>()).UseHeaders(0, 144, 2, 12320).UseFrame(126, 54).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 0, 72);
var tile132 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 1, 2, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 36, 72);
var tile133 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 0, 0, 32).UseFrame(16, 0);
var tile134 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 66, 0, 32).UseFrame(16, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 0);
var tile135 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(16, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 36, 36);
var tile136 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 71, 2, 32).UseFrame(16, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 252, 72);
var tile133 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 0, 0, 32).UseFrame(16, 0);
var tile134 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 66, 0, 32).UseFrame(16, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 0);
var tile135 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(16, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 36, 36);
var tile136 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 71, 2, 32).UseFrame(16, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 252, 72);
var tile137 = new TileDefinitionStructure(ModContent.TileType<HazardChevronPanels>()).UseHeaders(0, 1, 2, 32).UseFrame(108, 72).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 36, 72);
var tile138 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 0, 3, 0).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 0, 108);
var tile139 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 0, 0, 0).UseWall((ushort)ModContent.WallType<RustedPlatePillar>(), 0, 0);
@@ -168,10 +168,10 @@ namespace CalamityMod.Schematics.AutoGeneratedContent
var tile152 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 139, 2, 0).UseWall((ushort)ModContent.WallType<RustedPlatePillar>(), 396, 72);
var tile153 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 1, 1, 0).UseWall((ushort)ModContent.WallType<RustedPlatePillar>(), 36, 36);
var tile154 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 5, 0, 0).UseWall((ushort)ModContent.WallType<RustedPlatePillar>(), 180, 0);
var tile155 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 69, 1, 32).UseFrame(32, 0).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 180, 36);
var tile156 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 71, 1, 32).UseFrame(32, 16).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 252, 36);
var tile157 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 11, 0, 32).UseFrame(32, 32).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 396, 0);
var tile158 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 131, 1, 32).UseFrame(32, 48).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 108, 36);
var tile155 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 69, 1, 32).UseFrame(32, 0).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 180, 36);
var tile156 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 71, 1, 32).UseFrame(32, 16).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 252, 36);
var tile157 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 11, 0, 32).UseFrame(32, 32).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 396, 0);
var tile158 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 131, 1, 32).UseFrame(32, 48).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 108, 36);
var tile159 = new TileDefinitionStructure(ModContent.TileType<HazardChevronPanels>()).UseHeaders(0, 163, 2, 32).UseFrame(144, 72).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 108, 72);
var tile160 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 66, 0, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 0);
var tile161 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 132, 2, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 144, 72);
@@ -182,10 +182,10 @@ namespace CalamityMod.Schematics.AutoGeneratedContent
var tile166 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 67, 3, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 108, 108);
var tile167 = new TileDefinitionStructure(ModContent.TileType<LaboratoryPanels>()).UseHeaders(0, 136, 3, 32).UseFrame(216, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 288, 108);
var tile168 = new TileDefinitionStructure(TileID.HangingLanterns).UseHeaders(0, 0, 0, 32).UseFrame(0, 558);
var tile169 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 0, 0, 32).UseFrame(48, 0);
var tile170 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 133, 3, 32).UseFrame(48, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 180, 108);
var tile171 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 4, 0, 32).UseFrame(48, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 144, 0);
var tile172 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(48, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 36, 36);
var tile169 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 0, 0, 32).UseFrame(48, 0);
var tile170 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 133, 3, 32).UseFrame(48, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 180, 108);
var tile171 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 4, 0, 32).UseFrame(48, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 144, 0);
var tile172 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(48, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 36, 36);
var tile173 = new TileDefinitionStructure(ModContent.TileType<HazardChevronPanels>()).UseHeaders(0, 98, 2, 32).UseFrame(216, 36).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 72, 72);
var tile174 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 140, 2, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 432, 72);
var tile175 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 1, 0, 0).UseWall((ushort)ModContent.WallType<RustedPlatingWall>(), 36, 0);
@@ -248,10 +248,10 @@ namespace CalamityMod.Schematics.AutoGeneratedContent
var tile232 = new TileDefinitionStructure(TileID.HangingLanterns).UseHeaders(0, 131, 0, 32).UseFrame(0, 540).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 108, 0);
var tile233 = new TileDefinitionStructure(TileID.HangingLanterns).UseHeaders(0, 66, 1, 32).UseFrame(0, 558).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 36);
var tile234 = new TileDefinitionStructure(ModContent.TileType<RustedPipes>()).UseHeaders(0, 98, 1, 2144).UseFrame(144, 72).UseWall((ushort)ModContent.WallType<RustedPlatingWall>(), 72, 36).MakeActuated();
var tile235 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 0, 0, 32);
var tile236 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 66, 3, 32).UseFrame(0, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 108);
var tile237 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 0, 0, 32).UseFrame(0, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 0, 0);
var tile238 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 6, 2, 32).UseFrame(0, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 216, 72);
var tile235 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 0, 0, 32);
var tile236 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 66, 3, 32).UseFrame(0, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 108);
var tile237 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 0, 0, 32).UseFrame(0, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 0, 0);
var tile238 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 6, 2, 32).UseFrame(0, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 216, 72);
var tile239 = new TileDefinitionStructure(ModContent.TileType<HazardChevronPanels>()).UseHeaders(0, 1, 2, 32).UseFrame(162, 0).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 36, 72);
var tile240 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 66, 0, 0).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 72, 0);
var tile241 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 11, 0, 0).UseWall((ushort)ModContent.WallType<RustedPlatePillar>(), 396, 0);
@@ -268,20 +268,20 @@ namespace CalamityMod.Schematics.AutoGeneratedContent
var tile252 = new TileDefinitionStructure(ModContent.TileType<LaboratoryPanels>()).UseHeaders(0, 80, 1, 32).UseFrame(126, 72).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 0, 36);
var tile253 = new TileDefinitionStructure(ModContent.TileType<RustedPipes>()).UseHeaders(0, 11, 0, 2144).UseFrame(108, 72).UseWall((ushort)ModContent.WallType<RustedPlatePillar>(), 396, 0).MakeActuated();
var tile254 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 133, 2, 0).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 180, 72);
var tile255 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 133, 2, 32).UseFrame(16, 0).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 180, 72);
var tile256 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 136, 1, 32).UseFrame(16, 16).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 288, 36);
var tile257 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 11, 0, 32).UseFrame(16, 32).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 396, 0);
var tile258 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(16, 48).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 36, 36);
var tile255 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 133, 2, 32).UseFrame(16, 0).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 180, 72);
var tile256 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 136, 1, 32).UseFrame(16, 16).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 288, 36);
var tile257 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 11, 0, 32).UseFrame(16, 32).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 396, 0);
var tile258 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(16, 48).UseWall((ushort)ModContent.WallType<LaboratoryPlatePillar>(), 36, 36);
var tile259 = new TileDefinitionStructure(ModContent.TileType<HazardChevronPanels>()).UseHeaders(0, 147, 2, 32).UseFrame(126, 72).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 108, 72);
var tile260 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 133, 4, 0).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 180, 144);
var tile261 = new TileDefinitionStructure(ModContent.TileType<LaboratoryShelf>()).UseHeaders(0, 0, 0, 32).UseFrame(234, 0);
var tile262 = new TileDefinitionStructure(ModContent.TileType<LaboratoryPanels>()).UseHeaders(0, 98, 1, 32).UseFrame(90, 54).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 36);
var tile263 = new TileDefinitionStructure(ModContent.TileType<LaboratoryPanels>()).UseHeaders(0, 33, 1, 16416).UseFrame(144, 54).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 36, 36);
var tile264 = new TileDefinitionStructure(ModContent.TileType<RustedPipes>()).UseHeaders(0, 131, 1, 2144).UseFrame(108, 72).UseWall((ushort)ModContent.WallType<RustedPlatingWall>(), 108, 36).MakeActuated();
var tile265 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 0, 0, 32).UseFrame(32, 0);
var tile266 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 66, 0, 32).UseFrame(32, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 0);
var tile267 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 66, 1, 32).UseFrame(32, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 36);
var tile268 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 66, 1, 32).UseFrame(32, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 72, 36);
var tile265 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 0, 0, 32).UseFrame(32, 0);
var tile266 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 66, 0, 32).UseFrame(32, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 0);
var tile267 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 66, 1, 32).UseFrame(32, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 36);
var tile268 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 66, 1, 32).UseFrame(32, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 72, 36);
var tile269 = new TileDefinitionStructure(ModContent.TileType<HazardChevronPanels>()).UseHeaders(0, 33, 2, 32).UseFrame(144, 72).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 36, 72);
var tile270 = new TileDefinitionStructure(ModContent.TileType<RustedShelf>()).UseHeaders(0, 66, 3, 4128).UseFrame(180, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 72, 108);
var tile271 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 0, 4, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 0, 144);
@@ -290,10 +290,10 @@ namespace CalamityMod.Schematics.AutoGeneratedContent
var tile274 = new TileDefinitionStructure(ModContent.TileType<LaboratoryPlating>()).UseHeaders(0, 164, 2, 32).UseFrame(0, 36).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 144, 72);
var tile275 = new TileDefinitionStructure(ModContent.TileType<LaboratoryPlating>()).UseHeaders(0, 163, 1, 16416).UseFrame(72, 72).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 108, 36);
var tile276 = new TileDefinitionStructure(ModContent.TileType<RustedPipes>()).UseHeaders(0, 163, 1, 2144).UseFrame(216, 36).UseWall((ushort)ModContent.WallType<RustedPlatingWall>(), 108, 36).MakeActuated();
var tile277 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 128, 2, 32).UseFrame(48, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 0, 72);
var tile278 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(48, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 36, 36);
var tile279 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(48, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 36, 36);
var tile280 = new TileDefinitionStructure(ModContent.TileType<DraedonFuelFactory>()).UseHeaders(0, 136, 2, 32).UseFrame(48, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 288, 72);
var tile277 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 128, 2, 32).UseFrame(48, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 0, 72);
var tile278 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(48, 16).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 36, 36);
var tile279 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 1, 1, 32).UseFrame(48, 32).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 36, 36);
var tile280 = new TileDefinitionStructure(ModContent.TileType<InactiveDraedonFuelFactory>()).UseHeaders(0, 136, 2, 32).UseFrame(48, 48).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 288, 72);
var tile281 = new TileDefinitionStructure(ModContent.TileType<HazardChevronPanels>()).UseHeaders(0, 1, 2, 32).UseFrame(216, 0).UseWall((ushort)ModContent.WallType<HazardChevronWall>(), 36, 72);
var tile282 = new TileDefinitionStructure(TileID.Dirt, false).UseHeaders(0, 133, 3, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 180, 108);
var tile283 = new TileDefinitionStructure(ModContent.TileType<RustedShelf>()).UseHeaders(0, 4, 0, 4128).UseFrame(180, 0).UseWall((ushort)ModContent.WallType<LaboratoryPanelWall>(), 144, 0);
+2
View File
@@ -42,6 +42,8 @@ namespace CalamityMod.Schematics
}
public static void PlaceStructure(string mapKey, Point placementPosition, PlacementAnchorType placementAnchor, Action<Chest> chestInteraction = null)
{
if (!TileMaps.ContainsKey(mapKey))
return;
PilePlacementMaps.TryGetValue(mapKey, out PilePlacementFunction pilePlacementFunction);
ColorTileCombination[,] schematic = TileMaps[mapKey];
Tile[,] oldTiles = new Tile[schematic.GetLength(0), schematic.GetLength(1)];
+4 -1
View File
@@ -56,16 +56,19 @@ namespace CalamityMod.TileEntities
}
public override TagCompound Save()
{
return new TagCompound
TagCompound tag = new TagCompound
{
["Type"] = HeldItem.type,
["Stack"] = HeldItem.stack,
["Prefix"] = HeldItem.prefix,
["NetID"] = HeldItem.active && HeldItem.stack > 0 ? HeldItem.netID : 0,
};
CalamityUtils.SaveModItem(tag, HeldItem);
return tag;
}
public override void Load(TagCompound tag)
{
HeldItem = CalamityUtils.LoadModItem(tag);
HeldItem.type = tag.GetInt("Type");
HeldItem.stack = tag.GetInt("Stack");
HeldItem.prefix = tag.GetByte("Prefix");
+6 -6
View File
@@ -222,34 +222,34 @@ namespace CalamityMod.TileEntities
}
public override TagCompound Save()
{
return new TagCompound
TagCompound tag = new TagCompound
{
["ID"] = ID, // Don't ask me why, but the ID doesn't get saved in MP otherwise.
["TypeFuel"] = FuelItem.type,
["StackFuel"] = FuelItem.stack,
["PrefixFuel"] = FuelItem.prefix,
["NetIDFuel"] = FuelItem.active && FuelItem.stack > 0 ? FuelItem.netID : 0,
["FuelPosition"] = FuelItem.position,
["TypeNotFuel"] = ItemBeingCharged.type,
["StackNotFuel"] = ItemBeingCharged.stack,
["PrefixNotFuel"] = ItemBeingCharged.prefix,
["PositionNotFuel"] = ItemBeingCharged.position,
["Charge"] = Charge,
["NetIDNotFuel"] = ItemBeingCharged.active && FuelItem.stack > 0 ? FuelItem.netID : 0
};
CalamityUtils.SaveModItem(tag, FuelItem, 0);
CalamityUtils.SaveModItem(tag, ItemBeingCharged, 1);
return tag;
}
public override void Load(TagCompound tag)
{
ID = tag.GetInt("ID");
FuelItem = new Item();
FuelItem.SetDefaults(tag.GetInt("TypeFuel"));
FuelItem = CalamityUtils.LoadModItem(tag, 0);
FuelItem.stack = tag.GetInt("StackFuel");
FuelItem.prefix = tag.GetByte("PrefixFuel");
FuelItem.netID = tag.GetInt("NetIDFuel");
FuelItem.position = tag.Get<Vector2>("FuelPosition");
ItemBeingCharged.SetDefaults(tag.GetInt("TypeNotFuel"));
ItemBeingCharged = CalamityUtils.LoadModItem(tag, 1);
ItemBeingCharged.stack = tag.GetInt("StackNotFuel");
ItemBeingCharged.prefix = tag.GetByte("PrefixNotFuel");
ItemBeingCharged.position = tag.Get<Vector2>("PositionNotFuel");
+25 -5
View File
@@ -8,13 +8,33 @@ namespace CalamityMod.UI
{
public class DraedonHologramChatUI
{
public static List<string> DialogOptions = new List<string>()
{
"Please help. I'm stuck in this hologram machine."
};
public const float TextPadding = 170f;
public const float TextAreaWidth = 800f;
public const float YOffsetPerLine = 30f;
public static string SelectDiaglog()
{
List<string> potentialDiaglogOptions = new List<string>()
{
"To any personnel engaged in the laboratories. Please wear your steel engraved ID badge at all times. It is the easiest method to discern your body if any accidents do occur.",
"To experiment is to fail. To fail is to learn. To learn is to advance.",
"Apparent danger while researching serves only to enhance the research experience.",
"Laser-type weapon prototypes are incredibly lethal and are not to be used within presentation halls.",
"High-energy plasma emissions have adverse effects on both flesh and metal. Do not attempt to handle vented plasma.",
"Electric shocks from military equipment are intended to be fatal. If you survive such a shock, that is a clear indicator that the device is not functioning properly. Please report any such cases.",
"All employees are hereby notified that they will be held accountable for any collateral damage caused by Gauss weapon fire, even during sanctioned testing exercises.",
"Security Field Emitters will vaporize all unauthorized equipment and personnel. Please leave personal effects in the designated lockers off-site. This also means: Do not bring any family members who are not enlisted as personnel.",
"If one does manage to breach restricted testing facilities, do at least record any unexpected burns, lacerations, bruising, fractur... ...trauma, shocks and otherwise. Thank you.",
"The power grid has been... ...eavily compromised. Abort research and proceed to the emergency exits located at... ...and egress with haste.",
"Notify the Security Department of any aggressive local fauna immediately."
};
if (NPC.downedAncientCultist)
potentialDiaglogOptions.Add("Sensors have detected a significant breach in the spacetime continuum.");
if (Main.rand.NextBool(5000))
return "Please help. I'm stuck in this hologram machine.";
return Main.rand.Next(potentialDiaglogOptions.ToArray());
}
public static void Draw(SpriteBatch spriteBatch)
{
CalamityPlayer player = Main.LocalPlayer.Calamity();
@@ -22,7 +42,7 @@ namespace CalamityMod.UI
return;
if (string.IsNullOrEmpty(player.CurrentlyViewedHologramText))
player.CurrentlyViewedHologramText = DialogOptions[Main.rand.Next(DialogOptions.Count)];
player.CurrentlyViewedHologramText = SelectDiaglog();
Color backgroundColor = new Color(200, 200, 200, 200);
string[] dialogLines = Utils.WordwrapString(player.CurrentlyViewedHologramText, Main.fontMouseText, (int)(TextAreaWidth - TextPadding * 2), 10, out int lineCount);
+40
View File
@@ -0,0 +1,40 @@
using Microsoft.Xna.Framework.Graphics;
using Terraria.ModLoader;
namespace CalamityMod.UI
{
public class DraedonLogHellGUI : DraedonsLogGUI
{
public override int TotalPages => 3;
public override string GetTextByPage()
{
switch (Page)
{
case 0:
return "The entire landscape is a constant source of geothermal energy, and heat for a forge. If it was not entirely uninhabitable save for demons and spirits, I would conduct much more of my " +
"research in the bowels of the earth. Where I have actively chosen not to settle however, is in the crags of the underworld. There, the magma is... uncooperative and far more corrosive than " +
"should be possible, as it is saturated with cursed, twisted souls, courtesy of that Witch.";
case 1:
return "What a terrible abomination and yet an enticing subject. Not unlike the fusion of spirits which haunts the dungeons, this entity is formed not of one, but a multitude of sinners. " +
"What holds different for it however, is that the limitations caused by the artificiality of the dungeon's existence do not apply to it. It is the laws of hell which brought them together " +
"into a single overlord of the underworld. And when an innocent life is sacrificed... Their hunger, which appears to be in tune with the afterlife, surges.";
default:
return "A blade completely inundated with my surroundings during the time of its creation. It was tempered by the fires which are fueled by spirits, and formed in the magma I draw into my laboratories. " +
"Its cutting edge, unparalleled, though its reach is limited making general usage questionable. I would consider it my very first foray into work for the sake of craftsmanship and art. " +
"If I was born synthetically, any creation which leads one to question whether I was, is a creation I may be proud of. It shows that I can after all, be graced by a muse.";
}
}
public override Texture2D GetTextureByPage()
{
switch (Page)
{
case 0:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogCragsBiome");
case 1:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogWallOfFlesh");
default:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogMurasamaPhaseslayer");
}
}
}
}
+40
View File
@@ -0,0 +1,40 @@
using Microsoft.Xna.Framework.Graphics;
using Terraria.ModLoader;
namespace CalamityMod.UI
{
public class DraedonLogJungleGUI : DraedonsLogGUI
{
public override int TotalPages => 3;
public override string GetTextByPage()
{
switch (Page)
{
case 0:
return "As I record this, it would not be a stretch to call the jungle the hub of this planet. All is centered around it, and none know not of it. It brings me no small amount of " +
"unease to see the uncomfortable, raw forms of the living beings who pass through on their journeys above. Fortunately these labs provide everything I need in my research and more. " +
"There is no need to ever visit the surface, save for summons on the Lord's orders.";
case 1:
return "A virus, capable of devouring and converting almost anything. And nanotechnology, constructed painstakingly for the sake of control. Development was swift, and every piece fell into " +
"place almost eerily, forming an abhorrent existence. I struggle to think of practical applications which would be friendly to common life forms. However, it is not a major concern. Many " +
"were hesitant to continue its creation, but I granted them leave if they desired. I would have no need for any who were not entirely as dedicated as my machines.";
default:
return "Mechanically augmented, the Queen Bee which I had prior experimented on was theoretically a perfect host for the plague virus. When the first sign of the technology bonding with the creature " +
"began however, the problems also showed immediately. The mind of the insect fought the control of the nanotechnology, nothing like the simpler creatures I had used as test subjects. It grew " +
"increasingly violent, and only once subdued did it receive simple orders. However, if we were to utilize it at all, there is no other way than to let it roam free entirely. I will consider this further.";
}
}
public override Texture2D GetTextureByPage()
{
switch (Page)
{
case 0:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogJungleBiome");
case 1:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogPlagueCell");
default:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogPlaguebringerGoliath");
}
}
}
}
+40
View File
@@ -0,0 +1,40 @@
using Microsoft.Xna.Framework.Graphics;
using Terraria.ModLoader;
namespace CalamityMod.UI
{
public class DraedonLogPlanetoidGUI : DraedonsLogGUI
{
public override int TotalPages => 3;
public override string GetTextByPage()
{
switch (Page)
{
case 0:
return "Hung low in orbit, masses of ground and various parts of the world provide a secluded and distant point for research. Undeniably optimal for the science of astronomy and otherwise. " +
"In my labs here I grow many things, testing their limits against the cold and vacuum of the stratosphere. Though not many survive, the existence of certain creatures here, confirm the " +
"capabilities of life simply given more time.";
case 1:
return "I do not care much for the interstellar, or the cosmos. Though I have traversed it, there is still plenty in my own world to manage and discover at this time. Even if I once inhabited a " +
"different planet, the Lord's wishes that I provide him machinery were the only condition that I needed to leave it and settle elsewhere. Once I have discovered and dissected every part of " +
"this place, perhaps then, I could look up towards the macroscopic.";
default:
return "The bloated cosmic worm, though I understand why the Lord decides to employ it given he can control it, is a disgusting existence. However the idea of creating an armor suited to it in every " +
"way, was an offer I could not refuse. Forged from the cosmic steel of my own creation, it resists nearly any attack, yet allows the creature the same flexibility it would have without it, as well " +
"as augmenting its dimensional abilities. I remain pleased with the result.";
}
}
public override Texture2D GetTextureByPage()
{
switch (Page)
{
case 0:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogPlanetoid");
case 1:
return null; // The Draedon's backstory page does not have an image, and probably shouldn't.
default:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogDoGArmor");
}
}
}
}
+40
View File
@@ -0,0 +1,40 @@
using Microsoft.Xna.Framework.Graphics;
using Terraria.ModLoader;
namespace CalamityMod.UI
{
public class DraedonLogSnowBiomeGUI : DraedonsLogGUI
{
public override int TotalPages => 3;
public override string GetTextByPage()
{
switch (Page)
{
case 0:
return "A freezing tundra, where only creatures entirely adapted to the subzero temperatures exist and thrive. It is a shocking transition from the forests of the purity and " +
"the sun baked desert. A climate like this should not exist naturally in this part of the world with ease. The weather patterns seem to shift unnaturally arounds the skies " +
"of these icy plains. There is likely a reason for this, which necessitates further research.";
case 1:
return "Intriguing. Though embedded deep into the caverns of ice and worn from centuries of frost and meltwater, I have uncovered several mechanisms which once filled the tunnels here. " +
"The ingenuity present is remarkable, and I have found parallels within my own work, as well as devices even I have something to learn from. From where do these come? Why machinery " +
"so complex in so sparse and dreary a habitat? Perhaps, they are related to the unnatural conditions.";
default:
return "I am not the only singular being to inhabit this biome. Once before, the Archmage who opposed the Lord resided here, cloaked by constant artificial blizzards of his own creation, " +
"which no longer fall. He likely chose this place as a conduit for research into his ice spells, and extended the period of time that this place remained frozen. Deep underground my " +
"research and materials lay well protected, but above in the natural storms there are traces of the prison of ice he resides in, still haunting its place of creation.";
}
}
public override Texture2D GetTextureByPage()
{
switch (Page)
{
case 0:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogIceBiome");
case 1:
return null; // No image exists for Daedalus' ruins at the moment.
default:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogPermafrost");
}
}
}
}
+27 -176
View File
@@ -1,190 +1,41 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.UI
{
public class DraedonLogSunkenSeaGUI : PopupGUI
public class DraedonLogSunkenSeaGUI : DraedonsLogGUI
{
public int Page = 0;
public int ArrowClickCooldown;
public bool HoveringOverBook = false;
public int TotalLinesPerPage => 10;
public const int TotalPages = 2;
public const int TextStartOffsetX = 40;
public override void Update()
public override int TotalPages => 3;
public override string GetTextByPage()
{
if (Active)
{
if (FadeTime < FadeTimeMax)
FadeTime++;
}
else if (FadeTime > 0)
{
FadeTime--;
}
if (Main.mouseLeft && !HoveringOverBook && FadeTime >= 30)
{
Page = 0;
Active = false;
}
if (ArrowClickCooldown > 0)
ArrowClickCooldown--;
HoveringOverBook = false;
}
public override void Draw(SpriteBatch spriteBatch)
{
Texture2D pageTexture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogPage");
float xScale = MathHelper.Lerp(0.004f, 1f, FadeTime / (float)FadeTimeMax);
Vector2 scale = new Vector2(xScale, 1f) * new Vector2(Main.screenWidth, Main.screenHeight) / pageTexture.Size();
scale.Y *= 1.5f;
scale *= 0.5f;
float xResolutionScale = Main.screenWidth / 2560f;
float yResolutionScale = Main.screenHeight / 1440f;
float bookScale = 0.75f;
scale *= bookScale;
float yPageTop = MathHelper.Lerp(Main.screenHeight * 2, Main.screenHeight * 0.25f, FadeTime / (float)FadeTimeMax);
Rectangle mouseRectangle = new Rectangle((int)Main.MouseScreen.X, (int)Main.MouseScreen.Y, 2, 2);
for (int i = 0; i < 2; i++)
{
Vector2 drawPosition = new Vector2(Main.screenWidth * 0.5f, yPageTop);
spriteBatch.Draw(pageTexture,
drawPosition,
null,
Color.White,
0f,
new Vector2(i == 0f ? pageTexture.Width : 0f, 0f),
scale,
i == 0 ? SpriteEffects.None : SpriteEffects.FlipHorizontally,
0f);
if (!HoveringOverBook)
{
Rectangle pageRectangle = new Rectangle((int)drawPosition.X - (int)(pageTexture.Width * scale.X), (int)yPageTop, (int)(pageTexture.Width * scale.X) * 2, (int)(pageTexture.Height * scale.Y));
HoveringOverBook = mouseRectangle.Intersects(pageRectangle);
}
}
string placeholderText = "Text. ";
for (int i = 0; i < 11; i++)
{
placeholderText += placeholderText;
}
// Create text and arrows.
if (FadeTime >= FadeTimeMax - 4 && Active)
{
int textWidth = (int)(xScale * pageTexture.Width) - TextStartOffsetX;
textWidth = (int)(textWidth * xResolutionScale);
List<string> dialogLines = Utils.WordwrapString(placeholderText, Main.fontMouseText, textWidth, 250, out _).ToList();
dialogLines.RemoveAll(text => string.IsNullOrEmpty(text));
// Ensure the page number doesn't become nonsensical as a result of a resolution change (such as by resizing the game).
if (Page < 0)
Page = 0;
if (Page > TotalPages)
Page = TotalPages;
int startingLine = Page * (TotalLinesPerPage + 1);
int endingLine = startingLine + TotalLinesPerPage + 1;
if (endingLine > dialogLines.Count)
endingLine = dialogLines.Count;
DrawArrows(spriteBatch, xResolutionScale, yResolutionScale, yPageTop + 586f * yResolutionScale, mouseRectangle);
for (int i = startingLine; i < endingLine; i++)
{
if (dialogLines[i] != null)
{
int textDrawPositionX = (int)(Main.screenWidth / 2 + 100 * xResolutionScale) - (int)(pageTexture.Width * xResolutionScale);
int textDrawPositionY = (int)(250 * yResolutionScale) + (i - startingLine) * (int)(28 * yResolutionScale) + (int)yPageTop;
Color drawColor = Color.Lerp(Color.Purple, Color.DarkCyan, (float)Math.Cos(i * 0.1) * 0.5f + 0.5f);
Utils.DrawBorderStringFourWay(spriteBatch,
Main.fontMouseText,
dialogLines[i],
textDrawPositionX,
textDrawPositionY,
drawColor,
Color.Black,
Vector2.Zero);
}
}
DrawSpecialImage(spriteBatch, xResolutionScale, yResolutionScale, yPageTop);
}
}
public void DrawArrows(SpriteBatch spriteBatch, float xResolutionScale, float yResolutionScale, float yPageBottom, Rectangle mouseRectangle)
{
Texture2D arrowTexture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogArrow");
if (Page > 0)
{
Vector2 drawPosition = new Vector2(Main.screenWidth / 2 - 70f, yPageBottom);
Rectangle arrowRectangle = new Rectangle((int)drawPosition.X, (int)drawPosition.Y, arrowTexture.Width, arrowTexture.Height);
arrowRectangle.Width = (int)(arrowRectangle.Width * xResolutionScale);
arrowRectangle.Height = (int)(arrowRectangle.Height * yResolutionScale);
if (mouseRectangle.Intersects(arrowRectangle))
{
arrowTexture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogArrowHover");
if (ArrowClickCooldown <= 0 && Main.mouseLeft)
{
Page--;
ArrowClickCooldown = 8;
}
Main.blockMouse = true;
}
spriteBatch.Draw(arrowTexture, drawPosition, null, Color.White, 0f, Vector2.Zero, new Vector2(xResolutionScale, yResolutionScale), SpriteEffects.FlipHorizontally, 0f);
}
if (Page < TotalPages - 1)
{
Vector2 drawPosition = new Vector2(Main.screenWidth / 2 + 70f, yPageBottom);
Rectangle arrowRectangle = new Rectangle((int)drawPosition.X, (int)drawPosition.Y, arrowTexture.Width, arrowTexture.Height);
arrowRectangle.Width = (int)(arrowRectangle.Width * xResolutionScale);
arrowRectangle.Height = (int)(arrowRectangle.Height * yResolutionScale);
if (mouseRectangle.Intersects(arrowRectangle))
{
arrowTexture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogArrowHover");
if (ArrowClickCooldown <= 0 && Main.mouseLeft)
{
Page++;
ArrowClickCooldown = 8;
}
Main.blockMouse = true;
}
spriteBatch.Draw(arrowTexture, drawPosition, null, Color.White, 0f, Vector2.Zero, new Vector2(xResolutionScale, yResolutionScale), SpriteEffects.None, 0f);
}
}
public void DrawSpecialImage(SpriteBatch spriteBatch, float xResolutionScale, float yResolutionScale, float yPageTop)
{
Vector2 drawPosition;
drawPosition.X = Main.screenWidth / 2 + (int)(320f * xResolutionScale);
drawPosition.Y = yPageTop;
Vector2 scale = new Vector2(540f * xResolutionScale, 450f * yResolutionScale);
switch (Page)
{
case 0:
Texture2D texture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogPrismBack");
scale /= texture.Size();
drawPosition.Y += texture.Height * 0.4f * scale.Y;
spriteBatch.Draw(texture, drawPosition, null, Color.White, 0f, new Vector2(texture.Width * 0.5f, 0f), scale, SpriteEffects.None, 0f);
break;
return "Preserved for millennia, a paradise for the living beings who sought shelter in prehistoric seas. They remain untouched by evolution, save for their adaptations " +
"to the oxygen starved waters and dim crystals, continuing to thrive. One mystery which continues to escape my understanding however, is how large some of the creatures " +
"have become. There is a blatant lack of nutrition and oxygen in the caves, and yet...";
case 1:
texture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogGiantClam");
scale /= texture.Size();
drawPosition.Y += texture.Height * 0.4f * scale.Y;
spriteBatch.Draw(texture, drawPosition, null, Color.White, 0f, new Vector2(texture.Width * 0.5f, 0f), scale, SpriteEffects.None, 0f);
break;
return "The marine life in these caves do have eyes though they are barely functional, dulled by lack of use and milky white upon observation. On their tough, gnarled hides, " +
"crystals find an easy purchase, and grow in great numbers, providing the creatures protection. Perhaps another adaptation to the life they have adopted. The most striking " +
"wonder is within their bodies. In specimens dissected, I have noticed that the mineral is buried into their very digestive systems, and perhaps, through some chemical process, " +
"pass nutrients into their sluggish hosts. A peculiar yet entirely beneficial interaction.";
default:
return "A specimen which has developed a grand size, and inexplicably, impressive psychic abilities. What is most curious is its strong connection to its " +
"lesser kin. Without any noticeable communication, when it comes under threat, other mollusks rally to its aggressor and begin attacking. Is this " +
"perhaps the very first signs of a higher life form, the evolutionary link hidden away in the sunken sea? Or a self sacrificial fluke, which would " +
"lead to their destruction if they inhabited any area other than these pacified caverns.";
}
}
public override Texture2D GetTextureByPage()
{
switch (Page)
{
case 0:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogSunkenSeaBiome");
case 1:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogEutrophicRayGhostBell");
default:
return ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogGiantClam");
}
}
}
+188
View File
@@ -0,0 +1,188 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
using System.Linq;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.UI
{
public abstract class DraedonsLogGUI : PopupGUI
{
public int Page = 0;
public int ArrowClickCooldown;
public bool HoveringOverBook = false;
public int TotalLinesPerPage => 16;
public abstract int TotalPages { get; }
public const int TextStartOffsetX = 40;
public override void Update()
{
if (Active)
{
if (FadeTime < FadeTimeMax)
FadeTime++;
}
else if (FadeTime > 0)
{
FadeTime--;
}
if (Main.mouseLeft && !HoveringOverBook && FadeTime >= 30)
{
Page = 0;
Active = false;
}
if (ArrowClickCooldown > 0)
ArrowClickCooldown--;
HoveringOverBook = false;
}
public abstract string GetTextByPage();
public abstract Texture2D GetTextureByPage();
public override void Draw(SpriteBatch spriteBatch)
{
Texture2D pageTexture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogPage");
float xScale = MathHelper.Lerp(0.004f, 1f, FadeTime / (float)FadeTimeMax);
Vector2 scale = new Vector2(xScale, 1f) * new Vector2(Main.screenWidth, Main.screenHeight) / pageTexture.Size();
scale.Y *= 1.5f;
scale *= 0.5f;
float xResolutionScale = Main.screenWidth / 2560f;
float yResolutionScale = Main.screenHeight / 1440f;
float bookScale = 0.5f;
scale *= bookScale;
float yPageTop = MathHelper.Lerp(Main.screenHeight * 2, Main.screenHeight * 0.25f, FadeTime / (float)FadeTimeMax);
Rectangle mouseRectangle = new Rectangle((int)Main.MouseScreen.X, (int)Main.MouseScreen.Y, 2, 2);
for (int i = 0; i < 2; i++)
{
Vector2 drawPosition = new Vector2(Main.screenWidth * 0.5f, yPageTop);
spriteBatch.Draw(pageTexture,
drawPosition,
null,
Color.White,
0f,
new Vector2(i == 0f ? pageTexture.Width : 0f, 0f),
scale,
i == 0 ? SpriteEffects.None : SpriteEffects.FlipHorizontally,
0f);
if (!HoveringOverBook)
{
Rectangle pageRectangle = new Rectangle((int)drawPosition.X - (int)(pageTexture.Width * scale.X), (int)yPageTop, (int)(pageTexture.Width * scale.X) * 2, (int)(pageTexture.Height * scale.Y));
HoveringOverBook = mouseRectangle.Intersects(pageRectangle);
}
}
// Create text and arrows.
if (FadeTime >= FadeTimeMax - 4 && Active)
{
int textWidth = (int)(xScale * pageTexture.Width) - TextStartOffsetX;
textWidth = (int)(textWidth * xResolutionScale);
List<string> dialogLines = Utils.WordwrapString(GetTextByPage(), Main.fontMouseText, (int)(textWidth / xResolutionScale), 250, out _).ToList();
dialogLines.RemoveAll(text => string.IsNullOrEmpty(text));
int trimmedTextCharacterCount = string.Concat(dialogLines).Length;
float yOffsetPerLine = 28f;
if (dialogLines.Count > TotalLinesPerPage)
yOffsetPerLine *= string.Concat(dialogLines).Length / GetTextByPage().Length;
// Ensure the page number doesn't become nonsensical as a result of a resolution change (such as by resizing the game).
if (Page < 0)
Page = 0;
if (Page > TotalPages)
Page = TotalPages;
DrawArrows(spriteBatch, xResolutionScale, yResolutionScale, yPageTop + 506f * yResolutionScale, mouseRectangle);
for (int i = 0; i < dialogLines.Count; i++)
{
if (dialogLines[i] != null)
{
int textDrawPositionX = (int)(pageTexture.Width * xResolutionScale + 350 * xResolutionScale);
int textDrawPositionY = (int)(42 * yResolutionScale) + i * (int)(yOffsetPerLine * yResolutionScale) + (int)yPageTop;
Utils.DrawBorderStringFourWay(spriteBatch,
Main.fontMouseText,
dialogLines[i],
textDrawPositionX,
textDrawPositionY,
Color.DarkCyan,
Color.Black,
Vector2.Zero,
xResolutionScale);
}
}
DrawSpecialImage(spriteBatch, xResolutionScale, yResolutionScale, yPageTop - 70f * yResolutionScale);
}
}
public void DrawArrows(SpriteBatch spriteBatch, float xResolutionScale, float yResolutionScale, float yPageBottom, Rectangle mouseRectangle)
{
float arrowScale = 0.6f;
Texture2D arrowTexture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogArrow");
if (Page > 0)
{
Vector2 drawPosition = new Vector2(Main.screenWidth / 2 - 80f, yPageBottom);
Rectangle arrowRectangle = new Rectangle((int)drawPosition.X, (int)drawPosition.Y, arrowTexture.Width, arrowTexture.Height);
arrowRectangle.Width = (int)(arrowRectangle.Width * xResolutionScale * arrowScale);
arrowRectangle.Height = (int)(arrowRectangle.Height * yResolutionScale * arrowScale);
if (mouseRectangle.Intersects(arrowRectangle))
{
arrowTexture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogArrowHover");
if (ArrowClickCooldown <= 0 && Main.mouseLeft)
{
Page--;
ArrowClickCooldown = 8;
}
Main.blockMouse = true;
}
spriteBatch.Draw(arrowTexture, drawPosition, null, Color.White, 0f, Vector2.Zero, new Vector2(xResolutionScale, yResolutionScale) * arrowScale, SpriteEffects.FlipHorizontally, 0f);
}
if (Page < TotalPages - 1)
{
Vector2 drawPosition = new Vector2(Main.screenWidth / 2 + 40f, yPageBottom);
Rectangle arrowRectangle = new Rectangle((int)drawPosition.X, (int)drawPosition.Y, arrowTexture.Width, arrowTexture.Height);
arrowRectangle.Width = (int)(arrowRectangle.Width * xResolutionScale);
arrowRectangle.Height = (int)(arrowRectangle.Height * yResolutionScale);
if (mouseRectangle.Intersects(arrowRectangle))
{
arrowTexture = ModContent.GetTexture("CalamityMod/ExtraTextures/UI/DraedonsLogArrowHover");
if (ArrowClickCooldown <= 0 && Main.mouseLeft)
{
Page++;
ArrowClickCooldown = 8;
}
Main.blockMouse = true;
}
spriteBatch.Draw(arrowTexture, drawPosition, null, Color.White, 0f, Vector2.Zero, new Vector2(xResolutionScale, yResolutionScale) * arrowScale, SpriteEffects.None, 0f);
}
}
public void DrawSpecialImage(SpriteBatch spriteBatch, float xResolutionScale, float yResolutionScale, float yPageTop)
{
Texture2D texture = GetTextureByPage();
// Don't draw at all if the inputted texture is null.
if (texture is null)
return;
float yAspectRatio = texture.Height / (float)texture.Width;
Vector2 drawPosition;
drawPosition.X = Main.screenWidth / 2 + (int)(285f * xResolutionScale);
drawPosition.Y = yPageTop;
Vector2 scale = new Vector2(360f * xResolutionScale, MathHelper.Clamp(360f * yAspectRatio, 330f, 400f) * yResolutionScale);
scale /= texture.Size();
drawPosition.Y += texture.Height * 0.4f * scale.Y;
spriteBatch.Draw(texture, drawPosition, null, Color.White, 0f, new Vector2(texture.Width * 0.5f, 0f), scale, SpriteEffects.None, 0f);
}
}
}
Loaded 100 of 105 files, more files were not shown because too many files have changed in this diff. Show more