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.
40 lines
1.2 KiB
C#
40 lines
1.2 KiB
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.LoreItems
|
|
{
|
|
[LegacyName("KnowledgeUnderworld")]
|
|
public class LoreUnderworld : LoreItem
|
|
{
|
|
public override string Lore =>
|
|
@"The hellish reputation the underworld gets is rather a modern thing.
|
|
The layers of ash choking the previously great cities are still warm.
|
|
The more domineering of Gods wished for me to champion their cause, and rule their society from here.
|
|
Yet, surrounded by magma as it were, Azafure simply burned when their wishes were not met.
|
|
Such is the unfortunate price of war, though I have no regrets fighting for my people.";
|
|
|
|
public override void SetStaticDefaults()
|
|
{
|
|
base.SetStaticDefaults();
|
|
DisplayName.SetDefault("The Underworld");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 20;
|
|
Item.height = 20;
|
|
Item.rare = ItemRarityID.LightRed;
|
|
Item.consumable = false;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient(ItemID.WallofFleshTrophy).
|
|
AddTile(TileID.Bookcases).
|
|
Register();
|
|
}
|
|
}
|
|
}
|