Module:Iteminfo/datagen5

-- to gen data slice.

-- 1.4.4.9

local Count = 5456

local trim = mw.text.trim -- cache local currentFrame local getArg = function(key) local value = currentFrame.args[key] if not value then return nil end value = trim(value) if value == '' then return nil else return value end end

local ItemIdSets = require('Module:Iteminfo/idSets').getValue

local ProjectileInfo = require('Module:Projectileinfo').getProjectileInfo

local Item = {} do Item.buyPrice = function(platinum, gold, silver, copper) return copper + silver * 100 + gold * 100 * 100 + platinum * 100 * 100 * 100 end Item.sellPrice = function(platinum, gold, silver, copper) return (copper + silver * 100 + gold * 100 * 100 + platinum * 100 * 100 * 100) * 5 end Item.CommonMaxStack = 9999 end

local AmmoID = {} do AmmoID.None = 0; AmmoID.Gel = 23; AmmoID.Arrow = 40; AmmoID.Coin = 71; AmmoID.FallenStar = 75; AmmoID.Bullet = 97; AmmoID.Sand = 169; AmmoID.Dart = 283; AmmoID.Rocket = 771; AmmoID.Solution = 780; AmmoID.Flare = 931; AmmoID.Snowball = 949; AmmoID.StyngerBolt = 1261; AmmoID.CandyCorn = 1783; AmmoID.JackOLantern = 1785; AmmoID.Stake = 1836; AmmoID.NailFriendly = 3108; end

local ItemRarityColor = {} do ItemRarityColor.AmberMinus11 = -11 ItemRarityColor.TrashMinus1 = -1 ItemRarityColor.White0 = 0 ItemRarityColor.Blue1 = 1 ItemRarityColor.Green2 = 2 ItemRarityColor.Orange3 = 3 ItemRarityColor.LightRed4 = 4 ItemRarityColor.Pink5 = 5 ItemRarityColor.LightPurple6 = 6 ItemRarityColor.Lime7 = 7 ItemRarityColor.Yellow8 = 8 ItemRarityColor.Cyan9 = 9 ItemRarityColor.StrongRed10 = 10 ItemRarityColor.Purple11 = 11 end

local SoundID = { ["AbigailSummon"] = "abigail_summon" } for i = 1, 178 do	SoundID['Item'..i] = 'Item_'..i end

local this = {}

local function SetShopValues(rarity, coinValue) this.rare = rarity; this.value = coinValue; end

local function ResetStats(Type) this.shadowOrbPrice = Item.sellPrice(0, 1, 50, 0); this.dungeonPrice = Item.sellPrice(0, 1, 75, 0); this.queenBeePrice = Item.sellPrice(0, 2, 0, 0); this.hellPrice = Item.sellPrice(0, 2, 50, 0); this.eclipsePrice = Item.sellPrice(0, 7, 50, 0); this.eclipsePostPlanteraPrice = Item.sellPrice(0, 10, 0, 0); this.eclipseMothronPrice = Item.sellPrice(0, 12, 50, 0); this.tooltipContext = -1 this.BestiaryNotes = null this.sentry = false this.hasVanityEffects = false this.DD2Summon = false this.shopSpecialCurrency = -1 this.shopCustomPrice = null this.expert = false this.isAShopItem = false this.expertOnly = false this.instanced = false this.questItem = false this.fishingPole = 0 this.bait = 0 this.hairDye = -1 this.makeNPC = 0 this.dye = 0 this.paint = 0 this.paintCoating = 0 this.tileWand = -1 this.notAmmo = false this.netID = 0 this.prefix = 0 this.crit = 0 this.mech = false this.flame = false this.reuseDelay = 0 this.melee = false this.magic = false this.ranged = false this.summon = false this.placeStyle = 0 this.buffTime = 0 this.buffType = 0 this.mountType = -1 this.cartTrack = false this.material = false this.noWet = false this.vanity = false this.mana = 0 this.wet = false this.wetCount = 0 this.lavaWet = false this.channel = false this.manaIncrease = 0 --this.timeSinceTheItemHasBeenReservedForSomeone = 0 this.noMelee = false this.noUseGraphic = false this.lifeRegen = 0 this.shootSpeed = 0 this.active = true this.alpha = 0 this.ammo = AmmoID.None this.useAmmo = AmmoID.None this.autoReuse = false this.accessory = false this.axe = 0 this.healMana = 0 this.bodySlot = -1 this.legSlot = -1 this.headSlot = -1 this.potion = false -- -- this.color = new_Color this.glowMask = -1 this.consumable = false this.createTile = -1 this.createWall = -1 this.damage = -1 this.defense = 0 this.hammer = 0 this.healLife = 0 this.holdStyle = 0 this.knockBack = 0 this.maxStack = 1 this.pick = 0 this.rare = 0 this.scale = 1 this.shoot = 0 this.stack = 1 --this.ToolTip = null this.tileBoost = 0 this.useStyle = 0 this.UseSound = null this.useTime = 100 this.useAnimation = 100 this.value = 0 this.useTurn = false this.buy = false this.handOnSlot = -1 this.handOffSlot = -1 this.backSlot = -1 this.frontSlot = -1 this.shoeSlot = -1 this.waistSlot = -1 this.wingSlot = -1 this.shieldSlot = -1 this.neckSlot = -1 this.faceSlot = -1 this.balloonSlot = -1 this.beardSlot = -1 this.uniqueStack = false this.favorited = false this.shootsEveryUse = false this.Variant = false this.type = Type end

local function SetWeaponValues(dmg, knockback, bonusCritChance) bonusCritChance = bonusCritChance or 0 this.damage = dmg this.knockBack = knockback this.crit = bonusCritChance end

local function DefaultToPlaceableTile(tileIDToPlace, tileStyleToPlace) tileStyleToPlace = tileStyleToPlace or 0 this.createTile = tileIDToPlace this.placeStyle = tileStyleToPlace this.width = 14 this.height = 14 this.useStyle = 1 this.useAnimation = 15 this.useTime = 10 this.maxStack = Item.CommonMaxStack this.useTurn = true this.autoReuse = true this.consumable = true end

local function DefaultToPlaceableWall(wallToPlace) this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = Item.CommonMaxStack this.consumable = true this.createWall = wallToPlace this.width = 12 this.height = 12 end

local function DefaultToQuestFish this.questItem = true this.maxStack = 1 this.width = 26 this.height = 26 this.uniqueStack = true this.rare = -11 end

local function DefaultToSeaShell this.useStyle = 1 this.autoReuse = true this.useAnimation = 15 this.useTime = 10 this.maxStack = Item.CommonMaxStack this.consumable = true this.createTile = 324 this.width = 22 this.height = 22 local num = this.type if num == 2626 then this.placeStyle = 1 this.value = Item.sellPrice(0, 0, 10, 0) return end if num == 4071 then this.placeStyle = 4 this.value = Item.sellPrice(0, 1, 0, 0) return elseif num == 4072 then this.placeStyle = 2 this.value = Item.sellPrice(0, 0, 20, 0) return elseif num == 4073 then this.placeStyle = 3 this.value = Item.sellPrice(0, 0, 20, 0) return end this.value = Item.sellPrice(0, 0, 5, 0) end

local function DefaultToFood(newwidth, newheight, foodbuff, foodbuffduration, useGulpSound, animationTime) useGulpSound = useGulpSound or false animationTime = animationTime or 17 if not useGulpSound then this.UseSound = SoundID.Item2 else this.UseSound = SoundID.Item3 end if not useGulpSound then this.useStyle = 2 else this.useStyle = 9 end this.useTurn = true local num = animationTime local num1 = num this.useTime = num this.useAnimation = num1 this.maxStack = Item.CommonMaxStack this.consumable = true this.width = newwidth this.height = newheight this.buffType = foodbuff this.buffTime = foodbuffduration this.rare = 1 this.value = Item.buyPrice(0, 0, 20, 0) end

local function DefaultToGolfBall(projid) this.shoot = projid this.useStyle = 1 this.shootSpeed = 12 this.width = 18 this.height = 20 this.maxStack = 1 this.UseSound = SoundID.Item1 this.useAnimation = 15 this.useTime = 15 this.noUseGraphic = true this.noMelee = true this.value = 0 this.accessory = true SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)) this.hasVanityEffects = true end

local function DefaultToGolfClub(newwidth, newheight) this.width = newwidth this.height = newheight this.channel = true this.useStyle = 8 this.holdStyle = 4 this.shootSpeed = 6 this.shoot = 722 this.UseSound = null local num = 12 local num1 = num this.useTime = num this.useAnimation = num1 this.noMelee = true end

local function DefaultToGuitar(newwidth, newheight) newwidth = newwidth or 24 newheight = newheight or 24 this.width = newwidth this.height = newheight this.autoReuse = true this.holdStyle = 5 this.useStyle = 12 local num = 12 local num1 = num this.useTime = num this.useAnimation = num1 end

local function DefaultToAccessory(newwidth, newheight) newwidth = newwidth or 24 newheight = newheight or 24 this.width = newwidth this.height = newheight this.accessory = true end

local function DefaultToLawnMower(newwidth, newheight) this.width = newwidth this.height = newheight this.holdStyle = 1 this.useStyle = 11 this.useAnimation = 30 this.useTime = 10 this.UseSound = SoundID.Item23 this.autoReuse = true end

local function DefaultToMagicWeapon(projType, singleShotTime, shotVelocity, hasAutoReuse) hasAutoReuse = hasAutoReuse or false this.autoReuse = hasAutoReuse this.useStyle = 5 this.useAnimation = singleShotTime this.useTime = singleShotTime this.shoot = projType this.shootSpeed = shotVelocity this.noMelee = true this.magic = true end

local function DefaultToMount(mount) this.width = 36 this.height = 26 this.mountType = mount end

local function DefaultToMusicBox(style) this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true this.createTile = 139 this.placeStyle = style this.width = 24 this.height = 24 this.rare = 4 this.value = 100000 this.accessory = true this.hasVanityEffects = true end

