Files
CalamityModPublic/Items/LoreItems/LoreMechs.cs
T
Ozzatron ebeedbe9ea 1 - Revamped lore items to hold shift to expand for full lore. Thanks Iban and Memes
2 - All current lore items internally renamed and recoded to use the new mechanics.
3 - All currently-finished lore items are fully implemented.
4 - Currently-unfinished lore items say so as their lore. These will be filled in later.
5 - Added a string utility which quickly colors strings the Terraria way.
2023-01-22 20:34:41 -05:00

53 lines
1.8 KiB
C#

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeMechs")]
public class LoreMechs : LoreItem
{
public override string Lore =>
@"These unwieldy beasts of steel were the experiments of Draedon, my former colleague and prodigious engineer.
His intent was to fuel a war machine with soul energy, allowing it to fight with purpose and zeal.
The creations were a success; so much so, that the souls continued to express their own free will.
Draedon was displeased. But these were my soldiers, and their loyalty was forged anew in iron.
I dismissed them from duty, and yet here they are, scouring the land for evidence of the divine.
Unfortunately for you, that puts you in their crosshairs. Give them a battle worth dying in.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Mechanical Trio");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.RetinazerTrophy).
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient(ItemID.SpazmatismTrophy).
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient(ItemID.DestroyerTrophy).
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient(ItemID.SkeletronPrimeTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}