updated irradiated slime banner and added piggy banner
This commit is contained in:
1 parent
bf7915ee84
commit
ecf6a6467b
6 files changed
+33
-2
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 331 B |
@@ -0,0 +1,25 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Placeables.Banners
|
||||
{
|
||||
public class PiggyBanner : ModItem
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 10;
|
||||
item.height = 24;
|
||||
item.maxStack = 99;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = 1;
|
||||
item.consumable = true;
|
||||
item.rare = 1;
|
||||
item.value = Item.buyPrice(0, 0, 10, 0);
|
||||
item.createTile = mod.TileType("MonsterBanner");
|
||||
item.placeStyle = 108;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 663 B |
@@ -29,8 +29,8 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
npc.value = Item.buyPrice(0, 10, 0, 0);
|
||||
npc.HitSound = SoundID.NPCHit1;
|
||||
npc.DeathSound = SoundID.NPCDeath1;
|
||||
/*banner = npc.type;
|
||||
bannerItem = mod.ItemType("PitbullBanner");*/
|
||||
banner = npc.type;
|
||||
bannerItem = mod.ItemType("PiggyBanner");
|
||||
}
|
||||
|
||||
public override float SpawnChance(NPCSpawnInfo spawnInfo)
|
||||
|
||||
@@ -356,6 +356,9 @@ namespace CalamityMod.Tiles
|
||||
case 107:
|
||||
item = "GiantClamBanner";
|
||||
break;
|
||||
case 108:
|
||||
item = "PiggyBanner";
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
@@ -695,6 +698,9 @@ namespace CalamityMod.Tiles
|
||||
case 107:
|
||||
type = "GiantClam";
|
||||
break;
|
||||
case 108:
|
||||
type = "Piggy";
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 45 KiB |
Reference in new issue
Block a user