Resprited the stratus furniture
No files matched your search
|
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 539 B |
|
Before Width: | Height: | Size: 595 B After Width: | Height: | Size: 793 B |
|
Before Width: | Height: | Size: 297 B After Width: | Height: | Size: 311 B |
|
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 703 B |
|
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 400 B |
|
Before Width: | Height: | Size: 336 B After Width: | Height: | Size: 445 B |
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 818 B |
|
Before Width: | Height: | Size: 585 B After Width: | Height: | Size: 669 B |
|
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 634 B |
|
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 773 B |
|
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 629 B |
|
Before Width: | Height: | Size: 478 B After Width: | Height: | Size: 551 B |
|
Before Width: | Height: | Size: 519 B After Width: | Height: | Size: 840 B |
|
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 433 B |
|
Before Width: | Height: | Size: 496 B After Width: | Height: | Size: 677 B |
|
Before Width: | Height: | Size: 561 B After Width: | Height: | Size: 829 B |
@@ -0,0 +1,33 @@
|
||||
using CalamityMod.Tiles.FurnitureStratus;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Placeables.FurnitureStratus
|
||||
{
|
||||
public class StratusStarPlatformItem : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults() => DisplayName.SetDefault("Stratus Star Platform");
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 26;
|
||||
item.height = 26;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<StratusStarPlatform>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<StratusBricks>(), 1);
|
||||
recipe.SetResult(this, 2);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 336 B |
|
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 549 B |
|
Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 471 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 762 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 1.2 KiB |
@@ -1,4 +1,5 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -64,5 +65,10 @@ namespace CalamityMod.Tiles.FurnitureStratus
|
||||
CalamityUtils.RightClickBreak(i, j);
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
CalamityUtils.DrawFlameEffect(ModContent.GetTexture("CalamityMod/Tiles/FurnitureStratus/StratusCandleFlame"), i, j, 0, -7);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 550 B |
|
After Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 707 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 999 B After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 762 B |
|
Before Width: | Height: | Size: 585 B After Width: | Height: | Size: 731 B |
|
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 291 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 314 B |
|
Before Width: | Height: | Size: 762 B After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 381 B |
|
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 585 B After Width: | Height: | Size: 764 B |
|
Before Width: | Height: | Size: 937 B After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 562 B After Width: | Height: | Size: 877 B |
|
Before Width: | Height: | Size: 800 B After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,37 @@
|
||||
using CalamityMod.Items.Placeables.FurnitureStratus;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.FurnitureStratus
|
||||
{
|
||||
public class StratusStarPlatform : ModTile
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
this.SetUpPlatform(true);
|
||||
AddMapEntry(new Color(191, 142, 111));
|
||||
drop = ModContent.ItemType<StratusStarPlatformItem>();
|
||||
disableSmartCursor = true;
|
||||
adjTiles = new int[] { TileID.Platforms };
|
||||
}
|
||||
|
||||
public override bool CreateDust(int i, int j, ref int type)
|
||||
{
|
||||
Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, 1, 0f, 0f, 1, new Color(100, 130, 150), 1f);
|
||||
Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, 132, 0f, 0f, 1, new Color(255, 255, 255), 1f);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void PostSetDefaults()
|
||||
{
|
||||
Main.tileNoSunLight[Type] = false;
|
||||
}
|
||||
|
||||
public override void NumDust(int i, int j, bool fail, ref int num)
|
||||
{
|
||||
num = fail ? 1 : 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 633 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 605 B |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 4.8 KiB |