local function DefaultToRangedWeapon(baseProjType, ammoID, singleShotTime, shotVelocity, hasAutoReuse) hasAutoReuse = hasAutoReuse or false this.autoReuse = hasAutoReuse this.useStyle = 5 this.useAnimation = singleShotTime this.useTime = singleShotTime this.shoot = baseProjType this.useAmmo = ammoID this.shootSpeed = shotVelocity this.noMelee = true this.ranged = true end

local function DefaultToBow(singleShotTime, shotVelocity, hasAutoReuse) hasAutoReuse = hasAutoReuse or false DefaultToRangedWeapon(1, AmmoID.Arrow, singleShotTime, shotVelocity, hasAutoReuse) this.width = 14 this.height = 30 this.UseSound = SoundID.Item5 end

local function DefaultToCapturedCritter(npcIdToSpawnOnUse) 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 = npcIdToSpawnOnUse end

local function DefaultToHeadgear(newwidth, newheight, helmetArtID) this.width = newwidth this.height = newheight this.headSlot = helmetArtID end

local function DefaultToSpear(projType, pushForwardSpeed, animationTime) this.useStyle = 5 this.useAnimation = 31 this.useTime = 31 this.shootSpeed = pushForwardSpeed this.width = 32 this.height = 32 this.UseSound = SoundID.Item1 this.shoot = projType this.noMelee = true this.noUseGraphic = true this.melee = true local num = animationTime local num1 = num this.useTime = num this.useAnimation = num1 end

local function DefaultToStaff(projType, pushForwardSpeed, singleShotTime, manaPerShot) DefaultToMagicWeapon(projType, singleShotTime, pushForwardSpeed, true) this.mana = manaPerShot this.width = 40 this.height = 40 this.UseSound = SoundID.Item43 end

local function DefaultToThrownWeapon(baseProjType, singleShotTime, shotVelocity, hasAutoReuse) hasAutoReuse = hasAutoReuse or false this.autoReuse = hasAutoReuse this.useStyle = 1 this.useAnimation = singleShotTime this.useTime = singleShotTime this.shoot = baseProjType this.shootSpeed = shotVelocity this.noMelee = true this.ranged = true this.consumable = true this.maxStack = Item.CommonMaxStack end

local function DefaultTokite(projId) this.width = 20 this.height = 28 DefaultToThrownWeapon(projId, 30, 2, false) this.consumable = false this.ranged = false this.noUseGraphic = true this.maxStack = 1 SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) end

local function DefaultToTorch(tileStyleToPlace, allowWaterPlacement) allowWaterPlacement = allowWaterPlacement or false this.flame = true this.noWet = not allowWaterPlacement this.holdStyle = 1 this.autoReuse = true this.maxStack = Item.CommonMaxStack this.consumable = true this.createTile = 4 this.placeStyle = tileStyleToPlace this.width = 10 this.height = 12 this.value = 60 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 end

local function DefaultToVanitypet( projId, buffID) this.damage = 0 this.useStyle = 1 this.width = 16 this.height = 30 this.UseSound = SoundID.Item2 this.useAnimation = 20 this.useTime = 20 this.rare = 3 this.noMelee = true this.value = Item.sellPrice(0, 2, 0, 0) this.buffType = buffID this.shoot = projId end

local function DefaultToWhip(projectileId, dmg, kb, shootspeed, animationTotalTime) animationTotalTime = animationTotalTime or 30 this.autoReuse = false this.useStyle = 1 this.useAnimation = animationTotalTime this.useTime = animationTotalTime this.width = 18 this.height = 18 this.shoot = projectileId this.UseSound = SoundID.Item152 this.noMelee = true this.summon = true this.noUseGraphic = true this.damage = dmg this.knockBack = kb	this.shootSpeed = shootspeed end

local function DefaultToSolution(projectileId) this.shoot = projectileId - 145 this.ammo = AmmoID.Solution this.width = 10 this.height = 12 this.value = Item.buyPrice(0, 0, 15, 0) this.rare = 3 this.maxStack = Item.CommonMaxStack this.consumable = true end

