Module:Iteminfo/datagen/5
< Module:Iteminfo | datagen
Jump to navigation
Jump to search
Documentation
No documentation subpage exists yet for this module. Create one now.
-- import Item, AmmoID, SoundID and so on. local extdata = require('Module:Iteminfo/datagen/extdata') for k,v in pairs(extdata) do _G[k] = v end local this --Terraria.Item.SetDefaults5(int type) v1.4.4.9 local function SetDefaults5(type) local num; if (type == 3990) then this.DefaultToAccessory(36, 28); this.shoeSlot = 18; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)); return; elseif (type == 3991) then this.DefaultToAccessory(30, 42); this.faceSlot = 9; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 3992) then this.defense = 8; this.DefaultToAccessory(20, 40); this.handOnSlot = 20; this.handOffSlot = 12; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 3993) then this.DefaultToAccessory(34, 30); this.shoeSlot = 19; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 8, 0, 0)); return; elseif (type == 3994) then this.DefaultToAccessory(24, 30); this.shoeSlot = 20; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)); return; elseif (type == 3995) then this.DefaultToAccessory(34, 32); this.handOnSlot = 21; this.handOffSlot = 13; this.shoeSlot = 20; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 5, 0, 0)); return; elseif (type == 3996) then this.DefaultToAccessory(28, 30); this.handOnSlot = 21; this.handOffSlot = 13; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)); return; elseif (type == 3997) then this.defense = 6; this.DefaultToAccessory(36, 38); this.shieldSlot = 7; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 8, 0, 0)); return; elseif (type == 3998) then this.defense = 10; this.DefaultToAccessory(36, 40); this.shieldSlot = 8; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 3999) then this.DefaultToAccessory(22, 32); this.faceSlot = 10; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 50, 0)); return; elseif (type == 4000) then this.DefaultToAccessory(28, 32); this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 4, 0, 0)); return; elseif (type == 4001) then this.DefaultToAccessory(26, 36); this.backSlot = 14; this.frontSlot = 5; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)); return; elseif (type == 4002) then this.DefaultToAccessory(34, 36); this.backSlot = 15; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 7, 50, 0)); return; elseif (type == 4003) then this.DefaultToAccessory(30, 34); this.faceSlot = 11; this.SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 5, 0, 0)); return; elseif (type == 4004) then this.DefaultToAccessory(30, 32); this.faceSlot = 13; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)); return; elseif (type == 4005) then this.DefaultToAccessory(30, 30); this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 4006) then this.DefaultToAccessory(36, 38); this.backSlot = 16; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 4007) then this.DefaultToAccessory(26, 30); this.neckSlot = 10; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)); return; elseif (type == 4008) then this.defense = 4; this.DefaultToHeadgear(24, 22, 216); this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)); return; elseif (type == 4009) or (type == 4010) or (type == 4011) or (type == 4012) or (type == 4013) or (type == 4014) or (type == 4015) or (type == 4016) or (type == 4017) or (type == 4018) or (type == 4019) or (type == 4020) or (type == 4021) or (type == 4022) or (type == 4023) or (type == 4024) or (type == 4025) or (type == 4026) or (type == 4027) or (type == 4028) or (type == 4029) or (type == 4030) or (type == 4031) or (type == 4032) or (type == 4033) or (type == 4034) or (type == 4035) or (type == 4036) or (type == 4037) or (type == 4282) or (type == 4283) or (type == 4284) or (type == 4285) or (type == 4286) or (type == 4287) or (type == 4288) or (type == 4289) or (type == 4290) or (type == 4291) or (type == 4292) or (type == 4293) or (type == 4294) or (type == 4295) or (type == 4296) or (type == 4297) or (type == 4403) or (type == 4411) or (type == 4614) or (type == 4615) or (type == 4616) or (type == 4617) or (type == 4618) or (type == 4619) or (type == 4620) or (type == 4621) or (type == 4622) or (type == 4623) or (type == 4624) or (type == 4625) or (type == 5009) or (type == 5013) or (type == 5041) or (type == 5042) or (type == 5092) or (type == 5093) or (type == 5275) or (type == 5277) or (type == 5278) then return; elseif (type == 4038) then this.DefaultToAccessory(28, 34); this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 7, 50, 0)); this.neckSlot = 12; return; elseif (type == 4039) then this.DefaultToGolfClub(20, 20); this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)); return; elseif (type == 4040) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 476; this.width = 12; this.height = 12; this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)); return; elseif (type == 4041) or (type == 4042) or (type == 4043) or (type == 4044) or (type == 4045) or (type == 4046) or (type == 4047) or (type == 4048) or (type == 4241) then this.DefaultToPlaceableTile(3, 0); this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 5, 0)); this.autoReuse = false; this.useTime = this.useAnimation; return; elseif (type == 4049) then this.DefaultToLawnMower(20, 20); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)); return; elseif (type == 4050) then this.DefaultToPlaceableTile(478, 0); return; elseif (type == 4051) then this.DefaultToPlaceableTile(479, 0); return; elseif (type == 4052) then this.DefaultToPlaceableWall(234); return; elseif (type == 4053) then this.DefaultToPlaceableWall(235); return; elseif (type == 4054) then this.DefaultToPlaceableTile(480, 0); this.width = 22; this.height = 32; this.rare = 3; this.value = Item.sellPrice(0, 1, 0, 0); this.accessory = true; this.vanity = true; return; elseif (type == 4055) then this.DefaultToAccessory(34, 30); this.shoeSlot = 21; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4056) then this.DefaultToAccessory(30, 30); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4057) then this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)); this.DefaultToGuitar(24, 24); return; elseif (type == 4058) then this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)); this.DefaultToBow(17, 11, false); this.SetWeaponValues(8, 5, 0); return; elseif (type == 4059) then this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)); this.SetWeaponValues(8, 4, 0); this.width = 16; this.height = 16; this.melee = true; this.autoReuse = true; this.useTurn = true; this.useTime = 14; this.useAnimation = 18; this.useStyle = 1; this.pick = 55; this.UseSound = SoundID.Item1; return; elseif (type == 4060) then this.width = 42; this.height = 20; this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 50, 0, 0)); this.DefaultToRangedWeapon(728, AmmoID.FallenStar, 18, 20, true); this.SetWeaponValues(60, 5, 0); if (this.Variant ~= ItemVariants.RebalancedVariant) then return; end this.damage = math.floor(this.damage * 0.9); this.useTime = math.floor(this.useTime * 1.1); return; elseif (type == 4061) then this.DefaultToSpear(730, 3.5, 28); this.SetWeaponValues(14, 6, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)); return; elseif (type == 4062) then this.DefaultToStaff(731, 8, 17, 7); this.SetWeaponValues(20, 3, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)); return; elseif (type == 4063) then this.DefaultToPlaceableTile(486, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4064) then this.DefaultToPlaceableTile(487, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 0, 80)); return; elseif (type == 4065) then this.DefaultToPlaceableTile(487, 1); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 1, 0)); return; elseif (type == 4066) then this.DefaultToMount(15); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); return; elseif (type == 4067) then this.DefaultToMount(16); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4068) then this.DefaultToCapturedCritter(583); this.rare = 1; this.value = Item.sellPrice(0, 1, 0, 0); return; elseif (type == 4069) then this.DefaultToCapturedCritter(584); this.rare = 1; this.value = Item.sellPrice(0, 1, 0, 0); return; elseif (type == 4070) then this.DefaultToCapturedCritter(585); this.rare = 1; this.value = Item.sellPrice(0, 1, 0, 0); return; elseif (type == 4071) or (type == 4072) or (type == 4073) then this.DefaultToSeaShell(); return; elseif (type == 4074) then this.DefaultToPlaceableTile(489, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 20, 0)); return; elseif (type == 4075) then this.DefaultToPlaceableTile(490, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 10, 0)); return; elseif (type == 4076) then this.rare = 3; this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 491; this.width = 12; this.height = 12; this.value = 100000; return; elseif (type == 4077) then this.DefaultToMusicBox(43); return; elseif (type == 4078) then this.DefaultToMusicBox(41); return; elseif (type == 4079) then this.DefaultToMusicBox(42); return; elseif (type == 4080) then this.DefaultToMusicBox(44); return; elseif (type == 4081) then this.DefaultToMusicBox(45); return; elseif (type == 4082) then this.DefaultToMusicBox(40); return; elseif (type == 4083) or (type == 4084) or (type == 4085) or (type == 4086) or (type == 4087) or (type == 4088) then this.DefaultToPlaceableTile(493, type - 4083); this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 20, 0)); return; elseif (type == 4089) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 494; this.width = 12; this.height = 12; this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)); return; elseif (type == 4090) then this.DefaultToPlaceableTile(495, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)); return; elseif (type == 4091) then this.DefaultToPlaceableTile(496, 0); this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 1, 0)); return; elseif (type == 4092) then this.DefaultToGolfClub(20, 20); this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)); return; elseif (type == 4093) then this.DefaultToGolfClub(20, 20); this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)); return; elseif (type == 4094) then this.DefaultToGolfClub(20, 20); this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)); return; elseif (type == 4095) then this.maxStack = 1; this.consumable = false; this.width = 18; this.height = 18; this.useStyle = 4; this.useTime = 10; this.UseSound = SoundID.Item128; this.useAnimation = 10; this.rare = 4; this.value = Item.sellPrice(0, 2, 0, 0); return; elseif (type == 4096) or (type == 4097) or (type == 4098) or (type == 4099) or (type == 4100) or (type == 4101) or (type == 4102) or (type == 4103) or (type == 4104) or (type == 4105) or (type == 4106) or (type == 4107) or (type == 4108) or (type == 4109) or (type == 4110) or (type == 4111) or (type == 4112) or (type == 4113) or (type == 4114) or (type == 4115) or (type == 4116) or (type == 4117) or (type == 4118) or (type == 4119) or (type == 4120) or (type == 4121) or (type == 4122) or (type == 4123) or (type == 4124) or (type == 4125) or (type == 4126) then this.DefaultToPlaceableTile(497, type - 4096); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 4127) then this.DefaultToPlaceableTile(497, type - 4096); this.maxStack = Item.CommonMaxStack; this.value = 100000; return; elseif (type == 4128) then this.width = 18; this.height = 18; this.headSlot = 217; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4129) then this.width = 18; this.height = 18; this.bodySlot = 210; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4130) then this.width = 18; this.height = 18; this.legSlot = 180; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4131) or (type == 5325) then this.useStyle = 1; this.shootSpeed = 4; this.shoot = 734; this.width = 26; this.height = 24; this.UseSound = SoundID.Item130; this.useAnimation = 28; this.useTime = 28; this.rare = 3; this.value = Item.sellPrice(0, 2, 0, 0); return; elseif (type == 4132) then this.width = 18; this.height = 18; this.headSlot = 218; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4133) then this.width = 18; this.height = 18; this.bodySlot = 211; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4134) then this.width = 18; this.height = 18; this.legSlot = 184; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4135) then this.width = 18; this.height = 18; this.headSlot = 219; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4136) then this.width = 18; this.height = 18; this.bodySlot = 212; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4137) then this.width = 18; this.height = 18; this.legSlot = 185; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4138) then this.width = 18; this.height = 18; this.headSlot = 220; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4139) then this.DefaultToPlaceableTile(498, 0); this.SetShopValues(ItemRarityColor.White0, 0); return; elseif (type == 4140) then this.DefaultToPlaceableWall(236); this.SetShopValues(ItemRarityColor.White0, 0); return; elseif (type == 4141) then this.DefaultToPlaceableTile(497, 32); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 4142) then this.DefaultToPlaceableTile(499, 0); this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.White0, 100000); return; elseif (type == 4143) then this.width = 12; this.height = 12; return; elseif (type == 4144) then this.width = 14; this.height = 38; this.useAnimation = 25; this.useTime = 15; this.useStyle = 5; this.rare = 2; this.noUseGraphic = true; this.channel = true; this.noMelee = true; this.damage = 17; this.knockBack = 3; this.autoReuse = false; this.noMelee = true; this.melee = true; this.shoot = 735; this.shootSpeed = 15; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4145) then this.DefaultToPlaceableTile(90, 34); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4146) then this.DefaultToPlaceableTile(79, 34); this.SetShopValues(ItemRarityColor.White0, 2000); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 20; return; elseif (type == 4147) then this.DefaultToPlaceableTile(101, 35); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4148) then this.DefaultToPlaceableTile(88, 34); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4149) then this.DefaultToPlaceableTile(100, 34); this.SetShopValues(ItemRarityColor.White0, 1500); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4150) then this.DefaultToPlaceableTile(33, 33); this.SetShopValues(ItemRarityColor.White0, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 0, 60); this.noWet = true; return; elseif (type == 4151) then this.DefaultToPlaceableTile(15, 39); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 30; return; elseif (type == 4152) then this.DefaultToPlaceableTile(34, 40); this.SetShopValues(ItemRarityColor.White0, 3000); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 4153) then this.DefaultToPlaceableTile(467, 5); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4154) then this.DefaultToPlaceableTile(104, 35); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4155) then this.DefaultToPlaceableTile(10, 39); this.SetShopValues(ItemRarityColor.White0, 200); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 4156) then this.DefaultToPlaceableTile(93, 34); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 10; this.height = 24; return; elseif (type == 4157) then this.DefaultToPlaceableTile(42, 40); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 28; return; elseif (type == 4158) then this.DefaultToPlaceableTile(87, 34); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4159) then this.DefaultToPlaceableTile(19, 38); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 4160) then this.DefaultToPlaceableTile(172, 35); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4161) then this.DefaultToPlaceableTile(89, 37); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4162) then this.DefaultToPlaceableTile(469, 3); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 20; return; elseif (type == 4163) then this.DefaultToPlaceableTile(18, 35); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 14; return; elseif (type == 4164) then this.DefaultToPlaceableTile(468, 5); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4165) then this.DefaultToPlaceableTile(497, 33); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 4166) then this.DefaultToPlaceableTile(90, 35); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4167) then this.DefaultToPlaceableTile(79, 35); this.SetShopValues(ItemRarityColor.White0, 2000); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 20; return; elseif (type == 4168) then this.DefaultToPlaceableTile(101, 36); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4169) then this.DefaultToPlaceableTile(88, 35); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4170) then this.DefaultToPlaceableTile(100, 35); this.SetShopValues(ItemRarityColor.White0, 1500); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4171) then this.DefaultToPlaceableTile(33, 34); this.SetShopValues(ItemRarityColor.White0, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 0, 60); this.noWet = true; return; elseif (type == 4172) then this.DefaultToPlaceableTile(15, 40); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 30; return; elseif (type == 4173) then this.DefaultToPlaceableTile(34, 41); this.SetShopValues(ItemRarityColor.White0, 3000); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 4174) then this.DefaultToPlaceableTile(467, 6); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4175) then this.DefaultToPlaceableTile(104, 36); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4176) then this.DefaultToPlaceableTile(10, 40); this.SetShopValues(ItemRarityColor.White0, 200); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 4177) then this.DefaultToPlaceableTile(93, 35); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 10; this.height = 24; return; elseif (type == 4178) then this.DefaultToPlaceableTile(42, 41); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 28; return; elseif (type == 4179) then this.DefaultToPlaceableTile(87, 35); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4180) then this.DefaultToPlaceableTile(19, 39); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 4181) then this.DefaultToPlaceableTile(172, 36); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4182) then this.DefaultToPlaceableTile(89, 38); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4183) then this.DefaultToPlaceableTile(469, 4); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 20; return; elseif (type == 4184) then this.DefaultToPlaceableTile(18, 36); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 14; return; elseif (type == 4185) then this.DefaultToPlaceableTile(468, 6); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4186) then this.DefaultToPlaceableTile(497, 34); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 4187) then this.DefaultToPlaceableTile(90, 36); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4188) then this.DefaultToPlaceableTile(79, 36); this.SetShopValues(ItemRarityColor.White0, 2000); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 20; return; elseif (type == 4189) then this.DefaultToPlaceableTile(101, 37); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4190) then this.DefaultToPlaceableTile(88, 36); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4191) then this.DefaultToPlaceableTile(100, 36); this.SetShopValues(ItemRarityColor.White0, 1500); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4192) then this.DefaultToPlaceableTile(33, 35); this.SetShopValues(ItemRarityColor.White0, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 0, 60); this.noWet = true; return; elseif (type == 4193) then this.DefaultToPlaceableTile(15, 41); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 30; return; elseif (type == 4194) then this.DefaultToPlaceableTile(34, 42); this.SetShopValues(ItemRarityColor.White0, 3000); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 4195) then this.DefaultToPlaceableTile(467, 7); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4196) then this.DefaultToPlaceableTile(104, 37); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4197) then this.DefaultToPlaceableTile(10, 41); this.SetShopValues(ItemRarityColor.White0, 200); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 4198) then this.DefaultToPlaceableTile(93, 36); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 10; this.height = 24; return; elseif (type == 4199) then this.DefaultToPlaceableTile(42, 42); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 28; return; elseif (type == 4200) then this.DefaultToPlaceableTile(87, 36); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4201) then this.DefaultToPlaceableTile(19, 40); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 4202) then this.DefaultToPlaceableTile(172, 37); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4203) then this.DefaultToPlaceableTile(89, 39); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4204) then this.DefaultToPlaceableTile(469, 5); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 20; return; elseif (type == 4205) then this.DefaultToPlaceableTile(18, 37); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 14; return; elseif (type == 4206) then this.DefaultToPlaceableTile(468, 7); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4207) then this.DefaultToPlaceableTile(497, 35); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 4208) then this.DefaultToPlaceableTile(90, 37); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4209) then this.DefaultToPlaceableTile(79, 37); this.SetShopValues(ItemRarityColor.White0, 2000); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 20; return; elseif (type == 4210) then this.DefaultToPlaceableTile(101, 38); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4211) then this.DefaultToPlaceableTile(88, 37); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4212) then this.DefaultToPlaceableTile(100, 37); this.SetShopValues(ItemRarityColor.White0, 1500); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4213) then this.DefaultToPlaceableTile(33, 36); this.SetShopValues(ItemRarityColor.White0, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 0, 60); this.noWet = true; return; elseif (type == 4214) then this.DefaultToPlaceableTile(15, 42); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 30; return; elseif (type == 4215) then this.DefaultToPlaceableTile(34, 43); this.SetShopValues(ItemRarityColor.White0, 3000); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 4216) then this.DefaultToPlaceableTile(467, 8); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4217) then this.DefaultToPlaceableTile(104, 38); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4218) then this.DefaultToPlaceableTile(10, 42); this.SetShopValues(ItemRarityColor.White0, 200); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 4219) then this.DefaultToPlaceableTile(93, 37); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 10; this.height = 24; return; elseif (type == 4220) then this.DefaultToPlaceableTile(42, 43); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 28; return; elseif (type == 4221) then this.DefaultToPlaceableTile(87, 37); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4222) then this.DefaultToPlaceableTile(19, 41); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 4223) then this.DefaultToPlaceableTile(172, 38); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4224) then this.DefaultToPlaceableTile(89, 40); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4225) then this.DefaultToPlaceableTile(469, 6); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 20; return; elseif (type == 4226) then this.DefaultToPlaceableTile(18, 38); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 14; return; elseif (type == 4227) then this.DefaultToPlaceableTile(468, 8); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4228) then this.DefaultToPlaceableTile(497, 36); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 4229) then this.DefaultToPlaceableTile(500, 0); return; elseif (type == 4230) then this.DefaultToPlaceableTile(501, 0); return; elseif (type == 4231) then this.DefaultToPlaceableTile(502, 0); return; elseif (type == 4232) then this.DefaultToPlaceableTile(503, 0); return; elseif (type == 4233) then this.DefaultToPlaceableWall(237); return; elseif (type == 4234) then this.DefaultToPlaceableWall(238); return; elseif (type == 4235) then this.DefaultToPlaceableWall(239); return; elseif (type == 4236) then this.DefaultToPlaceableWall(240); return; elseif (type == 4237) then this.DefaultToMusicBox(46); return; elseif (type == 4238) then this.DefaultToPlaceableTile(481, 0); return; elseif (type == 4239) then this.DefaultToPlaceableTile(482, 0); return; elseif (type == 4240) then this.DefaultToPlaceableTile(483, 0); return; elseif (type == 4242) then this.DefaultToGolfBall(739); return; elseif (type == 4243) then this.DefaultToGolfBall(740); return; elseif (type == 4244) then this.DefaultToGolfBall(741); return; elseif (type == 4245) then this.DefaultToGolfBall(742); return; elseif (type == 4246) then this.DefaultToGolfBall(743); return; elseif (type == 4247) then this.DefaultToGolfBall(744); return; elseif (type == 4248) then this.DefaultToGolfBall(745); return; elseif (type == 4249) then this.DefaultToGolfBall(746); return; elseif (type == 4250) then this.DefaultToGolfBall(747); return; elseif (type == 4251) then this.DefaultToGolfBall(748); return; elseif (type == 4252) then this.DefaultToGolfBall(749); return; elseif (type == 4253) then this.DefaultToGolfBall(750); return; elseif (type == 4254) then this.DefaultToGolfBall(751); return; elseif (type == 4255) then this.DefaultToGolfBall(752); return; elseif (type == 4256) then this.defense = 3; this.width = 18; this.height = 14; this.bodySlot = 213; this.value = Item.sellPrice(0, 0, 50, 0) * 6; this.rare = 2; return; elseif (type == 4257) then this.noUseGraphic = true; this.damage = 0; this.knockBack = 7; this.useStyle = 5; this.shootSpeed = 12.5; this.shoot = 753; this.width = 18; this.height = 28; this.UseSound = SoundID.Item1; this.useAnimation = 20; this.useTime = 20; this.rare = 1; this.noMelee = true; this.value = 20000; return; elseif (type == 4258) then this.useStyle = 1; this.useTime = 18; this.useAnimation = 18; this.knockBack = 3; this.width = 40; this.height = 40; this.damage = 26; this.scale = 1; this.UseSound = SoundID.Item15; this.rare = 1; this.value = 27000; this.melee = true; return; elseif (type == 4259) then this.SetDefaults(198); this.type = type; this.damage = 48; this.useTime = 16; this.useAnimation = 16; this.scale = 1; this.autoReuse = true; this.useTurn = true; this.rare = 4; this.value = Item.sellPrice(0, 1, 0, 0); return; elseif (type == 4260) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 7; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createWall = 241; this.width = 12; this.height = 12; this.value = Item.sellPrice(0, 0, 1, 60); return; elseif (type == 4261) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 135; this.width = 12; this.height = 12; this.placeStyle = 7; this.mech = true; this.value = 5000; return; elseif (type == 4262) then this.useTurn = true; this.width = 20; this.height = 20; this.useStyle = 5; this.useTime = 90; this.UseSound = SoundID.Item151; this.useAnimation = 90; this.rare = 1; this.value = 50000; this.shoot = 754; return; elseif (type == 4263) then this.useTurn = true; this.width = 20; this.height = 20; this.useStyle = 4; this.useTime = 90; this.UseSound = SoundID.Item6; this.useAnimation = 90; this.rare = 1; this.value = 50000; return; elseif (type == 4264) then this.useStyle = 4; this.channel = true; this.width = 34; this.height = 34; this.UseSound = SoundID.Item25; this.useAnimation = 20; this.useTime = 20; this.rare = 8; this.noMelee = true; this.mountType = 17; this.value = Item.sellPrice(0, 10, 0, 0); return; elseif (type == 4265) then this.DefaultToPlaceableTile(467, 9); this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 3, 0, 0)); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4266) then this.DefaultToPlaceableTile(468, 9); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4267) then this.DefaultToPlaceableTile(467, 10); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4268) then this.DefaultToPlaceableTile(468, 10); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4269) then this.mana = 10; this.damage = 35; this.useStyle = 1; this.shootSpeed = 10; this.shoot = 755; this.buffType = 213; this.width = 26; this.height = 28; this.UseSound = SoundID.Item83; this.useAnimation = 36; this.useTime = 36; this.rare = 4; this.noMelee = true; this.knockBack = 3; this.value = Item.sellPrice(0, 5, 0, 0); this.summon = true; this.autoReuse = true; this.reuseDelay = 2; return; elseif (type == 4270) then this.mana = 20; this.damage = 34; this.useStyle = 4; this.shootSpeed = 32; this.shoot = 756; this.width = 26; this.height = 28; this.useAnimation = 33; this.useTime = 11; this.rare = 4; this.noMelee = true; this.knockBack = 1; this.value = Item.sellPrice(0, 4, 0, 0); this.magic = true; this.autoReuse = true; return; elseif (type == 4271) then this.useStyle = 4; this.width = 22; this.height = 14; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.maxStack = Item.CommonMaxStack; this.rare = 2; return; elseif (type == 4272) then this.noMelee = true; this.useStyle = 5; this.useAnimation = 40; this.useTime = 40; this.knockBack = 6.5; this.width = 30; this.height = 10; this.damage = 55; this.scale = 1.1; this.noUseGraphic = true; this.shoot = 757; this.shootSpeed = 15.9; this.UseSound = SoundID.Item1; this.rare = 4; this.value = Item.sellPrice(0, 4, 0, 0); this.melee = true; this.channel = true; return; elseif (type == 4273) then this.mana = 10; this.damage = 11; this.useStyle = 1; this.shootSpeed = 10; this.shoot = 758; this.width = 26; this.height = 28; this.UseSound = SoundID.Item44; this.useAnimation = 36; this.useTime = 36; this.noMelee = true; this.knockBack = 5; this.buffType = 214; this.value = Item.sellPrice(0, 1, 0, 0); this.rare = 3; this.summon = true; this.autoReuse = true; this.reuseDelay = 2; return; elseif (type == 4274) then this.useStyle = 1; this.autoReuse = true; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 12; this.height = 12; this.noUseGraphic = true; this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; this.makeNPC = 592; return; elseif (type == 4275) then this.width = 18; this.height = 18; this.headSlot = 221; this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; this.vanity = true; this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 505; this.width = 12; this.height = 12; return; elseif (type == 4276) then this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 506; this.width = 20; this.height = 20; return; elseif (type == 4277) then this.DefaultToPlaceableTile(507, 0); return; elseif (type == 4278) then this.DefaultToPlaceableTile(508, 0); return; elseif (type == 4279) then this.DefaultToPlaceableWall(242); return; elseif (type == 4280) then this.DefaultToPlaceableWall(243); return; elseif (type == 4281) then this.mana = 10; this.damage = 7; this.useStyle = 1; this.shootSpeed = 10; this.shoot = 759; this.buffType = 216; this.width = 26; this.height = 28; this.UseSound = SoundID.Item44; this.useAnimation = 36; this.useTime = 36; this.rare = 1; this.noMelee = true; this.knockBack = 4; this.value = Item.sellPrice(0, 1, 0, 0); this.summon = true; this.autoReuse = true; this.reuseDelay = 2; return; elseif (type == 4298) then this.DefaultToPlaceableTile(90, 38); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4299) then this.DefaultToPlaceableTile(79, 38); this.SetShopValues(ItemRarityColor.White0, 2000); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 20; return; elseif (type == 4300) then this.DefaultToPlaceableTile(101, 39); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4301) then this.DefaultToPlaceableTile(88, 38); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4302) then this.DefaultToPlaceableTile(100, 38); this.SetShopValues(ItemRarityColor.White0, 1500); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4303) then this.DefaultToPlaceableTile(33, 37); this.SetShopValues(ItemRarityColor.White0, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 0, 60); this.noWet = true; return; elseif (type == 4304) then this.DefaultToPlaceableTile(15, 43); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 30; return; elseif (type == 4305) then this.DefaultToPlaceableTile(34, 44); this.SetShopValues(ItemRarityColor.White0, 3000); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 4306) then this.DefaultToPlaceableTile(104, 39); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4307) then this.DefaultToPlaceableTile(10, 43); this.SetShopValues(ItemRarityColor.White0, 200); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 4308) then this.DefaultToPlaceableTile(93, 38); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 10; this.height = 24; return; elseif (type == 4309) then this.DefaultToPlaceableTile(42, 44); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 28; return; elseif (type == 4310) then this.DefaultToPlaceableTile(87, 38); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4311) then this.DefaultToPlaceableTile(19, 42); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 4312) then this.DefaultToPlaceableTile(172, 39); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4313) then this.DefaultToPlaceableTile(89, 41); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4314) then this.DefaultToPlaceableTile(469, 7); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 20; return; elseif (type == 4315) then this.DefaultToPlaceableTile(18, 39); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 14; return; elseif (type == 4316) then this.DefaultToPlaceableTile(497, 37); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 4317) then this.SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 2, 0, 0)); this.SetWeaponValues(30, 7, 0); this.melee = true; this.autoReuse = true; this.useTime = 11; this.useAnimation = 27; this.useStyle = 1; this.hammer = 80; this.axe = 30; this.UseSound = SoundID.Item1; this.width = 20; this.height = 20; return; elseif (type == 4318) then this.DefaultToPlaceableTile(509, 0); this.width = 22; this.height = 32; this.rare = 9; this.value = Item.sellPrice(0, 25, 0, 0); this.accessory = true; this.vanity = true; return; elseif (type == 4319) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 510; this.width = 28; this.height = 28; this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 20, 0)); return; elseif (type == 4320) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 511; this.width = 28; this.height = 28; this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 20, 0)); return; elseif (type == 4321) then this.width = 18; this.height = 18; this.bodySlot = 214; this.rare = 3; this.vanity = true; this.value = Item.buyPrice(0, 5, 0, 0); return; elseif (type == 4322) then this.width = 18; this.height = 18; this.legSlot = 188; this.rare = 3; this.vanity = true; this.value = Item.buyPrice(0, 5, 0, 0); return; elseif (type == 4323) then this.width = 18; this.height = 18; this.headSlot = 222; this.rare = 3; this.vanity = true; this.value = Item.buyPrice(0, 50, 0, 0); return; elseif (type == 4324) then this.width = 18; this.height = 14; this.bodySlot = 215; this.value = Item.buyPrice(0, 50, 0, 0); this.rare = 3; this.vanity = true; return; elseif (type == 4325) then this.useStyle = 1; this.useAnimation = 8; this.useTime = 8; this.width = 24; this.height = 28; this.UseSound = SoundID.Item1; this.shoot = 760; this.fishingPole = 25; this.shootSpeed = 15; this.rare = 2; this.value = Item.sellPrice(0, 2, 0, 0); return; elseif (type == 4326) then this.DefaultToPlaceableTile(520, 0); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 4327) or (type == 4328) or (type == 4329) or (type == 4330) or (type == 4331) or (type == 4332) then this.DefaultToPlaceableTile((type - 4327 + 521), 0); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4333) then this.DefaultToPlaceableTile(527, 0); this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4334) or (type == 4335) or (type == 4336) or (type == 4337) or (type == 4338) or (type == 4339) then this.DefaultToCapturedCritter((type - 4334 + 595)); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)); this.width = 20; this.height = 20; this.bait = 20; return; elseif (type == 4340) then this.DefaultToCapturedCritter(601); this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; this.width = 20; this.height = 20; this.bait = 50; return; elseif (type == 4341) then this.DefaultToAccessory(30, 30); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); return; elseif (type == 4342) then this.DefaultToPlaceableTile(105, 78); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4343) then this.width = 22; this.height = 16; this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)); this.DefaultToThrownWeapon(761, 17, 5, false); this.SetWeaponValues(4, 2, 0); return; elseif (type == 4344) then this.width = 22; this.height = 16; this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)); this.DefaultToThrownWeapon(762, 17, 5, false); this.SetWeaponValues(4, 2, 0); return; elseif (type == 4345) then this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 5, 0)); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 12; return; elseif (type == 4346) then this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)); this.width = 30; this.height = 30; return; elseif (type == 4347) then this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 17, 0, 0)); this.DefaultToMagicWeapon(876, 36, 15, false); this.mana = 16; this.width = 40; this.height = 40; this.knockBack = 6; this.scale = 0.75; this.damage = 42; this.UseSound = SoundID.Item158; return; elseif (type == 4348) then this.SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 50, 0, 0)); this.DefaultToMagicWeapon(876, 36, 15, false); this.mana = 16; this.width = 40; this.height = 40; this.knockBack = 6; this.scale = 0.75; this.damage = 100; this.UseSound = SoundID.Item158; return; elseif (type == 4349) or (type == 4350) or (type == 4351) or (type == 4352) or (type == 4353) then this.DefaultToPlaceableTile(179 + type - 4349, 0); return; elseif (type == 4354) then this.DefaultToPlaceableTile(381, 0); this.rare = 1; return; elseif (type == 4355) then this.DefaultToPlaceableTile(531, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4356) then this.DefaultToMusicBox(47); return; elseif (type == 4357) then this.DefaultToMusicBox(48); return; elseif (type == 4358) then this.DefaultToMusicBox(49); return; elseif (type == 4359) then this.DefaultToCapturedCritter(602); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 7, 50)); this.width = 20; this.height = 20; return; elseif (type == 4360) then this.DefaultToPlaceableTile(105, 77); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4361) then this.DefaultToCapturedCritter(604); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)); this.width = 20; this.height = 20; this.bait = 17; return; elseif (type == 4362) then this.DefaultToCapturedCritter(605); this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; this.width = 20; this.height = 20; this.bait = 50; return; elseif (type == 4363) then this.DefaultToCapturedCritter(606); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 5, 0)); this.width = 12; this.height = 12; this.bait = 22; return; elseif (type == 4364) then this.DefaultToPlaceableTile(532, 0); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4365) then this.DefaultToVanitypet(764, 217); this.SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(1, 0, 0, 0)); return; elseif (type == 4366) then this.DefaultToVanitypet(765, 218); return; elseif (type == 4367) or (type == 4368) or (type == 4369) or (type == 4370) or (type == 4371) then this.DefaultTokite(type - 4367 + 766); return; elseif (type == 4372) then this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)); this.DefaultToGuitar(24, 24); return; elseif (type == 4373) then this.DefaultToCapturedCritter(607); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 7, 50)); this.width = 12; this.height = 12; return; elseif (type == 4374) then this.DefaultToCapturedCritter(608); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 7, 50)); this.width = 12; this.height = 12; return; elseif (type == 4375) then this.DefaultToCapturedCritter(610); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)); this.width = 12; this.height = 12; return; elseif (type == 4376) then this.DefaultToPlaceableTile(533, 0); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4377) then this.DefaultToPlaceableTile(534, 0); this.rare = 1; return; elseif (type == 4378) then this.DefaultToPlaceableTile(536, 0); this.rare = 1; return; elseif (type == 4379) then this.DefaultTokite(771); return; elseif (type == 4380) then this.DefaultToPlaceableTile(538, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4381) then this.DefaultToBow(19, 9, true); this.SetWeaponValues(14, 3, 0); this.value = Item.sellPrice(0, 1, 0, 0); this.rare = 3; return; elseif (type == 4382) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.rare = 2; return; elseif (type == 4383) then this.DefaultToTorch(16, false); return; elseif (type == 4384) then this.DefaultToTorch(17, true); return; elseif (type == 4385) then this.DefaultToTorch(18, false); return; elseif (type == 4386) then this.DefaultToTorch(19, false); return; elseif (type == 4387) then this.DefaultToTorch(20, false); return; elseif (type == 4388) then this.DefaultToTorch(21, false); return; elseif (type == 4389) then this.DefaultToPlaceableTile(539, 0); this.rare = 1; return; elseif (type == 4390) then this.DefaultToPlaceableTile(484, 0); return; elseif (type == 4391) then this.DefaultToPlaceableTile(162, 0); return; elseif (type == 4392) then this.DefaultToPlaceableTile(541, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 10, 0)); return; elseif (type == 4393) or (type == 4394) then this.DefaultToQuestFish(); return; elseif (type == 4395) then this.DefaultToCapturedCritter(611); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)); this.width = 12; this.height = 12; return; elseif (type == 4396) then this.DefaultToPlaceableTile(542, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4397) then this.DefaultToPlaceableTile(105, 76); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4398) then this.DefaultToPlaceableTile(543, 0); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; this.value = Item.sellPrice(0, 0, 20, 0); return; elseif (type == 4399) then this.DefaultToPlaceableTile(544, 0); this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; this.maxStack = Item.CommonMaxStack; return; elseif (type == 4400) then this.useStyle = 1; this.shootSpeed = 7; this.shoot = 772; this.width = 22; this.height = 22; this.UseSound = SoundID.Item1; this.useAnimation = 15; this.noUseGraphic = true; this.useTime = 15; this.rare = 2; this.value = Item.sellPrice(0, 0, 5, 0); this.consumable = true; this.maxStack = Item.CommonMaxStack; return; elseif (type == 4401) then this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 7, 50)); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 4402) then this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 50, 0)); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 4404) then this.DefaultToAccessory(20, 12); this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 1, 0, 0)); this.hasVanityEffects = true; return; elseif (type == 4405) or (type == 4406) or (type == 4407) or (type == 4408) then this.DefaultToPlaceableTile(376, 18 + type - 4405); this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 0, 0)); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4409) then this.DefaultToAccessory(28, 24); this.faceSlot = 14; this.SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4410) then this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 1, 0)); this.maxStack = Item.CommonMaxStack; this.width = 32; this.height = 22; return; elseif (type == 4412) then this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); this.maxStack = Item.CommonMaxStack; this.width = 22; this.height = 22; return; elseif (type == 4413) then this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 3, 0, 0)); this.maxStack = Item.CommonMaxStack; this.width = 22; this.height = 22; return; elseif (type == 4414) then this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 15, 0, 0)); this.maxStack = Item.CommonMaxStack; this.width = 22; this.height = 22; return; elseif (type == 4415) then this.DefaultToPlaceableTile(10, 44); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 40)); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 4416) then this.DefaultToPlaceableTile(19, 43); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 4417) then this.DefaultToPlaceableTile(207, 9); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 4, 0, 0)); this.width = 8; this.height = 10; return; elseif (type == 4418) then this.DefaultToCapturedCritter(612); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)); this.width = 20; this.height = 20; this.bait = 17; return; elseif (type == 4419) then this.DefaultToCapturedCritter(613); this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; this.width = 20; this.height = 20; this.bait = 50; return; elseif (type == 4420) then this.DefaultToPlaceableTile(545, 0); this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 5, 0, 0)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4421) then this.DefaultToMusicBox(50); return; elseif (type == 4422) then this.DefaultToPlaceableTile(546, 0); return; elseif (type == 4423) then this.useStyle = 1; this.shootSpeed = 5; this.shoot = 773; this.width = 20; this.height = 20; this.maxStack = Item.CommonMaxStack; this.UseSound = SoundID.Item1; this.consumable = true; this.useAnimation = 25; this.noUseGraphic = true; this.useTime = 25; this.value = Item.sellPrice(0, 0, 3, 0); this.rare = 1; return; elseif (type == 4424) then this.DefaultToPlaceableWall(245); return; elseif (type == 4425) then this.DefaultToVanitypet(774, 219); this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4426) then this.DefaultToMount(18); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4427) then this.DefaultToMount(19); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); return; elseif (type == 4428) then this.DefaultToMount(20); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4429) then this.DefaultToMount(21); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); return; elseif (type == 4430) then this.DefaultToPlaceableTile(547, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4431) then this.DefaultToPlaceableTile(547, 1); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4432) then this.DefaultToPlaceableTile(547, 2); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4433) then this.DefaultToPlaceableTile(547, 3); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4434) then this.DefaultToPlaceableTile(547, 4); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4435) then this.DefaultToPlaceableTile(548, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4436) then this.DefaultToPlaceableTile(548, 1); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4437) then this.DefaultToPlaceableTile(548, 2); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4438) then this.DefaultToPlaceableTile(548, 3); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4439) then this.DefaultToPlaceableTile(548, 4); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4440) then this.DefaultToPlaceableTile(548, 5); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4441) then this.DefaultToPlaceableTile(548, 6); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4442) then this.useStyle = 1; this.useAnimation = 8; this.useTime = 8; this.width = 24; this.height = 28; this.UseSound = SoundID.Item1; this.shoot = 775; this.fishingPole = 30; this.shootSpeed = 15; this.rare = 1; this.value = Item.sellPrice(0, 2, 0, 0); return; elseif (type == 4443) then this.DefaultToMount(22); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4444) then this.useStyle = 4; this.channel = true; this.width = 34; this.height = 34; this.UseSound = SoundID.Item25; this.useAnimation = 20; this.useTime = 20; this.rare = 8; this.noMelee = true; this.mountType = 23; this.value = Item.sellPrice(0, 5, 0, 0); this.expert = true; return; elseif (type == 4445) then this.damage = 50; this.width = 20; this.height = 14; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Rocket; this.knockBack = 4; this.value = Item.buyPrice(0, 0, 7, 50); this.ranged = true; return; elseif (type == 4446) then this.damage = 50; this.width = 20; this.height = 14; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Rocket; this.knockBack = 4; this.value = Item.buyPrice(0, 0, 15, 0); this.ranged = true; return; elseif (type == 4447) then this.damage = 40; this.width = 20; this.height = 14; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Rocket; this.knockBack = 4; this.value = Item.sellPrice(0, 0, 10, 0); this.ranged = true; return; elseif (type == 4448) then this.damage = 40; this.width = 20; this.height = 14; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Rocket; this.knockBack = 4; this.value = Item.sellPrice(0, 0, 10, 0); this.ranged = true; return; elseif (type == 4449) then this.damage = 40; this.width = 20; this.height = 14; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Rocket; this.knockBack = 4; this.value = Item.sellPrice(0, 0, 10, 0); this.ranged = true; return; elseif (type == 4450) then this.DefaultToMount(24); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4451) then this.DefaultToMount(25); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4452) then this.DefaultToMount(26); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4453) then this.DefaultToMount(27); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4454) then this.DefaultToMount(28); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4455) then this.DefaultToMount(29); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4456) then this.DefaultToMount(30); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4457) then this.damage = 75; this.width = 20; this.height = 14; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Rocket; this.knockBack = 4; this.value = Item.buyPrice(0, 0, 5, 0); this.ranged = true; return; elseif (type == 4458) then this.damage = 75; this.width = 20; this.height = 14; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Rocket; this.knockBack = 4; this.value = Item.buyPrice(0, 0, 10, 0); this.ranged = true; return; elseif (type == 4459) then this.damage = 40; this.width = 20; this.height = 14; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Rocket; this.knockBack = 4; this.value = Item.buyPrice(0, 0, 50, 0); this.ranged = true; return; elseif (type == 4460) then this.tileWand = 169; this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.createTile = 552; this.width = 8; this.height = 10; this.rare = 1; this.value = Item.sellPrice(0, 1, 0, 0); return; elseif (type == 4461) then this.DefaultToPlaceableTile(550, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4462) then this.DefaultToPlaceableTile(551, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4463) then this.autoReuse = false; this.useStyle = 13; this.useAnimation = 21; this.useTime = 7; this.width = 50; this.height = 18; this.shoot = 802; this.UseSound = SoundID.Item1; this.damage = 15; this.shootSpeed = 2.4; this.noMelee = true; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)); this.melee = true; this.knockBack = 3; this.noUseGraphic = true; return; elseif (type == 4464) then this.DefaultToCapturedCritter(616); this.value = Item.sellPrice(0, 0, 10, 0); return; elseif (type == 4465) then this.DefaultToCapturedCritter(617); this.value = Item.sellPrice(0, 0, 10, 0); return; elseif (type == 4466) then this.DefaultToPlaceableTile(105, 79); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4467) then this.DefaultToMount(31); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4468) then this.DefaultToMount(32); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 4, 0, 0)); return; elseif (type == 4469) then this.DefaultToMount(33); this.SetShopValues(ItemRarityColor.StrongRed10, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 4470) then this.DefaultToMount(34); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4471) then this.DefaultToMount(35); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4472) then this.DefaultToMount(36); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4473) then this.DefaultToPlaceableTile(553, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4474) then this.DefaultToPlaceableTile(554, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4475) then this.DefaultToPlaceableTile(555, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4476) then this.DefaultToPlaceableTile(556, 0); this.maxStack = Item.CommonMaxStack; this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; return; elseif (type == 4477) then this.UseSound = SoundID.Item3; this.useStyle = 9; this.useTurn = true; this.useAnimation = 17; this.useTime = 17; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 14; this.height = 24; this.buffType = 257; this.buffTime = 18000; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4478) then this.UseSound = SoundID.Item3; this.useStyle = 9; this.useTurn = true; this.useAnimation = 17; this.useTime = 17; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 14; this.height = 24; this.buffType = 257; this.buffTime = 36000; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 5, 0, 0)); return; elseif (type == 4479) then this.UseSound = SoundID.Item3; this.useStyle = 9; this.useTurn = true; this.useAnimation = 17; this.useTime = 17; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 14; this.height = 24; this.buffType = 257; this.buffTime = 54000; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 25, 0, 0)); return; elseif (type == 4480) then this.DefaultToCapturedCritter(626); this.value = Item.sellPrice(0, 0, 15, 0); return; elseif (type == 4481) then this.DefaultToPlaceableTile(558, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4482) then this.DefaultToCapturedCritter(627); this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; return; elseif (type == 4483) then this.DefaultToPlaceableTile(559, 0); this.value = Item.sellPrice(0, 10, 0, 0); this.rare = 3; this.maxStack = Item.CommonMaxStack; return; elseif (type == 4484) or (type == 4485) then this.mech = true; this.noWet = true; this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 144; this.placeStyle = type - 4484 + 3; this.width = 10; this.height = 12; this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 2, 0, 0)); return; elseif (type == 4486) or (type == 4487) or (type == 4488) or (type == 4489) or (type == 4490) or (type == 4491) or (type == 4492) or (type == 4493) or (type == 4494) or (type == 4495) or (type == 4496) or (type == 4497) or (type == 4498) or (type == 4499) or (type == 4500) or (type == 4501) or (type == 4502) or (type == 4503) then this.DefaultToPlaceableWall((246 + type - 4486)); return; elseif (type == 4504) or (type == 4505) then this.DefaultToPlaceableWall((264 + type - 4504)); this.value = 250; return; elseif (type == 4506) or (type == 4507) then this.DefaultToPlaceableWall((266 + type - 4506)); return; elseif (type == 4508) then this.DefaultToPlaceableWall((268 + type - 4508)); this.value = 250; return; elseif (type == 4509) or (type == 4510) or (type == 4511) then this.DefaultToPlaceableWall((269 + type - 4509)); return; elseif (type == 4512) then this.DefaultToPlaceableWall(274); return; elseif (type == 4513) or (type == 4514) or (type == 4515) or (type == 4516) or (type == 4517) or (type == 4518) or (type == 4519) or (type == 4520) or (type == 4521) or (type == 4522) or (type == 4523) or (type == 4524) or (type == 4525) or (type == 4526) or (type == 4527) or (type == 4528) or (type == 4529) or (type == 4530) or (type == 4531) or (type == 4532) or (type == 4533) or (type == 4534) or (type == 4535) or (type == 4536) or (type == 4537) or (type == 4538) or (type == 4539) or (type == 4540) then this.DefaultToPlaceableWall((276 + type - 4513)); return; elseif (type == 4541) or (type == 4542) or (type == 4543) or (type == 4544) or (type == 4545) or (type == 4546) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 91; this.placeStyle = 288 + (type - 4541); this.width = 10; this.height = 24; this.value = 1000; this.rare = 1; return; elseif (type == 4547) then this.DefaultToPlaceableTile(563, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 20)); return; elseif (type == 4548) then this.DefaultToPlaceableWall(313); return; elseif (type == 4549) then this.width = 18; this.height = 18; this.headSlot = 223; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4550) then this.DefaultToVanitypet(825, 262); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(1, 0, 0, 0)); return; elseif (type == 4551) then this.DefaultToVanitypet(821, 261); return; elseif (type == 4552) then this.DefaultToPlaceableTile(565, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 4, 0, 0)); return; elseif (type == 4553) then this.DefaultToPlaceableTile(564, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)); return; elseif (type == 4554) then this.DefaultToPlaceableTile(561, 0); return; elseif (type == 4555) then this.width = 18; this.height = 18; this.headSlot = 227; this.rare = 0; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4556) then this.width = 18; this.height = 18; this.bodySlot = 216; this.rare = 0; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4557) then this.width = 18; this.height = 18; this.legSlot = 190; this.rare = 0; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4558) then this.width = 18; this.height = 18; this.headSlot = 228; this.rare = 3; this.vanity = true; this.value = Item.buyPrice(0, 2, 0, 0); return; elseif (type == 4559) then this.width = 18; this.height = 18; this.headSlot = 229; this.rare = 3; this.vanity = true; this.value = Item.buyPrice(0, 2, 0, 0); return; elseif (type == 4560) then this.width = 18; this.height = 18; this.headSlot = 224; this.rare = 1; this.vanity = true; this.value = Item.buyPrice(0, 3, 0, 0); return; elseif (type == 4561) then this.width = 18; this.height = 18; this.headSlot = 225; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4562) then this.width = 18; this.height = 18; this.headSlot = 226; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4563) then this.DefaultToAccessory(18, 18); this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); this.hasVanityEffects = true; return; elseif (type == 4564) then this.DefaultToPlaceableTile(562, 0); this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 1, 0)); return; elseif (type == 4565) then this.DefaultToPlaceableWall(312); return; elseif (type == 4566) then this.DefaultToPlaceableTile(90, 39); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4567) then this.DefaultToPlaceableTile(79, 39); this.SetShopValues(ItemRarityColor.White0, 2000); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 20; return; elseif (type == 4568) then this.DefaultToPlaceableTile(101, 40); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4569) then this.DefaultToPlaceableTile(88, 39); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4570) then this.DefaultToPlaceableTile(100, 39); this.SetShopValues(ItemRarityColor.White0, 1500); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4571) then this.DefaultToPlaceableTile(33, 38); this.SetShopValues(ItemRarityColor.White0, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 0, 60); this.noWet = true; return; elseif (type == 4572) then this.DefaultToPlaceableTile(15, 44); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 30; return; elseif (type == 4573) then this.DefaultToPlaceableTile(34, 45); this.SetShopValues(ItemRarityColor.White0, 3000); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 4574) then this.DefaultToPlaceableTile(467, 11); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4575) then this.DefaultToPlaceableTile(104, 40); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4576) then this.DefaultToPlaceableTile(10, 45); this.SetShopValues(ItemRarityColor.White0, 200); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 4577) then this.DefaultToPlaceableTile(93, 39); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 10; this.height = 24; return; elseif (type == 4578) then this.DefaultToPlaceableTile(42, 45); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 28; return; elseif (type == 4579) then this.DefaultToPlaceableTile(87, 39); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4580) then this.DefaultToPlaceableTile(19, 44); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 4581) then this.DefaultToPlaceableTile(172, 40); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4582) then this.DefaultToPlaceableTile(89, 42); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4583) then this.DefaultToPlaceableTile(469, 8); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 20; return; elseif (type == 4584) then this.DefaultToPlaceableTile(18, 40); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 14; return; elseif (type == 4585) then this.DefaultToPlaceableTile(468, 11); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4586) then this.DefaultToPlaceableTile(497, 38); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 4587) or (type == 4588) or (type == 4589) or (type == 4590) then this.DefaultToGolfClub(20, 20); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 10, 0)); return; elseif (type == 4591) or (type == 4592) or (type == 4593) or (type == 4594) then this.DefaultToGolfClub(20, 20); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4595) or (type == 4596) or (type == 4597) or (type == 4598) then this.DefaultToGolfClub(20, 20); this.SetShopValues(ItemRarityColor.LightRed4, Item.buyPrice(0, 25, 0, 0)); return; elseif (type == 4599) or (type == 4600) or (type == 4601) then this.DefaultToPlaceableTile(560, type - 4599); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4602) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 91; this.placeStyle = 294; this.width = 10; this.height = 24; this.value = 1000; this.rare = 1; return; elseif (type == 4603) then this.DefaultToVanitypet(815, 258); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(1, 0, 0, 0)); return; elseif (type == 4604) then this.DefaultToVanitypet(816, 259); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(1, 0, 0, 0)); return; elseif (type == 4605) then this.DefaultToVanitypet(817, 260); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(1, 0, 0, 0)); return; elseif (type == 4606) then this.DefaultToMusicBox(51); return; elseif (type == 4607) then this.mana = 10; this.damage = 41; this.useStyle = 1; this.shootSpeed = 10; this.shoot = 831; this.buffType = 263; this.width = 26; this.height = 28; this.UseSound = SoundID.Item44; this.useAnimation = 36; this.useTime = 36; this.rare = 8; this.noMelee = true; this.knockBack = 4; this.value = Item.sellPrice(0, 20, 0, 0); this.summon = true; this.autoReuse = true; this.reuseDelay = 2; return; elseif (type == 4608) then this.useStyle = 1; this.shootSpeed = 7; this.shoot = 820; this.width = 18; this.height = 20; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.UseSound = SoundID.Item1; this.useAnimation = 19; this.useTime = 19; this.noMelee = true; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 5, 0)); return; elseif (type == 4609) then this.DefaultToPlaceableTile(567, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4610) then this.DefaultTokite(822); return; elseif (type == 4611) then this.DefaultTokite(823); return; elseif (type == 4612) then this.DefaultTokite(824); return; elseif (type == 4613) then this.DefaultTokite(826); return; elseif (type == 4626) or (type == 4627) or (type == 4628) or (type == 4629) or (type == 4630) or (type == 4631) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 63 + (type - 4626); return; elseif (type == 4632) or (type == 4633) or (type == 4634) or (type == 4635) or (type == 4636) or (type == 4637) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 37 + (type - 4632); return; elseif (type == 4638) or (type == 4639) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 245; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 7 + (type - 4638); return; elseif (type == 4640) then this.DefaultToPlaceableTile(67, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)); return; elseif (type == 4641) then this.DefaultToPlaceableTile(66, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)); return; elseif (type == 4642) then this.DefaultToPlaceableTile(63, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)); return; elseif (type == 4643) then this.DefaultToPlaceableTile(65, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)); return; elseif (type == 4644) then this.DefaultToPlaceableTile(64, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)); return; elseif (type == 4645) then this.DefaultToPlaceableTile(68, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)); return; elseif (type == 4646) then this.DefaultToPlaceableTile(566, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)); return; elseif (type == 4647) then this.DefaultToPlaceableWall(314); return; elseif (type == 4648) or (type == 4649) or (type == 4650) or (type == 4651) then this.DefaultTokite(827 + (type - 4648)); return; elseif (type == 4652) then this.width = 18; this.height = 18; this.headSlot = 230; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4653) then this.width = 18; this.height = 18; this.bodySlot = 217; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4654) then this.width = 18; this.height = 18; this.legSlot = 191; this.rare = 3; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4655) then this.DefaultToPlaceableTile(568, 0); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4656) then this.DefaultToPlaceableTile(569, 0); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4657) then this.DefaultToPlaceableTile(570, 0); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 4658) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 43; return; elseif (type == 4659) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 245; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 9; return; elseif (type == 4660) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 69; return; elseif (type == 4661) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 246; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 19; return; elseif (type == 4662) or (type == 4663) or (type == 4778) then this.width = 20; this.height = 20; this.maxStack = Item.CommonMaxStack; this.value = Item.sellPrice(0, 1, 50, 0); this.rare = 3; return; elseif (type == 4664) then this.width = 18; this.height = 18; this.bodySlot = 218; this.rare = 3; this.vanity = true; this.value = Item.buyPrice(0, 20, 0, 0); return; elseif (type == 4665) then this.width = 18; this.height = 18; this.legSlot = 193; this.rare = 3; this.vanity = true; this.value = Item.buyPrice(0, 20, 0, 0); return; elseif (type == 4666) then this.width = 18; this.height = 18; this.headSlot = 232; this.rare = 3; this.vanity = true; this.value = Item.buyPrice(0, 15, 0, 0); return; elseif (type == 4667) then this.DefaultToPlaceableWall(315); return; elseif (type == 4668) then this.paintCoating = 1; this.width = 24; this.height = 24; this.value = Item.buyPrice(0, 0, 2, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4669) then this.DefaultTokite(838); return; elseif (type == 4670) then this.DefaultTokite(839); return; elseif (type == 4671) then this.DefaultTokite(840); return; elseif (type == 4672) then this.DefaultToWhip(841, 14, 1, 4, 30); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4673) then this.autoReuse = true; this.useStyle = 1; this.useTurn = true; this.useAnimation = 12; this.useTime = 12; this.width = 16; this.height = 16; this.scale = 1; this.value = Item.buyPrice(0, 0, 50, 0); return; elseif (type == 4674) then this.DefaultTokite(843); return; elseif (type == 4675) then this.DefaultTokite(844); return; elseif (type == 4676) then this.DefaultTokite(845); this.value = Item.buyPrice(0, 2, 0, 0); return; elseif (type == 4677) then this.DefaultTokite(846); return; elseif (type == 4678) then this.DefaultToWhip(847, 55, 2, 4, 28); this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 4, 60, 0)); return; elseif (type == 4679) then this.DefaultToWhip(848, 165, 11, 4, 35); this.SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 6, 0, 0)); this.crit = 10; return; elseif (type == 4680) then this.DefaultToWhip(849, 100, 3, 4, 27); this.SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 4681) then this.DefaultTokite(850); this.value = Item.buyPrice(0, 2, 0, 0); return; elseif (type == 4682) then this.width = 20; this.height = 24; this.DefaultToThrownWeapon(851, 25, 4, false); this.value = Item.buyPrice(0, 0, 1, 0); this.ranged = false; this.noUseGraphic = true; return; elseif (type == 4683) then this.DefaultTokite(852); return; elseif (type == 4684) then this.DefaultTokite(853); return; elseif (type == 4685) then this.width = 18; this.height = 18; this.headSlot = 231; this.vanity = true; this.value = Item.buyPrice(0, 10, 0, 0); return; elseif (type == 4686) then this.width = 18; this.height = 18; this.bodySlot = 219; this.vanity = true; this.value = Item.buyPrice(0, 10, 0, 0); return; elseif (type == 4687) or (type == 4688) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 91; this.placeStyle = 295 + (type - 4687); this.width = 10; this.height = 24; this.value = 1000; this.rare = 1; return; elseif (type == 4689) or (type == 4690) or (type == 4691) or (type == 4692) or (type == 4693) or (type == 4694) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 215; this.placeStyle = 8 + type - 4689; this.width = 12; this.height = 12; return; elseif (type == 4695) or (type == 4696) or (type == 4697) or (type == 4698) or (type == 4699) or (type == 4700) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 572; this.placeStyle = type - 4695; this.width = 12; this.height = 28; if (type >= 4695 and type <= 4697) then this.value = 1000; return; end this.value = 40000; return; elseif (type == 4701) then this.DefaultToVanitypet(854, 264); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 50, 0, 0)); return; elseif (type == 4702) then this.width = 20; this.height = 24; this.DefaultToThrownWeapon(855, 25, 4, false); this.value = Item.buyPrice(0, 0, 1, 0); this.ranged = false; this.noUseGraphic = true; return; elseif (type == 4703) then this.DefaultToRangedWeapon(14, AmmoID.Bullet, 55, 7, false); this.knockBack = 6.5; this.width = 50; this.height = 14; this.UseSound = SoundID.Item36; this.damage = 14; this.value = Item.buyPrice(0, 35, 0, 0); this.rare = 3; return; elseif (type == 4704) then this.width = 18; this.height = 18; this.headSlot = 233; this.vanity = true; this.value = Item.buyPrice(0, 10, 0, 0); return; elseif (type == 4705) then this.width = 18; this.height = 18; this.bodySlot = 220; this.vanity = true; this.value = Item.buyPrice(0, 10, 0, 0); return; elseif (type == 4706) then this.width = 18; this.height = 18; this.legSlot = 197; this.vanity = true; this.value = Item.buyPrice(0, 10, 0, 0); return; elseif (type == 4707) then this.width = 44; this.height = 44; this.rare = 2; this.value = Item.buyPrice(0, 10, 0, 0); this.holdStyle = 2; this.useStyle = 3; this.useAnimation = 22; this.useTime = 22; this.damage = 15; this.knockBack = 5; this.UseSound = SoundID.Item1; this.melee = true; return; elseif (type == 4708) then this.width = 18; this.height = 18; this.headSlot = 234; this.vanity = true; this.value = Item.buyPrice(0, 10, 0, 0); return; elseif (type == 4709) then this.width = 18; this.height = 18; this.bodySlot = 221; this.vanity = true; this.value = Item.buyPrice(0, 10, 0, 0); return; elseif (type == 4710) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 573; this.width = 28; this.height = 28; return; elseif (type == 4711) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 22; this.useTime = 14; this.autoReuse = true; this.width = 24; this.height = 28; this.damage = 12; this.UseSound = SoundID.Item1; this.knockBack = 3.5; this.rare = 1; this.value = Item.sellPrice(0, 0, 10, 0); this.melee = true; return; elseif (type == 4712) then this.DefaultToPlaceableTile(467, 12); this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 25, 0)); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4713) then this.DefaultToPlaceableTile(468, 12); this.SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 5, 0)); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 4714) then this.width = 14; this.height = 20; this.maxStack = Item.CommonMaxStack; this.rare = 8; return; elseif (type == 4715) then this.SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 50, 0, 0)); this.DefaultToGuitar(24, 24); local num1 = 12; num = num1; this.useTime = num1; this.useAnimation = num; this.useTime = this.useTime / 2; this.shoot = 856; this.damage = 85; this.magic = true; this.shootSpeed = 1; this.crit = 20; this.knockBack = 1.5; this.mana = 12; this.noMelee = true; return; elseif (type == 4716) then this.useStyle = 4; this.channel = true; this.width = 34; this.height = 34; this.UseSound = SoundID.Item43; this.useAnimation = 20; this.useTime = 20; this.rare = 8; this.noMelee = true; this.mountType = 37; this.value = Item.buyPrice(0, 20, 0, 0); return; elseif (type == 4717) or (type == 4718) or (type == 4719) or (type == 4720) or (type == 4721) then this.DefaultToPlaceableTile(574 + type - 4717, 0); return; elseif (type == 4722) then this.useStyle = 5; this.width = 24; this.height = 24; this.noUseGraphic = true; this.UseSound = SoundID.Item1; this.autoReuse = true; this.melee = true; this.channel = true; this.noMelee = true; this.shoot = 857; this.useAnimation = 35; this.useTime = this.useAnimation / 5; this.shootSpeed = 16; this.damage = 190; this.knockBack = 6.5; this.value = Item.sellPrice(0, 20, 0, 0); this.crit = 10; this.rare = 10; this.glowMask = 271; return; elseif (type == 4723) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 70; return; elseif (type == 4724) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 71; return; elseif (type == 4725) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 44; return; elseif (type == 4726) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 245; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 10; return; elseif (type == 4727) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 245; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 11; return; elseif (type == 4728) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 245; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 12; return; elseif (type == 4729) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 246; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 20; return; elseif (type == 4730) then this.width = 24; this.height = 8; this.accessory = true; this.rare = 9; this.wingSlot = 40; this.value = 400000; return; elseif (type == 4731) then this.DefaultToPlaceableTile(497, 39); this.maxStack = Item.CommonMaxStack; this.value = 150; this.rare = 8; return; elseif (type == 4732) then this.width = 18; this.height = 18; this.headSlot = 235; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4733) then this.width = 18; this.height = 18; this.bodySlot = 222; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4734) then this.width = 18; this.height = 18; this.legSlot = 203; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4735) then this.DefaultToVanitypet(858, 266); this.value = Item.buyPrice(0, 50, 0, 0); return; elseif (type == 4736) then this.DefaultToVanitypet(859, 267); this.value = Item.buyPrice(0, 30, 0, 0); return; elseif (type == 4737) then this.DefaultToVanitypet(860, 268); return; elseif (type == 4738) then this.width = 18; this.height = 18; this.headSlot = 236; this.rare = 2; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4739) then this.width = 18; this.height = 18; this.bodySlot = 223; this.rare = 2; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4740) then this.width = 18; this.height = 18; this.headSlot = 237; this.rare = 2; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4741) then this.width = 18; this.height = 18; this.bodySlot = 224; this.rare = 2; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4742) then this.width = 18; this.height = 18; this.legSlot = 205; this.rare = 2; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4743) then this.useStyle = 1; this.shootSpeed = 11; this.shoot = 861; this.damage = 0; this.width = 10; this.height = 10; this.maxStack = 1; this.consumable = true; this.UseSound = SoundID.Item1; this.useAnimation = 15; this.useTime = 15; this.noUseGraphic = true; this.noMelee = true; this.value = 20; return; elseif (type == 4744) then this.DefaultToAccessory(26, 36); this.backSlot = 24; this.frontSlot = 8; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)); this.vanity = true; return; elseif (type == 4745) then this.DefaultToMount(38); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 20, 0)); return; elseif (type == 4746) then this.width = 24; this.height = 8; this.accessory = true; this.rare = 9; this.wingSlot = 41; this.value = 400000; return; elseif (type == 4747) then this.width = 18; this.height = 18; this.headSlot = 238; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4748) then this.width = 18; this.height = 18; this.bodySlot = 225; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4749) then this.width = 18; this.height = 18; this.legSlot = 208; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4750) then this.width = 24; this.height = 8; this.accessory = true; this.rare = 9; this.wingSlot = 42; this.value = 400000; return; elseif (type == 4751) then this.width = 18; this.height = 18; this.headSlot = 239; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4752) then this.width = 18; this.height = 18; this.bodySlot = 226; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4753) then this.width = 18; this.height = 18; this.legSlot = 209; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4754) then this.width = 24; this.height = 8; this.accessory = true; this.rare = 9; this.wingSlot = 43; this.value = 400000; return; elseif (type == 4755) then this.width = 18; this.height = 18; this.headSlot = 240; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4756) then this.width = 18; this.height = 18; this.bodySlot = 227; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4757) then this.width = 18; this.height = 18; this.legSlot = 210; this.rare = 9; this.vanity = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4758) then this.mana = 10; this.damage = 6; this.useStyle = 1; this.shootSpeed = 10; this.shoot = 864; this.buffType = 271; this.width = 26; this.height = 28; this.UseSound = SoundID.Item44; this.useAnimation = 36; this.useTime = 36; this.rare = 5; this.noMelee = true; this.knockBack = 0; this.value = Item.sellPrice(0, 1, 0, 0); this.summon = true; this.autoReuse = true; this.reuseDelay = 2; return; elseif (type == 4759) then this.noUseGraphic = true; this.damage = 0; this.knockBack = 7; this.useStyle = 5; this.shootSpeed = 11.5; this.shoot = 865; this.width = 18; this.height = 28; this.UseSound = SoundID.Item1; this.useAnimation = 20; this.useTime = 20; this.rare = 1; this.noMelee = true; this.value = 20000; return; elseif (type == 4760) then this.damage = 80; this.useStyle = 1; this.shootSpeed = 10; this.shoot = 866; this.width = 26; this.height = 28; this.UseSound = SoundID.Item1; this.useAnimation = 36; this.useTime = 36; this.rare = 5; this.noMelee = true; this.knockBack = 2; this.value = Item.buyPrice(0, 35, 0, 0); this.melee = true; this.noUseGraphic = true; return; elseif (type == 4761) then this.width = 12; this.height = 12; this.headSlot = 241; this.rare = 3; this.vanity = true; this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 579; return; elseif (type == 4762) then this.width = 24; this.height = 24; this.accessory = true; this.vanity = true; this.rare = 1; this.value = Item.buyPrice(0, 10, 0, 0); this.hasVanityEffects = true; return; elseif (type == 4763) then this.DefaultToMount(39); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 50, 0, 0)); return; elseif (type == 4764) then this.noMelee = true; this.useStyle = 1; this.shootSpeed = 10.5; this.shoot = 867; this.damage = 23; this.knockBack = 7; this.width = 14; this.height = 28; this.UseSound = SoundID.Item1; this.useAnimation = 20; this.useTime = 20; this.noUseGraphic = true; this.rare = 1; this.value = 30000; this.melee = true; return; elseif (type == 4765) or (type == 4766) then this.DefaultToThrownWeapon(type - 4765 + 868, 20, 8, false); this.UseSound = SoundID.Item106; this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 3, 0, 0)); this.width = 18; this.height = 18; return; elseif (type == 4767) then this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)); this.width = 30; this.height = 30; return; elseif (type == 4768) then this.width = 18; this.height = 18; this.headSlot = 242; this.rare = 1; this.vanity = true; this.value = Item.buyPrice(0, 3, 0, 0); return; elseif (type == 4769) then this.DefaultToAccessory(18, 18); this.backSlot = 25; this.rare = 1; this.vanity = true; this.value = Item.buyPrice(0, 3, 0, 0); return; elseif (type == 4770) then this.width = 18; this.height = 18; this.headSlot = 243; this.rare = 1; this.vanity = true; this.value = Item.buyPrice(0, 3, 0, 0); return; elseif (type == 4771) then this.DefaultToAccessory(18, 18); this.backSlot = 26; this.rare = 1; this.vanity = true; this.value = Item.buyPrice(0, 3, 0, 0); return; elseif (type == 4772) then this.width = 18; this.height = 18; this.headSlot = 244; this.rare = 1; this.vanity = true; this.value = Item.buyPrice(0, 3, 0, 0); return; elseif (type == 4773) then this.DefaultToAccessory(18, 18); this.backSlot = 27; this.rare = 1; this.vanity = true; this.value = Item.buyPrice(0, 3, 0, 0); return; elseif (type == 4774) then this.width = 18; this.height = 18; this.headSlot = 245; this.rare = 1; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 4775) then this.DefaultToAccessory(18, 18); this.backSlot = 28; this.rare = 1; this.vanity = true; this.value = Item.buyPrice(0, 3, 0, 0); return; elseif (type == 4776) then this.color = new.Color(255, 255, 255, 0); this.useStyle = 1; this.shootSpeed = 6; this.shoot = 870; this.width = 12; this.height = 12; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.UseSound = SoundID.Item1; this.useAnimation = 15; this.useTime = 15; this.noMelee = true; this.rare = 1; this.value = Item.buyPrice(0, 0, 0, 75); this.holdStyle = 1; return; elseif (type == 4777) then this.DefaultToVanitypet(875, 274); this.value = Item.buyPrice(0, 50, 0, 0); return; elseif (type == 4779) then this.width = 18; this.height = 18; this.headSlot = 250; this.rare = 1; this.vanity = true; return; elseif (type == 4780) then this.width = 18; this.height = 18; this.bodySlot = 228; this.rare = 1; this.vanity = true; return; elseif (type == 4781) then this.width = 18; this.height = 18; this.legSlot = 211; this.rare = 1; this.vanity = true; return; elseif (type == 4782) then this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 24; this.height = 24; this.rare = 6; this.expert = true; return; elseif (type == 4783) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 1, 0, 0); this.rare = 1; this.placeStyle = 72; return; elseif (type == 4784) then this.width = 18; this.height = 18; this.headSlot = 251; this.rare = 1; this.value = Item.sellPrice(0, 0, 75, 0); this.vanity = true; return; elseif (type == 4785) or (type == 4786) or (type == 4787) then this.useStyle = 4; this.channel = true; this.width = 34; this.height = 34; this.UseSound = SoundID.Item76; this.useAnimation = 20; this.useTime = 20; this.rare = 8; this.noMelee = true; this.mountType = 40 + (type - 4785); this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4788) then this.DefaultToSpear(877, 3.5, 24); this.SetWeaponValues(60, 12, 0); this.SetShopValues(ItemRarityColor.LightRed4, Item.buyPrice(0, 6, 0, 0)); this.channel = true; return; elseif (type == 4789) then this.DefaultToSpear(878, 3.5, 24); this.SetWeaponValues(130, 14, 0); this.SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 10, 0, 0)); this.channel = true; return; elseif (type == 4790) then this.DefaultToSpear(879, 3.5, 24); this.SetWeaponValues(90, 13, 0); this.SetShopValues(ItemRarityColor.Pink5, 230000); this.channel = true; return; elseif (type == 4791) then this.useStyle = 4; this.channel = true; this.width = 10; this.height = 32; this.UseSound = SoundID.Item25; this.useAnimation = 20; this.useTime = 20; this.rare = 8; this.noMelee = true; this.noUseGraphic = true; this.mountType = 43; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4792) or (type == 4793) or (type == 4794) or (type == 4795) or (type == 4796) then this.useStyle = 4; this.channel = true; this.width = 10; this.height = 32; this.UseSound = SoundID.Item25; this.useAnimation = 20; this.useTime = 20; this.rare = -13; this.noMelee = true; this.noUseGraphic = true; this.mountType = 44 + type - 4792; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4797) or (type == 4798) or (type == 4799) or (type == 4800) or (type == 4801) or (type == 4802) or (type == 4803) or (type == 4804) or (type == 4805) or (type == 4806) or (type == 4807) or (type == 4808) or (type == 4809) or (type == 4810) or (type == 4811) or (type == 4812) or (type == 4813) or (type == 4814) or (type == 4815) or (type == 4816) or (type == 4817) then this.DefaultToVanitypet(881 + type - 4797, 284 + type - 4797); this.value = Item.buyPrice(0, 25, 0, 0); this.rare = -13; return; elseif (type == 4818) then this.noMelee = true; this.useStyle = 1; this.shootSpeed = 8.5; this.shoot = 902; this.damage = 25; this.knockBack = 3.5; this.width = 14; this.height = 28; this.UseSound = SoundID.Item1; this.useAnimation = 15; this.useTime = 15; this.noUseGraphic = true; this.rare = 2; this.value = Item.sellPrice(0, 0, 50, 0); this.melee = true; return; elseif (type == 4819) then this.useTurn = true; this.width = 20; this.height = 20; this.useStyle = 4; this.useTime = 90; this.UseSound = SoundID.Item6; this.useAnimation = 90; this.SetShopValues(ItemRarityColor.LightRed4, Item.buyPrice(0, 5, 0, 0)); return; elseif (type == 4820) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 12; this.useTime = 5; this.width = 20; this.height = 20; this.autoReuse = true; this.rare = 7; this.value = Item.sellPrice(0, 10, 0, 0); this.tileBoost = this.tileBoost + 2; return; elseif (type == 4821) then this.useTurn = true; this.useStyle = 1; this.useTime = 21; this.useAnimation = 21; this.width = 24; this.height = 28; this.UseSound = SoundID.Item1; this.value = Item.sellPrice(0, 5, 0, 0); this.autoReuse = true; this.rare = 3; this.scale = 0.85; return; elseif (type == 4822) then this.DefaultToAccessory(34, 30); this.shoeSlot = 22; this.SetShopValues(ItemRarityColor.Orange3, Item.sellPrice(0, 2, 0, 0)); this.vanity = true; return; elseif (type == 4823) then this.width = 24; this.height = 8; this.accessory = true; this.rare = 9; this.wingSlot = 44; this.value = Item.buyPrice(0, 40, 0, 0); return; elseif (type == 4824) or (type == 4825) or (type == 4826) or (type == 4827) then this.useStyle = 1; this.shootSpeed = 5; this.shoot = 903 + (type - 4824); this.width = 20; this.height = 20; this.maxStack = Item.CommonMaxStack; this.UseSound = SoundID.Item1; this.consumable = true; this.useAnimation = 25; this.noUseGraphic = true; this.useTime = 25; this.value = Item.sellPrice(0, 0, 5, 0); this.rare = 1; return; elseif (type == 4828) then this.useStyle = 4; this.channel = true; this.width = 10; this.height = 32; this.UseSound = SoundID.Item25; this.useAnimation = 20; this.useTime = 20; this.rare = 8; this.noMelee = true; this.noUseGraphic = true; this.mountType = 49; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4829) or (type == 4830) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 5, 0, 0)); return; elseif (type == 4831) or (type == 4832) or (type == 4833) or (type == 4834) or (type == 4835) or (type == 4836) or (type == 4837) then this.useStyle = 1; this.autoReuse = true; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 12; this.height = 12; this.noUseGraphic = true; this.value = Item.sellPrice(0, 0, 10, 0); this.makeNPC = (639 + (type - 4831)); return; elseif (type == 4838) or (type == 4839) or (type == 4840) or (type == 4841) or (type == 4842) or (type == 4843) or (type == 4844) then this.useStyle = 1; this.autoReuse = true; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 12; this.height = 12; this.noUseGraphic = true; this.value = Item.sellPrice(0, 0, 10, 0); this.makeNPC = (646 + (type - 4838)); return; elseif (type == 4845) then this.DefaultToCapturedCritter(653); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 20, 0)); this.width = 12; this.height = 12; this.bait = 15; return; elseif (type == 4846) then this.DefaultToPlaceableTile(580, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4847) then this.DefaultToCapturedCritter(654); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 20, 0)); this.width = 12; this.height = 12; this.bait = 25; return; elseif (type == 4848) then this.DefaultToPlaceableTile(581, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4849) then this.DefaultToCapturedCritter(655); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); this.width = 12; this.height = 12; this.bait = 35; return; elseif (type == 4850) then this.DefaultToPlaceableTile(582, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4851) then this.DefaultToPlaceableTile(590, 0); this.value = Item.sellPrice(0, 0, 7, 50); return; elseif (type == 4852) then this.DefaultToPlaceableTile(590, 1); this.value = Item.sellPrice(0, 0, 3, 75); return; elseif (type == 4853) then this.DefaultToPlaceableTile(590, 2); this.value = Item.sellPrice(0, 0, 11, 25); return; elseif (type == 4854) then this.DefaultToPlaceableTile(590, 3); this.value = Item.sellPrice(0, 0, 15, 0); return; elseif (type == 4855) then this.DefaultToPlaceableTile(590, 4); this.value = Item.sellPrice(0, 0, 22, 50); return; elseif (type == 4856) then this.DefaultToPlaceableTile(590, 5); this.value = Item.sellPrice(0, 0, 30, 0); return; elseif (type == 4857) then this.DefaultToPlaceableTile(590, 6); this.value = Item.sellPrice(0, 0, 30, 0); return; elseif (type == 4858) or (type == 4859) or (type == 4860) or (type == 4861) or (type == 4862) or (type == 4863) or (type == 4864) or (type == 4865) or (type == 4866) then this.DefaultToPlaceableTile(591, type - 4858); this.value = Item.sellPrice(0, 0, 25, 0); return; elseif (type == 4867) then this.DefaultToPlaceableTile(592, 0); this.value = Item.sellPrice(0, 0, 25, 0); return; elseif (type == 4868) or (type == 4869) then this.DefaultToPlaceableTile(593 + (type - 4868), 0); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)); return; elseif (type == 4870) then this.UseSound = SoundID.Item6; this.useStyle = 6; this.useTurn = true; local num2 = 30; num = num2; this.useAnimation = num2; this.useTime = num; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 14; this.height = 24; this.value = 1000; this.rare = 1; return; elseif (type == 4871) then this.DefaultToPlaceableTile(595, 0); this.value = Item.buyPrice(0, 1, 0, 0); return; elseif (type == 4872) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 12; this.useTime = 5; this.width = 20; this.height = 20; this.autoReuse = true; this.rare = 7; this.value = Item.sellPrice(0, 10, 0, 0); this.tileBoost = this.tileBoost + 2; return; elseif (type == 4873) then this.width = 18; this.height = 18; this.defense = 1; this.headSlot = 254; this.rare = 5; this.value = 250000; return; elseif (type == 4874) then this.DefaultToAccessory(34, 30); this.shoeSlot = 23; this.SetShopValues(ItemRarityColor.Lime7, Item.sellPrice(0, 4, 0, 0)); this.hasVanityEffects = true; return; elseif (type == 4875) then this.DefaultToPlaceableTile(597, 1); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4876) then this.DefaultToPlaceableTile(597, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4877) or (type == 4878) then this.DefaultToPlaceableTile(376, 22 + type - 4877); this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 0, 0)); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4879) then this.width = 12; this.height = 12; this.rare = 2; this.maxStack = Item.CommonMaxStack; this.value = Item.buyPrice(0, 2, 0, 0); return; elseif (type == 4880) then this.DefaultToPlaceableTile(598, 0); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; this.value = Item.sellPrice(0, 0, 20, 0); return; elseif (type == 4881) then this.DefaultToAccessory(34, 30); this.SetShopValues(ItemRarityColor.Lime7, Item.sellPrice(0, 2, 0, 0)); return; elseif (type == 4882) or (type == 4883) or (type == 4884) or (type == 4885) or (type == 4886) or (type == 4887) or (type == 4888) or (type == 4889) or (type == 4890) or (type == 4891) or (type == 4892) or (type == 4893) or (type == 4894) or (type == 4895) then this.DefaultToPlaceableTile(599 + (type - 4882), 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4896) then this.width = 18; this.height = 18; this.defense = 24; this.headSlot = 255; this.rare = 5; this.value = 250000; return; elseif (type == 4897) then this.width = 18; this.height = 18; this.defense = 9; this.headSlot = 256; this.rare = 5; this.value = 250000; return; elseif (type == 4898) then this.width = 18; this.height = 18; this.defense = 5; this.headSlot = 257; this.rare = 5; this.value = 250000; return; elseif (type == 4899) then this.width = 18; this.height = 18; this.defense = 1; this.headSlot = 258; this.rare = 5; this.value = 250000; return; elseif (type == 4900) then this.width = 18; this.height = 18; this.defense = 15; this.bodySlot = 229; this.rare = 5; this.value = 200000; return; elseif (type == 4901) then this.width = 18; this.height = 18; this.defense = 11; this.legSlot = 212; this.rare = 5; this.value = 150000; return; elseif (type == 4902) then this.DefaultToPlaceableTile(548, 7); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4903) then this.DefaultToPlaceableTile(548, 8); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4904) then this.DefaultToPlaceableTile(613, 0); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4905) then this.DefaultToPlaceableTile(613, 1); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4906) then this.DefaultToPlaceableTile(614, 0); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)); return; elseif (type == 4907) then this.DefaultToPlaceableTile(615, 0); this.value = Item.buyPrice(0, 1, 0, 0); return; elseif (type == 4908) or (type == 4909) then this.useStyle = 1; this.shootSpeed = 5; this.shoot = 910 + (type - 4908); this.width = 20; this.height = 20; this.maxStack = Item.CommonMaxStack; this.UseSound = SoundID.Item1; this.consumable = true; this.useAnimation = 25; this.noUseGraphic = true; this.useTime = 25; this.value = Item.sellPrice(0, 0, 1, 0); this.rare = 1; return; elseif (type == 4910) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 5, 0, 0)); return; elseif (type == 4911) then this.DefaultToWhip(912, 45, 1.5, 4, 30); this.SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 4, 0, 0)); return; elseif (type == 4912) then this.DefaultToWhip(913, 37, 2, 4, 30); this.SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 3, 0, 0)); return; elseif (type == 4913) then this.DefaultToWhip(914, 18, 1.5, 4, 30); this.SetShopValues(ItemRarityColor.Orange3, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 4914) then this.DefaultToWhip(915, 180, 4, 4, 30); this.SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 5, 0, 0)); return; elseif (type == 4915) then this.shootSpeed = 4.5; this.shoot = 14; this.damage = 9; this.width = 8; this.height = 8; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Bullet; this.knockBack = 4; this.value = 18; this.ranged = true; return; elseif (type == 4916) then this.DefaultToPlaceableTile(597, 2); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4917) then this.DefaultToPlaceableTile(597, 3); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4918) then this.DefaultToPlaceableTile(597, 4); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4919) then this.DefaultToPlaceableTile(597, 5); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4920) then this.DefaultToPlaceableTile(597, 6); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4921) then this.DefaultToPlaceableTile(597, 7); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 4922) then this.DefaultToPlaceableTile(207, 8); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 4, 0, 0)); this.width = 8; this.height = 10; return; elseif (type == 4923) then this.width = 14; this.height = 38; this.rare = 8; this.noUseGraphic = true; this.channel = true; this.noMelee = true; this.damage = 80; this.crit = 10; this.knockBack = 4; this.autoReuse = false; this.noMelee = true; this.melee = true; this.shoot = 927; this.shootSpeed = 15; this.value = Item.sellPrice(0, 5, 0, 0); this.useStyle = 13; this.useAnimation = 18; this.useTime = 6; return; elseif (type == 4924) or (type == 4925) or (type == 4926) or (type == 4927) or (type == 4928) or (type == 4929) or (type == 4930) or (type == 4931) or (type == 4932) or (type == 4933) or (type == 4934) or (type == 4935) or (type == 4936) or (type == 4937) or (type == 4938) or (type == 4939) or (type == 4940) or (type == 4941) or (type == 4942) or (type == 4943) or (type == 4944) or (type == 4945) or (type == 4946) or (type == 4947) or (type == 4948) or (type == 4949) or (type == 4950) then this.DefaultToPlaceableTile(617, type - 4924); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)); this.rare = -13; this.maxStack = Item.CommonMaxStack; return; elseif (type == 4951) then this.DefaultToPlaceableTile(597, 8); this.SetShopValues(ItemRarityColor.Cyan9, Item.buyPrice(1, 0, 0, 0)); return; elseif (type == 4952) then this.autoReuse = true; this.useStyle = 14; this.holdStyle = 6; this.scale = 0.7; this.useAnimation = 36; this.useTime = 2; this.width = 36; this.height = 22; this.shoot = 931; this.mana = 23; this.UseSound = SoundID.Item82; this.knockBack = 2.5; this.damage = 50; this.shootSpeed = 17; this.noMelee = true; this.rare = 8; this.magic = true; this.value = Item.sellPrice(0, 5, 0, 0); this.flame = true; return; elseif (type == 4953) then this.useStyle = 5; this.autoReuse = true; this.useAnimation = 30; this.useTime = 2; this.width = 50; this.height = 18; this.shoot = 1; this.useAmmo = AmmoID.Arrow; this.UseSound = SoundID.Item5; this.damage = 50; this.shootSpeed = 10; this.noMelee = true; this.value = Item.sellPrice(0, 5, 0, 0); this.ranged = true; this.rare = 8; this.knockBack = 2; return; elseif (type == 4954) then this.width = 24; this.height = 8; this.accessory = true; this.rare = 9; this.wingSlot = 45; this.value = Item.sellPrice(0, 10, 0, 0); this.expert = true; return; elseif (type == 4955) then this.width = 18; this.height = 18; this.headSlot = 259; this.value = Item.buyPrice(0, 15, 0, 0); this.rare = 5; this.vanity = true; return; elseif (type == 4956) then this.useStyle = 1; this.width = 24; this.height = 24; this.UseSound = null; this.autoReuse = true; this.melee = true; this.melee = true; this.shoot = 933; this.useAnimation = 30; this.useTime = this.useAnimation / 3; this.shootSpeed = 16; this.damage = 190; this.knockBack = 6.5; this.value = Item.sellPrice(0, 20, 0, 0); this.crit = 10; this.rare = 10; this.noUseGraphic = true; this.noMelee = true; return; elseif (type == 4957) then this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 24; this.height = 24; this.rare = 6; this.expert = true; return; elseif (type == 4958) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 1, 0, 0); this.rare = 1; this.placeStyle = 73; return; elseif (type == 4959) then this.width = 18; this.height = 18; this.headSlot = 260; this.rare = 1; this.value = Item.sellPrice(0, 0, 75, 0); this.vanity = true; return; elseif (type == 4960) then this.DefaultToVanitypet(934, 317); this.value = Item.buyPrice(0, 25, 0, 0); this.rare = -13; return; elseif (type == 4961) then this.DefaultToCapturedCritter(661); this.SetShopValues(ItemRarityColor.Orange3, Item.sellPrice(0, 5, 0, 0)); this.width = 12; this.height = 12; return; elseif (type == 4962) then this.DefaultToPlaceableTile(618, 0); return; elseif (type == 4963) then this.DefaultToPlaceableTile(619, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4964) then this.DefaultToPlaceableTile(620, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 4965) or (type == 4966) or (type == 4967) or (type == 4968) or (type == 4969) or (type == 4970) or (type == 4971) or (type == 4972) or (type == 4973) or (type == 4974) or (type == 4975) or (type == 4976) or (type == 4977) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 91; this.placeStyle = 297 + (type - 4965); this.width = 10; this.height = 24; this.value = 1000; this.rare = 1; return; elseif (type == 4978) then this.width = 24; this.height = 8; this.accessory = true; this.rare = 0; this.wingSlot = 46; this.value = 2000; return; elseif (type == 4979) then this.DefaultToMusicBox(52); return; elseif (type == 4980) then this.noUseGraphic = true; this.damage = 0; this.knockBack = 7; this.useStyle = 5; this.shootSpeed = 4; this.shoot = 935; this.width = 18; this.height = 28; this.UseSound = SoundID.Item1; this.useAnimation = 20; this.useTime = 20; this.rare = 5; this.noMelee = true; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4981) then this.useStyle = 4; this.channel = true; this.width = 10; this.height = 32; this.UseSound = SoundID.Item25; this.useAnimation = 20; this.useTime = 20; this.rare = 8; this.noMelee = true; this.noUseGraphic = true; this.mountType = 50; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 4982) then this.width = 18; this.height = 18; this.defense = 12; this.headSlot = 261; this.rare = 5; this.value = Item.sellPrice(0, 2, 0, 0); return; elseif (type == 4983) then this.width = 18; this.height = 18; this.defense = 14; this.bodySlot = 230; this.rare = 5; this.value = Item.sellPrice(0, 2, 0, 0); return; elseif (type == 4984) then this.width = 18; this.height = 18; this.defense = 10; this.legSlot = 213; this.rare = 5; this.value = Item.sellPrice(0, 2, 0, 0); return; elseif (type == 4985) then this.DefaultToMusicBox(53); return; elseif (type == 4986) then this.useStyle = 1; this.shootSpeed = 9; this.shoot = 936; this.width = 18; this.height = 20; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.UseSound = SoundID.Item1; this.useAnimation = 15; this.useTime = 15; this.noUseGraphic = true; this.noMelee = true; this.value = 200; return; elseif (type == 4987) then this.width = 16; this.height = 24; this.accessory = true; this.rare = 6; this.value = Item.sellPrice(0, 5, 0, 0); this.expert = true; return; elseif (type == 4988) then this.useStyle = 4; this.width = 20; this.height = 20; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.maxStack = Item.CommonMaxStack; this.rare = 6; this.value = Item.sellPrice(0, 1, 0, 0); return; elseif (type == 4989) then this.width = 22; this.height = 22; this.accessory = true; this.rare = 1; this.value = Item.sellPrice(0, 10, 0, 0); this.expert = true; return; elseif (type == 4990) then this.DefaultToMusicBox(54); return; elseif (type == 4991) then this.DefaultToMusicBox(55); return; elseif (type == 4992) then this.DefaultToMusicBox(56); return; elseif (type == 4993) then this.DefaultToPlaceableTile(89, 43); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; this.rare = 9; return; elseif (type == 4994) then this.width = 18; this.height = 14; this.headSlot = 262; this.rare = 2; this.value = Item.buyPrice(0, 10, 0, 0); this.vanity = true; return; elseif (type == 4995) then this.width = 18; this.height = 14; this.headSlot = 263; this.rare = 2; this.value = Item.buyPrice(0, 10, 0, 0); this.vanity = true; return; elseif (type == 4996) then this.width = 18; this.height = 14; this.headSlot = 264; this.rare = 2; this.value = Item.buyPrice(0, 10, 0, 0); this.vanity = true; return; elseif (type == 4997) then this.width = 18; this.height = 14; this.vanity = true; this.bodySlot = 231; this.value = Item.buyPrice(0, 10, 0, 0); this.rare = 2; return; elseif (type == 4998) then this.width = 18; this.height = 14; this.vanity = true; this.bodySlot = 232; this.value = Item.buyPrice(0, 10, 0, 0); this.rare = 2; return; elseif (type == 4999) then this.width = 18; this.height = 14; this.vanity = true; this.bodySlot = 233; this.value = Item.buyPrice(0, 10, 0, 0); this.rare = 2; return; elseif (type == 5000) then this.DefaultToAccessory(34, 30); this.shoeSlot = 24; this.SetShopValues(ItemRarityColor.Lime7, Item.sellPrice(0, 15, 0, 0)); this.hasVanityEffects = true; return; elseif (type == 5001) then this.width = 18; this.height = 14; this.defense = 3; this.legSlot = 217; this.value = Item.buyPrice(0, 10, 0, 0); this.rare = 2; return; elseif (type == 5002) or (type == 5003) then this.DefaultToPlaceableTile(376, 24 + type - 5002); this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 0, 0)); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5004) then this.width = 18; this.height = 14; this.headSlot = 265; this.rare = 9; this.value = Item.sellPrice(0, 0, 30, 0); this.vanity = true; return; elseif (type == 5005) then this.mana = 10; this.damage = 90; this.useStyle = 1; this.shootSpeed = 10; this.shoot = 946; this.buffType = 322; this.width = 26; this.height = 28; this.UseSound = SoundID.Item82; this.useAnimation = 36; this.useTime = 36; this.rare = 5; this.noMelee = true; this.knockBack = 4; this.value = Item.sellPrice(0, 20, 0, 0); this.summon = true; this.autoReuse = true; this.reuseDelay = 2; return; elseif (type == 5006) then this.DefaultToMusicBox(57); return; elseif (type == 5007) then this.width = 18; this.height = 18; this.bodySlot = 234; this.rare = 2; this.value = Item.sellPrice(0, 0, 20, 0); this.vanity = true; return; elseif (type == 5008) then this.DefaultToPlaceableTile(622, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 2, 0)); return; elseif (type == 5010) then this.DefaultToAccessory(34, 30); this.waistSlot = 16; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 3, 0, 0)); return; elseif (type == 5011) or (type == 5012) then this.noMelee = true; this.useStyle = 5; this.useAnimation = 45; this.useTime = 45; this.knockBack = 4.6; this.width = 28; this.height = 28; this.damage = 9; this.scale = 1; this.noUseGraphic = true; this.shoot = 947; if (type == 5012) then this.shoot = 948; end this.shootSpeed = 11; this.UseSound = SoundID.Item1; this.rare = 1; this.value = Item.sellPrice(0, 2, 0, 0); this.melee = true; this.channel = true; return; elseif (type == 5014) then this.DefaultToMusicBox(58); return; elseif (type == 5015) then this.DefaultToMusicBox(59); return; elseif (type == 5016) then this.DefaultToMusicBox(60); return; elseif (type == 5017) then this.DefaultToMusicBox(61); return; elseif (type == 5018) then this.DefaultToMusicBox(62); return; elseif (type == 5019) then this.DefaultToMusicBox(63); return; elseif (type == 5020) then this.DefaultToMusicBox(64); return; elseif (type == 5021) then this.DefaultToMusicBox(65); return; elseif (type == 5022) then this.DefaultToMusicBox(66); return; elseif (type == 5023) then this.DefaultToMusicBox(67); return; elseif (type == 5024) then this.DefaultToMusicBox(68); return; elseif (type == 5025) then this.DefaultToMusicBox(69); return; elseif (type == 5026) then this.DefaultToMusicBox(70); return; elseif (type == 5027) then this.DefaultToMusicBox(71); return; elseif (type == 5028) then this.DefaultToMusicBox(72); return; elseif (type == 5029) then this.DefaultToMusicBox(73); return; elseif (type == 5030) then this.DefaultToMusicBox(74); return; elseif (type == 5031) then this.DefaultToMusicBox(75); return; elseif (type == 5032) then this.DefaultToMusicBox(76); return; elseif (type == 5033) then this.DefaultToMusicBox(77); return; elseif (type == 5034) then this.DefaultToMusicBox(78); return; elseif (type == 5035) then this.DefaultToMusicBox(79); return; elseif (type == 5036) then this.DefaultToMusicBox(80); return; elseif (type == 5037) then this.DefaultToMusicBox(81); return; elseif (type == 5038) then this.DefaultToMusicBox(82); return; elseif (type == 5039) then this.DefaultToMusicBox(83); return; elseif (type == 5040) then this.DefaultToMusicBox(84); return; elseif (type == 5043) then this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 18; this.height = 18; this.useStyle = 4; this.useTime = 30; this.UseSound = SoundID.Item4; this.useAnimation = 30; this.rare = 4; this.value = Item.sellPrice(0, 2, 0, 0); return; elseif (type == 5044) then this.DefaultToMusicBox(85); return; elseif (type == 5045) then this.width = 18; this.height = 14; this.headSlot = 266; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5046) then this.width = 18; this.height = 14; this.bodySlot = 235; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5047) then this.width = 18; this.height = 14; this.legSlot = 218; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5048) then this.width = 18; this.height = 14; this.headSlot = 267; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5049) then this.width = 18; this.height = 14; this.bodySlot = 236; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5050) then this.width = 18; this.height = 14; this.legSlot = 219; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5051) then this.width = 18; this.height = 14; this.headSlot = 268; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5052) then this.width = 18; this.height = 14; this.bodySlot = 237; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5053) then this.width = 18; this.height = 14; this.legSlot = 222; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5054) then this.width = 18; this.height = 14; this.headSlot = 269; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5055) then this.width = 18; this.height = 14; this.bodySlot = 238; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5056) then this.width = 18; this.height = 14; this.legSlot = 224; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5057) then this.width = 18; this.height = 14; this.headSlot = 270; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5058) then this.width = 18; this.height = 14; this.bodySlot = 239; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5059) then this.width = 18; this.height = 14; this.legSlot = 225; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5060) then this.width = 18; this.height = 14; this.legSlot = 226; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5061) then this.width = 18; this.height = 14; this.headSlot = 271; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5062) then this.width = 18; this.height = 14; this.bodySlot = 240; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5063) then this.width = 18; this.height = 14; this.legSlot = 227; this.rare = 2; this.value = Item.sellPrice(0, 0, 1, 0); this.vanity = true; return; elseif (type == 5064) then this.width = 26; this.height = 30; this.maxStack = 1; this.value = Item.sellPrice(0, 4, 0, 0); this.rare = 8; this.accessory = true; this.backSlot = 33; return; elseif (type == 5065) then this.DefaultToStaff(950, 10, 25, 18); this.SetWeaponValues(70, 5, 0); this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 5066) then this.DefaultToPlaceableTile(444, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 50)); return; elseif (type == 5067) then this.DefaultToPlaceableTile(485, 0); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 50)); return; elseif (type == 5068) then this.width = 18; this.height = 18; this.bodySlot = 241; this.defense = 1; this.rare = 2; this.value = Item.sellPrice(0, 2, 50, 0); return; elseif (type == 5069) then this.mana = 5; this.damage = 8; this.useStyle = 1; this.shootSpeed = 10; this.shoot = 951; this.buffType = 325; this.width = 26; this.height = 28; this.UseSound = SoundID.Item44; this.useAnimation = 36; this.useTime = 36; this.rare = 3; this.noMelee = true; this.knockBack = 2; this.value = Item.sellPrice(0, 0, 50, 0); this.summon = true; this.autoReuse = true; this.reuseDelay = 2; return; elseif (type == 5070) then this.width = 16; this.height = 16; this.maxStack = Item.CommonMaxStack; this.value = Item.buyPrice(0, 0, 5, 0); this.rare = 1; return; elseif (type == 5071) then this.width = 18; this.height = 14; this.headSlot = 272; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); this.vanity = true; return; elseif (type == 5072) then this.width = 18; this.height = 14; this.bodySlot = 242; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); this.vanity = true; return; elseif (type == 5073) then this.width = 18; this.height = 14; this.legSlot = 228; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); this.vanity = true; return; elseif (type == 5074) then this.DefaultToWhip(952, 27, 2, 5, 30); this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 50, 0)); return; elseif (type == 5075) then this.width = 24; this.height = 24; this.accessory = true; this.vanity = true; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 1, 0, 0)); this.hasVanityEffects = true; return; elseif (type == 5076) then this.width = 16; this.height = 24; this.accessory = true; this.vanity = true; this.balloonSlot = 18; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 20, 0, 0)); this.hasVanityEffects = true; return; elseif (type == 5077) then this.width = 16; this.height = 16; this.accessory = true; this.vanity = true; this.shoeSlot = 25; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 20, 0, 0)); return; elseif (type == 5078) then this.width = 18; this.height = 14; this.bodySlot = 243; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); this.vanity = true; return; elseif (type == 5079) then this.width = 18; this.height = 14; this.legSlot = 230; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); this.vanity = true; return; elseif (type == 5080) then this.width = 16; this.height = 16; this.accessory = true; this.vanity = true; this.frontSlot = 11; this.backSlot = 34; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 5081) then this.DefaultToPlaceableTile(623, 0); this.SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 5082) then this.DefaultToPlaceableTile(623, 1); this.SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 5083) then this.DefaultToPlaceableTile(623, 2); this.SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 5084) then this.DefaultToPlaceableTile(623, 3); this.SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 5085) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 2, 0, 0); this.placeStyle = 45; return; elseif (type == 5086) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 245; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 2, 0, 0); this.placeStyle = 13; return; elseif (type == 5087) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 2, 0, 0); this.placeStyle = 74; return; elseif (type == 5088) then this.DefaultToVanitypet(956, 327); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 25, 0, 0)); this.value = Item.buyPrice(0, 25, 0, 0); return; elseif (type == 5089) then this.DefaultToVanitypet(957, 328); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 25, 0, 0)); this.value = Item.buyPrice(0, 25, 0, 0); return; elseif (type == 5090) then this.DefaultToVanitypet(958, 329); this.value = Item.buyPrice(0, 25, 0, 0); this.rare = -13; return; elseif (type == 5091) then this.DefaultToVanitypet(959, 330); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 5, 0, 0)); return; elseif (type == 5094) then this.useStyle = 1; this.useTurn = false; this.useAnimation = 21; this.useTime = 21; this.width = 24; this.height = 28; this.damage = 20; this.knockBack = 5.5; this.UseSound = SoundID.Item1; this.scale = 1.2; this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 50, 0)); this.melee = true; return; elseif (type == 5095) then this.useStyle = 1; this.autoReuse = true; this.useAnimation = 15; this.useTime = 15; this.width = 24; this.height = 28; this.damage = 27; this.knockBack = 5; this.UseSound = SoundID.Item1; this.scale = 1.2; this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 50, 0)); this.melee = true; this.axe = 30; this.crit = 10; return; elseif (type == 5096) then this.useStyle = 1; this.useTurn = true; this.autoReuse = true; this.useAnimation = 20; this.useTime = 20; this.width = 24; this.height = 28; this.damage = 57; this.knockBack = 6.5; this.UseSound = SoundID.Item1; this.scale = 1.2; this.SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 1, 0, 0)); this.melee = true; return; elseif (type == 5097) then this.useStyle = 1; this.useTurn = false; this.useAnimation = 45; this.useTime = 45; this.width = 24; this.height = 28; this.damage = 36; this.knockBack = 5.5; this.UseSound = SoundID.Item1; this.scale = 1.15; this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 25, 0)); this.melee = true; return; elseif (type == 5098) then this.DefaultToVanitypet(960, 331); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 5099) then this.width = 18; this.height = 14; this.headSlot = 273; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 1, 0)); this.vanity = true; return; elseif (type == 5100) then this.width = 18; this.height = 14; this.faceSlot = 19; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 2, 0, 0)); this.accessory = true; this.expert = true; return; elseif (type == 5101) then this.width = 28; this.height = 20; this.headSlot = 275; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); this.vanity = true; return; elseif (type == 5102) then this.width = 18; this.height = 14; this.bodySlot = 244; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 40, 0)); this.vanity = true; return; elseif (type == 5103) then this.width = 18; this.height = 14; this.legSlot = 231; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 40, 0)); this.vanity = true; return; elseif (type == 5104) or (type == 5105) or (type == 5106) then this.width = 18; this.height = 14; this.maxStack = 1; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); this.beardSlot = (2 + (type - 5104)); --this.color = Main.player[Main.myPlayer].hairColor; this.accessory = true; this.vanity = true; return; elseif (type == 5107) then this.DefaultToAccessory(26, 30); this.neckSlot = 11; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); return; elseif (type == 5108) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 1, 0, 0); this.rare = 1; this.placeStyle = 75; return; elseif (type == 5109) then this.width = 18; this.height = 18; this.headSlot = 276; this.rare = 1; this.value = Item.sellPrice(0, 0, 75, 0); this.vanity = true; return; elseif (type == 5110) then this.DefaultToPlaceableTile(617, 27); this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)); this.rare = -13; this.maxStack = Item.CommonMaxStack; return; elseif (type == 5111) then this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 24; this.height = 24; this.rare = 3; this.expert = true; return; elseif (type == 5112) then this.DefaultToMusicBox(86); return; elseif (type == 5113) then this.DefaultToAccessory(26, 30); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); this.vanity = true; this.hasVanityEffects = true; return; elseif (type == 5114) then this.mana = 10; this.damage = 6; this.useStyle = 4; this.shootSpeed = 10; this.shoot = 970; this.buffType = 335; this.width = 26; this.height = 28; this.UseSound = SoundID.AbigailSummon; this.useAnimation = 36; this.useTime = 36; this.rare = 3; this.noMelee = true; this.knockBack = 2; this.value = Item.sellPrice(0, 0, 50, 0); this.summon = true; this.autoReuse = true; this.reuseDelay = 2; return; elseif (type == 5115) then this.width = 18; this.height = 14; this.bodySlot = 245; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 40, 0)); this.vanity = true; return; elseif (type == 5116) then this.width = 18; this.height = 14; this.legSlot = 232; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 40, 0)); this.vanity = true; return; elseif (type == 5117) then this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 50, 0)); this.autoReuse = true; this.useStyle = 5; this.useAnimation = 15; this.useTime = 15; this.width = 24; this.height = 24; this.shoot = 968; this.UseSound = SoundID.Item61; this.useAmmo = AmmoID.Bullet; this.damage = 20; this.shootSpeed = 14; this.knockBack = 1; this.ranged = true; this.noMelee = true; return; elseif (type == 5118) then this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 50, 0)); this.useStyle = 5; this.useAnimation = 45; this.useTime = 45; this.width = 24; this.height = 24; this.shoot = 969; this.UseSound = SoundID.Item66; this.damage = 13; this.shootSpeed = 1; this.knockBack = 1; this.magic = true; this.noMelee = true; this.mana = 30; return; elseif (type == 5119) then this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 50, 0)); this.useStyle = 1; this.shootSpeed = 14; this.shoot = 966; this.damage = 24; this.width = 18; this.height = 20; this.UseSound = SoundID.Item1; this.useAnimation = 30; this.useTime = 30; this.noMelee = true; this.knockBack = 7.5; this.summon = true; this.mana = 20; this.sentry = true; return; elseif (type == 5120) then this.SetShopValues(ItemRarityColor.Blue1, 0); this.useStyle = 4; this.width = 22; this.height = 14; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.maxStack = Item.CommonMaxStack; return; elseif (type == 5121) or (type == 5122) or (type == 5123) or (type == 5124) then this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 20, 0)); this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.placeStyle = 46 + (type - 5121); return; elseif (type == 5125) then this.DefaultToMount(51); this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 50, 0)); return; elseif (type == 5126) then this.DefaultToAccessory(26, 30); this.SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 8, 0, 0)); this.backSlot = 35; this.handOnSlot = 23; this.handOffSlot = 15; return; elseif (type == 5127) then this.DefaultToPlaceableTile(625, 0); this.SetShopValues(ItemRarityColor.Blue1, 0); return; elseif (type == 5128) then this.DefaultToPlaceableTile(627, 0); this.SetShopValues(ItemRarityColor.Blue1, 0); return; elseif (type == 5129) then this.SetWeaponValues(15, 5, 0); this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 35, 0)); this.useStyle = 1; this.useTurn = false; this.useAnimation = 17; this.useTime = 17; this.width = 24; this.height = 28; this.UseSound = SoundID.Item1; this.scale = 1; this.melee = true; return; elseif (type == 5130) then this.useStyle = 4; this.channel = true; this.width = 10; this.height = 32; this.UseSound = SoundID.Item25; this.useAnimation = 20; this.useTime = 20; this.rare = 8; this.noMelee = true; this.noUseGraphic = true; this.mountType = 52; this.value = Item.sellPrice(0, 5, 0, 0); return; elseif (type == 5131) then this.DefaultToVanitypet(881, 341); this.value = Item.buyPrice(0, 25, 0, 0); this.rare = -13; return; elseif (type == 5132) then this.DefaultToCapturedCritter(669); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)); this.width = 20; this.height = 20; this.bait = 10; return; elseif (type == 5133) then this.DefaultToPlaceableTile(629, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5134) then this.useStyle = 5; this.autoReuse = true; this.useAnimation = 30; this.useTime = 5; this.width = 50; this.height = 18; this.shoot = 145; this.useAmmo = AmmoID.Solution; this.UseSound = SoundID.Item34; this.knockBack = 0.3; this.shootSpeed = 11; this.noMelee = true; this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(2, 0, 0, 0)); this.rare = 10; return; elseif (type == 5135) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 137; this.placeStyle = 5; this.width = 12; this.height = 12; this.mech = true; this.SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 0, 60, 0)); return; elseif (type == 5136) then this.width = 18; this.height = 18; this.headSlot = 274; --this.color = Main.player[Main.myPlayer].skinColor; this.rare = 1; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 5137) then this.DefaultToPlaceableTile(630, 0); this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 10, 0)); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5138) then this.DefaultToPlaceableTile(631, 0); this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 10, 0)); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5139) then this.DefaultToAccessory(14, 30); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); return; elseif (type == 5140) or (type == 5141) or (type == 5142) or (type == 5143) or (type == 5144) or (type == 5145) or (type == 5146) then this.DefaultToAccessory(14, 30); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)); if type == 5140 then this.glowMask = 318; return; elseif (type == 5141) then this.glowMask = 319; return; elseif (type == 5142) then this.glowMask = 320; return; elseif (type == 5143) then this.glowMask = 321; return; elseif (type == 5144) then this.glowMask = 322; return; elseif (type == 5145) then this.glowMask = 323; return; elseif (type == 5146) then this.glowMask = 324; return; else return; end elseif (type == 5147) then this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 15, 0)); this.useStyle = 1; this.useAnimation = 26; this.useTime = 26; this.width = 26; this.height = 28; this.shoot = 979; this.UseSound = SoundID.Item8; this.damage = 15; this.shootSpeed = 7; this.magic = true; this.noMelee = true; this.mana = 2; this.crit = 10; if (this.Variant ~= ItemVariants.StrongerVariant) then return; end this.value = Item.sellPrice(0, 5, 5, 0); this.rare = 4; this.damage = 42; this.useAnimation = 10; this.useTime = 10; this.mana = 6; this.shootSpeed = 12; this.autoReuse = true; return; elseif (type == 5148) then this.DefaultToPlaceableTile(90, 40); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5149) then this.DefaultToPlaceableTile(79, 40); this.SetShopValues(ItemRarityColor.White0, 2000); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 20; return; elseif (type == 5150) then this.DefaultToPlaceableTile(101, 41); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5151) then this.DefaultToPlaceableTile(88, 40); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5152) then this.DefaultToPlaceableTile(100, 40); this.SetShopValues(ItemRarityColor.White0, 1500); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5153) then this.DefaultToPlaceableTile(33, 39); this.SetShopValues(ItemRarityColor.White0, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 0, 60); this.noWet = true; return; elseif (type == 5154) then this.DefaultToPlaceableTile(15, 45); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 30; return; elseif (type == 5155) then this.DefaultToPlaceableTile(34, 46); this.SetShopValues(ItemRarityColor.White0, 3000); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 5156) then this.DefaultToPlaceableTile(467, 14); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 5157) then this.DefaultToPlaceableTile(104, 41); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5158) then this.DefaultToPlaceableTile(10, 46); this.SetShopValues(ItemRarityColor.White0, 200); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 5159) then this.DefaultToPlaceableTile(93, 40); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 10; this.height = 24; return; elseif (type == 5160) then this.DefaultToPlaceableTile(42, 46); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 28; return; elseif (type == 5161) then this.DefaultToPlaceableTile(87, 40); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5162) then this.DefaultToPlaceableTile(19, 45); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 5163) then this.DefaultToPlaceableTile(172, 41); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5164) then this.DefaultToPlaceableTile(89, 44); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5165) then this.DefaultToPlaceableTile(469, 9); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 20; return; elseif (type == 5166) then this.DefaultToPlaceableTile(18, 41); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 14; return; elseif (type == 5167) then this.DefaultToPlaceableTile(468, 14); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 5168) then this.DefaultToPlaceableTile(497, 40); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 5169) then this.DefaultToPlaceableTile(90, 41); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5170) then this.DefaultToPlaceableTile(79, 41); this.SetShopValues(ItemRarityColor.White0, 2000); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 20; return; elseif (type == 5171) then this.DefaultToPlaceableTile(101, 42); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5172) then this.DefaultToPlaceableTile(88, 41); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5173) then this.DefaultToPlaceableTile(100, 41); this.SetShopValues(ItemRarityColor.White0, 1500); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5174) then this.DefaultToPlaceableTile(33, 40); this.SetShopValues(ItemRarityColor.White0, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 0, 60); this.noWet = true; return; elseif (type == 5175) then this.DefaultToPlaceableTile(15, 46); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 30; return; elseif (type == 5176) then this.DefaultToPlaceableTile(34, 47); this.SetShopValues(ItemRarityColor.White0, 3000); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 5177) then this.DefaultToPlaceableTile(467, 15); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 5178) then this.DefaultToPlaceableTile(104, 42); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5179) then this.DefaultToPlaceableTile(10, 47); this.SetShopValues(ItemRarityColor.White0, 200); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 5180) then this.DefaultToPlaceableTile(93, 41); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 10; this.height = 24; return; elseif (type == 5181) then this.DefaultToPlaceableTile(42, 47); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 28; return; elseif (type == 5182) then this.DefaultToPlaceableTile(87, 41); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5183) then this.DefaultToPlaceableTile(19, 46); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 5184) then this.DefaultToPlaceableTile(172, 42); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5185) then this.DefaultToPlaceableTile(89, 45); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5186) then this.DefaultToPlaceableTile(469, 10); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 20; return; elseif (type == 5187) then this.DefaultToPlaceableTile(18, 42); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 14; return; elseif (type == 5188) then this.DefaultToPlaceableTile(468, 15); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 5189) then this.DefaultToPlaceableTile(497, 41); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 5190) then this.DefaultToPlaceableTile(90, 42); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5191) then this.DefaultToPlaceableTile(79, 42); this.SetShopValues(ItemRarityColor.White0, 2000); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 20; return; elseif (type == 5192) then this.DefaultToPlaceableTile(101, 43); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5193) then this.DefaultToPlaceableTile(88, 42); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5194) then this.DefaultToPlaceableTile(100, 42); this.SetShopValues(ItemRarityColor.White0, 1500); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5195) then this.DefaultToPlaceableTile(33, 41); this.SetShopValues(ItemRarityColor.White0, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 0, 60); this.noWet = true; return; elseif (type == 5196) then this.DefaultToPlaceableTile(15, 47); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 30; return; elseif (type == 5197) then this.DefaultToPlaceableTile(34, 48); this.SetShopValues(ItemRarityColor.White0, 3000); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 26; return; elseif (type == 5198) then this.DefaultToPlaceableTile(467, 16); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 5199) then this.DefaultToPlaceableTile(104, 43); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5200) then this.DefaultToPlaceableTile(10, 48); this.SetShopValues(ItemRarityColor.White0, 200); this.maxStack = Item.CommonMaxStack; this.width = 14; this.height = 28; return; elseif (type == 5201) then this.DefaultToPlaceableTile(93, 42); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 10; this.height = 24; return; elseif (type == 5202) then this.DefaultToPlaceableTile(42, 48); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 12; this.height = 28; return; elseif (type == 5203) then this.DefaultToPlaceableTile(87, 42); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5204) then this.DefaultToPlaceableTile(19, 47); this.SetShopValues(ItemRarityColor.White0, 0); this.width = 8; this.height = 10; return; elseif (type == 5205) then this.DefaultToPlaceableTile(172, 43); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5206) then this.DefaultToPlaceableTile(89, 46); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5207) then this.DefaultToPlaceableTile(469, 11); this.SetShopValues(ItemRarityColor.White0, 300); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 20; return; elseif (type == 5208) then this.DefaultToPlaceableTile(18, 43); this.SetShopValues(ItemRarityColor.White0, 150); this.maxStack = Item.CommonMaxStack; this.width = 28; this.height = 14; return; elseif (type == 5209) then this.DefaultToPlaceableTile(468, 16); this.SetShopValues(ItemRarityColor.White0, 500); this.maxStack = Item.CommonMaxStack; this.width = 26; this.height = 22; return; elseif (type == 5210) then this.DefaultToPlaceableTile(497, 42); this.maxStack = Item.CommonMaxStack; this.value = 150; return; elseif (type == 5211) then this.UseSound = SoundID.Item3; this.useStyle = 9; this.useTurn = true; this.useAnimation = 17; this.useTime = 17; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 14; this.height = 24; this.buffType = 343; this.buffTime = 18000; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 0, 2, 0)); return; elseif (type == 5212) then this.useStyle = 1; this.autoReuse = true; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 12; this.height = 12; this.noUseGraphic = true; this.makeNPC = 671; return; elseif (type == 5213) then this.DefaultToPlaceableTile(632, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5214) then this.autoReuse = true; this.useTurn = true; this.useStyle = 1; this.useAnimation = 15; this.useTime = 10; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 633; this.width = 14; this.height = 14; this.value = 150; return; elseif (type == 5215) then this.DefaultToPlaceableTile(635, 0); return; elseif (type == 5216) then this.DefaultToPlaceableWall(316); return; elseif (type == 5217) then this.DefaultToPlaceableWall(317); return; elseif (type == 5218) or (type == 5219) or (type == 5220) or (type == 5221) or (type == 5222) or (type == 5223) or (type == 5224) or (type == 5225) or (type == 5226) or (type == 5227) or (type == 5228) or (type == 5229) or (type == 5230) or (type == 5231) or (type == 5232) or (type == 5233) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 76 + (type - 5218); if (type == 5231) then this.value = Item.sellPrice(0, 0, 20, 0); end if (type == 5228) then this.value = Item.sellPrice(0, 2, 0, 0); end if (type ~= 5222) then return; end this.value = Item.sellPrice(0, 2, 0, 0); return; elseif (type == 5234) or (type == 5235) or (type == 5236) or (type == 5237) or (type == 5238) or (type == 5239) or (type == 5240) or (type == 5241) or (type == 5242) or (type == 5243) or (type == 5244) or (type == 5245) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 50 + (type - 5234); if (type == 5243) then this.value = Item.sellPrice(0, 0, 60, 0); end if (type == 5245) then this.value = Item.sellPrice(0, 0, 20, 0); end if (type ~= 5235) then return; end this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 5246) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 245; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 14; return; elseif (type == 5247) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 245; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 15; return; elseif (type == 5248) or (type == 5249) or (type == 5250) or (type == 5251) or (type == 5252) or (type == 5253) or (type == 5254) or (type == 5255) or (type == 5256) or (type == 5257) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 245; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 19 + (type - 5248); if (type == 5251) then this.value = Item.sellPrice(0, 0, 20, 0); end if (type == 5253) then this.value = Item.sellPrice(0, 0, 20, 0); end if (type == 5257) then this.value = Item.sellPrice(0, 0, 20, 0); end if (type == 5252) then this.value = Item.sellPrice(0, 0, 50, 0); end if (type ~= 5256) then return; end this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 5258) or (type == 5259) or (type == 5260) or (type == 5261) or (type == 5262) or (type == 5263) or (type == 5264) or (type == 5265) or (type == 5266) or (type == 5267) or (type == 5268) or (type == 5269) or (type == 5270) or (type == 5271) or (type == 5272) or (type == 5273) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 246; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 21 + (type - 5258); if (type == 5266) then this.value = Item.sellPrice(0, 2, 0, 0); end if (type == 5259) then this.value = Item.sellPrice(0, 0, 50, 0); end if (type == 5265) then this.value = Item.sellPrice(0, 0, 50, 0); end if (type == 5264) then this.value = Item.sellPrice(0, 0, 50, 0); end if (type ~= 5263) then return; end this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 5274) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 62; return; elseif (type == 5276) then this.DefaultToVanitypet(994, 345); this.width = 32; this.height = 32; this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)); return; elseif (type == 5279) then this.width = 18; this.height = 18; this.defense = 2; this.headSlot = 278; if (this.Variant ~= ItemVariants.WeakerVariant) then return; end this.defense = 1; return; elseif (type == 5280) then this.width = 18; this.height = 18; this.defense = 3; this.bodySlot = 246; if (this.Variant ~= ItemVariants.WeakerVariant) then return; end this.defense = 1; return; elseif (type == 5281) then this.width = 18; this.height = 18; this.defense = 2; this.legSlot = 234; if (this.Variant ~= ItemVariants.WeakerVariant) then return; end this.defense = 1; return; elseif (type == 5282) then this.useStyle = 5; this.useAnimation = 25; this.useTime = 25; this.width = 12; this.height = 28; this.shoot = 1; this.useAmmo = AmmoID.Arrow; this.UseSound = SoundID.Item5; this.damage = 10; this.shootSpeed = 6.6; this.noMelee = true; this.value = 100; this.ranged = true; if (this.Variant ~= ItemVariants.WeakerVariant) then return; end this.damage = 6; this.useAnimation = 29; this.useTime = 29; return; elseif (type == 5283) then this.autoReuse = true; this.useStyle = 1; this.useTurn = true; this.useAnimation = 30; this.useTime = 20; this.hammer = 45; this.width = 24; this.height = 28; this.damage = 9; this.knockBack = 5.5; this.scale = 1; this.UseSound = SoundID.Item1; this.value = 50; this.melee = true; if (this.Variant ~= ItemVariants.WeakerVariant) then return; end this.damage = 4; this.hammer = 35; return; elseif (type == 5284) then this.useStyle = 1; this.useTurn = false; this.useAnimation = 17; this.useTime = 17; this.width = 24; this.height = 28; this.damage = 13; this.knockBack = 5; this.UseSound = SoundID.Item1; this.scale = 1; this.value = Item.sellPrice(0, 0, 0, 20); this.melee = true; if (this.Variant ~= ItemVariants.WeakerVariant) then return; end this.damage = 8; this.useAnimation = 23; this.useTime = 23; return; elseif (type == 5285) then this.DefaultToThrownWeapon(996, 20, 8, false); this.UseSound = SoundID.Item106; this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 3, 0, 0)); this.width = 18; this.height = 18; return; elseif (type == 5286) then this.DefaultToPlaceableTile(12, 0); this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 7, 50, 0)); return; elseif (type == 5287) then this.DefaultToPlaceableTile(639, 0); this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 25, 0)); return; elseif (type == 5288) then this.DefaultToMount(53); this.SetShopValues(ItemRarityColor.Yellow8, Item.buyPrice(0, 5, 0, 0)); return; elseif (type == 5289) then this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)); this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 18; this.height = 18; this.useStyle = 4; this.useTime = 30; this.UseSound = SoundID.Item4; this.useAnimation = 30; this.expert = true; return; elseif (type == 5290) then this.width = 28; this.height = 20; this.headSlot = 279; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); this.vanity = true; return; elseif (type == 5291) then this.DefaultToPlaceableWall(318); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 0, 50)); return; elseif (type == 5292) then this.DefaultToPlaceableTile(19, 48); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 1, 0)); this.width = 8; this.height = 10; return; elseif (type == 5293) then this.DefaultToTorch(22, false); return; elseif (type == 5294) then this.useStyle = 5; this.width = 24; this.height = 24; this.noUseGraphic = true; this.UseSound = SoundID.Item1; this.melee = true; this.channel = true; this.noMelee = true; this.shoot = 999; this.useAnimation = 25; this.useTime = 25; this.shootSpeed = 10; this.knockBack = 3.75; this.damage = 24; this.value = Item.sellPrice(0, 0, 70, 0); this.rare = 3; return; elseif (type == 5295) then this.useStyle = 1; this.autoReuse = true; this.useAnimation = 24; this.useTime = 12; this.width = 24; this.height = 28; this.damage = 20; this.knockBack = 5; this.UseSound = SoundID.Item1; this.scale = 1; this.SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 1, 50, 0)); this.melee = true; this.axe = 30; this.createTile = 2; return; elseif (type == 5296) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 642; this.width = 26; this.height = 20; this.rare = 7; this.value = 100000; return; elseif (type == 5297) then this.DefaultToVanitypet(998, 349); this.width = 32; this.height = 32; this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 25, 0, 0)); return; elseif (type == 5298) then this.noMelee = true; this.useStyle = 1; this.shootSpeed = 11.5; this.shoot = 1000; this.damage = 21; this.knockBack = 4.5; this.width = 14; this.height = 28; this.UseSound = SoundID.Item1; this.useAnimation = 20; this.useTime = 20; this.noUseGraphic = true; this.SetShopValues(ItemRarityColor.Orange3, Item.sellPrice(0, 2, 0, 0)); this.melee = true; this.autoReuse = true; return; elseif (type == 5299) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 215; this.placeStyle = 14; this.width = 12; this.height = 12; return; elseif (type == 5300) then this.useStyle = 1; this.autoReuse = true; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 12; this.height = 12; this.noUseGraphic = true; this.makeNPC = 672; return; elseif (type == 5301) then this.DefaultToPlaceableTile(640, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5302) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 12; this.useTime = 5; this.width = 20; this.height = 20; this.autoReuse = true; this.rare = 7; this.value = Item.sellPrice(0, 10, 0, 0); this.tileBoost = this.tileBoost + 2; return; elseif (type == 5303) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 12; this.useTime = 5; this.width = 20; this.height = 20; this.autoReuse = true; this.rare = 7; this.value = Item.sellPrice(0, 10, 0, 0); this.tileBoost = this.tileBoost + 2; return; elseif (type == 5304) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 8; this.useTime = 3; this.width = 20; this.height = 20; this.autoReuse = true; this.rare = 8; this.value = Item.sellPrice(0, 30, 0, 0); this.tileBoost = this.tileBoost + 3; return; elseif (type == 5305) then this.width = 18; this.height = 18; this.headSlot = 277; --this.color = Main.player[Main.myPlayer].skinColor; this.rare = 1; this.vanity = true; this.value = Item.sellPrice(0, 0, 50, 0); return; elseif (type == 5306) then this.DefaultToPlaceableTile(641, 0); this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 0, 20)); return; elseif (type == 5307) then this.DefaultToPlaceableWall(319); return; elseif (type == 5308) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 20, 0); this.placeStyle = 63; return; elseif (type == 5309) then this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)); this.width = 30; this.height = 30; return; elseif (type == 5310) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 2, 0, 0); this.placeStyle = 64; return; elseif (type == 5311) then this.useStyle = 1; this.autoReuse = true; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 12; this.height = 12; this.noUseGraphic = true; this.makeNPC = 673; return; elseif (type == 5312) then this.useStyle = 1; this.autoReuse = true; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 12; this.height = 12; this.noUseGraphic = true; this.makeNPC = 674; return; elseif (type == 5313) then this.useStyle = 1; this.autoReuse = true; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 12; this.height = 12; this.noUseGraphic = true; this.makeNPC = 675; return; elseif (type == 5314) then this.DefaultToPlaceableTile(643, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5315) then this.DefaultToPlaceableTile(644, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5316) then this.DefaultToPlaceableTile(645, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5317) then this.DefaultToPlaceableTile(105, 80); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5318) then this.DefaultToPlaceableTile(105, 81); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5319) then this.DefaultToPlaceableTile(105, 82); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5320) then this.DefaultToPlaceableTile(13, 1); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5321) then this.DefaultToPlaceableTile(13, 2); this.SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 20)); this.maxStack = Item.CommonMaxStack; this.width = 20; this.height = 20; return; elseif (type == 5322) then this.DefaultToPlaceableTile(646, 0); this.SetShopValues(ItemRarityColor.Blue1, 0); this.maxStack = Item.CommonMaxStack; this.width = 8; this.height = 18; this.value = Item.sellPrice(0, 0, 1, 0); this.holdStyle = 1; this.noWet = true; this.flame = true; return; elseif (type == 5323) then this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 10, 0, 0)); this.width = 30; this.height = 30; return; elseif (type == 5324) or (type == 5329) or (type == 5330) then this.DefaultToPlaceableTile(647, 0); this.maxStack = 1; this.SetShopValues(ItemRarityColor.StrongRed10, Item.sellPrice(0, 5, 0, 0)); this.consumable = false; this.tileBoost = 3; return; elseif (type == 5326) then this.DefaultToFood(22, 22, 0, 0, false, 17); this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)); this.maxStack = 1; return; elseif (type == 5327) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 654; this.width = 28; this.height = 14; return; elseif (type == 5328) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 8; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.width = 12; this.height = 12; return; elseif (type == 5331) then this.width = 16; this.height = 24; this.accessory = true; this.balloonSlot = 19; this.SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 4, 0, 0)); this.hasVanityEffects = true; return; elseif (type == 5332) then this.DefaultToVanitypet(1003, 351); this.width = 32; this.height = 32; this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 5333) then this.DefaultToVanitypet(1004, 352); this.width = 32; this.height = 32; this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)); return; elseif (type == 5334) then this.width = 22; this.height = 14; if (this.Variant == ItemVariants.EnabledVariant) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; end this.maxStack = Item.CommonMaxStack; this.rare = 3; return; elseif (type == 5335) then this.autoReuse = false; this.useStyle = 1; this.useAnimation = 20; this.useTime = 20; this.width = 20; this.height = 20; this.UseSound = SoundID.Item8; this.SetShopValues(ItemRarityColor.StrongRed10, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 5336) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.LightPurple6, 0); return; elseif (type == 5337) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 1, 50, 0)); return; elseif (type == 5338) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 2, 0, 0)); return; elseif (type == 5339) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 0, 25, 0)); return; elseif (type == 5340) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 15, 0, 0)); return; elseif (type == 5341) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 5342) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 0, 50, 0)); return; elseif (type == 5343) then this.useStyle = 4; this.consumable = true; this.useAnimation = 45; this.useTime = 45; this.UseSound = SoundID.Item92; this.width = 28; this.height = 28; this.maxStack = Item.CommonMaxStack; this.SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 0, 25, 0)); return; elseif (type == 5344) then this.paintCoating = 2; this.width = 24; this.height = 24; this.value = Item.buyPrice(0, 0, 2, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5345) then this.DefaultToPlaceableTile(657, 0); this.width = 22; this.height = 32; this.rare = 9; this.value = Item.sellPrice(0, 1, 0, 0); this.accessory = true; this.vanity = true; return; elseif (type == 5346) then this.width = 18; this.height = 18; this.SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 30, 0)); return; elseif (type == 5347) then this.DefaultToPlaceableTile(658, 0); this.width = 22; this.height = 32; this.rare = 9; this.value = Item.sellPrice(0, 1, 0, 0); this.accessory = true; this.vanity = true; return; elseif (type == 5348) then this.shootSpeed = 3; this.shoot = 1006; this.damage = 12; this.width = 10; this.height = 28; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Arrow; this.knockBack = 2; this.ranged = true; this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 0, 0, 10)); return; elseif (type == 5349) then this.DefaultToPlaceableTile(659, 0); this.rare = 1; return; elseif (type == 5350) then this.DefaultToCapturedCritter(677); this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 0, 2, 50)); this.width = 12; this.height = 12; return; elseif (type == 5351) then this.DefaultToPlaceableTile(660, 0); this.maxStack = Item.CommonMaxStack; return; elseif (type == 5352) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 91; this.placeStyle = 310; this.width = 10; this.height = 24; this.value = 1000; this.rare = 1; return; elseif (type == 5353) then this.DefaultToTorch(23, false); return; elseif (type == 5354) then this.DefaultToAccessory(28, 32); this.faceSlot = 20; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)); return; elseif (type == 5355) then this.DefaultToAccessory(26, 36); this.backSlot = 36; this.frontSlot = 12; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)); return; elseif (type == 5356) then this.width = 18; this.height = 18; this.SetShopValues(ItemRarityColor.TrashMinus1, 0); return; elseif (type == 5357) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 215; this.placeStyle = 15; this.width = 12; this.height = 12; return; elseif (type == 5358) or (type == 5437) then this.useTurn = true; this.width = 20; this.height = 20; this.useStyle = 4; this.useTime = 90; this.UseSound = SoundID.Item6; this.useAnimation = 90; this.SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 5359) then this.useTurn = true; this.width = 20; this.height = 20; this.useStyle = 4; this.useTime = 90; this.UseSound = SoundID.Item6; this.useAnimation = 90; this.SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 5360) then this.useTurn = true; this.width = 20; this.height = 20; this.useStyle = 4; this.useTime = 90; this.UseSound = SoundID.Item6; this.useAnimation = 90; this.SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 5361) then this.useTurn = true; this.width = 20; this.height = 20; this.useStyle = 4; this.useTime = 90; this.UseSound = SoundID.Item6; this.useAnimation = 90; this.SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 10, 0, 0)); return; elseif (type == 5362) then this.DefaultToMusicBox(87); return; elseif (type == 5363) then this.DefaultToPlaceableWall(62); return; elseif (type == 5364) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 12; this.useTime = 5; this.width = 20; this.height = 20; this.autoReuse = true; this.rare = 10; this.value = Item.sellPrice(0, 10, 0, 0); this.tileBoost = this.tileBoost + 2; return; elseif (type == 5365) then this.DefaultToPlaceableWall(7); return; elseif (type == 5366) then this.DefaultToPlaceableWall(94); return; elseif (type == 5367) then this.DefaultToPlaceableWall(95); return; elseif (type == 5368) then this.DefaultToPlaceableWall(9); return; elseif (type == 5369) then this.DefaultToPlaceableWall(96); return; elseif (type == 5370) then this.DefaultToPlaceableWall(97); return; elseif (type == 5371) then this.DefaultToPlaceableWall(8); return; elseif (type == 5372) then this.DefaultToPlaceableWall(98); return; elseif (type == 5373) then this.DefaultToPlaceableWall(99); return; elseif (type == 5374) then this.DefaultToPlaceableWall(187); return; elseif (type == 5375) then this.DefaultToPlaceableWall(216); return; elseif (type == 5376) then this.DefaultToPlaceableWall(87); return; elseif (type == 5377) then this.shootSpeed = 6; this.shoot = 1008; this.damage = 1; this.width = 12; this.height = 12; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Flare; this.knockBack = 1.5; this.rare = 1; this.value = Item.buyPrice(0, 0, 1, 50); this.ranged = true; return; elseif (type == 5378) then this.shootSpeed = 6; this.shoot = 1009; this.damage = 1; this.width = 12; this.height = 12; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Flare; this.knockBack = 1.5; this.value = 7; this.ranged = true; return; elseif (type == 5379) then this.shootSpeed = 6; this.shoot = 1010; this.damage = 1; this.width = 12; this.height = 12; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Flare; this.knockBack = 1.5; this.value = 7; this.ranged = true; return; elseif (type == 5380) then this.shootSpeed = 6; this.shoot = 1011; this.damage = 1; this.width = 12; this.height = 12; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.ammo = AmmoID.Flare; this.knockBack = 1.5; this.value = 7; this.ranged = true; return; elseif (type == 5381) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 663; this.width = 18; this.height = 34; this.SetShopValues(ItemRarityColor.Lime7, Item.sellPrice(0, 3, 0, 0)); return; elseif (type == 5382) then this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)); this.autoReuse = true; this.UseSound = SoundID.Item1; this.useStyle = 1; this.damage = 50; this.useAnimation = 23; this.useTime = 23; this.width = 30; this.height = 30; this.shoot = 1012; this.shootSpeed = 11; this.knockBack = 4.75; this.melee = true; this.shootsEveryUse = true; return; elseif (type == 5383) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 664; this.width = 18; this.height = 18; this.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 0, 0, 15)); return; elseif (type == 5384) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 665; this.width = 18; this.height = 18; this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 7, 50, 0)); return; elseif (type == 5385) then this.width = 28; this.height = 20; this.headSlot = 280; this.SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)); this.vanity = true; return; elseif (type == 5386) then this.width = 18; this.height = 14; this.bodySlot = 247; this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)); this.vanity = true; return; elseif (type == 5387) then this.width = 18; this.height = 14; this.legSlot = 235; this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)); this.vanity = true; return; elseif (type == 5388) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 240; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 92; return; elseif (type == 5389) then this.useStyle = 1; this.useTurn = true; this.useAnimation = 15; this.useTime = 10; this.autoReuse = true; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.createTile = 242; this.width = 30; this.height = 30; this.value = Item.sellPrice(0, 0, 10, 0); this.placeStyle = 65; return; elseif (type == 5390) then this.width = 28; this.height = 20; this.headSlot = 281; this.SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)); this.vanity = true; return; elseif (type == 5391) then this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)); this.width = 30; this.height = 30; return; elseif (type == 5392) then this.DefaultToSolution(1015); return; elseif (type == 5393) then this.DefaultToSolution(1016); return; elseif (type == 5394) then this.DefaultToSolution(1017); return; elseif (type == 5395) then this.DefaultToPlaceableTile(666, 0); return; elseif (type == 5396) then this.DefaultToPlaceableWall(320); return; elseif (type == 5397) then this.DefaultToPlaceableWall(321); return; elseif (type == 5398) then this.DefaultToPlaceableTile(667, 0); this.rare = 1; return; elseif (type == 5399) then this.DefaultToPlaceableWall(322); return; elseif (type == 5400) then this.DefaultToVanitypet(1018, 354); this.width = 16; this.height = 16; this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 10, 0)); return; elseif (type == 5401) then this.DefaultToPlaceableTile(669, 0); this.rare = 9; return; elseif (type == 5402) then this.DefaultToPlaceableTile(670, 0); this.rare = 9; return; elseif (type == 5403) then this.DefaultToPlaceableTile(671, 0); this.rare = 9; return; elseif (type == 5404) then this.DefaultToPlaceableTile(672, 0); this.rare = 9; return; elseif (type == 5405) then this.DefaultToPlaceableTile(673, 0); this.rare = 9; return; elseif (type == 5406) then this.DefaultToPlaceableTile(674, 0); this.rare = 9; return; elseif (type == 5407) then this.DefaultToPlaceableTile(675, 0); this.rare = 9; return; elseif (type == 5408) then this.DefaultToPlaceableTile(676, 0); this.rare = 9; return; elseif (type == 5409) then this.DefaultToPlaceableWall(323); this.rare = 9; return; elseif (type == 5410) then this.DefaultToPlaceableWall(324); this.rare = 9; return; elseif (type == 5411) then this.DefaultToPlaceableWall(325); this.rare = 9; return; elseif (type == 5412) then this.DefaultToPlaceableWall(326); this.rare = 9; return; elseif (type == 5413) then this.DefaultToPlaceableWall(327); this.rare = 9; return; elseif (type == 5414) then this.DefaultToPlaceableWall(328); this.rare = 9; return; elseif (type == 5415) then this.DefaultToPlaceableWall(329); this.rare = 9; return; elseif (type == 5416) then this.DefaultToPlaceableWall(330); this.rare = 9; return; elseif (type == 5417) then this.DefaultToPlaceableTile(677, 0); return; elseif (type == 5418) then this.DefaultToPlaceableWall(331); return; elseif (type == 5419) then this.DefaultToPlaceableTile(678, 0); return; elseif (type == 5420) then this.DefaultToPlaceableWall(332); return; elseif (type == 5421) then this.DefaultToPlaceableTile(679, 0); return; elseif (type == 5422) then this.DefaultToPlaceableWall(333); return; elseif (type == 5423) then this.DefaultToPlaceableTile(680, 0); return; elseif (type == 5424) then this.DefaultToPlaceableWall(334); return; elseif (type == 5425) then this.DefaultToPlaceableTile(681, 0); return; elseif (type == 5426) then this.DefaultToPlaceableWall(335); return; elseif (type == 5427) then this.DefaultToPlaceableTile(682, 0); return; elseif (type == 5428) then this.DefaultToPlaceableWall(336); return; elseif (type == 5429) then this.DefaultToPlaceableTile(685, 0); return; elseif (type == 5430) then this.DefaultToPlaceableWall(339); return; elseif (type == 5431) then this.DefaultToPlaceableTile(686, 0); return; elseif (type == 5432) then this.DefaultToPlaceableWall(340); return; elseif (type == 5433) then this.DefaultToPlaceableTile(683, 0); return; elseif (type == 5434) then this.DefaultToPlaceableWall(337); return; elseif (type == 5435) then this.DefaultToPlaceableTile(684, 0); return; elseif (type == 5436) then this.DefaultToPlaceableWall(338); return; elseif (type == 5438) then this.useStyle = 1; this.shootSpeed = 3; this.shoot = 1019; this.width = 16; this.height = 24; this.maxStack = Item.CommonMaxStack; this.consumable = true; this.UseSound = SoundID.Item1; this.useAnimation = 15; this.value = Item.sellPrice(0, 0, 0, 10); this.useTime = 15; this.noMelee = true; return; elseif (type == 5439) then this.DefaultToPlaceableTile(687, 0); return; elseif (type == 5440) then this.DefaultToPlaceableTile(688, 0); return; elseif (type == 5441) then this.DefaultToPlaceableTile(689, 0); return; elseif (type == 5442) then this.DefaultToPlaceableTile(690, 0); return; elseif (type == 5443) then this.DefaultToPlaceableTile(691, 0); return; elseif (type == 5444) then this.DefaultToPlaceableTile(692, 0); return; elseif (type == 5445) then this.DefaultToPlaceableWall(341); return; elseif (type == 5446) then this.DefaultToPlaceableWall(342); return; elseif (type == 5447) then this.DefaultToPlaceableWall(343); return; elseif (type == 5448) then this.DefaultToPlaceableWall(344); return; elseif (type == 5449) then this.DefaultToPlaceableWall(345); return; elseif (type == 5450) then this.DefaultToPlaceableWall(346); return; elseif (type == 5451) then this.useStyle = 1; this.autoReuse = false; this.useAnimation = 32; this.holdStyle = 7; this.useTime = 32; this.width = 32; this.height = 20; this.noUseGraphic = true; this.shoot = 1020; this.UseSound = SoundID.Item1; this.shootSpeed = 9; this.value = Item.buyPrice(0, 10, 0, 0); this.rare = 3; return; elseif (type == 5452) then this.width = 16; this.height = 24; this.accessory = true; this.rare = 3; this.value = Item.buyPrice(0, 10, 0, 0); this.faceSlot = 21; return; elseif (type == 5453) then this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)); this.width = 30; this.height = 30; return; elseif (type == 5454) then this.SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)); this.width = 30; this.height = 30; return; elseif (type == 5455) then this.SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 10, 0, 0)); this.width = 30; this.height = 30; return; else return; end end --SetDefaults5(type) --------------------------- return { factory = function(obj) this = obj return SetDefaults5 end }