sprites!
This commit is contained in:
1 parent
1c5e525019
commit
9fb342d843
4 files changed
+4
-24
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 673 B |
@@ -26,15 +26,13 @@ namespace CalamityMod.Items.Accessories
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.RegisterItemAnimation(Item.type, new DrawAnimationVertical(4, 4));
|
||||
ItemID.Sets.AnimatesAsSoul[Type] = true;
|
||||
CalamityItemSets.ExtraDebuffTooltip_Enemy[Type] = [ModContent.BuffType<Laceration>()];
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 40;
|
||||
Item.height = 50;
|
||||
Item.width = 46;
|
||||
Item.height = 64;
|
||||
Item.value = CalamityGlobalItem.RarityLightRedBuyPrice;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.accessory = true;
|
||||
@@ -61,23 +59,5 @@ namespace CalamityMod.Items.Accessories
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale)
|
||||
{
|
||||
CalamityUtils.DrawInventoryCustomScale(
|
||||
spriteBatch,
|
||||
texture: TextureAssets.Item[Type].Value,
|
||||
position,
|
||||
frame,
|
||||
drawColor,
|
||||
itemColor,
|
||||
origin,
|
||||
scale,
|
||||
wantedScale: 0.5f,
|
||||
drawOffset: new(0f, 0f)
|
||||
);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 775 B |
@@ -2006,8 +2006,8 @@ ThePact: {
|
||||
'''
|
||||
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?'
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user