-Added many entries into "Localization/en-US/Tiles.hjson" **Note: "Localization/en-US/Mods.CalamityMod.hjson" currently has duplicates for some Map Entries. -Added Utilities/LocalizationUtils.cs , contains a few helper methods for getting Localized Text instances. -Updated many Tiles to utilize existing localization values. **Note: Some tiles may now have altered names, due to their Tile names not matching with their item names previously. (Most notably, Altar of the Accursed) -Updated Pylons to re-use the text entry from their Item
31 lines
895 B
C#
31 lines
895 B
C#
using CalamityMod.Dusts;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.Localization;
|
|
using Terraria.ModLoader;
|
|
using Terraria.ObjectData;
|
|
|
|
namespace CalamityMod.Tiles.Abyss
|
|
{
|
|
public class SulphuricFossil2 : ModTile
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Main.tileLighted[Type] = true;
|
|
Main.tileFrameImportant[Type] = true;
|
|
Main.tileLavaDeath[Type] = true;
|
|
Main.tileWaterDeath[Type] = false;
|
|
|
|
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
|
|
TileObjectData.addTile(Type);
|
|
AddMapEntry(new Color(113, 90, 71), CalamityUtils.GetText("Tiles.Fossil"));
|
|
DustType = (int)CalamityDusts.SulfurousSeaAcid;
|
|
}
|
|
|
|
public override void NumDust(int i, int j, bool fail, ref int num)
|
|
{
|
|
num = fail ? 1 : 3;
|
|
}
|
|
}
|
|
}
|