local function SetDefaults5(type) local num if type == 3990 then DefaultToAccessory(36, 28) this.shoeSlot = 18 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)) return elseif type == 3991 then DefaultToAccessory(30, 42) this.faceSlot = 9 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)) return elseif type == 3992 then this.defense = 8 DefaultToAccessory(20, 40) this.handOnSlot = 20 this.handOffSlot = 12 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)) return elseif type == 3993 then DefaultToAccessory(34, 30) this.shoeSlot = 19 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 8, 0, 0)) return elseif type == 3994 then DefaultToAccessory(24, 30) this.shoeSlot = 20 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)) return elseif type == 3995 then DefaultToAccessory(34, 32) this.handOnSlot = 21 this.handOffSlot = 13 this.shoeSlot = 20 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 5, 0, 0)) return elseif type == 3996 then DefaultToAccessory(28, 30) this.handOnSlot = 21 this.handOffSlot = 13 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)) return elseif type == 3997 then this.defense = 6 DefaultToAccessory(36, 38) this.shieldSlot = 7 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 8, 0, 0)) return elseif type == 3998 then this.defense = 10 DefaultToAccessory(36, 40) this.shieldSlot = 8 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)) return elseif type == 3999 then DefaultToAccessory(22, 32) this.faceSlot = 10 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 50, 0)) return elseif type == 4000 then DefaultToAccessory(28, 32) SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 4, 0, 0)) return elseif type == 4001 then DefaultToAccessory(26, 36) this.backSlot = 14 this.frontSlot = 5 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)) return elseif type == 4002 then DefaultToAccessory(34, 36) this.backSlot = 15 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 7, 50, 0)) return elseif type == 4003 then DefaultToAccessory(30, 34) this.faceSlot = 11 SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 5, 0, 0)) return elseif type == 4004 then DefaultToAccessory(30, 32) this.faceSlot = 13 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)) return elseif type == 4005 then DefaultToAccessory(30, 30) SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)) return elseif type == 4006 then DefaultToAccessory(36, 38) this.backSlot = 16 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)) return elseif type == 4007 then DefaultToAccessory(26, 30) this.neckSlot = 10 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)) return elseif type == 4008 then this.defense = 4 DefaultToHeadgear(24, 22, 216) 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 then return elseif type == 4038 then DefaultToAccessory(28, 34) SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 7, 50, 0)) this.neckSlot = 12 return elseif type == 4039 then DefaultToGolfClub(20, 20) 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 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 DefaultToPlaceableTile(3, 0) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 5, 0)) this.autoReuse = false this.useTime = this.useAnimation return elseif type == 4049 then DefaultToLawnMower(20, 20) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) return elseif type == 4050 then DefaultToPlaceableTile(478, 0) return elseif type == 4051 then DefaultToPlaceableTile(479, 0) return elseif type == 4052 then DefaultToPlaceableWall(234) return elseif type == 4053 then DefaultToPlaceableWall(235) return elseif type == 4054 then 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 DefaultToAccessory(34, 30) this.shoeSlot = 21 SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4056 then DefaultToAccessory(30, 30) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4057 then SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)) DefaultToGuitar(24, 24) return elseif type == 4058 then SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)) DefaultToBow(17, 11, false) SetWeaponValues(8, 5, 0) return elseif type == 4059 then SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)) 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 SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 50, 0, 0)) DefaultToRangedWeapon(728, AmmoID.FallenStar, 18, 20, true) SetWeaponValues(60, 5, 0) -- if (this.Variant == ItemVariants.RebalancedVariant) then --	this.damage = (int)((double)damage * 0.9) --	this.useTime = (int)((double)useTime * 1.1) -- end return elseif type == 4061 then DefaultToSpear(730, 3.5, 28) SetWeaponValues(14, 6, 0) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)) return elseif type == 4062 then DefaultToStaff(731, 8, 17, 7) SetWeaponValues(20, 3, 0) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)) return elseif type == 4063 then DefaultToPlaceableTile(486, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4064 then DefaultToPlaceableTile(487, 0) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 0, 80)) return elseif type == 4065 then DefaultToPlaceableTile(487, 1) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4066 then DefaultToMount(15) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)) return elseif type == 4067 then DefaultToMount(16) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4068 then DefaultToCapturedCritter(583) this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) return elseif type == 4069 then DefaultToCapturedCritter(584) this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) return elseif type == 4070 then DefaultToCapturedCritter(585) this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) return elseif type == 4071 or type == 4072 or type == 4073 then DefaultToSeaShell return elseif type == 4074 then DefaultToPlaceableTile(489, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 20, 0)) return elseif type == 4075 then DefaultToPlaceableTile(490, 0) 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 DefaultToMusicBox(43) return elseif type == 4078 then DefaultToMusicBox(41) return elseif type == 4079 then DefaultToMusicBox(42) return elseif type == 4080 then DefaultToMusicBox(44) return elseif type == 4081 then DefaultToMusicBox(45) return elseif type == 4082 then DefaultToMusicBox(40) return elseif type == 4083 or type == 4084 or type == 4085 or type == 4086 or type == 4087 or type == 4088 then DefaultToPlaceableTile(493, type - 4083) 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 SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)) return elseif type == 4090 then DefaultToPlaceableTile(495, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4091 then DefaultToPlaceableTile(496, 0) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 1, 0)) return elseif type == 4092 then DefaultToGolfClub(20, 20) SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)) return elseif type == 4093 then DefaultToGolfClub(20, 20) SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 1, 0, 0)) return elseif type == 4094 then DefaultToGolfClub(20, 20) 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 DefaultToPlaceableTile(497, type - 4096) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 4127 then 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 DefaultToPlaceableTile(498, 0) SetShopValues(ItemRarityColor.White0, 0) return elseif type == 4140 then DefaultToPlaceableWall(236) SetShopValues(ItemRarityColor.White0, 0) return elseif type == 4141 then DefaultToPlaceableTile(497, 32) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 4142 then DefaultToPlaceableTile(499, 0) this.maxStack = Item.CommonMaxStack 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 DefaultToPlaceableTile(90, 34) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4146 then DefaultToPlaceableTile(79, 34) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 20 return elseif type == 4147 then DefaultToPlaceableTile(101, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4148 then DefaultToPlaceableTile(88, 34) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4149 then DefaultToPlaceableTile(100, 34) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4150 then DefaultToPlaceableTile(33, 33) 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 DefaultToPlaceableTile(15, 39) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 30 return elseif type == 4152 then DefaultToPlaceableTile(34, 40) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 4153 then DefaultToPlaceableTile(467, 5) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4154 then DefaultToPlaceableTile(104, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4155 then DefaultToPlaceableTile(10, 39) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 4156 then DefaultToPlaceableTile(93, 34) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 10 this.height = 24 return elseif type == 4157 then DefaultToPlaceableTile(42, 40) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 28 return elseif type == 4158 then DefaultToPlaceableTile(87, 34) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4159 then DefaultToPlaceableTile(19, 38) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4160 then DefaultToPlaceableTile(172, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4161 then DefaultToPlaceableTile(89, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4162 then DefaultToPlaceableTile(469, 3) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 20 return elseif type == 4163 then DefaultToPlaceableTile(18, 35) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 14 return elseif type == 4164 then DefaultToPlaceableTile(468, 5) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4165 then DefaultToPlaceableTile(497, 33) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 4166 then DefaultToPlaceableTile(90, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4167 then DefaultToPlaceableTile(79, 35) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 20 return elseif type == 4168 then DefaultToPlaceableTile(101, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4169 then DefaultToPlaceableTile(88, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4170 then DefaultToPlaceableTile(100, 35) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4171 then DefaultToPlaceableTile(33, 34) 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 DefaultToPlaceableTile(15, 40) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 30 return elseif type == 4173 then DefaultToPlaceableTile(34, 41) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 4174 then DefaultToPlaceableTile(467, 6) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4175 then DefaultToPlaceableTile(104, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4176 then DefaultToPlaceableTile(10, 40) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 4177 then DefaultToPlaceableTile(93, 35) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 10 this.height = 24 return elseif type == 4178 then DefaultToPlaceableTile(42, 41) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 28 return elseif type == 4179 then DefaultToPlaceableTile(87, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4180 then DefaultToPlaceableTile(19, 39) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4181 then DefaultToPlaceableTile(172, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4182 then DefaultToPlaceableTile(89, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4183 then DefaultToPlaceableTile(469, 4) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 20 return elseif type == 4184 then DefaultToPlaceableTile(18, 36) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 14 return elseif type == 4185 then DefaultToPlaceableTile(468, 6) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4186 then DefaultToPlaceableTile(497, 34) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 4187 then DefaultToPlaceableTile(90, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4188 then DefaultToPlaceableTile(79, 36) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 20 return elseif type == 4189 then DefaultToPlaceableTile(101, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4190 then DefaultToPlaceableTile(88, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4191 then DefaultToPlaceableTile(100, 36) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4192 then DefaultToPlaceableTile(33, 35) 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 DefaultToPlaceableTile(15, 41) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 30 return elseif type == 4194 then DefaultToPlaceableTile(34, 42) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 4195 then DefaultToPlaceableTile(467, 7) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4196 then DefaultToPlaceableTile(104, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4197 then DefaultToPlaceableTile(10, 41) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 4198 then DefaultToPlaceableTile(93, 36) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 10 this.height = 24 return elseif type == 4199 then DefaultToPlaceableTile(42, 42) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 28 return elseif type == 4200 then DefaultToPlaceableTile(87, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4201 then DefaultToPlaceableTile(19, 40) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4202 then DefaultToPlaceableTile(172, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4203 then DefaultToPlaceableTile(89, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4204 then DefaultToPlaceableTile(469, 5) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 20 return elseif type == 4205 then DefaultToPlaceableTile(18, 37) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 14 return elseif type == 4206 then DefaultToPlaceableTile(468, 7) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4207 then DefaultToPlaceableTile(497, 35) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 4208 then DefaultToPlaceableTile(90, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4209 then DefaultToPlaceableTile(79, 37) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 20 return elseif type == 4210 then DefaultToPlaceableTile(101, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4211 then DefaultToPlaceableTile(88, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4212 then DefaultToPlaceableTile(100, 37) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4213 then DefaultToPlaceableTile(33, 36) 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 DefaultToPlaceableTile(15, 42) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 30 return elseif type == 4215 then DefaultToPlaceableTile(34, 43) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 4216 then DefaultToPlaceableTile(467, 8) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4217 then DefaultToPlaceableTile(104, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4218 then DefaultToPlaceableTile(10, 42) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 4219 then DefaultToPlaceableTile(93, 37) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 10 this.height = 24 return elseif type == 4220 then DefaultToPlaceableTile(42, 43) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 28 return elseif type == 4221 then DefaultToPlaceableTile(87, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4222 then DefaultToPlaceableTile(19, 41) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4223 then DefaultToPlaceableTile(172, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4224 then DefaultToPlaceableTile(89, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4225 then DefaultToPlaceableTile(469, 6) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 20 return elseif type == 4226 then DefaultToPlaceableTile(18, 38) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 14 return elseif type == 4227 then DefaultToPlaceableTile(468, 8) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4228 then DefaultToPlaceableTile(497, 36) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 4229 then DefaultToPlaceableTile(500, 0) return elseif type == 4230 then DefaultToPlaceableTile(501, 0) return elseif type == 4231 then DefaultToPlaceableTile(502, 0) return elseif type == 4232 then DefaultToPlaceableTile(503, 0) return elseif type == 4233 then DefaultToPlaceableWall(237) return elseif type == 4234 then DefaultToPlaceableWall(238) return elseif type == 4235 then DefaultToPlaceableWall(239) return elseif type == 4236 then DefaultToPlaceableWall(240) return elseif type == 4237 then DefaultToMusicBox(46) return elseif type == 4238 then DefaultToPlaceableTile(481, 0) return elseif type == 4239 then DefaultToPlaceableTile(482, 0) return elseif type == 4240 then DefaultToPlaceableTile(483, 0) return elseif type == 4242 then DefaultToGolfBall(739) return elseif type == 4243 then DefaultToGolfBall(740) return elseif type == 4244 then DefaultToGolfBall(741) return elseif type == 4245 then DefaultToGolfBall(742) return elseif type == 4246 then DefaultToGolfBall(743) return elseif type == 4247 then DefaultToGolfBall(744) return elseif type == 4248 then DefaultToGolfBall(745) return elseif type == 4249 then DefaultToGolfBall(746) return elseif type == 4250 then DefaultToGolfBall(747) return elseif type == 4251 then DefaultToGolfBall(748) return elseif type == 4252 then DefaultToGolfBall(749) return elseif type == 4253 then DefaultToGolfBall(750) return elseif type == 4254 then DefaultToGolfBall(751) return elseif type == 4255 then 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 = require('Module:Iteminfo/datagen1').getInfo(198) --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 DefaultToPlaceableTile(467, 9) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 3, 0, 0)) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4266 then DefaultToPlaceableTile(468, 9) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4267 then DefaultToPlaceableTile(467, 10) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4268 then DefaultToPlaceableTile(468, 10) 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 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 DefaultToPlaceableTile(507, 0) return elseif type == 4278 then DefaultToPlaceableTile(508, 0) return elseif type == 4279 then DefaultToPlaceableWall(242) return elseif type == 4280 then 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 DefaultToPlaceableTile(90, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4299 then DefaultToPlaceableTile(79, 38) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 20 return elseif type == 4300 then DefaultToPlaceableTile(101, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4301 then DefaultToPlaceableTile(88, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4302 then DefaultToPlaceableTile(100, 38) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4303 then DefaultToPlaceableTile(33, 37) 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 DefaultToPlaceableTile(15, 43) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 30 return elseif type == 4305 then DefaultToPlaceableTile(34, 44) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 4306 then DefaultToPlaceableTile(104, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4307 then DefaultToPlaceableTile(10, 43) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 4308 then DefaultToPlaceableTile(93, 38) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 10 this.height = 24 return elseif type == 4309 then DefaultToPlaceableTile(42, 44) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 28 return elseif type == 4310 then DefaultToPlaceableTile(87, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4311 then DefaultToPlaceableTile(19, 42) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4312 then DefaultToPlaceableTile(172, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4313 then DefaultToPlaceableTile(89, 41) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4314 then DefaultToPlaceableTile(469, 7) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 20 return elseif type == 4315 then DefaultToPlaceableTile(18, 39) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 14 return elseif type == 4316 then DefaultToPlaceableTile(497, 37) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 4317 then SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 2, 0, 0)) 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 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 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 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 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 DefaultToPlaceableTile((type - 4327 + 521), 0) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4333 then 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 DefaultToCapturedCritter(type - 4334 + 595) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)) this.width = 20 this.height = 20 this.bait = 20 return elseif type == 4340 then 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 DefaultToAccessory(30, 30) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)) return elseif type == 4342 then DefaultToPlaceableTile(105, 78) 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 SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)) DefaultToThrownWeapon(761, 17, 5, false) SetWeaponValues(4, 2, 0) return elseif type == 4344 then this.width = 22 this.height = 16 SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)) DefaultToThrownWeapon(762, 17, 5, false) SetWeaponValues(4, 2, 0) return elseif type == 4345 then SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 5, 0)) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 12 return elseif type == 4346 then SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)) this.width = 30 this.height = 30 return elseif type == 4347 then SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 17, 0, 0)) 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 SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 50, 0, 0)) 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 DefaultToPlaceableTile(179 + type - 4349, 0) return elseif type == 4354 then DefaultToPlaceableTile(381, 0) this.rare = 1 return elseif type == 4355 then DefaultToPlaceableTile(531, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4356 then DefaultToMusicBox(47) return elseif type == 4357 then DefaultToMusicBox(48) return elseif type == 4358 then DefaultToMusicBox(49) return elseif type == 4359 then DefaultToCapturedCritter(602) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 7, 50)) this.width = 20 this.height = 20 return elseif type == 4360 then DefaultToPlaceableTile(105, 77) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4361 then DefaultToCapturedCritter(604) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)) this.width = 20 this.height = 20 this.bait = 17 return elseif type == 4362 then 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 DefaultToCapturedCritter(606) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 5, 0)) this.width = 12 this.height = 12 this.bait = 22 return elseif type == 4364 then DefaultToPlaceableTile(532, 0) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4365 then DefaultToVanitypet(764, 217) SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(1, 0, 0, 0)) return elseif type == 4366 then DefaultToVanitypet(765, 218) return elseif type == 4367 or type == 4368 or type == 4369 or type == 4370 or type == 4371 then DefaultTokite(type - 4367 + 766) return elseif type == 4372 then SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)) DefaultToGuitar(24, 24) return elseif type == 4373 then DefaultToCapturedCritter(607) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 7, 50)) this.width = 12 this.height = 12 return elseif type == 4374 then DefaultToCapturedCritter(608) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 7, 50)) this.width = 12 this.height = 12 return elseif type == 4375 then DefaultToCapturedCritter(610) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)) this.width = 12 this.height = 12 return elseif type == 4376 then DefaultToPlaceableTile(533, 0) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4377 then DefaultToPlaceableTile(534, 0) this.rare = 1 return elseif type == 4378 then DefaultToPlaceableTile(536, 0) this.rare = 1 return elseif type == 4379 then DefaultTokite(771) return elseif type == 4380 then DefaultToPlaceableTile(538, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4381 then DefaultToBow(19, 9, true) 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 DefaultToTorch(16, false) return elseif type == 4384 then DefaultToTorch(17, true) return elseif type == 4385 then DefaultToTorch(18, false) return elseif type == 4386 then DefaultToTorch(19, false) return elseif type == 4387 then DefaultToTorch(20, false) return elseif type == 4388 then DefaultToTorch(21, false) return elseif type == 4389 then DefaultToPlaceableTile(539, 0) this.rare = 1 return elseif type == 4390 then DefaultToPlaceableTile(484, 0) return elseif type == 4391 then DefaultToPlaceableTile(162, 0) return elseif type == 4392 then DefaultToPlaceableTile(541, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 10, 0)) return elseif type == 4393 or type == 4394 then DefaultToQuestFish return elseif type == 4395 then DefaultToCapturedCritter(611) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)) this.width = 12 this.height = 12 return elseif type == 4396 then DefaultToPlaceableTile(542, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4397 then DefaultToPlaceableTile(105, 76) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4398 then 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 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 SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 7, 50)) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 4402 then SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 50, 0)) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 4404 then DefaultToAccessory(20, 12) 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 DefaultToPlaceableTile(376, 18 + type - 4405) SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 0, 0)) this.maxStack = Item.CommonMaxStack return elseif type == 4409 then DefaultToAccessory(28, 24) this.faceSlot = 14 SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4410 then SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 1, 0)) this.maxStack = Item.CommonMaxStack this.width = 32 this.height = 22 return elseif type == 4412 then SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) this.maxStack = Item.CommonMaxStack this.width = 22 this.height = 22 return elseif type == 4413 then SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 3, 0, 0)) this.maxStack = Item.CommonMaxStack this.width = 22 this.height = 22 return elseif type == 4414 then SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 15, 0, 0)) this.maxStack = Item.CommonMaxStack this.width = 22 this.height = 22 return elseif type == 4415 then DefaultToPlaceableTile(10, 44) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 40)) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 4416 then DefaultToPlaceableTile(19, 43) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4417 then DefaultToPlaceableTile(207, 9) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 4, 0, 0)) this.width = 8 this.height = 10 return elseif type == 4418 then DefaultToCapturedCritter(612) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)) this.width = 20 this.height = 20 this.bait = 17 return elseif type == 4419 then 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 DefaultToPlaceableTile(545, 0) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 5, 0, 0)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4421 then DefaultToMusicBox(50) return elseif type == 4422 then 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 DefaultToPlaceableWall(245) return elseif type == 4425 then DefaultToVanitypet(774, 219) SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4426 then DefaultToMount(18) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4427 then DefaultToMount(19) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)) return elseif type == 4428 then DefaultToMount(20) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4429 then DefaultToMount(21) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)) return elseif type == 4430 then DefaultToPlaceableTile(547, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4431 then DefaultToPlaceableTile(547, 1) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4432 then DefaultToPlaceableTile(547, 2) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4433 then DefaultToPlaceableTile(547, 3) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4434 then DefaultToPlaceableTile(547, 4) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4435 then DefaultToPlaceableTile(548, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4436 then DefaultToPlaceableTile(548, 1) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4437 then DefaultToPlaceableTile(548, 2) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4438 then DefaultToPlaceableTile(548, 3) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4439 then DefaultToPlaceableTile(548, 4) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4440 then DefaultToPlaceableTile(548, 5) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4441 then DefaultToPlaceableTile(548, 6) 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 DefaultToMount(22) 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 DefaultToMount(24) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4451 then DefaultToMount(25) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4452 then DefaultToMount(26) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4453 then DefaultToMount(27) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4454 then DefaultToMount(28) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4455 then DefaultToMount(29) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4456 then DefaultToMount(30) 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 DefaultToPlaceableTile(550, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4462 then 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 SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)) this.melee = true this.knockBack = 3 this.noUseGraphic = true return elseif type == 4464 then DefaultToCapturedCritter(616) this.value = Item.sellPrice(0, 0, 10, 0) return elseif type == 4465 then DefaultToCapturedCritter(617) this.value = Item.sellPrice(0, 0, 10, 0) return elseif type == 4466 then DefaultToPlaceableTile(105, 79) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4467 then DefaultToMount(31) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4468 then DefaultToMount(32) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 4, 0, 0)) return elseif type == 4469 then DefaultToMount(33) SetShopValues(ItemRarityColor.StrongRed10, Item.sellPrice(0, 10, 0, 0)) return elseif type == 4470 then DefaultToMount(34) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4471 then DefaultToMount(35) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4472 then DefaultToMount(36) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4473 then DefaultToPlaceableTile(553, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4474 then DefaultToPlaceableTile(554, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4475 then DefaultToPlaceableTile(555, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4476 then 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 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 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 SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 25, 0, 0)) return elseif type == 4480 then DefaultToCapturedCritter(626) this.value = Item.sellPrice(0, 0, 15, 0) return elseif type == 4481 then DefaultToPlaceableTile(558, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4482 then DefaultToCapturedCritter(627) this.value = Item.sellPrice(0, 10, 0, 0) this.rare = 3 return elseif type == 4483 then 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 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 DefaultToPlaceableWall((246 + type - 4486)) return elseif type == 4504 or type == 4505 then DefaultToPlaceableWall((264 + type - 4504)) this.value = 250 return elseif type == 4506 or type == 4507 then DefaultToPlaceableWall((266 + type - 4506)) return elseif type == 4508 then DefaultToPlaceableWall((268 + type - 4508)) this.value = 250 return elseif type == 4509 or type == 4510 or type == 4511 then DefaultToPlaceableWall((269 + type - 4509)) return elseif type == 4512 then 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 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 DefaultToPlaceableTile(563, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 20)) return elseif type == 4548 then 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 DefaultToVanitypet(825, 262) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(1, 0, 0, 0)) return elseif type == 4551 then DefaultToVanitypet(821, 261) return elseif type == 4552 then DefaultToPlaceableTile(565, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 4, 0, 0)) return elseif type == 4553 then DefaultToPlaceableTile(564, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) return elseif type == 4554 then 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 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 DefaultToPlaceableTile(562, 0) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 1, 0)) return elseif type == 4565 then DefaultToPlaceableWall(312) return elseif type == 4566 then DefaultToPlaceableTile(90, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4567 then DefaultToPlaceableTile(79, 39) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 20 return elseif type == 4568 then DefaultToPlaceableTile(101, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4569 then DefaultToPlaceableTile(88, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4570 then DefaultToPlaceableTile(100, 39) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4571 then DefaultToPlaceableTile(33, 38) 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 DefaultToPlaceableTile(15, 44) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 30 return elseif type == 4573 then DefaultToPlaceableTile(34, 45) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 4574 then DefaultToPlaceableTile(467, 11) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4575 then DefaultToPlaceableTile(104, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4576 then DefaultToPlaceableTile(10, 45) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 4577 then DefaultToPlaceableTile(93, 39) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 10 this.height = 24 return elseif type == 4578 then DefaultToPlaceableTile(42, 45) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 28 return elseif type == 4579 then DefaultToPlaceableTile(87, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4580 then DefaultToPlaceableTile(19, 44) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4581 then DefaultToPlaceableTile(172, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4582 then DefaultToPlaceableTile(89, 42) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4583 then DefaultToPlaceableTile(469, 8) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 20 return elseif type == 4584 then DefaultToPlaceableTile(18, 40) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 14 return elseif type == 4585 then DefaultToPlaceableTile(468, 11) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4586 then DefaultToPlaceableTile(497, 38) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 4587 or type == 4588 or type == 4589 or type == 4590 then DefaultToGolfClub(20, 20) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 10, 0)) return elseif type == 4591 or type == 4592 or type == 4593 or type == 4594 then DefaultToGolfClub(20, 20) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4595 or type == 4596 or type == 4597 or type == 4598 then DefaultToGolfClub(20, 20) SetShopValues(ItemRarityColor.LightRed4, Item.buyPrice(0, 25, 0, 0)) return elseif type == 4599 or type == 4600 or type == 4601 then DefaultToPlaceableTile(560, type - 4599) 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 DefaultToVanitypet(815, 258) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(1, 0, 0, 0)) return elseif type == 4604 then DefaultToVanitypet(816, 259) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(1, 0, 0, 0)) return elseif type == 4605 then DefaultToVanitypet(817, 260) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(1, 0, 0, 0)) return elseif type == 4606 then 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 SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 5, 0)) return elseif type == 4609 then DefaultToPlaceableTile(567, 0) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4610 then DefaultTokite(822) return elseif type == 4611 then DefaultTokite(823) return elseif type == 4612 then DefaultTokite(824) return elseif type == 4613 then 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 DefaultToPlaceableTile(67, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4641 then DefaultToPlaceableTile(66, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4642 then DefaultToPlaceableTile(63, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4643 then DefaultToPlaceableTile(65, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4644 then DefaultToPlaceableTile(64, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4645 then DefaultToPlaceableTile(68, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4646 then DefaultToPlaceableTile(566, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4647 then DefaultToPlaceableWall(314) return elseif type == 4648 or type == 4649 or type == 4650 or type == 4651 then 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 DefaultToPlaceableTile(568, 0) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4656 then DefaultToPlaceableTile(569, 0) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 4657 then 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 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 DefaultTokite(838) return elseif type == 4670 then DefaultTokite(839) return elseif type == 4671 then DefaultTokite(840) return elseif type == 4672 then DefaultToWhip(841, 14, 1, 4, 30) 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 DefaultTokite(843) return elseif type == 4675 then DefaultTokite(844) return elseif type == 4676 then DefaultTokite(845) this.value = Item.buyPrice(0, 2, 0, 0) return elseif type == 4677 then DefaultTokite(846) return elseif type == 4678 then DefaultToWhip(847, 55, 2, 4, 28) SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 4, 60, 0)) return elseif type == 4679 then DefaultToWhip(848, 165, 11, 4, 35) SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 6, 0, 0)) this.crit = 10 return elseif type == 4680 then DefaultToWhip(849, 100, 3, 4, 27) SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 10, 0, 0)) return elseif type == 4681 then DefaultTokite(850) this.value = Item.buyPrice(0, 2, 0, 0) return elseif type == 4682 then this.width = 20 this.height = 24 DefaultToThrownWeapon(851, 25, 4, false) this.value = Item.buyPrice(0, 0, 1, 0) this.ranged = false this.noUseGraphic = true return elseif type == 4683 then DefaultTokite(852) return elseif type == 4684 then 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 DefaultToVanitypet(854, 264) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 50, 0, 0)) return elseif type == 4702 then this.width = 20 this.height = 24 DefaultToThrownWeapon(855, 25, 4, false) this.value = Item.buyPrice(0, 0, 1, 0) this.ranged = false this.noUseGraphic = true return elseif type == 4703 then 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 DefaultToPlaceableTile(467, 12) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 25, 0)) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 4713 then DefaultToPlaceableTile(468, 12) 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 SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 50, 0, 0)) DefaultToGuitar(24, 24) local num1 = 12 num = num1 this.useTime = num1 this.useAnimation = num this.useTime = math.floor(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 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 = math.floor(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 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 DefaultToVanitypet(858, 266) this.value = Item.buyPrice(0, 50, 0, 0) return elseif type == 4736 then DefaultToVanitypet(859, 267) this.value = Item.buyPrice(0, 30, 0, 0) return elseif type == 4737 then 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 DefaultToAccessory(26, 36) this.backSlot = 24 this.frontSlot = 8 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)) this.vanity = true return elseif type == 4745 then DefaultToMount(38) 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 DefaultToMount(39) 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 DefaultToThrownWeapon(type - 4765 + 868, 20, 8, false) this.UseSound = SoundID.Item106 SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 3, 0, 0)) this.width = 18 this.height = 18 return elseif type == 4767 then 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 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 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 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 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 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 DefaultToSpear(877, 3.5, 24) SetWeaponValues(60, 12, 0) SetShopValues(ItemRarityColor.LightRed4, Item.buyPrice(0, 6, 0, 0)) this.channel = true return elseif type == 4789 then DefaultToSpear(878, 3.5, 24) SetWeaponValues(130, 14, 0) SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 10, 0, 0)) this.channel = true return elseif type == 4790 then DefaultToSpear(879, 3.5, 24) SetWeaponValues(90, 13, 0) 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 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 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 DefaultToAccessory(34, 30) this.shoeSlot = 22 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 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 DefaultToCapturedCritter(653) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 20, 0)) this.width = 12 this.height = 12 this.bait = 15 return elseif type == 4846 then DefaultToPlaceableTile(580, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4847 then DefaultToCapturedCritter(654) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 20, 0)) this.width = 12 this.height = 12 this.bait = 25 return elseif type == 4848 then DefaultToPlaceableTile(581, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4849 then DefaultToCapturedCritter(655) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)) this.width = 12 this.height = 12 this.bait = 35 return elseif type == 4850 then DefaultToPlaceableTile(582, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4851 then DefaultToPlaceableTile(590, 0) this.value = Item.sellPrice(0, 0, 7, 50) return elseif type == 4852 then DefaultToPlaceableTile(590, 1) this.value = Item.sellPrice(0, 0, 3, 75) return elseif type == 4853 then DefaultToPlaceableTile(590, 2) this.value = Item.sellPrice(0, 0, 11, 25) return elseif type == 4854 then DefaultToPlaceableTile(590, 3) this.value = Item.sellPrice(0, 0, 15, 0) return elseif type == 4855 then DefaultToPlaceableTile(590, 4) this.value = Item.sellPrice(0, 0, 22, 50) return elseif type == 4856 then DefaultToPlaceableTile(590, 5) this.value = Item.sellPrice(0, 0, 30, 0) return elseif type == 4857 then 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 DefaultToPlaceableTile(591, type - 4858) this.value = Item.sellPrice(0, 0, 25, 0) return elseif type == 4867 then DefaultToPlaceableTile(592, 0) this.value = Item.sellPrice(0, 0, 25, 0) return elseif type == 4868 or type == 4869 then DefaultToPlaceableTile(593 + (type - 4868), 0) 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 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 DefaultToAccessory(34, 30) this.shoeSlot = 23 SetShopValues(ItemRarityColor.Lime7, Item.sellPrice(0, 4, 0, 0)) this.hasVanityEffects = true return elseif type == 4875 then DefaultToPlaceableTile(597, 1) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4876 then DefaultToPlaceableTile(597, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4877 or type == 4878 then DefaultToPlaceableTile(376, 22 + type - 4877) 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 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 DefaultToAccessory(34, 30) 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 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 DefaultToPlaceableTile(548, 7) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4903 then DefaultToPlaceableTile(548, 8) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4904 then DefaultToPlaceableTile(613, 0) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4905 then DefaultToPlaceableTile(613, 1) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4906 then DefaultToPlaceableTile(614, 0) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4907 then 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 SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 5, 0, 0)) return elseif type == 4911 then DefaultToWhip(912, 45, 1.5, 4, 30) SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 4, 0, 0)) return elseif type == 4912 then DefaultToWhip(913, 37, 2, 4, 30) SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 3, 0, 0)) return elseif type == 4913 then DefaultToWhip(914, 18, 1.5, 4, 30) SetShopValues(ItemRarityColor.Orange3, Item.sellPrice(0, 1, 0, 0)) return elseif type == 4914 then DefaultToWhip(915, 180, 4, 4, 30) 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 DefaultToPlaceableTile(597, 2) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4917 then DefaultToPlaceableTile(597, 3) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4918 then DefaultToPlaceableTile(597, 4) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4919 then DefaultToPlaceableTile(597, 5) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4920 then DefaultToPlaceableTile(597, 6) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4921 then DefaultToPlaceableTile(597, 7) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4922 then DefaultToPlaceableTile(207, 8) 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 DefaultToPlaceableTile(617, type - 4924) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)) this.rare = -13 this.maxStack = Item.CommonMaxStack return elseif type == 4951 then DefaultToPlaceableTile(597, 8) 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 = math.floor(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 DefaultToVanitypet(934, 317) this.value = Item.buyPrice(0, 25, 0, 0) this.rare = -13 return elseif type == 4961 then DefaultToCapturedCritter(661) SetShopValues(ItemRarityColor.Orange3, Item.sellPrice(0, 5, 0, 0)) this.width = 12 this.height = 12 return elseif type == 4962 then DefaultToPlaceableTile(618, 0) return elseif type == 4963 then DefaultToPlaceableTile(619, 0) this.maxStack = Item.CommonMaxStack return elseif type == 4964 then 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 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 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 DefaultToMusicBox(54) return elseif type == 4991 then DefaultToMusicBox(55) return elseif type == 4992 then DefaultToMusicBox(56) return elseif type == 4993 then DefaultToPlaceableTile(89, 43) 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 DefaultToAccessory(34, 30) this.shoeSlot = 24 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 DefaultToPlaceableTile(376, 24 + type - 5002) 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 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 DefaultToPlaceableTile(622, 0) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 2, 0)) return elseif type == 5010 then DefaultToAccessory(34, 30) this.waistSlot = 16 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 DefaultToMusicBox(58) return elseif type == 5015 then DefaultToMusicBox(59) return elseif type == 5016 then DefaultToMusicBox(60) return elseif type == 5017 then DefaultToMusicBox(61) return elseif type == 5018 then DefaultToMusicBox(62) return elseif type == 5019 then DefaultToMusicBox(63) return elseif type == 5020 then DefaultToMusicBox(64) return elseif type == 5021 then DefaultToMusicBox(65) return elseif type == 5022 then DefaultToMusicBox(66) return elseif type == 5023 then DefaultToMusicBox(67) return elseif type == 5024 then DefaultToMusicBox(68) return elseif type == 5025 then DefaultToMusicBox(69) return elseif type == 5026 then DefaultToMusicBox(70) return elseif type == 5027 then DefaultToMusicBox(71) return elseif type == 5028 then DefaultToMusicBox(72) return elseif type == 5029 then DefaultToMusicBox(73) return elseif type == 5030 then DefaultToMusicBox(74) return elseif type == 5031 then DefaultToMusicBox(75) return elseif type == 5032 then DefaultToMusicBox(76) return elseif type == 5033 then DefaultToMusicBox(77) return elseif type == 5034 then DefaultToMusicBox(78) return elseif type == 5035 then DefaultToMusicBox(79) return elseif type == 5036 then DefaultToMusicBox(80) return elseif type == 5037 then DefaultToMusicBox(81) return elseif type == 5038 then DefaultToMusicBox(82) return elseif type == 5039 then DefaultToMusicBox(83) return elseif type == 5040 then 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 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 DefaultToStaff(950, 10, 25, 18) SetWeaponValues(70, 5) SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)) return elseif type == 5066 then DefaultToPlaceableTile(444, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 50)) return elseif type == 5067 then DefaultToPlaceableTile(485, 0) 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 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 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 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)) this.vanity = true return elseif type == 5074 then DefaultToWhip(952, 27, 2, 5) 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 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 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 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 20, 0, 0)) return elseif type == 5078 then this.width = 18 this.height = 14 this.bodySlot = 243 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 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 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 0, 0)) return elseif type == 5081 then DefaultToPlaceableTile(623, 0) SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)) return elseif type == 5082 then DefaultToPlaceableTile(623, 1) SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)) return elseif type == 5083 then DefaultToPlaceableTile(623, 2) SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)) return elseif type == 5084 then DefaultToPlaceableTile(623, 3) 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 DefaultToVanitypet(956, 327) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 25, 0, 0)) this.value = Item.buyPrice(0, 25, 0, 0) return elseif type == 5089 then DefaultToVanitypet(957, 328) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 25, 0, 0)) this.value = Item.buyPrice(0, 25, 0, 0) return elseif type == 5090 then DefaultToVanitypet(958, 329) this.value = Item.buyPrice(0, 25, 0, 0) this.rare = -13 return elseif type == 5091 then DefaultToVanitypet(959, 330) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 5, 0, 0)) return elseif type == 5094 then this.useStyle = 1 this.useTurn = false this.useAnimation = 23 this.useTime = 23 this.width = 24 this.height = 28 this.damage = 19 this.knockBack = 5.5 this.UseSound = SoundID.Item1 this.scale = 1.2 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 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 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 SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 25, 0)) this.melee = true return elseif type == 5098 then DefaultToVanitypet(960, 331) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)) return elseif type == 5099 then this.width = 18 this.height = 14 this.headSlot = 273 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 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 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 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 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 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 DefaultToAccessory(26, 30) this.neckSlot = 11 SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) 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 == 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 == 5110 then DefaultToPlaceableTile(617, 27) 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 DefaultToMusicBox(86) return elseif type == 5113 then DefaultToAccessory(26, 30) 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 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 SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 40, 0)) this.vanity = true return elseif type == 5117 then 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 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 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 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 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 DefaultToMount(51) SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 50, 0)) return elseif type == 5126 then DefaultToAccessory(26, 30) SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 8, 0, 0)) this.backSlot = 35 this.handOnSlot = 23 this.handOffSlot = 15 return elseif type == 5131 then DefaultToVanitypet(881, 341) this.value = Item.buyPrice(0, 25, 0, 0) this.rare = -13 return elseif type == 5127 then DefaultToPlaceableTile(625, 0) SetShopValues(ItemRarityColor.Blue1, 0) return elseif type == 5128 then DefaultToPlaceableTile(627, 0) SetShopValues(ItemRarityColor.Blue1, 0) return elseif type == 5132 then DefaultToCapturedCritter(669) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 10, 0)) this.width = 20 this.height = 20 this.bait = 10 return elseif type == 5133 then DefaultToPlaceableTile(629, 0) this.maxStack = Item.CommonMaxStack return elseif type == 5147 then 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 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 -- 	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 -- end return elseif type == 5211 then 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 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 0, 2, 0)) 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 SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 0, 60, 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 DefaultToPlaceableTile(632, 0) this.maxStack = Item.CommonMaxStack 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 == 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 UseSound = SoundID.Item34 this.knockBack = 0.3 this.shootSpeed = 11 this.noMelee = true SetShopValues(ItemRarityColor.Green2, Item.buyPrice(2, 0, 0, 0)) this.rare = 10 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 DefaultToPlaceableTile(635, 0) return elseif type == 5216 then DefaultToPlaceableWall(316) return elseif type == 5217 then DefaultToPlaceableWall(317) return elseif type == 5148 then DefaultToPlaceableTile(90, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5149 then DefaultToPlaceableTile(79, 40) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 20 return elseif type == 5150 then DefaultToPlaceableTile(101, 41) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5151 then DefaultToPlaceableTile(88, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5152 then DefaultToPlaceableTile(100, 40) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5153 then DefaultToPlaceableTile(33, 39) 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 DefaultToPlaceableTile(15, 45) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 30 return elseif type == 5155 then DefaultToPlaceableTile(34, 46) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 5156 then DefaultToPlaceableTile(467, 14) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 5157 then DefaultToPlaceableTile(104, 41) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5158 then DefaultToPlaceableTile(10, 46) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 5159 then DefaultToPlaceableTile(93, 40) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 10 this.height = 24 return elseif type == 5160 then DefaultToPlaceableTile(42, 46) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 28 return elseif type == 5161 then DefaultToPlaceableTile(87, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5162 then DefaultToPlaceableTile(19, 45) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 5163 then DefaultToPlaceableTile(172, 41) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5164 then DefaultToPlaceableTile(89, 44) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5165 then DefaultToPlaceableTile(469, 9) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 20 return elseif type == 5166 then DefaultToPlaceableTile(18, 41) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 14 return elseif type == 5168 then DefaultToPlaceableTile(497, 40) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 5167 then DefaultToPlaceableTile(468, 14) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 5169 then DefaultToPlaceableTile(90, 41) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5170 then DefaultToPlaceableTile(79, 41) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 20 return elseif type == 5171 then DefaultToPlaceableTile(101, 42) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5172 then DefaultToPlaceableTile(88, 41) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5173 then DefaultToPlaceableTile(100, 41) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5174 then DefaultToPlaceableTile(33, 40) 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 DefaultToPlaceableTile(15, 46) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 30 return elseif type == 5176 then DefaultToPlaceableTile(34, 47) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 5177 then DefaultToPlaceableTile(467, 15) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 5178 then DefaultToPlaceableTile(104, 42) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5179 then DefaultToPlaceableTile(10, 47) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 5180 then DefaultToPlaceableTile(93, 41) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 10 this.height = 24 return elseif type == 5181 then DefaultToPlaceableTile(42, 47) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 28 return elseif type == 5182 then DefaultToPlaceableTile(87, 41) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5183 then DefaultToPlaceableTile(19, 46) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 5184 then DefaultToPlaceableTile(172, 42) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5185 then DefaultToPlaceableTile(89, 45) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5186 then DefaultToPlaceableTile(469, 10) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 20 return elseif type == 5187 then DefaultToPlaceableTile(18, 42) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 14 return elseif type == 5189 then DefaultToPlaceableTile(497, 41) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 5188 then DefaultToPlaceableTile(468, 15) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 5190 then DefaultToPlaceableTile(90, 42) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5191 then DefaultToPlaceableTile(79, 42) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 20 return elseif type == 5192 then DefaultToPlaceableTile(101, 43) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5193 then DefaultToPlaceableTile(88, 42) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5194 then DefaultToPlaceableTile(100, 42) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5195 then DefaultToPlaceableTile(33, 41) 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 DefaultToPlaceableTile(15, 47) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 30 return elseif type == 5197 then DefaultToPlaceableTile(34, 48) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 26 return elseif type == 5198 then DefaultToPlaceableTile(467, 16) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 5199 then DefaultToPlaceableTile(104, 43) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5200 then DefaultToPlaceableTile(10, 48) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = Item.CommonMaxStack this.width = 14 this.height = 28 return elseif type == 5201 then DefaultToPlaceableTile(93, 42) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 10 this.height = 24 return elseif type == 5202 then DefaultToPlaceableTile(42, 48) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 12 this.height = 28 return elseif type == 5203 then DefaultToPlaceableTile(87, 42) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5204 then DefaultToPlaceableTile(19, 47) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 5205 then DefaultToPlaceableTile(172, 43) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5206 then DefaultToPlaceableTile(89, 46) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5207 then DefaultToPlaceableTile(469, 11) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 20 return elseif type == 5208 then DefaultToPlaceableTile(18, 43) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = Item.CommonMaxStack this.width = 28 this.height = 14 return elseif type == 5210 then DefaultToPlaceableTile(497, 42) this.maxStack = Item.CommonMaxStack this.value = 150 return elseif type == 5209 then DefaultToPlaceableTile(468, 16) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = Item.CommonMaxStack this.width = 26 this.height = 22 return elseif type == 5130 then this.useStyle = 4 this.channel = true this.width = 10 this.height = 32 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 == 5137 then DefaultToPlaceableTile(630, 0) SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 10, 0)) this.maxStack = Item.CommonMaxStack return elseif type == 5138 then DefaultToPlaceableTile(631, 0) SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 10, 0)) this.maxStack = Item.CommonMaxStack 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 this.value = Item.sellPrice(0, 2, 0, 0) end 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 this.value = Item.sellPrice(0, 0, 50, 0) end 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 this.value = Item.sellPrice(0, 0, 50, 0) end 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 this.value = Item.sellPrice(0, 0, 50, 0) end return elseif type == 5129 then SetWeaponValues(15, 5) 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 UseSound = SoundID.Item1 this.scale = 1 this.melee = true 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 == 5139 then DefaultToAccessory(14, 30) 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 DefaultToAccessory(14, 30) 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 end return elseif type == 5276 then DefaultToVanitypet(994, 345) this.width = 32 this.height = 32 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 -- 	this.defense = 1 -- end return elseif type == 5280 then this.width = 18 this.height = 18 this.defense = 3 this.bodySlot = 246 -- if this.Variant == ItemVariants.WeakerVariant then -- 	this.defense = 1 -- end return elseif type == 5281 then this.width = 18 this.height = 18 this.defense = 2 this.legSlot = 234 -- if this.Variant == ItemVariants.WeakerVariant then -- 	this.defense = 1 -- end 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 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 -- 	this.damage = 6 -- 	this.useAnimation = 29 -- 	this.useTime = 29 -- end 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 UseSound = SoundID.Item1 this.value = 50 this.melee = true -- if this.Variant == ItemVariants.WeakerVariant then -- 	this.damage = 4 -- 	this.hammer = 35 -- end 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 UseSound = SoundID.Item1 this.scale = 1 this.value = Item.sellPrice(0, 0, 0, 20) this.melee = true -- if this.Variant == ItemVariants.WeakerVariant then -- 	this.damage = 8 -- 	this.useAnimation = 23 -- 	this.useTime = 23 -- end return elseif type == 5285 then DefaultToThrownWeapon(996, 20, 8) UseSound = SoundID.Item106 SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 3, 0, 0)) this.width = 18 this.height = 18 return elseif type == 5286 then DefaultToPlaceableTile(12, 0) SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 7, 50, 0)) return elseif type == 5287 then DefaultToPlaceableTile(639, 0) SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 25, 0)) return elseif type == 5288 then DefaultToMount(53) SetShopValues(ItemRarityColor.Yellow8, Item.buyPrice(0, 5, 0, 0)) return elseif type == 5289 then 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 UseSound = SoundID.Item4 this.useAnimation = 30 this.expert = true return elseif type == 5290 then this.width = 28 this.height = 20 this.headSlot = 279 SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)) this.vanity = true return elseif type == 5294 then this.useStyle = 5 this.width = 24 this.height = 24 this.noUseGraphic = true 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 == 5293 then DefaultToTorch(22) 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 == 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 UseSound = SoundID.Item1 this.useAnimation = 20 this.useTime = 20 this.noUseGraphic = true SetShopValues(ItemRarityColor.Orange3, Item.sellPrice(0, 2, 0, 0)) this.melee = true this.autoReuse = true 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 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 == 5292 then DefaultToPlaceableTile(19, 48) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 1, 0)) this.width = 8 this.height = 10 return elseif type == 5291 then DefaultToPlaceableWall(318) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 0, 50)) return elseif type == 5306 then DefaultToPlaceableTile(641, 0) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 0, 20)) return elseif type == 5307 then DefaultToPlaceableWall(319) 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 == 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 UseSound = SoundID.Item1 this.scale = 1 SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 1, 50, 0)) this.melee = true this.axe = 30 this.createTile = 2 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 == 5297 then DefaultToVanitypet(998, 349) this.width = 32 this.height = 32 SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 25, 0, 0)) 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 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 == 5314 then DefaultToPlaceableTile(643, 0) this.maxStack = Item.CommonMaxStack 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 == 5315 then DefaultToPlaceableTile(644, 0) this.maxStack = Item.CommonMaxStack 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 == 5316 then DefaultToPlaceableTile(645, 0) this.maxStack = Item.CommonMaxStack return elseif type == 5317 then DefaultToPlaceableTile(105, 80) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5318 then DefaultToPlaceableTile(105, 81) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5319 then DefaultToPlaceableTile(105, 82) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5320 then DefaultToPlaceableTile(13, 1) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5321 then DefaultToPlaceableTile(13, 2) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 20)) this.maxStack = Item.CommonMaxStack this.width = 20 this.height = 20 return elseif type == 5322 then DefaultToPlaceableTile(646, 0) 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 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 DefaultToPlaceableTile(647, 0) this.maxStack = 1 SetShopValues(ItemRarityColor.StrongRed10, Item.sellPrice(0, 5, 0, 0)) this.consumable = false this.tileBoost = 3 return elseif type == 5326 then DefaultToFood(22, 22, 0, 0) 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 SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 4, 0, 0)) this.hasVanityEffects = true return elseif type == 5332 then DefaultToVanitypet(1003, 351) this.width = 32 this.height = 32 SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 10, 0, 0)) return elseif type == 5333 then DefaultToVanitypet(1004, 352) this.width = 32 this.height = 32 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 UseSound = SoundID.Item8 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 UseSound = SoundID.Item92 this.width = 28 this.height = 28 this.maxStack = Item.CommonMaxStack SetShopValues(ItemRarityColor.LightPurple6, 0) return elseif type == 5337 then this.useStyle = 4 this.consumable = true this.useAnimation = 45 this.useTime = 45 UseSound = SoundID.Item92 this.width = 28 this.height = 28 this.maxStack = Item.CommonMaxStack 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 UseSound = SoundID.Item92 this.width = 28 this.height = 28 this.maxStack = Item.CommonMaxStack 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 UseSound = SoundID.Item92 this.width = 28 this.height = 28 this.maxStack = Item.CommonMaxStack 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 UseSound = SoundID.Item92 this.width = 28 this.height = 28 this.maxStack = Item.CommonMaxStack 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 UseSound = SoundID.Item92 this.width = 28 this.height = 28 this.maxStack = Item.CommonMaxStack 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 UseSound = SoundID.Item92 this.width = 28 this.height = 28 this.maxStack = Item.CommonMaxStack 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 UseSound = SoundID.Item92 this.width = 28 this.height = 28 this.maxStack = Item.CommonMaxStack SetShopValues(ItemRarityColor.LightPurple6, Item.sellPrice(0, 0, 25, 0)) return elseif type == 5345 then 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 == 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 == 5346 then this.width = 18 this.height = 18 SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 0, 30, 0)) return elseif type == 5356 then this.width = 18 this.height = 18 SetShopValues(ItemRarityColor.TrashMinus1, 0) return elseif type == 5347 then 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 SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 0, 0, 10)) return elseif type == 5349 then DefaultToPlaceableTile(659, 0) this.rare = 1 return elseif type == 5350 then DefaultToCapturedCritter(677) SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 0, 2, 50)) this.width = 12 this.height = 12 return elseif type == 5351 then 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 DefaultToTorch(23) return elseif type == 5354 then DefaultToAccessory(28, 32) this.faceSlot = 20 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 0)) return elseif type == 5355 then DefaultToAccessory(26, 36) this.backSlot = 36 this.frontSlot = 12 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 2, 0, 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 UseSound = SoundID.Item6 this.useAnimation = 90 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 UseSound = SoundID.Item6 this.useAnimation = 90 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 UseSound = SoundID.Item6 this.useAnimation = 90 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 UseSound = SoundID.Item6 this.useAnimation = 90 SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 10, 0, 0)) return elseif type == 5362 then DefaultToMusicBox(87) return elseif type == 5363 then 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 DefaultToPlaceableWall(7) return elseif type == 5366 then DefaultToPlaceableWall(94) return elseif type == 5367 then DefaultToPlaceableWall(95) return elseif type == 5368 then DefaultToPlaceableWall(9) return elseif type == 5369 then DefaultToPlaceableWall(96) return elseif type == 5370 then DefaultToPlaceableWall(97) return elseif type == 5371 then DefaultToPlaceableWall(8) return elseif type == 5372 then DefaultToPlaceableWall(98) return elseif type == 5373 then DefaultToPlaceableWall(99) return elseif type == 5374 then DefaultToPlaceableWall(187) return elseif type == 5375 then DefaultToPlaceableWall(216) return elseif type == 5376 then 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 SetShopValues(ItemRarityColor.Lime7, Item.sellPrice(0, 3, 0, 0)) return elseif type == 5382 then SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 3, 0, 0)) this.autoReuse = true 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 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 SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 7, 50, 0)) return elseif type == 5385 then this.width = 28 this.height = 20 this.headSlot = 280 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 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 SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)) this.vanity = true 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 == 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 == 5390 then this.width = 28 this.height = 20 this.headSlot = 281 SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)) this.vanity = true return elseif type == 5391 then SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)) this.width = 30 this.height = 30 return elseif type == 5397 then DefaultToPlaceableWall(321) return elseif type == 5398 then DefaultToPlaceableTile(667, 0) this.rare = 1 return elseif type == 5399 then DefaultToPlaceableWall(322) return elseif type == 5392 then DefaultToSolution(1015) return elseif type == 5393 then DefaultToSolution(1016) return elseif type == 5394 then DefaultToSolution(1017) return elseif type == 5401 then DefaultToPlaceableTile(669, 0) this.rare = 9 return elseif type == 5402 then DefaultToPlaceableTile(670, 0) this.rare = 9 return elseif type == 5403 then DefaultToPlaceableTile(671, 0) this.rare = 9 return elseif type == 5404 then DefaultToPlaceableTile(672, 0) this.rare = 9 return elseif type == 5405 then DefaultToPlaceableTile(673, 0) this.rare = 9 return elseif type == 5406 then DefaultToPlaceableTile(674, 0) this.rare = 9 return elseif type == 5407 then DefaultToPlaceableTile(675, 0) this.rare = 9 return elseif type == 5408 then DefaultToPlaceableTile(676, 0) this.rare = 9 return elseif type == 5409 then DefaultToPlaceableWall(323) this.rare = 9 return elseif type == 5410 then DefaultToPlaceableWall(324) this.rare = 9 return elseif type == 5411 then DefaultToPlaceableWall(325) this.rare = 9 return elseif type == 5412 then DefaultToPlaceableWall(326) this.rare = 9 return elseif type == 5413 then DefaultToPlaceableWall(327) this.rare = 9 return elseif type == 5414 then DefaultToPlaceableWall(328) this.rare = 9 return elseif type == 5415 then DefaultToPlaceableWall(329) this.rare = 9 return elseif type == 5416 then DefaultToPlaceableWall(330) this.rare = 9 return elseif type == 5417 then DefaultToPlaceableTile(677, 0) return elseif type == 5418 then DefaultToPlaceableWall(331) return elseif type == 5419 then DefaultToPlaceableTile(678, 0) return elseif type == 5420 then DefaultToPlaceableWall(332) return elseif type == 5421 then DefaultToPlaceableTile(679, 0) return elseif type == 5422 then DefaultToPlaceableWall(333) return elseif type == 5423 then DefaultToPlaceableTile(680, 0) return elseif type == 5424 then DefaultToPlaceableWall(334) return elseif type == 5425 then DefaultToPlaceableTile(681, 0) return elseif type == 5426 then DefaultToPlaceableWall(335) return elseif type == 5427 then DefaultToPlaceableTile(682, 0) return elseif type == 5428 then DefaultToPlaceableWall(336) return elseif type == 5429 then DefaultToPlaceableTile(685, 0) return elseif type == 5430 then DefaultToPlaceableWall(339) return elseif type == 5431 then DefaultToPlaceableTile(686, 0) return elseif type == 5432 then DefaultToPlaceableWall(340) return elseif type == 5433 then DefaultToPlaceableTile(683, 0) return elseif type == 5434 then DefaultToPlaceableWall(337) return elseif type == 5435 then DefaultToPlaceableTile(684, 0) return elseif type == 5436 then DefaultToPlaceableWall(338) return elseif type == 5400 then DefaultToVanitypet(1018, 354) this.width = 16 this.height = 16 SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 10, 0)) return elseif type == 5395 then DefaultToPlaceableTile(666, 0) return elseif type == 5396 then DefaultToPlaceableWall(320) return elseif type == 5439 then DefaultToPlaceableTile(687, 0) return elseif type == 5440 then DefaultToPlaceableTile(688, 0) return elseif type == 5441 then DefaultToPlaceableTile(689, 0) return elseif type == 5442 then DefaultToPlaceableTile(690, 0) return elseif type == 5443 then DefaultToPlaceableTile(691, 0) return elseif type == 5444 then DefaultToPlaceableTile(692, 0) return elseif type == 5445 then DefaultToPlaceableWall(341) return elseif type == 5446 then DefaultToPlaceableWall(342) return elseif type == 5447 then DefaultToPlaceableWall(343) return elseif type == 5448 then DefaultToPlaceableWall(344) return elseif type == 5449 then DefaultToPlaceableWall(345) return elseif type == 5450 then DefaultToPlaceableWall(346) 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 UseSound = SoundID.Item1 this.useAnimation = 15 this.value = Item.sellPrice(0, 0, 0, 10) this.useTime = 15 this.noMelee = true 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 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 SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)) this.width = 30 this.height = 30 return elseif type == 5454 then SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)) this.width = 30 this.height = 30 return elseif type == 5455 then SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 10, 0, 0)) this.width = 30 this.height = 30 return else return end end

