Module:Iteminfo/datagen5

-- to gen data slice.

-- 1.4.3.2

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 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, 172 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.canBePlacedInVanityRegardlessOfConditions = 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.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.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 DefaultToPlacableTile(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 = 999 this.useTurn = true this.autoReuse = true this.consumable = true end

local function DefaultToPlacableWall( wallToPlace) this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 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 DefaultToSeaShelll this.useStyle = 1 this.autoReuse = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 999 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 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.canBePlacedInVanityRegardlessOfConditions = 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.canBePlacedInVanityRegardlessOfConditions = 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 = 999 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 = 999 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 = 999 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 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, 15, 0, 0)) return elseif type == 3993 then DefaultToAccessory(34, 30) this.shoeSlot = 19 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 10, 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, 10, 0, 0)) return elseif type == 3998 then this.defense = 10 DefaultToAccessory(36, 40) this.shieldSlot = 8 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 15, 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, 15, 0, 0)) return elseif type == 4006 then DefaultToAccessory(36, 38) this.backSlot = 16 SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 15, 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)) 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 = 999 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 DefaultToPlacableTile(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 DefaultToPlacableTile(478, 0) return elseif type == 4051 then DefaultToPlacableTile(479, 0) return elseif type == 4052 then DefaultToPlacableWall(234) return elseif type == 4053 then DefaultToPlacableWall(235) return elseif type == 4054 then DefaultToPlacableTile(480, 0) this.width = 22 this.height = 32 this.rare = 3 this.value = Item.sellPrice(0, 1, 0, 0) 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) return elseif type == 4061 then DefaultToSpear(730, 3.5, 28) SetWeaponValues(12, 6, 0) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)) return elseif type == 4062 then DefaultToStaff(731, 8, 17, 5) SetWeaponValues(12, 2, 0) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 30, 0)) return elseif type == 4063 then DefaultToPlacableTile(486, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4064 then DefaultToPlacableTile(487, 0) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 0, 80)) return elseif type == 4065 then DefaultToPlacableTile(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 DefaultToSeaShelll return elseif type == 4074 then DefaultToPlacableTile(489, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 20, 0)) return elseif type == 4075 then DefaultToPlacableTile(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 = 99 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 DefaultToPlacableTile(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 = 999 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 DefaultToPlacableTile(495, 0) SetShopValues(ItemRarityColor.White0, 0) return elseif type == 4091 then DefaultToPlacableTile(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 DefaultToPlacableTile(497, type - 4096) this.maxStack = 99 this.value = 150 return elseif type == 4127 then DefaultToPlacableTile(497, type - 4096) this.maxStack = 99 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 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 DefaultToPlacableTile(498, 0) SetShopValues(ItemRarityColor.White0, 0) return elseif type == 4140 then DefaultToPlacableWall(236) SetShopValues(ItemRarityColor.White0, 0) return elseif type == 4141 then DefaultToPlacableTile(497, 32) this.maxStack = 99 this.value = 150 return elseif type == 4142 then DefaultToPlacableTile(499, 0) this.maxStack = 99 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 DefaultToPlacableTile(90, 34) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4146 then DefaultToPlacableTile(79, 34) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = 99 this.width = 28 this.height = 20 return elseif type == 4147 then DefaultToPlacableTile(101, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4148 then DefaultToPlacableTile(88, 34) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4149 then DefaultToPlacableTile(100, 34) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4150 then DefaultToPlacableTile(33, 33) SetShopValues(ItemRarityColor.White0, 0) this.maxStack = 99 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) this.noWet = true return elseif type == 4151 then DefaultToPlacableTile(15, 39) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 30 return elseif type == 4152 then DefaultToPlacableTile(34, 40) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = 99 this.width = 26 this.height = 26 return elseif type == 4153 then DefaultToPlacableTile(467, 5) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4154 then DefaultToPlacableTile(104, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4155 then DefaultToPlacableTile(10, 39) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = 99 this.width = 14 this.height = 28 return elseif type == 4156 then DefaultToPlacableTile(93, 34) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 10 this.height = 24 return elseif type == 4157 then DefaultToPlacableTile(42, 40) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 28 return elseif type == 4158 then DefaultToPlacableTile(87, 34) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4159 then DefaultToPlacableTile(19, 38) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4160 then DefaultToPlacableTile(172, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4161 then DefaultToPlacableTile(89, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4162 then DefaultToPlacableTile(469, 3) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 26 this.height = 20 return elseif type == 4163 then DefaultToPlacableTile(18, 35) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 28 this.height = 14 return elseif type == 4164 then DefaultToPlacableTile(468, 5) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4165 then DefaultToPlacableTile(497, 33) this.maxStack = 99 this.value = 150 return elseif type == 4166 then DefaultToPlacableTile(90, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4167 then DefaultToPlacableTile(79, 35) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = 99 this.width = 28 this.height = 20 return elseif type == 4168 then DefaultToPlacableTile(101, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4169 then DefaultToPlacableTile(88, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4170 then DefaultToPlacableTile(100, 35) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4171 then DefaultToPlacableTile(33, 34) SetShopValues(ItemRarityColor.White0, 0) this.maxStack = 99 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) this.noWet = true return elseif type == 4172 then DefaultToPlacableTile(15, 40) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 30 return elseif type == 4173 then DefaultToPlacableTile(34, 41) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = 99 this.width = 26 this.height = 26 return elseif type == 4174 then DefaultToPlacableTile(467, 6) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4175 then DefaultToPlacableTile(104, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4176 then DefaultToPlacableTile(10, 40) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = 99 this.width = 14 this.height = 28 return elseif type == 4177 then DefaultToPlacableTile(93, 35) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 10 this.height = 24 return elseif type == 4178 then DefaultToPlacableTile(42, 41) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 28 return elseif type == 4179 then DefaultToPlacableTile(87, 35) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4180 then DefaultToPlacableTile(19, 39) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4181 then DefaultToPlacableTile(172, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4182 then DefaultToPlacableTile(89, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4183 then DefaultToPlacableTile(469, 4) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 26 this.height = 20 return elseif type == 4184 then DefaultToPlacableTile(18, 36) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 28 this.height = 14 return elseif type == 4185 then DefaultToPlacableTile(468, 6) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4186 then DefaultToPlacableTile(497, 34) this.maxStack = 99 this.value = 150 return elseif type == 4187 then DefaultToPlacableTile(90, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4188 then DefaultToPlacableTile(79, 36) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = 99 this.width = 28 this.height = 20 return elseif type == 4189 then DefaultToPlacableTile(101, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4190 then DefaultToPlacableTile(88, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4191 then DefaultToPlacableTile(100, 36) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4192 then DefaultToPlacableTile(33, 35) SetShopValues(ItemRarityColor.White0, 0) this.maxStack = 99 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) this.noWet = true return elseif type == 4193 then DefaultToPlacableTile(15, 41) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 30 return elseif type == 4194 then DefaultToPlacableTile(34, 42) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = 99 this.width = 26 this.height = 26 return elseif type == 4195 then DefaultToPlacableTile(467, 7) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4196 then DefaultToPlacableTile(104, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4197 then DefaultToPlacableTile(10, 41) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = 99 this.width = 14 this.height = 28 return elseif type == 4198 then DefaultToPlacableTile(93, 36) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 10 this.height = 24 return elseif type == 4199 then DefaultToPlacableTile(42, 42) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 28 return elseif type == 4200 then DefaultToPlacableTile(87, 36) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4201 then DefaultToPlacableTile(19, 40) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4202 then DefaultToPlacableTile(172, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4203 then DefaultToPlacableTile(89, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4204 then DefaultToPlacableTile(469, 5) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 26 this.height = 20 return elseif type == 4205 then DefaultToPlacableTile(18, 37) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 28 this.height = 14 return elseif type == 4206 then DefaultToPlacableTile(468, 7) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4207 then DefaultToPlacableTile(497, 35) this.maxStack = 99 this.value = 150 return elseif type == 4208 then DefaultToPlacableTile(90, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4209 then DefaultToPlacableTile(79, 37) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = 99 this.width = 28 this.height = 20 return elseif type == 4210 then DefaultToPlacableTile(101, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4211 then DefaultToPlacableTile(88, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4212 then DefaultToPlacableTile(100, 37) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4213 then DefaultToPlacableTile(33, 36) SetShopValues(ItemRarityColor.White0, 0) this.maxStack = 99 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) this.noWet = true return elseif type == 4214 then DefaultToPlacableTile(15, 42) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 30 return elseif type == 4215 then DefaultToPlacableTile(34, 43) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = 99 this.width = 26 this.height = 26 return elseif type == 4216 then DefaultToPlacableTile(467, 8) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4217 then DefaultToPlacableTile(104, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4218 then DefaultToPlacableTile(10, 42) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = 99 this.width = 14 this.height = 28 return elseif type == 4219 then DefaultToPlacableTile(93, 37) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 10 this.height = 24 return elseif type == 4220 then DefaultToPlacableTile(42, 43) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 28 return elseif type == 4221 then DefaultToPlacableTile(87, 37) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4222 then DefaultToPlacableTile(19, 41) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4223 then DefaultToPlacableTile(172, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4224 then DefaultToPlacableTile(89, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4225 then DefaultToPlacableTile(469, 6) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 26 this.height = 20 return elseif type == 4226 then DefaultToPlacableTile(18, 38) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 28 this.height = 14 return elseif type == 4227 then DefaultToPlacableTile(468, 8) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4228 then DefaultToPlacableTile(497, 36) this.maxStack = 99 this.value = 150 return elseif type == 4229 then DefaultToPlacableTile(500, 0) return elseif type == 4230 then DefaultToPlacableTile(501, 0) return elseif type == 4231 then DefaultToPlacableTile(502, 0) return elseif type == 4232 then DefaultToPlacableTile(503, 0) return elseif type == 4233 then DefaultToPlacableWall(237) return elseif type == 4234 then DefaultToPlacableWall(238) return elseif type == 4235 then DefaultToPlacableWall(239) return elseif type == 4236 then DefaultToPlacableWall(240) return elseif type == 4237 then DefaultToMusicBox(46) return elseif type == 4238 then DefaultToPlacableTile(481, 0) return elseif type == 4239 then DefaultToPlacableTile(482, 0) return elseif type == 4240 then DefaultToPlacableTile(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.useAnimation = 25 this.knockBack = 3 this.width = 40 this.height = 40 this.damage = 25 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 = 42 this.useTime = 20 this.useAnimation = 20 this.scale = 1.15 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 = 999 this.consumable = true this.createWall = 241 this.width = 12 this.height = 12 this.value = Item.sellPrice(0, 0, 5, 0) return elseif type == 4261 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 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 DefaultToPlacableTile(467, 9) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 3, 0, 0)) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4266 then DefaultToPlacableTile(468, 9) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4267 then DefaultToPlacableTile(467, 10) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4268 then DefaultToPlacableTile(468, 10) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 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 = 8 this.value = Item.sellPrice(0, 5, 0, 0) this.summon = true 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 = 20 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 return elseif type == 4274 then this.useStyle = 1 this.autoReuse = true this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 999 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 = 99 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 = 99 this.consumable = true this.createTile = 506 this.width = 20 this.height = 20 return elseif type == 4277 then DefaultToPlacableTile(507, 0) return elseif type == 4278 then DefaultToPlacableTile(508, 0) return elseif type == 4279 then DefaultToPlacableWall(242) return elseif type == 4280 then DefaultToPlacableWall(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 return elseif type == 4298 then DefaultToPlacableTile(90, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4299 then DefaultToPlacableTile(79, 38) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = 99 this.width = 28 this.height = 20 return elseif type == 4300 then DefaultToPlacableTile(101, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4301 then DefaultToPlacableTile(88, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4302 then DefaultToPlacableTile(100, 38) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4303 then DefaultToPlacableTile(33, 37) SetShopValues(ItemRarityColor.White0, 0) this.maxStack = 99 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) this.noWet = true return elseif type == 4304 then DefaultToPlacableTile(15, 43) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 30 return elseif type == 4305 then DefaultToPlacableTile(34, 44) SetShopValues(ItemRarityColor.White0, 3000) this.maxStack = 99 this.width = 26 this.height = 26 return elseif type == 4306 then DefaultToPlacableTile(104, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4307 then DefaultToPlacableTile(10, 43) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = 99 this.width = 14 this.height = 28 return elseif type == 4308 then DefaultToPlacableTile(93, 38) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 10 this.height = 24 return elseif type == 4309 then DefaultToPlacableTile(42, 44) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 28 return elseif type == 4310 then DefaultToPlacableTile(87, 38) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4311 then DefaultToPlacableTile(19, 42) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4312 then DefaultToPlacableTile(172, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4313 then DefaultToPlacableTile(89, 41) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4314 then DefaultToPlacableTile(469, 7) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 26 this.height = 20 return elseif type == 4315 then DefaultToPlacableTile(18, 39) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 28 this.height = 14 return elseif type == 4316 then DefaultToPlacableTile(497, 37) this.maxStack = 99 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 DefaultToPlacableTile(509, 0) this.width = 22 this.height = 32 this.rare = 9 this.value = Item.sellPrice(0, 25, 0, 0) return elseif type == 4319 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 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 = 999 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 DefaultToPlacableTile(520, 0) this.maxStack = 99 this.value = 150 return elseif type == 4327 or type == 4328 or type == 4329 or type == 4330 or type == 4331 or type == 4332 then DefaultToPlacableTile((type - 4327 + 521), 0) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4333 then DefaultToPlacableTile(527, 0) this.value = Item.sellPrice(0, 10, 0, 0) this.rare = 3 this.maxStack = 99 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, 1, 0, 0)) return elseif type == 4342 then DefaultToPlacableTile(105, 78) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = 99 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 = 99 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, 37, 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, 37, 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 DefaultToPlacableTile(179 + type - 4349, 0) return elseif type == 4354 then DefaultToPlacableTile(381, 0) return elseif type == 4355 then DefaultToPlacableTile(531, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = 99 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 DefaultToPlacableTile(105, 77) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = 99 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 DefaultToPlacableTile(532, 0) this.maxStack = 99 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 DefaultToPlacableTile(533, 0) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4377 then DefaultToPlacableTile(534, 0) this.rare = 1 return elseif type == 4378 then DefaultToPlacableTile(536, 0) this.rare = 1 return elseif type == 4379 then DefaultTokite(771) return elseif type == 4380 then DefaultToPlacableTile(538, 0) this.maxStack = 99 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 = 20 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 DefaultToPlacableTile(539, 0) this.rare = 1 return elseif type == 4390 then DefaultToPlacableTile(484, 0) return elseif type == 4391 then DefaultToPlacableTile(162, 0) return elseif type == 4392 then DefaultToPlacableTile(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 DefaultToPlacableTile(542, 0) this.maxStack = 99 return elseif type == 4397 then DefaultToPlacableTile(105, 76) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4398 then DefaultToPlacableTile(543, 0) this.maxStack = 99 this.width = 20 this.height = 20 this.value = Item.sellPrice(0, 0, 20, 0) return elseif type == 4399 then DefaultToPlacableTile(544, 0) this.value = Item.sellPrice(0, 10, 0, 0) this.rare = 3 this.maxStack = 99 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 = 999 return elseif type == 4401 then SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 7, 50)) this.maxStack = 999 this.width = 26 this.height = 26 return elseif type == 4402 then SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 50, 0)) this.maxStack = 999 this.width = 26 this.height = 26 return elseif type == 4404 then DefaultToAccessory(20, 12) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 1, 0, 0)) this.canBePlacedInVanityRegardlessOfConditions = true return elseif type == 4405 or type == 4406 or type == 4407 or type == 4408 then DefaultToPlacableTile(376, 18 + type - 4405) SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 0, 0)) this.maxStack = 99 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 = 99 this.width = 32 this.height = 22 return elseif type == 4412 then SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 1, 0, 0)) this.maxStack = 999 this.width = 22 this.height = 22 return elseif type == 4413 then SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 5, 0, 0)) this.maxStack = 999 this.width = 22 this.height = 22 return elseif type == 4414 then SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 25, 0, 0)) this.maxStack = 999 this.width = 22 this.height = 22 return elseif type == 4415 then DefaultToPlacableTile(10, 44) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 40)) this.maxStack = 99 this.width = 14 this.height = 28 return elseif type == 4416 then DefaultToPlacableTile(19, 43) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4417 then DefaultToPlacableTile(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 DefaultToPlacableTile(545, 0) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 5, 0, 0)) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4421 then DefaultToMusicBox(50) return elseif type == 4422 then DefaultToPlacableTile(546, 0) return elseif type == 4423 then this.useStyle = 1 this.shootSpeed = 5 this.shoot = 773 this.width = 20 this.height = 20 this.maxStack = 99 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 DefaultToPlacableWall(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 DefaultToPlacableTile(547, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4431 then DefaultToPlacableTile(547, 1) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4432 then DefaultToPlacableTile(547, 2) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4433 then DefaultToPlacableTile(547, 3) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4434 then DefaultToPlacableTile(547, 4) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4435 then DefaultToPlacableTile(548, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4436 then DefaultToPlacableTile(548, 1) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4437 then DefaultToPlacableTile(548, 2) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4438 then DefaultToPlacableTile(548, 3) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4439 then DefaultToPlacableTile(548, 4) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4440 then DefaultToPlacableTile(548, 5) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4441 then DefaultToPlacableTile(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 = 999 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 = 999 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 = 999 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 = 999 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 = 999 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 = 999 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 = 999 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 = 999 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 DefaultToPlacableTile(550, 0) this.maxStack = 99 return elseif type == 4462 then DefaultToPlacableTile(551, 0) this.maxStack = 99 return elseif type == 4463 then this.autoReuse = false this.useStyle = 13 this.useAnimation = 21 this.useTime = 7 this.reuseDelay = 14 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 = 0.5 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 DefaultToPlacableTile(105, 79) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 60)) this.maxStack = 99 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 DefaultToPlacableTile(553, 0) this.maxStack = 99 return elseif type == 4474 then DefaultToPlacableTile(554, 0) this.maxStack = 99 return elseif type == 4475 then DefaultToPlacableTile(555, 0) this.maxStack = 99 return elseif type == 4476 then DefaultToPlacableTile(556, 0) this.maxStack = 99 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 = 30 this.consumable = true this.width = 14 this.height = 24 this.buffType = 257 this.buffTime = 10800 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 = 30 this.consumable = true this.width = 14 this.height = 24 this.buffType = 257 this.buffTime = 18000 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 = 30 this.consumable = true this.width = 14 this.height = 24 this.buffType = 257 this.buffTime = 36000 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 DefaultToPlacableTile(558, 0) this.maxStack = 99 return elseif type == 4482 then DefaultToCapturedCritter(627) this.value = Item.sellPrice(0, 10, 0, 0) this.rare = 3 return elseif type == 4483 then DefaultToPlacableTile(559, 0) this.value = Item.sellPrice(0, 10, 0, 0) this.rare = 3 this.maxStack = 99 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 = 99 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 DefaultToPlacableWall((246 + type - 4486)) return elseif type == 4504 or type == 4505 then DefaultToPlacableWall((264 + type - 4504)) this.value = 250 return elseif type == 4506 or type == 4507 then DefaultToPlacableWall((266 + type - 4506)) return elseif type == 4508 then DefaultToPlacableWall((268 + type - 4508)) this.value = 250 return elseif type == 4509 or type == 4510 or type == 4511 then DefaultToPlacableWall((269 + type - 4509)) return elseif type == 4512 then DefaultToPlacableWall(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 DefaultToPlacableWall((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 = 99 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 DefaultToPlacableTile(563, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 20)) return elseif type == 4548 then DefaultToPlacableWall(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 DefaultToPlacableTile(565, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 4, 0, 0)) return elseif type == 4553 then DefaultToPlacableTile(564, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) return elseif type == 4554 then DefaultToPlacableTile(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.canBePlacedInVanityRegardlessOfConditions = true return elseif type == 4564 then DefaultToPlacableTile(562, 0) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 1, 0)) return elseif type == 4565 then DefaultToPlacableWall(312) return elseif type == 4566 then DefaultToPlacableTile(90, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4567 then DefaultToPlacableTile(79, 39) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = 99 this.width = 28 this.height = 20 return elseif type == 4568 then DefaultToPlacableTile(101, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4569 then DefaultToPlacableTile(88, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4570 then DefaultToPlacableTile(100, 39) SetShopValues(ItemRarityColor.White0, 1500) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4571 then DefaultToPlacableTile(33, 38) SetShopValues(ItemRarityColor.White0, 0) this.maxStack = 99 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) this.noWet = true return elseif type == 4572 then DefaultToPlacableTile(15, 44) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 30 return elseif type == 4573 then DefaultToPlacableTile(34, 45) SetShopValues(ItemRarityColor.White0, 2000) this.maxStack = 99 this.width = 26 this.height = 26 return elseif type == 4574 then DefaultToPlacableTile(467, 11) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4575 then DefaultToPlacableTile(104, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4576 then DefaultToPlacableTile(10, 45) SetShopValues(ItemRarityColor.White0, 200) this.maxStack = 99 this.width = 14 this.height = 28 return elseif type == 4577 then DefaultToPlacableTile(93, 39) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 10 this.height = 24 return elseif type == 4578 then DefaultToPlacableTile(42, 45) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 12 this.height = 28 return elseif type == 4579 then DefaultToPlacableTile(87, 39) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4580 then DefaultToPlacableTile(19, 44) SetShopValues(ItemRarityColor.White0, 0) this.width = 8 this.height = 10 return elseif type == 4581 then DefaultToPlacableTile(172, 40) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4582 then DefaultToPlacableTile(89, 42) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4583 then DefaultToPlacableTile(469, 8) SetShopValues(ItemRarityColor.White0, 300) this.maxStack = 99 this.width = 26 this.height = 20 return elseif type == 4584 then DefaultToPlacableTile(18, 40) SetShopValues(ItemRarityColor.White0, 150) this.maxStack = 99 this.width = 28 this.height = 14 return elseif type == 4585 then DefaultToPlacableTile(468, 11) SetShopValues(ItemRarityColor.White0, 500) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4586 then DefaultToPlacableTile(497, 38) this.maxStack = 99 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 DefaultToPlacableTile(560, type - 4599) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 1, 0, 0)) this.maxStack = 99 return elseif type == 4602 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 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 return elseif type == 4608 then this.useStyle = 1 this.shootSpeed = 7 this.shoot = 820 this.width = 18 this.height = 20 this.maxStack = 999 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 DefaultToPlacableTile(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 = 99 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 = 99 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 = 99 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 DefaultToPlacableTile(67, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4641 then DefaultToPlacableTile(66, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4642 then DefaultToPlacableTile(63, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4643 then DefaultToPlacableTile(65, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4644 then DefaultToPlacableTile(64, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4645 then DefaultToPlacableTile(68, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4646 then DefaultToPlacableTile(566, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 1, 0)) return elseif type == 4647 then DefaultToPlacableWall(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 DefaultToPlacableTile(568, 0) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4656 then DefaultToPlacableTile(569, 0) this.maxStack = 99 this.width = 20 this.height = 20 return elseif type == 4657 then DefaultToPlacableTile(570, 0) this.maxStack = 99 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 = 99 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 = 99 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 = 99 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 = 99 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 = 99 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 DefaultToPlacableWall(315) return elseif type == 4668 then this.paint = 31 this.width = 24 this.height = 24 this.value = Item.buyPrice(0, 0, 2, 0) this.maxStack = 999 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, 0.5, 4, 30) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 15, 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, 30) SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 4, 60, 0)) return elseif type == 4679 then DefaultToWhip(848, 180, 11, 4, 45) SetShopValues(ItemRarityColor.Yellow8, Item.sellPrice(0, 6, 0, 0)) this.crit = 10 return elseif type == 4680 then DefaultToWhip(849, 100, 3, 4, 30) 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 = 99 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 = 999 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 = 999 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 = 17 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 = 999 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 DefaultToPlacableTile(467, 12) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 25, 0)) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4713 then DefaultToPlacableTile(468, 12) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 5, 0)) this.maxStack = 99 this.width = 26 this.height = 22 return elseif type == 4714 then this.width = 14 this.height = 20 this.maxStack = 99 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.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 DefaultToPlacableTile(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 = 99 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 = 99 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 = 99 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 = 99 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 = 99 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 = 99 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 = 99 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 DefaultToPlacableTile(497, 39) this.maxStack = 99 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, 2, 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 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.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 = 99 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.canBePlacedInVanityRegardlessOfConditions = 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 = 14 this.knockBack = 7 this.width = 14 this.height = 28 this.UseSound = SoundID.Item1 this.useAnimation = 15 this.useTime = 15 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 = 999 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 = 999 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 = 99 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(56, 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(108, 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(78, 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.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 = 99 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 = 20 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 = 999 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 = 999 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 DefaultToPlacableTile(580, 0) this.maxStack = 99 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 DefaultToPlacableTile(581, 0) this.maxStack = 99 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 DefaultToPlacableTile(582, 0) this.maxStack = 99 return elseif type == 4851 then DefaultToPlacableTile(590, 0) this.value = Item.sellPrice(0, 0, 7, 50) return elseif type == 4852 then DefaultToPlacableTile(590, 1) this.value = Item.sellPrice(0, 0, 3, 75) return elseif type == 4853 then DefaultToPlacableTile(590, 2) this.value = Item.sellPrice(0, 0, 11, 25) return elseif type == 4854 then DefaultToPlacableTile(590, 3) this.value = Item.sellPrice(0, 0, 15, 0) return elseif type == 4855 then DefaultToPlacableTile(590, 4) this.value = Item.sellPrice(0, 0, 22, 50) return elseif type == 4856 then DefaultToPlacableTile(590, 5) this.value = Item.sellPrice(0, 0, 30, 0) return elseif type == 4857 then DefaultToPlacableTile(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 DefaultToPlacableTile(591, type - 4858) this.value = Item.sellPrice(0, 0, 25, 0) return elseif type == 4867 then DefaultToPlacableTile(592, 0) this.value = Item.sellPrice(0, 0, 25, 0) return elseif type == 4868 or type == 4869 then DefaultToPlacableTile(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 = 30 this.consumable = true this.width = 14 this.height = 24 this.value = 1000 this.rare = 1 return elseif type == 4871 then DefaultToPlacableTile(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, 12, 0, 0)) this.canBePlacedInVanityRegardlessOfConditions = true return elseif type == 4875 then DefaultToPlacableTile(597, 1) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4876 then DefaultToPlacableTile(597, 0) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4877 or type == 4878 then DefaultToPlacableTile(376, 22 + type - 4877) SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 0, 0)) this.maxStack = 99 return elseif type == 4879 then this.width = 12 this.height = 12 this.rare = 2 this.maxStack = 99 this.value = Item.buyPrice(0, 2, 0, 0) return elseif type == 4880 then DefaultToPlacableTile(598, 0) this.maxStack = 99 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 DefaultToPlacableTile(599 + (type - 4882), 0) this.maxStack = 99 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 DefaultToPlacableTile(548, 7) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4903 then DefaultToPlacableTile(548, 8) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4904 then DefaultToPlacableTile(613, 0) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4905 then DefaultToPlacableTile(613, 1) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4906 then DefaultToPlacableTile(614, 0) SetShopValues(ItemRarityColor.Orange3, Item.buyPrice(0, 3, 0, 0)) return elseif type == 4907 then DefaultToPlacableTile(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 = 99 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 = 20 SetShopValues(ItemRarityColor.Green2, Item.buyPrice(0, 5, 0, 0)) return elseif type == 4911 then DefaultToWhip(912, 50, 1.5, 4, 30) SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 4, 0, 0)) return elseif type == 4912 then DefaultToWhip(913, 40, 2, 4, 30) SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 3, 0, 0)) return elseif type == 4913 then DefaultToWhip(914, 18, 1, 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 = 999 this.consumable = true this.ammo = AmmoID.Bullet this.knockBack = 4 this.value = 18 this.ranged = true return elseif type == 4916 then DefaultToPlacableTile(597, 2) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4917 then DefaultToPlacableTile(597, 3) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4918 then DefaultToPlacableTile(597, 4) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4919 then DefaultToPlacableTile(597, 5) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4920 then DefaultToPlacableTile(597, 6) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4921 then DefaultToPlacableTile(597, 7) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 10, 0, 0)) return elseif type == 4922 then DefaultToPlacableTile(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 DefaultToPlacableTile(617, type - 4924) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)) this.rare = -13 this.maxStack = 99 return elseif type == 4951 then DefaultToPlacableTile(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 = SoundID.Item169 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 = 999 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 = 99 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 DefaultToPlacableTile(618, 0) return elseif type == 4963 then DefaultToPlacableTile(619, 0) this.maxStack = 99 return elseif type == 4964 then DefaultToPlacableTile(620, 0) this.maxStack = 99 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 = 99 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 = 99 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 = 20 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 DefaultToPlacableTile(89, 43) SetShopValues(ItemRarityColor.Blue1, Item.sellPrice(0, 0, 50, 0)) this.maxStack = 99 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.canBePlacedInVanityRegardlessOfConditions = 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 DefaultToPlacableTile(376, 24 + type - 5002) SetShopValues(ItemRarityColor.Green2, Item.sellPrice(0, 1, 0, 0)) this.maxStack = 99 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 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 DefaultToPlacableTile(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, 5, 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 = 99 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 DefaultToPlacableTile(444, 0) SetShopValues(ItemRarityColor.White0, Item.sellPrice(0, 0, 0, 50)) return elseif type == 5067 then DefaultToPlacableTile(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 return elseif type == 5070 then this.width = 16 this.height = 16 this.maxStack = 99 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, 29, 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.canBePlacedInVanityRegardlessOfConditions = 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.canBePlacedInVanityRegardlessOfConditions = 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 DefaultToPlacableTile(623, 0) SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)) return elseif type == 5082 then DefaultToPlacableTile(623, 1) SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)) return elseif type == 5083 then DefaultToPlacableTile(623, 2) SetShopValues(ItemRarityColor.Pink5, Item.buyPrice(0, 10, 0, 0)) return elseif type == 5084 then DefaultToPlacableTile(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 = 99 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 = 99 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 = 99 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.useTurn = true this.autoReuse = true this.useAnimation = 17 this.useTime = 17 this.width = 24 this.height = 28 this.damage = 26 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 = 31 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 = 99 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 DefaultToPlacableTile(617, 27) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)) this.rare = -13 this.maxStack = 99 return elseif type == 5111 then this.maxStack = 999 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.canBePlacedInVanityRegardlessOfConditions = 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 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 = 20 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 = 99 this.consumable = true this.createTile = 242 this.width = 30 this.height = 30 this.placeStyle = 46 + (type - 5121) 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 >= 5125 then this.type = 0 end 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 -- // 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 == 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, 15, 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 = 99 end if this.createTile == 19 then this.maxStack = 999 end this.netID = this.type -- this.material = ItemID.Sets.IsAMaterial[this.type] // use

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

---

local function export(var) local t = mw.dumpObject(var) t = string.gsub(t, "table#1 ", "") t = string.gsub(t, "metatable = table#2", "") t = string.gsub(t, " +", "") t = string.gsub(t, "\n+", "\n") return t end

---

local p = { getInfo = function(itemid) SetDefaults(itemid) return this end, setDefaults5 = function(itemid) --for invokation from other datagen modules this = {} ResetStats(itemid) SetDefaults5(itemid) return this end, }

return p