Gold Piggy Cage is gold

This commit is contained in:
Altixal committed 2026-07-28 09:57:54 +07:00
1 parent 47b6f0aac1
commit 7237851a7c
5 files changed
+14 -12

No files matched your search

@@ -38,7 +38,7 @@ Drops: {
DownedClamHM: After defeating the Giant Clam in Hardmode
DownedGSS: After defeating the Great Sand Shark
DownedBetsy: After defeating Betsy
DownedDreadnautilus: After defeating Dreadnautilus
DownedDreadnautilus: After defeating Dreadnautilus
DownedT1AR: After defeating the first tier of Acid Rain
DownedT2AR: After defeating the second tier of Acid Rain
FirstKill: Drops only on the first kill
@@ -2020,10 +2020,10 @@ ThePact: {
These crits deal {2}x damage and infict [cbuffplr:CalamityMod/FulfilledContract]
'''
SalesPitch:
'''
'Money's a fickle thing, buddy. One slip, and next you know, you're livin' it up... in a dumpster!'
'Gambling with life itself, that's where it's truly at. Just write my name in your will, would ya?'
'''
'''
'Money's a fickle thing, buddy. One slip, and next you know, you're livin' it up... in a dumpster!'
'Gambling with life itself, that's where it's truly at. Just write my name in your will, would ya?'
'''
}
ThePointer: {
+9 -7
View File
@@ -1,11 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CalamityMod.Items.Placeables.Furniture;
using CalamityMod.Items.Placeables.Furniture;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using ReLogic.Content;
using Terraria;
using Terraria.GameContent;
using Terraria.ID;
@@ -16,8 +12,14 @@ namespace CalamityMod.Tiles.Furniture
{
public class PiggyCageGoldTile : ModTile
{
public static Asset<Texture2D> topTexture;
public override void SetStaticDefaults()
{
if (!Main.dedServ)
{
topTexture = ModContent.Request<Texture2D>("CalamityMod/Tiles/Furniture/TransparentGoldCageTile_Top");
}
Main.tileFrameImportant[Type] = true;
Main.tileLavaDeath[Type] = true;
Main.tileSolidTop[Type] = true;
@@ -89,7 +91,7 @@ namespace CalamityMod.Tiles.Furniture
drawRectangle = rect;
drawRectangle.Y = 0;
drawRectangle.Height = 10;
spriteBatch.Draw(BabyFlakCrabCageTile.topTexture.Value, position, drawRectangle, finalColor, 0f, zero, 1f, SpriteEffects.None, 0f);
spriteBatch.Draw(topTexture.Value, position, drawRectangle, finalColor, 0f, zero, 1f, SpriteEffects.None, 0f);
}
else
{
Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B