local SetDefaults, netDefaults netDefaults = function (type) if type == -1 then SetDefaults(3521) return end if type == -2 then SetDefaults(3520) return end if type == -3 then SetDefaults(3519) return end if type == -4 then SetDefaults(3518) return end if type == -5 then SetDefaults(3517) return end if type == -6 then SetDefaults(3516) return end if type == -7 then SetDefaults(3515) return end if type == -8 then SetDefaults(3514) return end if type == -9 then SetDefaults(3513) return end if type == -10 then SetDefaults(3512) return end if type == -11 then SetDefaults(3511) return end if type == -12 then SetDefaults(3510) return end if type == -13 then SetDefaults(3509) return end if type == -14 then SetDefaults(3508) return end if type == -15 then SetDefaults(3507) return end if type == -16 then SetDefaults(3506) return end if type == -17 then SetDefaults(3505) return end if type == -18 then SetDefaults(3504) return end if type == -19 then SetDefaults(3764) return end if type == -20 then SetDefaults(3765) return end if type == -21 then SetDefaults(3766) return end if type == -22 then SetDefaults(3767) return end if type == -23 then SetDefaults(3768) return end if type == -24 then SetDefaults(3769) return end if type == -25 then SetDefaults(3503) return end if type == -26 then SetDefaults(3502) return end if type == -27 then SetDefaults(3501) return end if type == -28 then SetDefaults(3500) return end if type == -29 then SetDefaults(3499) return end if type == -30 then SetDefaults(3498) return end if type == -31 then SetDefaults(3497) return end if type == -32 then SetDefaults(3496) return end if type == -33 then SetDefaults(3495) return end if type == -34 then SetDefaults(3494) return end if type == -35 then SetDefaults(3493) return end if type == -36 then SetDefaults(3492) return end if type == -37 then SetDefaults(3491) return end if type == -38 then SetDefaults(3490) return end if type == -39 then SetDefaults(3489) return end if type == -40 then SetDefaults(3488) return end if type == -41 then SetDefaults(3487) return end if type == -42 then SetDefaults(3486) return end if type == -43 then SetDefaults(3485) return end if type == -44 then SetDefaults(3484) return end if type == -45 then SetDefaults(3483) return end if type == -46 then SetDefaults(3482) return end if type == -47 then SetDefaults(3481) return end if type == -48 then SetDefaults(3480) return end end

