Fuck you *abstractifies your class*

This commit is contained in:
IbanPlay committed 2021-12-28 05:19:09 +01:00
1 parent 329fca21ac
commit ce3efb7614
3 files changed
+35 -23

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
using CalamityMod.World;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Tiles
{
public class MetaTileCrystalExample : SuperDirectionalTile
{
public override bool Autoload(ref string name, ref string texture)
{
texture = "CalamityMod/Tiles/MetaTileCrystalExample";
return base.Autoload(ref name, ref texture);
}
public override void SetDefaults()
{
Main.tileSolid[Type] = true;
Main.tileBlockLight[Type] = true;
CalamityUtils.MergeWithGeneral(Type);
CalamityUtils.MergeAstralTiles(Type);
CalamityUtils.SetMerge(Type, TileID.LeafBlock);
CalamityUtils.SetMerge(Type, TileID.LivingMahoganyLeaves);
CalamityUtils.SetMerge(Type, TileID.LivingWood);
CalamityUtils.SetMerge(Type, TileID.LivingMahogany);
drop = ModContent.ItemType<Items.Placeables.MetaTile>();
AddMapEntry(new Color(45, 36, 63));
}
}
}