SetDefaults = function (Type) if Type < 0 then netDefaults(Type) return end

ResetStats(Type) if this.type >= Count then this.type = 0 end --if variant == false then --	variant = ItemVariants.SelectVariant(Type) --elseif !ItemVariants.HasVariant(Type, variant) then --	variant = false --end local variant = false this.Variant = variant if this.type == 0 then this.netID = 0 this.stack = 0 elseif ItemIdSets('IsFood', this.type) then SetFoodDefaults(this.type) elseif this.type <= 1000 then SetDefaults1(this.type) elseif this.type <= 2001 then SetDefaults2(this.type) elseif this.type <= 3000 then SetDefaults3(this.type) elseif this.type > 3989 then SetDefaults5(this.type) else SetDefaults4(this.type) end -- // after setDefaultsX, all dyes will have non-zero value, 1 = basic dye; 2 = other dye. -- // the method below will give all dyes unique int values one by one, it is not necessary for determine "isDye" n	-- this.dye = (byte)GameShaders.Armor.GetShaderIdFromItemId(this.type) -- // Similarly, give all hair dyes unique int values. --if this.hairDye ~= 0 then --	this.hairDye = GameShaders.Hair.GetShaderIdFromItemId(this.type) --end if this.type == 2015 then this.value = Item.sellPrice(0, 0, 5, 0) end if this.type == 2016 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 2017 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 5212 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 5300 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 5311 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 5312 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 5313 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 2019 then this.value = Item.sellPrice(0, 0, 5, 0) end if this.type == 2018 then this.value = Item.sellPrice(0, 0, 5, 0) end if this.type == 3563 then this.value = Item.sellPrice(0, 0, 5, 0) end if this.type == 261 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 2205 then this.value = Item.sellPrice(0, 0, 12, 50) end if this.type == 2123 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 2122 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 2003 then this.value = Item.sellPrice(0, 0, 10, 0) end if this.type == 2156 then this.value = Item.sellPrice(0, 0, 15, 0) end if this.type == 2157 then this.value = Item.sellPrice(0, 0, 15, 0) end if this.type == 2121 then this.value = Item.sellPrice(0, 0, 10, 0) end if this.type == 1992 then this.value = Item.sellPrice(0, 0, 3, 0) end if this.type == 2004 then this.value = Item.sellPrice(0, 0, 5, 0) end if this.type == 2002 then this.value = Item.sellPrice(0, 0, 5, 0) end if this.type == 2740 then this.value = Item.sellPrice(0, 0, 2, 50) end if this.type == 2006 then this.value = Item.sellPrice(0, 0, 10, 0) end if this.type == 3191 then this.value = Item.sellPrice(0, 0, 20, 0) end if this.type == 3192 then this.value = Item.sellPrice(0, 0, 2, 50) end if this.type == 3193 then this.value = Item.sellPrice(0, 0, 5, 0) end if this.type == 3194 then this.value = Item.sellPrice(0, 0, 10, 0) end if this.type == 2007 then this.value = Item.sellPrice(0, 0, 50, 0) end if this.type == 2673 then this.value = Item.sellPrice(0, 10, 0, 0) end if this.bait > 0 then if this.bait >= 50 then this.rare = 3 elseif this.bait >= 30 then this.rare = 2 elseif this.bait >= 15 then this.rare = 1 end end if this.type >= 1994 and this.type <= 2001 then local num = this.type - 1994 if num == 0 then this.value = Item.sellPrice(0, 0, 5, 0) end if num == 4 then this.value = Item.sellPrice(0, 0, 10, 0) end if num == 6 then this.value = Item.sellPrice(0, 0, 15, 0) end if num == 3 then this.value = Item.sellPrice(0, 0, 20, 0) end if num == 7 then this.value = Item.sellPrice(0, 0, 30, 0) end if num == 2 then this.value = Item.sellPrice(0, 0, 40, 0) end if num == 1 then this.value = Item.sellPrice(0, 0, 75, 0) end if num == 5 then this.value = Item.sellPrice(0, 1, 0, 0) end end if this.type == 2663 or this.type == 1720 or this.type == 2137 or this.type == 2155 or this.type == 2151 or this.type == 1704 or this.type == 2143 or this.type == 1710 or this.type == 2238 or this.type == 2133 or this.type == 2147 or this.type == 2405 or this.type == 1716 or this.type == 1705 then this.value = Item.sellPrice(0, 2, 0, 0) end if ProjectileInfo(this.shoot).aiStyle == 7 then --if Main.projHook[this.shoot] then this.useStyle = 0 this.useTime = 0 this.useAnimation = 0 end if ItemIdSets('IsDrill', this.type) or ItemIdSets('IsChainsaw', this.type) or this.type == 1262 then this.useTime = math.floor(this.useTime * 0.6) if this.useTime < 1 then this.useTime = 1 end this.useAnimation = math.floor(this.useAnimation * 0.6) if this.useAnimation < 1 then this.useAnimation = 1 end this.tileBoost = this.tileBoost - 1 end if ItemIdSets('IsFood', this.type) then this.holdStyle = 1 end if this.type >= 1803 and this.type <= 1807 then SetDefaults(1533 + this.type - 1803) end if this.dye > 0 then this.maxStack = Item.CommonMaxStack end if this.createTile == 19 then this.maxStack = Item.CommonMaxStack end this.netID = this.type -- this.material = ItemID.Sets.IsAMaterial[this.type] // use

--RebuildTooltip // use or 	if this.type > 0 and this.type < Count and ItemIdSets('Deprecated', this.type) then this.netID = 0 this.type = 0 this.stack = 0 end end

---

local p = { getInfo = function(itemid) SetDefaults(itemid) return this end,

setDefaults5 = function(itemid) --for invocation from other datagen modules this = {} ResetStats(itemid) SetDefaults5(itemid) return this end, }

return p