Module:Iteminfo/datagen4

-- to gen data slice.

-- 1.4.3.3

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 = { ["DD2_BallistaTowerShot"] = "dd2_ballista_tower_shot_0, dd2_ballista_tower_shot_1, dd2_ballista_tower_shot_2", ["DD2_ExplosiveTrapExplode"] = "dd2_explosive_trap_explode_0, dd2_explosive_trap_explode_1, dd2_explosive_trap_explode_2", ["DD2_FlameburstTowerShot"] = "dd2_flameburst_tower_shot_0, dd2_flameburst_tower_shot_1, dd2_flameburst_tower_shot_2", ["DD2_LightningAuraZap"] = "dd2_lightning_aura_zap_0, dd2_lightning_aura_zap_1, dd2_lightning_aura_zap_2, dd2_lightning_aura_zap_3", ["DD2_DefenseTowerSpawn"] = "dd2_defense_tower_spawn", ["DD2_BetsysWrathShot"] = "dd2_betsy_fireball_shot_0, dd2_betsy_fireball_shot_1, dd2_betsy_fireball_shot_2", ["DD2_BetsysWrathImpact"] = "dd2_betsy_fireball_impact_0, dd2_betsy_fireball_impact_1, dd2_betsy_fireball_impact_2", ["DD2_BookStaffCast"] = "dd2_book_staff_cast_0, dd2_book_staff_cast_1, dd2_book_staff_cast_2", ["DD2_BookStaffTwisterLoop"] = "dd2_book_staff_twister_loop", ["DD2_GhastlyGlaiveImpactGhost"] = "dd2_ghastly_glaive_impact_ghost_0, dd2_ghastly_glaive_impact_ghost_1, dd2_ghastly_glaive_impact_ghost_2", ["DD2_GhastlyGlaivePierce"] = "dd2_ghastly_glaive_pierce_0, dd2_ghastly_glaive_pierce_1, dd2_ghastly_glaive_pierce_2", ["DD2_MonkStaffGroundImpact"] = "dd2_monk_staff_ground_impact_0, dd2_monk_staff_ground_impact_1, dd2_monk_staff_ground_impact_2", ["DD2_MonkStaffGroundMiss"] = "dd2_monk_staff_ground_miss_0, dd2_monk_staff_ground_miss_1, dd2_monk_staff_ground_miss_2", ["DD2_MonkStaffSwing"] = "dd2_monk_staff_swing_0, dd2_monk_staff_swing_1, dd2_monk_staff_swing_2, dd2_monk_staff_swing_3", ["DD2_PhantomPhoenixShot"] = "dd2_phantom_phoenix_shot_0, dd2_phantom_phoenix_shot_1, dd2_phantom_phoenix_shot_2", ["DD2_SonicBoomBladeSlash"] = "dd2_sonic_boom_blade_slash_0, dd2_sonic_boom_blade_slash_1, dd2_sonic_boom_blade_slash_2", ["DD2_SkyDragonsFuryCircle"] = "dd2_sky_dragons_fury_circle_0, dd2_sky_dragons_fury_circle_1, dd2_sky_dragons_fury_circle_2", ["DD2_SkyDragonsFuryShot"] = "dd2_sky_dragons_fury_shot_0, dd2_sky_dragons_fury_shot_1, dd2_sky_dragons_fury_shot_2", ["DD2_SkyDragonsFurySwing"] = "dd2_sky_dragons_fury_swing_0, dd2_sky_dragons_fury_swing_1, dd2_sky_dragons_fury_swing_2, dd2_sky_dragons_fury_swing_3" } 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 DefaultToAccessory(newwidth, newheight) newwidth = newwidth or 24 newheight = newheight or 24 this.width = newwidth this.height = newheight this.accessory = true 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 DefaultToFood(newwidth, newheight, foodbuff, foodbuffduration, useGulpSound, animationTime) useGulpSound = useGulpSound or false animationTime = animationTime or 17 if not useGulpSound then this.UseSound = SoundID.Item2 else this.UseSound = SoundID.Item3 end if not useGulpSound then this.useStyle = 2 else this.useStyle = 9 end this.useTurn = true local num = animationTime local num1 = num this.useTime = num this.useAnimation = num1 this.maxStack = 30 this.consumable = true this.width = newwidth this.height = newheight this.buffType = foodbuff this.buffTime = foodbuffduration this.rare = 1 this.value = Item.buyPrice(0, 0, 20, 0) end

local function DefaultToHealingPotion(newwidth, newheight, healingAmount, animationTime) animationTime = animationTime or 17 this.UseSound = SoundID.Item3 this.useStyle = 9 this.useTurn = true local num = animationTime local num1 = num this.useTime = num this.useAnimation = num1 this.maxStack = 30 this.consumable = true this.width = newwidth this.height = newheight this.rare = 1 this.value = Item.buyPrice(0, 0, 20, 0) this.potion = true this.healLife = healingAmount end

local function SetDefaults4(type) local num if type == 3001 then this.rare = 1 this.UseSound = SoundID.Item3 this.healLife = 80 this.healMana = 400 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.potion = true this.value = Item.buyPrice(0, 0, 5, 0) return end if type == 3061 then this.width = 30 this.height = 30 this.accessory = true this.rare = 5 this.value = Item.buyPrice(0, 20, 0, 0) this.backSlot = 8 return end if type == 3002 then this.alpha = 0 -- this.color = new_Color(255, 255, 255, 0) this.rare = 1 this.useStyle = 1 this.shootSpeed = 6 this.shoot = 473 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.value = Item.buyPrice(0, 0, 1, 50) this.holdStyle = 1 return end if type == 3003 then this.shootSpeed = 3.5 this.shoot = 474 this.damage = 8 this.width = 10 this.height = 28 this.maxStack = 999 this.consumable = true this.ammo = AmmoID.Arrow this.knockBack = 2.5 this.value = Item.buyPrice(0, 0, 0, 15) this.ranged = true return end if type == 3004 then this.flame = true this.noWet = true this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.holdStyle = 1 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 4 this.placeStyle = 13 this.width = 10 this.height = 12 this.value = Item.buyPrice(0, 0, 1, 0) return end if type == 3005 then this.useStyle = 1 this.shootSpeed = 10 this.shoot = 475 this.damage = 0 this.width = 18 this.height = 20 this.maxStack = 999 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 20 this.useTime = 20 this.noUseGraphic = true this.noMelee = true return end if type == 3006 then this.mana = 10 this.autoReuse = true this.damage = 35 this.useStyle = 5 this.shootSpeed = 10 this.shoot = 476 this.width = 26 this.height = 28 this.useAnimation = 12 this.useTime = 12 this.rare = 5 this.noMelee = true this.knockBack = 2.5 this.value = Item.sellPrice(0, 8, 0, 0) this.magic = true return end if type == 3007 then this.autoReuse = true this.useStyle = 5 this.useAnimation = 22 this.useTime = 22 this.width = 38 this.height = 6 this.shoot = 10 this.useAmmo = AmmoID.Dart this.UseSound = SoundID.Item98 this.damage = 28 this.shootSpeed = 13 this.noMelee = true this.value = Item.sellPrice(0, 8, 0, 0) this.knockBack = 3.5 this.useAmmo = AmmoID.Dart this.ranged = true this.rare = 5 this.scale = 0.9 return end if type == 3008 then this.autoReuse = true this.useStyle = 5 this.useAnimation = 38 this.useTime = 38 this.width = 38 this.height = 6 this.shoot = 10 this.useAmmo = AmmoID.Dart this.UseSound = SoundID.Item99 this.damage = 52 this.shootSpeed = 14.5 this.noMelee = true this.value = Item.sellPrice(0, 8, 0, 0) this.knockBack = 5.5 this.useAmmo = AmmoID.Dart this.ranged = true this.rare = 5 this.scale = 1 return end if type == 3009 then this.shoot = 477 this.width = 8 this.height = 8 this.maxStack = 999 this.ammo = AmmoID.Dart this.damage = 14 this.knockBack = 3.5 this.shootSpeed = 1 this.ranged = true this.rare = 3 this.value = Item.sellPrice(0, 0, 0, 6) this.consumable = true return end if type == 3010 then this.shoot = 478 this.width = 8 this.height = 8 this.maxStack = 999 this.ammo = AmmoID.Dart this.damage = 10 this.knockBack = 2.2 this.shootSpeed = 3 this.ranged = true this.rare = 3 this.value = Item.sellPrice(0, 0, 0, 6) this.consumable = true return end if type == 3011 then this.shoot = 479 this.width = 8 this.height = 8 this.maxStack = 999 this.ammo = AmmoID.Dart this.damage = 12 this.knockBack = 2.5 this.shootSpeed = 3 this.ranged = true this.rare = 3 this.value = Item.sellPrice(0, 0, 0, 6) this.consumable = true return end if type == 3012 then this.autoReuse = true this.useStyle = 1 this.useTurn = true this.useAnimation = 14 this.useTime = 14 this.knockBack = 3.25 this.width = 30 this.height = 10 this.damage = 59 this.shoot = 481 this.shootSpeed = 14 this.UseSound = SoundID.Item1 this.rare = 5 this.value = Item.sellPrice(0, 8, 0, 0) this.melee = true this.noUseGraphic = true this.noMelee = true return end if type == 3013 then this.useStyle = 1 this.useTurn = true this.autoReuse = true this.useAnimation = 8 this.useTime = 8 this.width = 24 this.height = 28 this.damage = 60 this.knockBack = 6 this.UseSound = SoundID.Item1 this.scale = 1.35 this.melee = true this.rare = 5 this.value = Item.sellPrice(0, 8, 0, 0) this.melee = true return end if type == 3014 then this.mana = 40 this.autoReuse = true this.damage = 43 this.useStyle = 1 this.shootSpeed = 15 this.shoot = 482 this.width = 26 this.height = 28 this.UseSound = SoundID.Item100 this.useAnimation = 24 this.useTime = 24 this.rare = 5 this.noMelee = true this.knockBack = 8 this.value = Item.sellPrice(0, 8, 0, 0) this.magic = true return end if type == 3024 then this.width = 20 this.height = 20 this.maxStack = 99 this.rare = 9 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3599 then this.width = 20 this.height = 20 this.maxStack = 99 this.rare = 9 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3015 then this.width = 24 this.height = 24 this.accessory = true this.value = Item.sellPrice(0, 8, 0, 0) this.rare = 6 return end if type == 3016 then this.width = 24 this.height = 24 this.accessory = true this.defense = 8 this.value = Item.sellPrice(0, 8, 0, 0) this.rare = 5 return end if type == 3017 then this.width = 16 this.height = 24 this.accessory = true this.rare = 7 this.value = Item.sellPrice(0, 6, 0, 0) this.shoeSlot = 16 return end if type == 3018 then this.useStyle = 1 this.autoReuse = true this.useAnimation = 23 this.useTime = 23 this.width = 50 this.height = 20 this.shoot = 483 this.UseSound = SoundID.Item1 this.damage = 50 this.shootSpeed = 12 this.value = Item.sellPrice(0, 10, 0, 0) this.knockBack = 6 this.rare = 5 this.melee = true return end if type == 3019 then this.autoReuse = true this.useStyle = 5 this.useAnimation = 13 this.useTime = 13 this.width = 18 this.height = 46 this.shoot = 485 this.useAmmo = AmmoID.Arrow this.UseSound = SoundID.Item5 this.damage = 22 this.knockBack = 5.5 this.shootSpeed = 6 this.noMelee = true this.value = this.hellPrice this.rare = 3 this.ranged = true return end if type 3023 then if type == 3025 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3026 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3027 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3190 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3038 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3597 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3600 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3598 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3029 then this.useStyle = 5 this.autoReuse = true this.useAnimation = 19 this.useTime = 19 this.width = 28 this.height = 60 this.shoot = 1 this.useAmmo = AmmoID.Arrow this.UseSound = SoundID.Item5 this.damage = 38 this.shootSpeed = 12.5 this.noMelee = true this.value = Item.sellPrice(0, 8, 0, 0) this.ranged = true this.rare = 6 this.knockBack = 2.25 return end if type == 3030 then this.channel = true this.damage = 40 this.useStyle = 1 this.shootSpeed = 17 this.shoot = 491 this.width = 26 this.height = 28 this.UseSound = SoundID.Item1 this.useAnimation = 15 this.useTime = 15 this.rare = 6 this.noMelee = true this.knockBack = 4.5 this.value = Item.sellPrice(0, 8, 0, 0) this.melee = true this.noUseGraphic = true return end if type == 3031 or type == 3032 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 end if type == 3036 then this.width = 24 this.height = 28 this.rare = 3 this.value = Item.sellPrice(0, 3, 0, 0) this.accessory = true return end if type == 3037 then this.width = 24 this.height = 28 this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) this.accessory = true return end if type == 3033 then this.width = 16 this.height = 24 this.accessory = true this.rare = 5 this.value = 50000 return end if type == 3034 then this.width = 16 this.height = 24 this.accessory = true this.rare = 5 this.value = 100000 return end if type == 3035 then this.width = 16 this.height = 24 this.accessory = true this.rare = 6 this.value = 150000 return end if type == 3039 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3040 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3028 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3041 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3042 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3043 then this.damage = 0 this.useStyle = 1 this.shoot = 492 this.width = 16 this.height = 30 this.UseSound = SoundID.Item25 this.useAnimation = 20 this.useTime = 20 this.rare = 3 this.noMelee = true this.value = Item.buyPrice(0, 10, 0, 0) this.buffType = 152 return end if type == 3044 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true this.createTile = 139 this.placeStyle = 32 this.width = 24 this.height = 24 this.rare = 4 this.value = 100000 this.accessory = true this.canBePlacedInVanityRegardlessOfConditions = true return end if type == 3045 then this.flame = true this.noWet = true this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.holdStyle = 1 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 4 this.placeStyle = 14 this.width = 10 this.height = 12 this.value = 250 this.rare = 1 return end if type >= 3046 and type <= 3050 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 = 1 + type - 3046 this.width = 12 this.height = 12 return end if type == 3051 then this.mana = 13 this.damage = 25 this.useStyle = 5 this.shootSpeed = 32 this.shoot = 494 this.width = 26 this.height = 28 this.useAnimation = 33 this.useTime = 33 this.rare = 5 this.noMelee = true this.knockBack = 3 this.value = Item.sellPrice(0, 8, 0, 0) this.magic = true this.autoReuse = true return end if type == 3052 then this.autoReuse = true this.useStyle = 5 this.useAnimation = 20 this.useTime = 20 this.width = 14 this.height = 32 this.shoot = 495 this.useAmmo = AmmoID.Arrow this.UseSound = SoundID.Item102 this.damage = 47 this.shootSpeed = 11 this.knockBack = 4.5 this.rare = 5 this.crit = 3 this.noMelee = true this.value = Item.sellPrice(0, 2, 0, 0) this.ranged = true return end if type == 3053 then this.autoReuse = true this.rare = 5 this.mana = 6 this.UseSound = SoundID.Item103 this.useStyle = 5 this.damage = 40 this.useAnimation = 21 this.useTime = 7 this.width = 24 this.height = 28 this.shoot = 496 this.shootSpeed = 9 this.knockBack = 3.75 this.magic = true this.value = Item.sellPrice(0, 2, 0, 0) this.noMelee = true this.noUseGraphic = true this.crit = 3 return end if type == 3054 then this.crit = 3 this.autoReuse = true this.useStyle = 1 this.shootSpeed = 13 this.shoot = 497 this.damage = 38 this.width = 18 this.height = 20 this.UseSound = SoundID.Item1 this.useAnimation = 12 this.useTime = 12 this.noUseGraphic = true this.noMelee = true this.value = Item.sellPrice(0, 2, 0, 0) this.knockBack = 5.75 this.melee = true this.rare = 5 return end if type >= 3055 and type <= 3059 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 = 31 + type - 3055 return end if type == 3060 then this.damage = 0 this.useStyle = 1 this.shoot = 499 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, 7, 50, 0) this.buffType = 154 return end if type == 3062 then this.channel = true this.damage = 0 this.useStyle = 4 this.shoot = 500 this.width = 24 this.height = 24 this.UseSound = SoundID.Item8 this.useAnimation = 20 this.useTime = 20 this.rare = 1 this.noMelee = true this.value = this.shadowOrbPrice this.buffType = 155 return end if type == 3063 then this.rare = 10 this.UseSound = SoundID.Item1 this.useStyle = 1 this.damage = 200 this.useAnimation = 16 this.useTime = 16 this.width = 30 this.height = 30 this.shoot = 502 this.scale = 1.1 this.shootSpeed = 12 this.knockBack = 6.5 this.melee = true this.value = Item.sellPrice(0, 20, 0, 0) this.autoReuse = true return end if type == 3064 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 356 this.width = 18 this.height = 34 this.value = Item.sellPrice(0, 3, 0, 0) this.rare = 7 return end if type == 3065 then this.rare = 9 this.UseSound = SoundID.Item105 this.useStyle = 1 this.damage = 110 this.useAnimation = 16 this.useTime = 16 this.width = 30 this.height = 30 this.shoot = 503 this.scale = 1.1 this.shootSpeed = 8 this.knockBack = 6.5 this.melee = true this.value = Item.sellPrice(0, 20, 0, 0) this.autoReuse = true return end if type == 3066 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 357 this.width = 12 this.height = 12 return end if type == 3067 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 177 this.width = 12 this.height = 12 return end if type == 3068 then this.width = 16 this.height = 24 this.accessory = true this.rare = 1 this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3069 then this.mana = 2 this.damage = 14 this.useStyle = 1 this.shootSpeed = 7 this.shoot = 954 this.width = 26 this.height = 28 this.UseSound = SoundID.Item8 this.useAnimation = 26 this.useTime = 26 this.rare = 1 this.noMelee = true this.value = 5000 this.magic = true this.crit = 10 return end if type >= 3070 and type <= 3076 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 358 + type - 3070 this.width = 12 this.height = 12 this.value = Item.sellPrice(0, 10, 0, 0) this.rare = 3 return end if type == 3077 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 8 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 365 this.width = 12 this.height = 12 this.value = 10 this.tileBoost = this.tileBoost + 3 return end if type == 3078 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 8 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 366 this.width = 12 this.height = 12 this.value = 10 this.tileBoost = this.tileBoost + 3 return end if type == 3081 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 367 this.width = 12 this.height = 12 return end if type == 3082 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 183 this.width = 12 this.height = 12 return end if type == 3083 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 179 this.width = 12 this.height = 12 return end if type == 3084 then this.width = 24 this.height = 18 this.accessory = true this.rare = 1 this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3085 then this.width = 12 this.height = 12 this.rare = 2 this.maxStack = 99 this.value = Item.buyPrice(0, 2, 0, 0) return end if type == 3086 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 368 this.width = 12 this.height = 12 return end if type == 3080 then this.useStyle = 1 this.shootSpeed = 10 this.shoot = 506 this.damage = 0 this.width = 18 this.height = 20 this.maxStack = 999 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 20 this.useTime = 20 this.noUseGraphic = true this.noMelee = true this.value = 100 return end if type == 3079 then this.useStyle = 1 this.shootSpeed = 10 this.shoot = 505 this.damage = 0 this.width = 18 this.height = 20 this.maxStack = 999 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 20 this.useTime = 20 this.noUseGraphic = true this.noMelee = true this.value = 100 return end if type == 3087 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 369 this.width = 12 this.height = 12 return end if type == 3088 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 184 this.width = 12 this.height = 12 return end if type == 3089 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 181 this.width = 12 this.height = 12 return end if type == 3090 then this.width = 16 this.height = 24 this.accessory = true this.rare = 2 this.value = 100000 this.expert = true return end if type == 3091 or type == 3092 then this.width = 14 this.height = 20 this.maxStack = 99 this.useAnimation = 20 this.useTime = 20 return end if type == 3093 then this.width = 12 this.height = 12 this.rare = 1 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 10, 0) return end if type == 3094 then this.useStyle = 1 this.shootSpeed = 11.5 this.shoot = 507 this.damage = 17 this.width = 30 this.height = 30 this.maxStack = 999 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 24 this.useTime = 24 this.noUseGraphic = true this.noMelee = true this.knockBack = 4.75 this.value = Item.sellPrice(0, 0, 0, 5) this.ranged = true return end if type == 3095 then this.width = 24 this.height = 18 this.accessory = true this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3097 then this.melee = true this.damage = 30 this.width = 24 this.height = 28 this.rare = 1 this.value = Item.sellPrice(0, 2, 0, 0) this.accessory = true this.defense = 2 this.shieldSlot = 5 this.knockBack = 9 this.expert = true return end if type == 3098 then this.useStyle = 5 this.useAnimation = 25 this.useTime = 8 this.shootSpeed = 48 this.knockBack = 8 this.width = 54 this.height = 20 this.damage = 120 this.axe = 30 this.UseSound = SoundID.Item23 this.shoot = 509 this.rare = 8 this.value = this.eclipsePostPlanteraPrice this.noMelee = true this.noUseGraphic = true this.melee = true this.channel = true return end if type == 3099 then this.width = 24 this.height = 18 this.accessory = true this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3100 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 370 this.width = 12 this.height = 12 return end if type == 3101 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 182 this.width = 12 this.height = 12 return end if type == 3102 then this.width = 24 this.height = 18 this.accessory = true this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3103 then this.shootSpeed = 3 this.shoot = 1 this.damage = 5 this.width = 26 this.height = 26 this.ammo = AmmoID.Arrow this.knockBack = 2 this.value = Item.sellPrice(0, 1, 0, 0) this.ranged = true this.rare = 2 return end if type == 3104 then this.shootSpeed = 4 this.shoot = 14 this.damage = 7 this.width = 26 this.height = 26 this.ammo = AmmoID.Bullet this.knockBack = 2 this.value = Item.sellPrice(0, 1, 0, 0) this.ranged = true this.rare = 2 return end if type == 3105 then this.magic = true this.mana = 30 this.useStyle = 1 this.shootSpeed = 9 this.rare = 8 this.damage = 46 this.shoot = 510 this.width = 18 this.height = 20 this.knockBack = 4 this.UseSound = SoundID.Item106 this.useAnimation = 28 this.useTime = 28 this.noUseGraphic = true this.noMelee = true this.value = this.eclipsePostPlanteraPrice return end if type == 3106 then this.autoReuse = true this.useStyle = 1 this.useAnimation = 8 this.useTime = 8 this.knockBack = 3.5 this.width = 30 this.height = 30 this.damage = 85 this.scale = 1.1 this.UseSound = SoundID.Item1 this.rare = 8 this.value = this.eclipsePostPlanteraPrice this.melee = true return end if type == 3107 then this.useStyle = 5 this.autoReuse = true this.useAnimation = 15 this.useTime = 15 this.width = 50 this.height = 18 this.shoot = 514 this.useAmmo = AmmoID.NailFriendly this.UseSound = SoundID.Item108 this.damage = 85 this.shootSpeed = 10 this.noMelee = true this.value = this.eclipsePostPlanteraPrice this.rare = 8 this.ranged = true return end if type == 3108 then this.shootSpeed = 6 this.shoot = 514 this.damage = 30 this.width = 8 this.height = 8 this.maxStack = 999 this.consumable = true this.ammo = AmmoID.NailFriendly this.knockBack = 3 this.value = Item.buyPrice(0, 0, 1, 0) this.ranged = true this.rare = 8 return end if type == 3109 then this.width = 22 this.height = 22 this.defense = 4 this.headSlot = 179 this.rare = 2 this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3110 then this.width = 16 this.height = 24 this.accessory = true this.rare = 8 this.value = 700000 this.canBePlacedInVanityRegardlessOfConditions = true return end if type == 3111 then this.width = 10 this.height = 12 this.maxStack = 999 this.alpha = 100 this.value = 15 return end if type == 3112 then --this.color = new_Color(255, 255, 255, 0) this.useStyle = 1 this.shootSpeed = 6 this.shoot = 515 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.value = 10 this.holdStyle = 1 return end if type == 3113 then this.createTile = 371 this.width = 12 this.height = 12 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true return end if type == 3114 then this.flame = true this.noWet = true this.holdStyle = 1 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 4 this.placeStyle = 15 this.width = 10 this.height = 12 this.value = 80 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 return end if type == 3115 then this.useStyle = 1 this.shootSpeed = 5 this.shoot = 516 this.width = 20 this.height = 20 this.maxStack = 99 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 25 this.useTime = 25 this.noUseGraphic = true this.noMelee = true this.value = Item.buyPrice(0, 0, 4, 0) this.damage = 0 return end if type == 3116 then this.useStyle = 5 this.shootSpeed = 6.5 this.shoot = 517 this.width = 20 this.height = 20 this.maxStack = 99 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 40 this.useTime = 40 this.noUseGraphic = true this.noMelee = true this.value = 100 this.damage = 65 this.knockBack = 8 this.ranged = true return end if type == 3117 then this.flame = true this.noWet = true this.createTile = 372 this.width = 8 this.height = 18 this.holdStyle = 1 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.value = Item.sellPrice(0, 0, 1, 0) this.consumable = true return end if type >= 3203 and type <= 3208 then this.width = 12 this.height = 12 this.rare = 2 this.maxStack = 99 this.createTile = 376 this.placeStyle = 3 + type - 3203 this.useAnimation = 15 this.useTime = 15 this.autoReuse = true this.useStyle = 1 this.consumable = true this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3209 then this.mana = 9 this.UseSound = SoundID.Item109 this.useStyle = 5 this.damage = 40 this.useAnimation = 29 this.useTime = 29 this.width = 36 this.height = 40 this.shoot = 521 this.shootSpeed = 13 this.knockBack = 4.4 this.magic = true this.autoReuse = true this.value = Item.sellPrice(0, 4, 0, 0) this.rare = 5 this.noMelee = true return end if type == 3210 then this.UseSound = SoundID.Item111 this.useStyle = 5 this.damage = 43 this.useAnimation = 10 this.useTime = 10 this.width = 30 this.height = 28 this.shoot = 523 this.shootSpeed = 8.5 this.knockBack = 3 this.ranged = true this.autoReuse = true this.value = Item.sellPrice(0, 4, 0, 0) this.rare = 5 this.noMelee = true return end if type == 3211 then this.useStyle = 1 this.useAnimation = 28 this.useTime = 28 this.knockBack = 5.75 this.width = 40 this.height = 40 this.damage = 55 this.scale = 1.125 this.UseSound = SoundID.Item1 this.rare = 5 this.autoReuse = true this.value = Item.sellPrice(0, 4, 0, 0) this.melee = true return end if type == 3212 then this.width = 22 this.height = 22 this.accessory = true this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) this.neckSlot = 7 return end if type == 3213 then this.useStyle = 1 this.shootSpeed = 4 this.shoot = 525 this.width = 26 this.height = 24 this.UseSound = SoundID.Item59 this.useAnimation = 28 this.useTime = 28 this.rare = 3 this.value = Item.sellPrice(0, 2, 0, 0) return end if type == 3119 then this.width = 24 this.height = 18 this.accessory = true this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3118 then this.width = 24 this.height = 18 this.accessory = true this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3096 then this.width = 24 this.height = 18 this.accessory = true this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3120 then this.width = 24 this.height = 28 this.rare = 1 this.value = Item.sellPrice(0, 1, 0, 0) this.accessory = true return end if type == 3121 then this.width = 24 this.height = 28 this.rare = 3 this.value = Item.sellPrice(0, 3, 0, 0) this.accessory = true return end if type == 3122 then this.width = 24 this.height = 28 this.rare = 3 this.value = Item.sellPrice(0, 3, 0, 0) this.accessory = true return end if type == 3123 then this.width = 24 this.height = 28 this.rare = 5 this.value = Item.sellPrice(0, 5, 0, 0) this.accessory = true return end if type == 3124 then this.width = 24 this.height = 28 this.rare = 7 this.value = Item.sellPrice(0, 8, 0, 0) this.useTurn = true this.useStyle = 4 this.useTime = 90 this.UseSound = SoundID.Item6 this.useAnimation = 90 return end if type == 3159 or type == 3160 or type == 3161 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 90 if type == 3159 then this.placeStyle = 28 elseif type == 3160 then this.placeStyle = 30 elseif type == 3161 then this.placeStyle = 29 end this.width = 20 this.height = 20 this.value = 300 return end if type == 3162 or type == 3163 or type == 3164 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 99 this.consumable = true this.autoReuse = true this.createTile = 79 this.width = 28 this.height = 20 this.value = 2000 if type == 3162 then this.placeStyle = 28 return end if type == 3163 then this.placeStyle = 30 return end if type == 3164 then this.placeStyle = 29 return end elseif type == 3165 or type == 3166 or type == 3167 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 101 this.width = 20 this.height = 20 this.value = 300 if type == 3165 then this.placeStyle = 29 return end if type == 3166 then this.placeStyle = 31 return end if type == 3167 then this.placeStyle = 30 return end elseif type == 3168 or type == 3169 or type == 3170 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 100 this.width = 20 this.height = 20 this.value = 1500 if type == 3168 then this.placeStyle = 28 return end if type == 3169 then this.placeStyle = 30 return end if type == 3170 then this.placeStyle = 29 return end elseif type == 3171 or type == 3172 or type == 3173 then 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 = 33 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) if type == 3171 then this.placeStyle = 27 return end if type == 3172 then this.placeStyle = 29 return end if type == 3173 then this.placeStyle = 28 return end elseif type == 3174 or type == 3175 or type == 3176 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 15 this.width = 12 this.height = 30 this.value = 150 if type == 3174 then this.placeStyle = 33 return end if type == 3175 then this.placeStyle = 35 return end if type == 3176 then this.placeStyle = 34 return end elseif type == 3177 or type == 3178 or type == 3179 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 34 this.width = 26 this.height = 26 this.value = 3000 if type == 3177 then this.placeStyle = 34 return end if type == 3178 then this.placeStyle = 36 return end if type == 3179 then this.placeStyle = 35 return end elseif type == 3180 or type == 3181 or type == 3125 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 21 this.width = 26 this.height = 22 this.value = 500 if type == 3180 then this.placeStyle = 49 return end if type == 3181 then this.placeStyle = 51 return end if type == 3125 then this.placeStyle = 50 return end elseif type == 3126 or type == 3127 or type == 3128 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 104 this.width = 20 this.height = 20 this.value = 300 if type == 3126 then this.placeStyle = 25 return end if type == 3127 then this.placeStyle = 27 return end if type == 3128 then this.placeStyle = 26 return end elseif type == 3129 or type == 3130 or type == 3131 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 99 this.consumable = true this.createTile = 10 this.width = 14 this.height = 28 this.value = 200 if type == 3129 then this.placeStyle = 33 return end if type == 3130 then this.placeStyle = 35 return end if type == 3131 then this.placeStyle = 34 return end elseif type == 3132 or type == 3133 or type == 3134 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 88 this.width = 20 this.height = 20 this.value = 300 if type == 3132 then this.placeStyle = 25 return end if type == 3133 then this.placeStyle = 27 return end if type == 3134 then this.placeStyle = 26 return end elseif type == 3135 or type == 3136 or type == 3137 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 93 this.width = 10 this.height = 24 this.value = 500 if type == 3135 then this.placeStyle = 28 return end if type == 3136 then this.placeStyle = 30 return end if type == 3137 then this.placeStyle = 29 return end else if type == 3138 or type == 3139 or type == 3140 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 42 this.width = 12 this.height = 28 if type == 3138 then this.placeStyle = 34 elseif type == 3139 then this.placeStyle = 36 elseif type == 3140 then this.placeStyle = 35 end this.value = 150 return end if type == 3141 or type == 3142 or type == 3143 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 87 this.width = 20 this.height = 20 this.value = 300 if type == 3141 then this.placeStyle = 27 return end if type == 3142 then this.placeStyle = 29 return end if type == 3143 then this.placeStyle = 28 return end elseif type == 3144 or type == 3145 or type == 3146 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 19 this.width = 8 this.height = 10 if type == 3144 then this.placeStyle = 27 return end if type == 3145 then this.placeStyle = 29 return end if type == 3146 then this.placeStyle = 28 return end elseif type == 3147 or type == 3148 or type == 3149 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 172 this.width = 20 this.height = 20 this.value = 300 if type == 3147 then this.placeStyle = 29 return end if type == 3148 then this.placeStyle = 31 return end if type == 3149 then this.placeStyle = 30 return end elseif type == 3150 or type == 3151 or type == 3152 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 89 this.width = 20 this.height = 20 this.value = 300 if type == 3150 then this.placeStyle = 30 return end if type == 3151 then this.placeStyle = 32 return end if type == 3152 then this.placeStyle = 31 return end elseif type == 3153 or type == 3154 or type == 3155 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 14 this.width = 26 this.height = 20 this.value = 300 if type == 3153 then this.placeStyle = 32 return end if type == 3154 then this.placeStyle = 34 return end if type == 3155 then this.placeStyle = 33 return end elseif type == 3156 or type == 3157 or type == 3158 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 18 this.width = 28 this.height = 14 this.value = 150 if type == 3156 then this.placeStyle = 28 return end if type == 3157 then this.placeStyle = 30 return end if type == 3158 then this.placeStyle = 29 return end else if type == 3182 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 373 this.width = 24 this.height = 24 this.value = Item.sellPrice(0, 0, 0, 40) return end if type == 3183 then this.useTurn = true this.useStyle = 1 this.useAnimation = 18 this.width = 24 this.height = 28 this.UseSound = SoundID.Item1 this.value = Item.sellPrice(0, 5, 0, 0) this.autoReuse = true this.rare = 4 this.scale = 1.15 return end if type == 3184 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 374 this.width = 24 this.height = 24 this.value = Item.sellPrice(0, 0, 0, 40) return end if type == 3185 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 375 this.width = 24 this.height = 24 this.value = Item.sellPrice(0, 0, 0, 40) return end if type == 3186 then this.maxStack = 999 this.width = 24 this.height = 24 this.value = Item.buyPrice(0, 0, 1, 0) return end if type == 3187 then this.width = 18 this.height = 18 this.defense = 5 this.headSlot = 180 this.value = 17500 return end if type == 3188 then this.width = 18 this.height = 18 this.defense = 6 this.bodySlot = 182 this.value = 14000 return end if type == 3189 then this.width = 18 this.height = 18 this.defense = 5 this.legSlot = 122 this.value = 10500 return end if type >= 3191 and type <= 3194 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.makeNPC = (484 + type - 3191) this.noUseGraphic = true if type == 3192 then this.bait = 15 return end if type == 3193 then this.bait = 25 return end if type == 3194 then this.bait = 40 return end this.bait = 35 return end if type == 3196 then this.useStyle = 1 this.shootSpeed = 6 this.shoot = 519 this.width = 26 this.height = 26 this.maxStack = 99 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 25 this.useTime = 25 this.noUseGraphic = true this.noMelee = true this.value = Item.sellPrice(0, 0, 2, 0) this.damage = 0 this.rare = 1 return end if type == 3197 then this.rare = 1 this.useStyle = 1 this.shootSpeed = 12.5 this.shoot = 520 this.damage = 17 this.width = 28 this.height = 28 this.maxStack = 999 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 13 this.useTime = 13 this.noUseGraphic = true this.noMelee = true this.value = 80 this.knockBack = 3.5 this.ranged = true return end if type == 3198 then this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 377 this.width = 28 this.height = 22 this.value = 100000 return end if type == 3199 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 end if type == 3200 then this.width = 28 this.height = 24 this.accessory = true this.rare = 1 this.value = 50000 this.shoeSlot = 17 return end if type == 3201 then this.width = 16 this.height = 24 this.accessory = true this.rare = 1 this.value = 50000 this.waistSlot = 11 return end if type == 3202 then this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 378 this.width = 20 this.height = 30 this.value = Item.sellPrice(0, 0, 1, 0) return end if type == 3214 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 379 this.width = 12 this.height = 12 this.value = Item.buyPrice(0, 0, 2, 0) return end if type >= 3215 and type <= 3222 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 380 this.placeStyle = type - 3215 this.width = 24 this.height = 20 this.value = Item.buyPrice(0, 0, 1, 0) return end if type == 3223 then this.width = 22 this.height = 22 this.accessory = true this.rare = 1 this.value = 100000 this.expert = true return end if type == 3224 then this.width = 22 this.height = 22 this.accessory = true this.rare = 1 this.value = 100000 this.neckSlot = 8 this.expert = true return end if type == 3225 then this.width = 14 this.height = 28 this.rare = 1 this.value = Item.sellPrice(0, 2, 50, 0) this.accessory = true this.balloonSlot = 11 return end if type == 3226 then this.width = 28 this.height = 20 this.headSlot = 181 this.rare = 9 this.vanity = true this.value = Item.sellPrice(0, 5, 0, 0) return end if type == 3227 then this.width = 18 this.height = 14 this.bodySlot = 183 this.rare = 9 this.vanity = true this.value = Item.sellPrice(0, 5, 0, 0) return end if type == 3228 then this.width = 24 this.height = 8 this.accessory = true this.rare = 9 this.wingSlot = 28 this.value = 400000 return end if type >= 3229 and type <= 3233 then this.useTurn = true this.useStyle = 1 this.useAnimation = 15 this.useTime = 10 this.maxStack = 99 this.consumable = true this.createTile = 85 this.placeStyle = 6 + type - 3229 this.width = 20 this.height = 20 return end if type == 3234 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 385 this.width = 12 this.height = 12 return end if type >= 3235 and type <= 3237 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true this.createTile = 139 this.placeStyle = 33 + type - 3235 this.width = 24 this.height = 24 this.rare = 4 this.value = 100000 this.accessory = true this.canBePlacedInVanityRegardlessOfConditions = true return end if type == 3238 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 186 this.width = 12 this.height = 12 return end if type == 3239 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 387 this.width = 20 this.height = 12 return end if type == 3240 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 388 this.width = 18 this.height = 26 return end if type == 3241 then this.width = 14 this.height = 28 this.rare = 1 this.value = Item.sellPrice(0, 3, 0, 0) this.accessory = true this.balloonSlot = 12 return end if type == 3242 then this.width = 18 this.height = 18 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true this.headSlot = 182 return end if type == 3243 then this.width = 18 this.height = 18 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true this.bodySlot = 184 return end if type == 3244 then this.width = 18 this.height = 18 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true this.legSlot = 124 return end if type == 3245 then this.width = 16 this.height = 16 this.value = Item.sellPrice(0, 2, 0, 0) this.rare = 2 this.handOnSlot = 22 this.handOffSlot = 14 this.accessory = true this.expert = true return end if type == 3246 then this.width = 18 this.height = 18 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true this.bodySlot = 185 return end if type == 3247 then this.width = 18 this.height = 18 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true this.legSlot = 125 return end if type == 3248 then this.width = 18 this.height = 18 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true this.headSlot = 183 return end if type == 3249 then this.mana = 10 this.damage = 50 this.useStyle = 1 this.shootSpeed = 10 this.shoot = 533 this.buffType = 161 this.width = 26 this.height = 28 this.UseSound = SoundID.Item113 this.useAnimation = 36 this.useTime = 36 this.rare = 8 this.noMelee = true this.knockBack = 2 this.value = this.eclipsePostPlanteraPrice this.summon = true return end if type == 3250 or type == 3251 or type == 3252 then this.width = 20 this.height = 22 this.rare = 4 this.value = Item.buyPrice(0, 15, 0, 0) this.accessory = true this.balloonSlot = (13 + type - 3250) return end if type == 3253 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 390 this.width = 12 this.height = 30 this.value = Item.buyPrice(0, 2, 0, 0) this.rare = 1 this.glowMask = 129 return end if type >= 3254 and type <= 3257 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 391 + type - 3254 this.width = 12 this.height = 12 return end if type == 3258 then this.useStyle = 1 this.useAnimation = 21 this.useTime = 21 this.autoReuse = true this.knockBack = 20 this.width = 36 this.height = 36 this.damage = 35 this.scale = 1.1 this.UseSound = SoundID.Item1 this.rare = 4 this.value = Item.buyPrice(0, 25, 0, 0) this.melee = true this.crit = 15 return end if type == 3260 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 = 10 this.value = Item.sellPrice(0, 5, 0, 0) return end if type == 3259 then this.width = 20 this.height = 26 this.maxStack = 99 this.rare = 3 this.value = Item.buyPrice(0, 30, 0, 0) this.UseSound = SoundID.Item3 this.useStyle = 9 this.useTurn = true this.useAnimation = 17 this.useTime = 17 this.consumable = true return end if type == 3261 then this.width = 20 this.height = 20 this.maxStack = 999 this.rare = 7 this.value = Item.sellPrice(0, 1, 0, 0) this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true this.createTile = 239 this.placeStyle = 21 return end if type == 3262 or type >= 3278 and type <= 3292 or type >= 3315 and type <= 3317 then this.useStyle = 5 this.width = 24 this.height = 24 this.noUseGraphic = true this.UseSound = SoundID.Item1 this.melee = true this.channel = true this.noMelee = true this.shoot = 541 + type - 3278 this.useAnimation = 25 this.useTime = 25 this.shootSpeed = 16 if type == 3278 then this.knockBack = 2.5 this.damage = 9 this.value = Item.sellPrice(0, 0, 1, 0) this.rare = 0 return end if type == 3285 then this.knockBack = 3.5 this.damage = 14 this.value = Item.sellPrice(0, 0, 50, 0) this.rare = 1 return end if type == 3279 then this.knockBack = 4.5 this.damage = 16 this.value = Item.sellPrice(0, 1, 0, 0) this.rare = 1 return end if type == 3280 then this.knockBack = 4 this.damage = 17 this.value = Item.sellPrice(0, 1, 0, 0) this.rare = 1 return end if type == 3281 then this.knockBack = 3.75 this.damage = 18 this.value = Item.sellPrice(0, 1, 30, 0) this.rare = 3 return end if type == 3317 then this.knockBack = 3.85 this.damage = 22 this.value = this.dungeonPrice this.rare = 3 this.shoot = 564 return end if type == 3282 then this.knockBack = 4.3 this.damage = 27 this.value = Item.sellPrice(0, 1, 80, 0) this.rare = 3 return end if type == 3262 then this.knockBack = 3.25 this.damage = 21 this.value = Item.buyPrice(0, 5, 0, 0) this.rare = 2 this.shoot = 534 return end if type == 3315 then this.knockBack = 3.25 this.damage = 39 this.value = Item.sellPrice(0, 4, 0, 0) this.rare = 3 this.shoot = 562 return end if type == 3316 then this.knockBack = 3.8 this.damage = 49 this.value = Item.sellPrice(0, 4, 0, 0) this.rare = 3 this.shoot = 563 return end if type == 3283 then this.knockBack = 3.3 this.damage = 39 this.value = Item.sellPrice(0, 4, 0, 0) this.rare = 4 return end if type == 3289 then this.knockBack = 2.8 this.damage = 43 this.value = Item.sellPrice(0, 4, 0, 0) this.rare = 4 return end if type == 3290 then this.knockBack = 4.5 this.damage = 41 this.value = Item.sellPrice(0, 4, 0, 0) this.rare = 4 return end if type == 3284 then this.knockBack = 3.8 this.damage = 54 this.value = Item.buyPrice(0, 25, 0, 0) this.rare = 5 return end if type == 3286 then this.knockBack = 3.1 this.damage = 60 this.value = Item.sellPrice(0, 5, 0, 0) this.rare = 7 return end if type == 3291 then this.knockBack = 4.3 this.damage = 95 this.value = Item.sellPrice(0, 11, 0, 0) this.rare = 8 this.crit = this.crit + 10 return end if type == 3288 or type == 3287 then this.knockBack = 4.5 this.damage = 70 this.rare = 9 this.value = Item.sellPrice(0, 4, 0, 0) return end if type == 3292 then this.knockBack = 3.5 this.damage = 115 this.value = this.eclipseMothronPrice this.rare = 8 return end this.knockBack = 4 this.damage = 15 this.rare = 2 this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3389 then this.useStyle = 5 this.width = 24 this.height = 24 this.noUseGraphic = true this.UseSound = SoundID.Item1 this.melee = true this.channel = true this.noMelee = true this.shoot = 603 this.useAnimation = 25 this.useTime = 25 this.shootSpeed = 16 this.damage = 190 this.knockBack = 6.5 this.value = Item.sellPrice(0, 10, 0, 0) this.crit = 10 this.rare = 10 return end if type >= 3293 and type <= 3308 then this.width = 24 this.height = 24 this.rare = 1 this.value = Item.sellPrice(0, 0, 3, 0) this.accessory = true if type == 3307 then this.stringColor = 27 elseif type == 3306 then this.stringColor = 14 elseif type == 3308 then this.stringColor = 13 elseif type ~=3305 then this.stringColor = 1 + type - 3293 else this.stringColor = 28 end this.canBePlacedInVanityRegardlessOfConditions = true return end if type >= 3309 and type <= 3314 then this.width = 24 this.height = 24 this.rare = 2 this.value = Item.buyPrice(0, 5, 0, 0) this.accessory = true return end if type == 3263 then this.width = 18 this.height = 18 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true this.headSlot = 184 return end if type == 3264 then this.width = 18 this.height = 18 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true this.bodySlot = 186 return end if type == 3265 then this.width = 18 this.height = 18 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true this.legSlot = 126 return end if type == 3266 then this.width = 18 this.height = 18 this.value = 4500 this.headSlot = 185 this.defense = 4 this.rare = 1 return end if type == 3267 then this.width = 18 this.height = 18 this.value = 4500 this.bodySlot = 187 this.defense = 6 this.rare = 1 return end if type == 3268 then this.width = 18 this.height = 18 this.value = 4500 this.legSlot = 127 this.defense = 5 this.rare = 1 return end if type == 3269 then this.useStyle = 4 this.useAnimation = 20 this.useTime = 20 this.autoReuse = true this.reuseDelay = 10 this.shootSpeed = 1 this.knockBack = 2 this.width = 16 this.height = 16 this.damage = 40 this.UseSound = null this.shoot = 535 this.mana = 15 this.rare = 4 this.value = Item.sellPrice(0, 4, 0, 0) this.noMelee = true this.noUseGraphic = true this.magic = true this.channel = true return end if type == 3270 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 395 this.width = 28 this.height = 28 return end if type == 3272 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 397 this.width = 12 this.height = 12 return end if type == 3271 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 396 this.width = 12 this.height = 12 return end if type == 3273 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 275 this.width = 12 this.height = 12 return end if type == 3344 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 308 this.width = 12 this.height = 12 return end if type == 3345 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 309 this.width = 12 this.height = 12 return end if type == 3346 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 310 this.width = 12 this.height = 12 return end if type == 3340 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 304 this.width = 12 this.height = 12 return end if type == 3341 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 305 this.width = 12 this.height = 12 return end if type == 3342 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 306 this.width = 12 this.height = 12 return end if type == 3343 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 307 this.width = 12 this.height = 12 return end if type == 3277 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 401 this.width = 12 this.height = 12 return end if type == 3276 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 400 this.width = 12 this.height = 12 return end if type == 3275 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 399 this.width = 12 this.height = 12 return end if type == 3274 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 398 this.width = 12 this.height = 12 return end if type == 3339 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 403 this.width = 12 this.height = 12 return end if type == 3338 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 402 this.width = 12 this.height = 12 return end if type == 3347 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 404 this.width = 12 this.height = 12 return end if type == 3348 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 311 this.width = 12 this.height = 12 return end if type >= 3318 and type <= 3332 then this.maxStack = 999 this.consumable = true this.width = 24 this.height = 24 this.rare = 1 if type == 3320 then this.rare = 2 end if type == 3321 then this.rare = 2 end if type == 3322 then this.rare = 3 end if type == 3323 then this.rare = 3 end if type == 3324 then this.rare = 4 end if type == 3325 then this.rare = 5 end if type == 3326 then this.rare = 5 end if type == 3327 then this.rare = 5 end if type == 3328 then this.rare = 6 end if type == 3329 then this.rare = 7 end if type == 3330 then this.rare = 7 end if type == 3331 then this.rare = 8 end if type == 3332 then this.rare = 8 end this.expert = true return end if type == 3333 then this.width = 22 this.height = 22 this.accessory = true this.rare = 3 this.value = Item.sellPrice(0, 2, 0, 0) this.backSlot = 9 this.expert = true return end if type == 3334 then this.width = 22 this.height = 22 this.accessory = true this.rare = 4 this.value = Item.buyPrice(0, 50, 0, 0) this.handOffSlot = 11 this.handOnSlot = 18 return end if type == 3335 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) this.expert = true return end if type == 3336 then this.width = 22 this.height = 22 this.accessory = true this.rare = 8 this.value = Item.sellPrice(0, 4, 0, 0) this.expert = true return end if type == 3337 then this.width = 22 this.height = 22 this.accessory = true this.rare = 8 this.value = Item.sellPrice(0, 5, 0, 0) this.expert = true return end if type == 3353 then this.width = 36 this.height = 26 this.mountType = 11 this.rare = 6 this.value = Item.sellPrice(0, 3, 0, 0) this.expert = true return end if type == 3355 or type == 3354 or type == 3356 then this.width = 20 this.height = 20 this.maxStack = 99 this.rare = 5 this.value = Item.sellPrice(0, 0, 50, 0) this.expert = true return end if type == 3357 or type == 3358 or type == 3359 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.placeStyle = 56 + type - 3357 this.rare = 1 return end if type == 3360 then this.tileWand = 620 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.createTile = 383 this.width = 8 this.height = 10 this.rare = 1 this.value = Item.sellPrice(0, 0, 25, 0) return end if type == 3361 then this.tileWand = 620 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.createTile = 384 this.width = 8 this.height = 10 this.rare = 1 this.value = Item.sellPrice(0, 0, 25, 0) return end if type == 3362 then this.width = 28 this.height = 20 this.bodySlot = 188 this.rare = 1 this.vanity = true this.value = Item.buyPrice(0, 25, 0, 0) return end if type == 3363 then this.width = 28 this.height = 20 this.legSlot = 128 this.rare = 1 this.vanity = true this.value = Item.buyPrice(0, 25, 0, 0) return end if type == 3364 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 405 this.width = 28 this.height = 28 this.rare = 1 return end if type == 3365 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 406 this.width = 28 this.height = 28 this.rare = 1 return end if type == 3366 then this.width = 24 this.height = 24 this.rare = 4 this.value = Item.buyPrice(0, 50, 0, 0) this.accessory = true return end if type == 3367 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 = 12 this.value = Item.sellPrice(0, 5, 0, 0) this.expert = true return end if type == 3368 then this.width = 14 this.height = 38 this.useAnimation = 25 this.useTime = 15 this.useStyle = 5 this.rare = 9 this.noUseGraphic = true this.channel = true this.noMelee = true this.damage = 25 this.knockBack = 4 this.autoReuse = false this.noMelee = true this.melee = true this.shoot = 595 this.shootSpeed = 15 this.value = Item.sellPrice(0, 5, 0, 0) return end if type == 3369 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 209 this.placeStyle = 2 this.width = 12 this.height = 12 this.rare = 3 this.value = Item.buyPrice(0, 25, 0, 0) return end if type == 3370 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true this.createTile = 139 this.placeStyle = 36 this.width = 24 this.height = 24 this.rare = 4 this.value = 100000 this.accessory = true this.canBePlacedInVanityRegardlessOfConditions = true return end if type == 3371 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true this.createTile = 139 this.placeStyle = 37 this.width = 24 this.height = 24 this.rare = 4 this.value = 100000 this.accessory = true this.canBePlacedInVanityRegardlessOfConditions = true return end if type >= 3372 and type <= 3373 then this.width = 28 this.height = 20 this.headSlot = type + 186 - 3372 this.rare = 1 this.value = Item.sellPrice(0, 0, 75, 0) this.vanity = true return end if type == 3374 then this.width = 18 this.height = 18 this.defense = 4 this.headSlot = 188 this.rare = 1 this.value = Item.sellPrice(0, 0, 30, 0) return end if type == 3375 then this.width = 18 this.height = 18 this.defense = 5 this.bodySlot = 189 this.rare = 1 this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3376 then this.width = 18 this.height = 18 this.defense = 4 this.legSlot = 129 this.rare = 1 this.value = Item.sellPrice(0, 0, 40, 0) return end if type == 3377 then this.mana = 7 this.UseSound = SoundID.Item43 this.useStyle = 5 this.damage = 21 this.useAnimation = 28 this.useTime = 28 this.width = 40 this.height = 40 this.shoot = 597 this.shootSpeed = 9 this.knockBack = 4.75 this.magic = true this.autoReuse = true this.value = 20000 this.rare = 1 this.noMelee = true return end if type == 3378 then this.shoot = 598 this.shootSpeed = 10 this.damage = 20 this.knockBack = 5 this.ranged = true this.useStyle = 1 this.UseSound = SoundID.Item1 this.useAnimation = 25 this.useTime = 25 this.width = 30 this.height = 30 this.maxStack = 999 this.consumable = true this.noUseGraphic = true this.noMelee = true this.autoReuse = true this.value = 50 this.rare = 1 return end if type == 3379 then this.autoReuse = true this.useStyle = 1 this.shootSpeed = 10 this.shoot = 599 this.damage = 14 this.width = 18 this.height = 20 this.maxStack = 999 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 14 this.useTime = 14 this.noUseGraphic = true this.noMelee = true this.value = 50 this.knockBack = 1.5 this.ranged = true this.rare = 1 return end if type == 3380 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 407 this.width = 12 this.height = 12 this.rare = 1 return end if type == 3381 then this.width = 18 this.height = 18 this.defense = 10 this.headSlot = 189 this.rare = 10 this.value = Item.sellPrice(0, 7, 0, 0) return end if type == 3382 then this.width = 18 this.height = 18 this.defense = 16 this.bodySlot = 190 this.rare = 10 this.value = Item.sellPrice(0, 7, 0, 0) * 2 return end if type == 3383 then this.width = 18 this.height = 18 this.defense = 12 this.legSlot = 130 this.rare = 10 this.value = math.floor(Item.sellPrice(0, 7, 0, 0) * 1.5) return end if type == 3384 then this.useStyle = 5 this.useAnimation = 20 this.useTime = 20 this.shootSpeed = 24 this.knockBack = 2 this.width = 16 this.height = 16 this.UseSound = null this.shoot = 600 this.rare = 8 this.value = Item.sellPrice(0, 10, 0, 0) this.noMelee = true this.noUseGraphic = true this.channel = true this.autoReuse = true return end if type >= 3385 and type <= 3388 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = 10000 this.rare = -11 this.placeStyle = type - 3385 + 8 this.createTile = 227 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true return end if type >= 3390 and type <= 3452 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 = 207 + type - 3390 this.width = 10 this.height = 24 this.value = 1000 this.rare = 1 return end if type >= 3453 and type <= 3455 then this.width = 12 this.height = 12 if type == 3453 then this.buffType = 179 return end if type == 3454 then this.buffType = 173 return end if type == 3455 then this.buffType = 176 return end return end if type >= 3456 and type <= 3459 then this.width = 18 this.height = 18 this.maxStack = 999 this.value = Item.sellPrice(0, 0, 20, 0) this.rare = 9 return end if type == 3460 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 408 this.width = 12 this.height = 12 this.rare = 10 this.value = Item.sellPrice(0, 1, 20, 0) / 4 return end if type == 3461 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 409 this.width = 12 this.height = 12 return end if type == 3462 then this = require('Module:Iteminfo/datagen3').setDefaults3(2772) --SetDefaults3(2772) type = 3462 this.glowMask = 174 return end if type == 3463 then this = require('Module:Iteminfo/datagen3').setDefaults3(2773) -- SetDefaults3(2773) type = 3463 this.shoot = 610 this.glowMask = 175 return end if type == 3464 then this = require('Module:Iteminfo/datagen3').setDefaults3(2774) -- SetDefaults3(2774) type = 3464 this.shoot = 609 this.glowMask = 176 return end if type == 3465 then this = require('Module:Iteminfo/datagen3').setDefaults3(2775) -- SetDefaults3(2775) type = 3465 this.glowMask = 177 return end if type == 3466 then this = require('Module:Iteminfo/datagen3').setDefaults3(2776) -- SetDefaults3(2776) type = 3466 this.glowMask = 178 return end if type == 3467 then this.width = 20 this.height = 20 this.maxStack = 999 this.rare = 10 this.value = Item.sellPrice(0, 1, 20, 0) this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true this.createTile = 239 this.placeStyle = 22 return end if type >= 3468 and type <= 3471 then this.width = 22 this.height = 20 this.accessory = true this.value = Item.buyPrice(0, 40, 0, 0) this.rare = 10 this.wingSlot = (29 + type - 3468) return end if type == 3472 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 224 this.width = 12 this.height = 12 return end if type == 3473 then this.useStyle = 5 this.useAnimation = 20 this.useTime = 20 this.shootSpeed = 24 this.knockBack = 2 this.width = 16 this.height = 16 this.shoot = 611 this.rare = 10 this.value = Item.sellPrice(0, 10, 0, 0) this.noMelee = true this.noUseGraphic = true this.channel = true this.autoReuse = true this.melee = true this.damage = 105 return end if type == 3474 then this.mana = 10 this.damage = 60 this.useStyle = 1 this.shootSpeed = 10 this.shoot = 613 this.width = 26 this.height = 28 this.UseSound = SoundID.Item44 this.useAnimation = 36 this.useTime = 36 this.rare = 10 this.noMelee = true this.knockBack = 2 this.buffType = 182 this.value = Item.sellPrice(0, 10, 0, 0) this.summon = true return end if type == 3475 then this.useStyle = 5 this.useAnimation = 20 this.useTime = 20 this.shootSpeed = 20 this.knockBack = 2 this.width = 20 this.height = 12 this.damage = 50 this.UseSound = null this.shoot = 615 this.rare = 10 this.value = Item.sellPrice(0, 10, 0, 0) this.noMelee = true this.noUseGraphic = true this.ranged = true this.channel = true this.glowMask = 191 this.useAmmo = AmmoID.Bullet this.autoReuse = true return end if type == 3476 then this.mana = 30 this.damage = 70 this.useStyle = 5 this.shootSpeed = 7 this.shoot = 617 this.width = 26 this.height = 28 this.UseSound = SoundID.Item117 this.useAnimation = 30 this.useTime = 30 this.autoReuse = true this.noMelee = true this.knockBack = 5 this.rare = 10 this.value = Item.sellPrice(0, 10, 0, 0) this.magic = true this.glowMask = 194 this.holdStyle = 1 return end if type == 3477 then this.useStyle = 1 this.shootSpeed = 9 this.rare = 3 this.damage = 20 this.shoot = 621 this.width = 18 this.height = 20 this.maxStack = 999 this.consumable = true this.knockBack = 3 this.UseSound = SoundID.Item1 this.useAnimation = 15 this.useTime = 15 this.noUseGraphic = true this.noMelee = true this.value = 100 return end if type == 3478 then this.width = 18 this.height = 18 this.headSlot = 190 this.value = 5000 this.vanity = true return end if type == 3479 then this.width = 18 this.height = 18 this.bodySlot = 191 this.value = 5000 this.vanity = true return end if type 3525 then if type == 3521 then this = require('Module:Iteminfo/datagen1').setDefaults1(1) -- SetDefaults1(1) this.type = type this.useTime = 17 this.pick = 55 this.useAnimation = 20 this.scale = 1.05 this.damage = 6 this.value = 10000 return end if type == 3520 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) -- SetDefaults1(4) this.type = type this.useAnimation = 20 this.damage = 13 this.scale = 1.05 this.value = 9000 return end if type == 3519 then this = require('Module:Iteminfo/datagen1').setDefaults1(6) -- SetDefaults1(6) this.type = type this.damage = 12 this.useAnimation = 11 this.useTime = 11 this.knockBack = 5 this.shoot = 944 this.scale = 0.95 this.value = 7000 return end if type == 3517 then this = require('Module:Iteminfo/datagen1').setDefaults1(7) -- SetDefaults1(7) this.type = type this.useAnimation = 28 this.useTime = 23 this.scale = 1.25 this.damage = 9 this.hammer = 55 this.value = 8000 return end if type == 3518 then this = require('Module:Iteminfo/datagen1').setDefaults1(10) -- SetDefaults1(10) this.type = type this.useTime = 18 this.axe = 11 this.useAnimation = 26 this.scale = 1.15 this.damage = 7 this.value = 8000 return end if type == 3516 then this = require('Module:Iteminfo/datagen1').setDefaults1(99) -- SetDefaults1(99) this.type = type this.useAnimation = 26 this.useTime = 26 this.damage = 11 this.value = 7000 return end if type == 3515 then this = require('Module:Iteminfo/datagen1').setDefaults1(1) -- SetDefaults1(1) this.type = type this.useTime = 11 this.pick = 45 this.useAnimation = 19 this.scale = 1.05 this.damage = 6 this.value = 5000 return end if type == 3514 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) -- SetDefaults1(4) this.type = type this.useAnimation = 21 this.damage = 11 this.value = 4500 return end if type == 3513 then this = require('Module:Iteminfo/datagen1').setDefaults1(6) -- SetDefaults1(6) this.type = type this.damage = 9 this.useAnimation = 12 this.useTime = 12 this.knockBack = 4 this.shoot = 942 this.scale = 0.95 this.value = 3500 return end if type == 3511 then this = require('Module:Iteminfo/datagen1').setDefaults1(7) -- SetDefaults1(7) this.type = type this.useAnimation = 29 this.useTime = 19 this.scale = 1.25 this.damage = 9 this.hammer = 45 this.value = 4000 return end if type == 3512 then this = require('Module:Iteminfo/datagen1').setDefaults1(10) -- SetDefaults1(10) this.type = type this.useTime = 18 this.axe = 10 this.useAnimation = 26 this.scale = 1.15 this.damage = 6 this.value = 4000 return end if type == 3510 then this = require('Module:Iteminfo/datagen1').setDefaults1(99) -- SetDefaults1(99) this.type = type this.useAnimation = 27 this.useTime = 27 this.damage = 9 this.value = 3500 return end if type == 3509 then this = require('Module:Iteminfo/datagen1').setDefaults1(1) -- SetDefaults1(1) this.type = type this.useTime = 15 this.pick = 35 this.useAnimation = 23 this.damage = 4 this.scale = 0.9 this.tileBoost = -1 this.value = 500 return end if type == 3508 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) -- SetDefaults1(4) this.type = type this.useAnimation = 23 this.damage = 8 this.value = 450 return end if type == 3507 then this = require('Module:Iteminfo/datagen1').setDefaults1(6) -- SetDefaults1(6) this.type = type this.damage = 5 this.useAnimation = 13 this.useTime = 13 this.knockBack = 4 this.shoot = 938 this.scale = 0.8 this.value = 350 return end if type == 3505 then this = require('Module:Iteminfo/datagen1').setDefaults1(7) -- SetDefaults1(7) this.type = type this.useAnimation = 33 this.useTime = 23 this.scale = 1.1 this.damage = 4 this.hammer = 35 this.tileBoost = -1 this.value = 400 return end if type == 3506 then this = require('Module:Iteminfo/datagen1').setDefaults1(10) -- SetDefaults1(10) this.type = type this.useTime = 21 this.axe = 7 this.useAnimation = 30 this.scale = 1 this.damage = 3 this.tileBoost = -1 this.value = 400 return end if type == 3504 then this = require('Module:Iteminfo/datagen1').setDefaults1(99) -- SetDefaults1(99) this.type = type this.useAnimation = 29 this.useTime = 29 this.damage = 6 this.value = 350 return end if type == 3503 then this = require('Module:Iteminfo/datagen1').setDefaults1(1) -- SetDefaults1(1) this.type = type this.useTime = 14 this.pick = 35 this.useAnimation = 21 this.damage = 5 this.scale = 0.95 this.value = 750 return end if type == 3502 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) -- SetDefaults1(4) this.type = type this.useAnimation = 22 this.damage = 9 this.value = 675 return end if type == 3501 then this = require('Module:Iteminfo/datagen1').setDefaults1(6) -- SetDefaults1(6) this.type = type this.damage = 7 this.useAnimation = 12 this.useTime = 12 this.knockBack = 4 this.shoot = 939 this.scale = 0.85 this.value = 525 return end if type == 3499 then this = require('Module:Iteminfo/datagen1').setDefaults1(7) -- SetDefaults1(7) this.type = type this.useAnimation = 31 this.useTime = 21 this.scale = 1.15 this.damage = 6 this.hammer = 38 this.value = 600 return end if type == 3500 then this = require('Module:Iteminfo/datagen1').setDefaults1(10) -- SetDefaults1(10) this.type = type this.useTime = 20 this.axe = 8 this.useAnimation = 28 this.scale = 1.05 this.damage = 4 this.value = 600 return end if type == 3498 then this = require('Module:Iteminfo/datagen1').setDefaults1(99) -- SetDefaults1(99) this.type = type this.useAnimation = 28 this.useTime = 28 this.damage = 7 this.value = 525 return end if type == 3497 then this = require('Module:Iteminfo/datagen1').setDefaults1(1) -- SetDefaults1(1) this.type = type this.useTime = 12 this.pick = 43 this.useAnimation = 19 this.damage = 6 this.scale = 1.025 this.value = 3000 return end if type == 3496 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) -- SetDefaults1(4) this.type = type this.useAnimation = 21 this.damage = 11 this.value = 2700 return end if type == 3495 then this = require('Module:Iteminfo/datagen1').setDefaults1(6) -- SetDefaults1(6) this.type = type this.damage = 9 this.useAnimation = 12 this.useTime = 12 this.knockBack = 4 this.shoot = 941 this.scale = 0.925 this.value = 2100 return end if type == 3493 then this = require('Module:Iteminfo/datagen1').setDefaults1(7) -- SetDefaults1(7) this.type = type this.useAnimation = 29 this.useTime = 19 this.scale = 1.225 this.damage = 8 this.hammer = 43 this.value = 2400 return end if type == 3494 then this = require('Module:Iteminfo/datagen1').setDefaults1(10) -- SetDefaults1(10) this.type = type this.useTime = 19 this.axe = 10 this.useAnimation = 28 this.scale = 1.125 this.damage = 6 this.value = 2400 return end if type == 3492 then this = require('Module:Iteminfo/datagen1').setDefaults1(99) -- SetDefaults1(99) this.type = type this.useAnimation = 27 this.useTime = 27 this.damage = 9 this.value = 2100 return end if type == 3491 then this = require('Module:Iteminfo/datagen1').setDefaults1(1) -- SetDefaults1(1) this.type = type this.useTime = 19 this.pick = 50 this.useAnimation = 21 this.scale = 1.05 this.damage = 6 this.value = 7500 return end if type == 3490 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) -- SetDefaults1(4) this.type = type this.useAnimation = 20 this.damage = 12 this.scale = this.scale + 1.025 this.value = 6750 return end if type == 3489 then this = require('Module:Iteminfo/datagen1').setDefaults1(6) -- SetDefaults1(6) this.type = type this.damage = 10 this.useAnimation = 11 this.useTime = 11 this.knockBack = 4 this.shoot = 943 this.scale = 0.95 this.value = 5250 return end if type == 3487 then this = require('Module:Iteminfo/datagen1').setDefaults1(7) -- SetDefaults1(7) this.type = type this.useAnimation = 28 this.useTime = 25 this.scale = 1.25 this.damage = 9 this.hammer = 50 this.value = 6000 return end if type == 3488 then this = require('Module:Iteminfo/datagen1').setDefaults1(10) -- SetDefaults1(10) this.type = type this.useTime = 18 this.axe = 11 this.useAnimation = 26 this.scale = 1.15 this.damage = 7 this.value = 6000 return end if type == 3486 then this = require('Module:Iteminfo/datagen1').setDefaults1(99) -- SetDefaults1(99) this.type = type this.useAnimation = 26 this.useTime = 26 this.damage = 10 this.value = 5250 return end if type == 3485 then this = require('Module:Iteminfo/datagen1').setDefaults1(1) -- SetDefaults1(1) this.type = type this.useTime = 15 this.pick = 59 this.useAnimation = 19 this.scale = 1.05 this.damage = 7 this.value = 15000 return end if type == 3484 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) -- SetDefaults1(4) this.type = type this.useAnimation = 19 this.damage = 15 this.scale = 1.075 this.value = 13500 return end if type == 3483 then this = require('Module:Iteminfo/datagen1').setDefaults1(6) -- SetDefaults1(6) this.type = type this.damage = 13 this.useAnimation = 10 this.useTime = 10 this.knockBack = 5 this.shoot = 945 this.scale = 0.975 this.value = 10500 return end if type == 3481 then this = require('Module:Iteminfo/datagen1').setDefaults1(7) -- SetDefaults1(7) this.type = type this.useAnimation = 27 this.useTime = 21 this.scale = 1.275 this.damage = 10 this.hammer = 59 this.value = 12000 return end if type == 3482 then this = require('Module:Iteminfo/datagen1').setDefaults1(10) -- SetDefaults1(10) this.type = type this.useTime = 17 this.axe = 12 this.useAnimation = 25 this.scale = 1.175 this.damage = 8 this.value = 12000 return end if type == 3480 then this = require('Module:Iteminfo/datagen1').setDefaults1(99) -- SetDefaults1(99) this.type = type this.useAnimation = 25 this.useTime = 25 this.damage = 13 this.value = 10500 return end if type == 3526 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 2, 50, 0) this.rare = 4 return end if type == 3527 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 2, 50, 0) this.rare = 4 return end if type == 3528 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 2, 50, 0) this.rare = 4 return end if type == 3529 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 2, 50, 0) this.rare = 4 return end if type == 3530 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 2, 50, 0) this.rare = 4 return end if type == 3531 then this.mana = 10 this.damage = 40 this.useStyle = 1 this.shootSpeed = 10 this.shoot = 625 this.width = 26 this.height = 28 this.UseSound = SoundID.Item44 this.useAnimation = 36 this.useTime = 36 this.rare = 10 this.noMelee = true this.knockBack = 2 this.buffType = 188 this.value = Item.sellPrice(0, 10, 0, 0) this.summon = true return end if type == 3540 then this.useStyle = 5 this.useAnimation = 12 this.useTime = 12 this.shootSpeed = 20 this.knockBack = 2 this.width = 20 this.height = 12 this.damage = 50 this.UseSound = SoundID.Item5 this.shoot = 630 this.rare = 10 this.value = Item.sellPrice(0, 10, 0, 0) this.noMelee = true this.noUseGraphic = true this.ranged = true this.channel = true this.glowMask = 200 this.useAmmo = AmmoID.Arrow this.autoReuse = true return end if type == 3541 then this.useStyle = 5 this.useAnimation = 10 this.useTime = 10 this.reuseDelay = 5 this.shootSpeed = 30 this.knockBack = 0 this.width = 16 this.height = 16 this.damage = 100 this.UseSound = null this.shoot = 633 this.mana = 12 this.rare = 10 this.value = Item.sellPrice(0, 10, 0, 0) this.noMelee = true this.noUseGraphic = true this.magic = true this.channel = true return end if type == 3533 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3534 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3535 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3536 then this.width = 22 this.height = 32 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 410 this.placeStyle = 0 this.rare = 9 this.value = Item.buyPrice(1, 0, 0, 0) return end if type == 3537 then this.width = 22 this.height = 32 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 410 this.placeStyle = 1 this.rare = 9 this.value = Item.buyPrice(1, 0, 0, 0) return end if type == 3538 then this.width = 22 this.height = 32 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 410 this.placeStyle = 2 this.rare = 9 this.value = Item.buyPrice(1, 0, 0, 0) return end if type == 3539 then this.width = 22 this.height = 32 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 410 this.placeStyle = 3 this.rare = 9 this.value = Item.buyPrice(1, 0, 0, 0) return end if type == 3542 then this.useStyle = 5 this.useAnimation = 12 this.useTime = 12 this.shootSpeed = 6 this.knockBack = 0 this.width = 16 this.height = 16 this.damage = 130 this.UseSound = SoundID.Item20 this.shoot = 634 this.mana = 12 this.rare = 10 this.value = Item.sellPrice(0, 10, 0, 0) this.noMelee = true this.magic = true this.autoReuse = true this.noUseGraphic = true this.glowMask = 207 return end if type == 3543 then this.shoot = 636 this.shootSpeed = 10 this.damage = 150 this.knockBack = 5 this.melee = true this.useStyle = 1 this.UseSound = SoundID.Item1 this.useAnimation = 16 this.useTime = 16 this.width = 30 this.height = 30 this.noUseGraphic = true this.noMelee = true this.autoReuse = true this.value = Item.sellPrice(0, 10, 0, 0) this.rare = 10 return end if type == 3544 then this.UseSound = SoundID.Item3 this.healLife = 200 this.useStyle = 9 this.useTurn = true this.useAnimation = 17 this.useTime = 17 this.maxStack = 30 this.consumable = true this.potion = true this.width = 14 this.height = 24 this.rare = 7 this.value = Item.sellPrice(0, 0, 30, 0) return end if type == 3545 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 411 this.width = 28 this.height = 28 this.rare = 1 this.mech = true this.value = Item.sellPrice(0, 0, 20, 0) return end if type == 3547 then this.useStyle = 1 this.shootSpeed = 4 this.shoot = 637 this.width = 8 this.height = 28 this.maxStack = 99 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 40 this.useTime = 40 this.noUseGraphic = true this.noMelee = true this.value = Item.buyPrice(0, 0, 20, 0) this.rare = 1 return end if type == 3546 then this.useStyle = 5 this.autoReuse = true this.useAnimation = 30 this.useTime = 30 this.useAmmo = AmmoID.Rocket this.width = 50 this.height = 20 this.shoot = 134 this.UseSound = SoundID.Item156 this.damage = 25 this.shootSpeed = 15 this.noMelee = true this.value = Item.buyPrice(0, 80, 0, 0) this.knockBack = 4 this.rare = 8 this.ranged = true return end if type == 3350 then this.useStyle = 5 this.useAnimation = 24 this.useTime = 9 this.width = 24 this.height = 14 this.shoot = 587 this.UseSound = null this.damage = 12 this.shootSpeed = 10 this.noMelee = true this.value = Item.sellPrice(0, 0, 50, 0) this.knockBack = 1.25 this.scale = 0.85 this.rare = 2 this.ranged = true this.crit = 7 return end if type == 3352 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) -- SetDefaults1(4) this.type = type this.useAnimation = 12 this.useTime = 12 this.damage = 14 local num1 = 32 num = num1 this.height = num1 this.width = num this.knockBack = 5 this.rare = 2 this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3351 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) --SetDefaults1(4) this.type = type this.useAnimation = 15 this.useTime = 15 this.damage = 16 local num2 = 28 num = num2 this.height = num2 this.width = num this.knockBack = 3.5 this.rare = 2 this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3349 then this = require('Module:Iteminfo/datagen1').setDefaults1(4) -- SetDefaults1(4) this.type = type this.useAnimation = 18 this.useTime = 18 this.damage = 20 local num3 = 32 num = num3 this.height = num3 this.width = num this.knockBack = 4.25 this.rare = 2 this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3548 then this.useStyle = 5 this.shootSpeed = 6 this.shoot = 588 this.width = 20 this.height = 20 this.maxStack = 99 this.consumable = true this.UseSound = SoundID.Item1 this.useAnimation = 20 this.useTime = 20 this.noUseGraphic = true this.noMelee = true this.value = Item.sellPrice(0, 0, 0, 50) this.damage = 30 this.knockBack = 6 this.rare = 2 this.ranged = true return end if type == 3549 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 412 this.width = 28 this.height = 28 this.rare = 10 return end if type == 3563 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.makeNPC = 538 return end if type == 3564 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.makeNPC = 539 this.noUseGraphic = true this.value = Item.sellPrice(0, 10, 0, 0) this.rare = 3 return end if type == 3565 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 413 this.width = 12 this.height = 12 return end if type == 3566 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 414 this.width = 12 this.height = 12 this.value = Item.sellPrice(0, 10, 0, 0) this.rare = 3 return end if type == 3550 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = 10000 this.rare = 1 return end if type == 3551 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = 10000 this.rare = 1 return end if type == 3552 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = 10000 this.rare = 1 return end if type == 3553 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3554 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3555 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 75, 0) this.rare = 2 return end if type == 3556 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3557 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = 10000 this.rare = 1 return end if type == 3558 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = 10000 this.rare = 1 return end if type == 3559 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = 10000 this.rare = 1 return end if type == 3560 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = 10000 this.rare = 2 return end if type == 3561 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3562 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3567 then this.shootSpeed = 2 this.shoot = 638 this.damage = 20 this.width = 8 this.height = 8 this.maxStack = 999 this.consumable = true this.ammo = AmmoID.Bullet this.knockBack = 3 this.value = 7 this.ranged = true this.rare = 9 this.value = Item.sellPrice(0, 0, 0, 2) return end if type == 3568 then this.shootSpeed = 3 this.shoot = 639 this.damage = 15 this.width = 10 this.height = 28 this.maxStack = 999 this.consumable = true this.ammo = AmmoID.Arrow this.knockBack = 3.5 this.value = 5 this.ranged = true this.rare = 9 this.value = Item.sellPrice(0, 0, 0, 2) return end if type == 3569 then this.mana = 10 this.damage = 50 this.useStyle = 1 this.shootSpeed = 14 this.shoot = 641 this.width = 18 this.height = 20 this.UseSound = SoundID.Item78 this.useAnimation = 30 this.useTime = 30 this.noMelee = true this.value = Item.sellPrice(0, 10, 0, 0) this.knockBack = 7.5 this.rare = 10 this.summon = true this.sentry = true return end if type == 3571 then this.mana = 10 this.damage = 130 this.useStyle = 1 this.shootSpeed = 14 this.shoot = 643 this.width = 18 this.height = 20 this.UseSound = SoundID.Item78 this.useAnimation = 30 this.useTime = 30 this.noMelee = true this.value = Item.sellPrice(0, 10, 0, 0) this.knockBack = 7.5 this.rare = 10 this.summon = true this.sentry = true return end if type == 3570 then this.autoReuse = true this.mana = 13 this.useStyle = 5 this.damage = 100 this.useAnimation = 10 this.useTime = 10 this.width = 40 this.height = 40 this.shoot = 645 this.shootSpeed = 10 this.knockBack = 4.5 this.value = Item.sellPrice(0, 10, 0, 0) this.magic = true this.rare = 10 this.noMelee = true this.UseSound = SoundID.Item88 return end if type == 3572 then this.noUseGraphic = true this.damage = 0 this.useStyle = 5 this.shootSpeed = 18 this.shoot = 646 this.width = 18 this.height = 28 this.UseSound = SoundID.Item1 this.useAnimation = 20 this.useTime = 20 this.rare = 10 this.noMelee = true this.value = Item.sellPrice(0, 10, 0, 0) return end if type >= 3573 and type <= 3576 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 415 + type - 3573 this.width = 12 this.height = 12 return end if type == 3577 then this.channel = true this.damage = 0 this.useStyle = 4 this.shoot = 650 this.width = 24 this.height = 24 this.UseSound = SoundID.Item8 this.useAnimation = 20 this.useTime = 20 this.rare = 10 this.noMelee = true this.value = Item.sellPrice(0, 10, 0, 0) this.buffType = 190 this.expert = true return end if type == 3578 then this.width = 28 this.height = 20 this.bodySlot = 192 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3579 then this.width = 18 this.height = 14 this.legSlot = 132 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3580 then this.width = 18 this.height = 14 this.wingSlot = 33 this.rare = 9 this.accessory = true this.value = 400000 return end if type == 3581 then this.width = 18 this.height = 14 this.rare = 9 this.vanity = true this.value = Item.sellPrice(0, 5, 0, 0) this.accessory = true this.canBePlacedInVanityRegardlessOfConditions = true return end if type == 3582 then this.width = 24 this.height = 8 this.accessory = true this.rare = 9 this.wingSlot = 34 this.value = 400000 return end if type == 3583 then this.width = 28 this.height = 20 this.headSlot = 191 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3584 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 60 this.width = 12 this.height = 12 return end if type == 3585 then this.width = 28 this.height = 20 this.headSlot = 192 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3586 then this.width = 28 this.height = 20 this.bodySlot = 193 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3587 then this.width = 18 this.height = 14 this.legSlot = 133 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3588 then this.width = 24 this.height = 8 this.accessory = true this.rare = 9 this.wingSlot = 35 this.value = 400000 return end if type == 3589 then this.width = 28 this.height = 20 this.headSlot = 193 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3590 then this.width = 28 this.height = 20 this.bodySlot = 194 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3591 then this.width = 18 this.height = 14 this.legSlot = 134 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3592 then this.width = 24 this.height = 8 this.accessory = true this.rare = 9 this.wingSlot = 36 this.value = 400000 return end if type >= 3593 and type <= 3594 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 = 270 + type - 3593 this.width = 10 this.height = 24 this.value = 1000 this.rare = 1 return end if type == 3595 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.placeStyle = 59 this.rare = 1 return end if type == 3596 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.buyPrice(0, 3, 0, 0) this.placeStyle = 36 return end if type == 3601 then this.useStyle = 4 this.width = 22 this.height = 14 this.consumable = true this.useAnimation = 45 this.useTime = 45 this.maxStack = 20 this.rare = 10 return end if type == 3602 then this.createTile = 419 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.mech = true this.value = Item.buyPrice(0, 0, 10, 0) return end if type >= 3603 and type <= 3608 then this.createTile = 420 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.placeStyle = type - 3603 this.mech = true this.value = Item.buyPrice(0, 2, 0, 0) return end if type == 3609 then this.createTile = 421 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.value = Item.buyPrice(0, 0, 5, 0) return end if type == 3610 then this.createTile = 422 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.value = Item.buyPrice(0, 0, 5, 0) return end if type == 3611 then this.useStyle = 5 this.useAnimation = 10 this.useTime = 10 this.width = 20 this.height = 20 this.shoot = 651 this.channel = true this.shootSpeed = 10 this.value = Item.sellPrice(0, 4, 0, 0) this.rare = 2 this.UseSound = SoundID.Item64 this.mech = true return end if type == 3612 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 5 this.autoReuse = true this.width = 24 this.height = 28 this.rare = 1 this.value = 20000 this.tileBoost = 20 this.mech = true return end if type >= 3613 and type <= 3615 then this.createTile = 423 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.placeStyle = type - 3613 this.mech = true return end if type == 3616 then this.createTile = 424 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.mech = true this.value = Item.buyPrice(0, 0, 2, 0) return end if type == 3617 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 425 this.width = 28 this.height = 28 this.mech = true return end if type == 3618 then this.createTile = 419 this.placeStyle = 1 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.mech = true this.value = Item.buyPrice(0, 0, 10, 0) return end if type == 3619 then this.width = 24 this.height = 28 this.rare = 3 this.value = Item.buyPrice(0, 1, 0, 0) this.accessory = true return end if type == 3620 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 5 this.autoReuse = true this.width = 24 this.height = 28 this.rare = 1 this.value = 20000 this.tileBoost = 20 this.mech = true return end if type == 3621 then this.createTile = 426 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.value = Item.buyPrice(0, 0, 1, 0) return end if type == 3622 then this.createTile = 427 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.value = Item.buyPrice(0, 0, 1, 0) return end if type == 3623 then this.noUseGraphic = true this.damage = 0 this.useStyle = 5 this.shootSpeed = 16 this.shoot = 652 this.width = 18 this.height = 28 this.UseSound = SoundID.Item1 this.useAnimation = 20 this.useTime = 20 this.rare = 10 this.noMelee = true this.value = Item.sellPrice(0, 10, 0, 0) return end if type == 3624 then this.width = 30 this.height = 30 this.accessory = true this.rare = 3 this.value = Item.buyPrice(0, 10, 0, 0) return end if type == 3625 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 5 this.autoReuse = true this.width = 24 this.height = 28 this.rare = 1 this.value = Item.buyPrice(0, 12, 0, 0) this.tileBoost = 20 this.mech = true return end if type == 3626 then this.createTile = 428 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.placeStyle = 3 this.mech = true return end if type == 3627 then this.width = 18 this.height = 18 this.headSlot = 194 this.value = Item.buyPrice(0, 1, 0, 0) this.vanity = true return end if type == 3628 then this.channel = true this.damage = 0 this.useStyle = 4 this.shoot = 653 this.width = 24 this.height = 24 this.UseSound = SoundID.Item8 this.useAnimation = 20 this.useTime = 20 this.rare = 1 this.noMelee = true this.value = Item.buyPrice(5, 0, 0, 0) this.buffType = 191 return end if type == 3629 then this.createTile = 429 this.width = 16 this.height = 16 this.rare = 2 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.mech = true this.value = Item.buyPrice(0, 5, 0, 0) return end if type == 3630 then this.createTile = 428 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.placeStyle = 0 this.mech = true return end if type == 3631 then this.createTile = 428 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.placeStyle = 2 this.mech = true return end if type == 3632 then this.createTile = 428 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.placeStyle = 1 this.mech = true return end if type >= 3633 and type <= 3637 then this.createTile = 430 + (type - 3633) this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.value = Item.buyPrice(0, 0, 1, 0) return end if type >= 3638 and type <= 3642 then this.createTile = 435 + (type - 3638) this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.value = Item.buyPrice(0, 0, 1, 0) return end if type == 3643 then this.width = 20 this.height = 20 this.rare = 1 return end if type >= 3644 and type <= 3650 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 440 this.placeStyle = type - 3644 this.width = 22 this.height = 22 this.value = Item.sellPrice(0, 0, 1, 0) return end if type >= 3651 and type <= 3662 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 105 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 51 + type - 3651 return end if type == 3663 then this.createTile = 419 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.mech = true this.placeStyle = 2 this.value = Item.buyPrice(0, 2, 0, 0) return end if type == 3664 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 209 this.placeStyle = 3 this.width = 12 this.height = 12 this.rare = 3 this.value = Item.buyPrice(0, 10, 0, 0) return end if type >= 3665 and type <= 3706 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 441 this.placeStyle = type - 3665 + ((type > 3666) and 1 or 0) + ((type > 3667) and 1 or 0) * 3 + ((type > 3683) and 1 or 0) * 5 + ((type > 3691) and 1 or 0) + ((type > 3692) and 1 or 0) + ((type > 3693) and 1 or 0) this.width = 26 this.height = 22 this.value = 500 return end if type == 3707 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 442 this.width = 12 this.height = 12 this.placeStyle = 0 this.mech = true this.value = Item.buyPrice(0, 2, 0, 0) this.mech = true return end if type >= 3708 and type <= 3720 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 105 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 63 + type - 3708 return end if type == 3721 then this.width = 26 this.height = 30 this.maxStack = 1 this.value = Item.sellPrice(0, 3, 0, 0) this.rare = 3 this.accessory = true this.backSlot = 10 return end if type == 3722 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 443 this.width = 20 this.height = 12 this.value = 10000 this.mech = true return end if type >= 3723 and type <= 3724 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 = 6 + type - 3723 this.width = 12 this.height = 12 return end if type == 3725 then this.createTile = 445 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.mech = true this.value = Item.buyPrice(0, 0, 2, 0) return end if type >= 3726 and type <= 3729 then this.createTile = 423 this.width = 16 this.height = 16 this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.placeStyle = type - 3726 + 3 this.mech = true return end if type == 3730 or type == 3731 then this.width = 20 this.height = 22 this.rare = 1 this.value = Item.buyPrice(0, 2, 0, 0) this.accessory = true this.vanity = true this.balloonSlot = (16 + type - 3730) return end if type == 3732 then this.width = 18 this.height = 18 this.headSlot = 195 this.value = Item.buyPrice(0, 1, 0, 0) this.vanity = true return end if type == 3733 then this.width = 18 this.height = 18 this.headSlot = 196 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true return end if type == 3734 then this.width = 28 this.height = 20 this.bodySlot = 195 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true return end if type == 3735 then this.width = 18 this.height = 14 this.legSlot = 138 this.value = Item.buyPrice(0, 3, 0, 0) this.vanity = true return end if type >= 3736 and type <= 3738 then this.createTile = 446 + (type - 3736) this.width = 16 this.height = 16 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.value = Item.buyPrice(0, 0, 1, 0) return end if type >= 3739 and type <= 3741 then this.createTile = 449 + (type - 3739) this.width = 16 this.height = 16 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.value = Item.buyPrice(0, 0, 0, 50) this.tileBoost = this.tileBoost + 3 return end if type == 3742 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 452 this.width = 26 this.height = 20 this.value = Item.buyPrice(0, 5, 0, 0) this.rare = 1 return end if type >= 3743 and type <= 3745 then this.createTile = 453 this.placeStyle = type - 3743 if 3744 == type then this.placeStyle = 0 end if 3745 == type then this.placeStyle = 2 end if 3743 == type then this.placeStyle = 4 end this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.width = 12 this.height = 30 this.value = Item.buyPrice(0, 0, 10, 0) return end if type == 3746 then this.createTile = 454 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.width = 12 this.height = 30 this.value = Item.buyPrice(0, 1, 0, 0) return end if type == 3747 then this.createTile = 455 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.width = 12 this.height = 30 this.value = Item.buyPrice(0, 20, 0, 0) this.rare = 3 return end if type == 3748 then this.createTile = 456 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.width = 12 this.height = 30 this.value = Item.buyPrice(0, 0, 20, 0) return end if type == 3749 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 457 this.width = 26 this.height = 20 this.value = Item.buyPrice(0, 0, 20, 0) this.rare = 1 return end if type == 3750 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 621 this.width = 22 this.height = 22 this.value = Item.sellPrice(0, 0, 50, 0) this.rare = 3 return end if type == 3751 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 225 this.width = 12 this.height = 12 return end if type == 3752 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 226 this.width = 12 this.height = 12 return end if type == 3753 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 227 this.width = 12 this.height = 12 return end if type == 3754 then this.createTile = 458 this.width = 16 this.height = 16 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.value = Item.buyPrice(0, 0, 0, 5) return end if type == 3755 then this.createTile = 459 this.width = 16 this.height = 16 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true return end if type == 3756 then this.createTile = 460 this.width = 16 this.height = 16 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true return end if type == 3757 then this.width = 18 this.height = 18 this.headSlot = 197 this.value = Item.sellPrice(0, 0, 30, 0) this.vanity = true this.rare = 9 return end if type == 3758 then this.width = 28 this.height = 20 this.bodySlot = 196 this.value = Item.sellPrice(0, 0, 30, 0) this.vanity = true this.rare = 9 return end if type == 3759 then this.width = 18 this.height = 14 this.legSlot = 139 this.value = Item.sellPrice(0, 0, 30, 0) this.vanity = true this.rare = 9 return end if type >= 3760 and type <= 3762 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createWall = 228 + (type - 3760) this.width = 12 this.height = 12 return end if type == 3763 then this.width = 18 this.height = 18 this.headSlot = 198 this.value = Item.sellPrice(0, 1, 0, 0) this.vanity = true this.rare = 9 return end if type >= 3764 and type <= 3769 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 end if type == 3770 then this.width = 18 this.height = 14 this.legSlot = 140 this.value = Item.sellPrice(0, 1, 0, 0) this.vanity = true this.rare = 4 return end if type == 3771 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 = 14 this.value = Item.sellPrice(0, 5, 0, 0) return end if type == 3772 then this.useStyle = 1 this.useTurn = true this.autoReuse = true this.useAnimation = 18 this.useTime = 18 this.width = 28 this.height = 28 this.damage = 14 this.knockBack = 4.5 this.UseSound = SoundID.Item1 this.scale = 1 this.melee = true this.value = Item.sellPrice(0, 0, 10, 0) this.rare = 2 return end if type == 3773 then this.width = 18 this.height = 18 this.headSlot = 199 this.rare = 3 this.vanity = true this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3774 then this.width = 18 this.height = 18 this.bodySlot = 197 this.rare = 3 this.vanity = true this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3775 then this.width = 18 this.height = 18 this.legSlot = 141 this.rare = 3 this.vanity = true this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3776 then this.width = 18 this.height = 18 this.defense = 6 this.headSlot = 200 this.rare = 5 this.value = 250000 return end if type == 3777 then this.width = 18 this.height = 18 this.defense = 12 this.bodySlot = 198 this.rare = 5 this.value = 200000 return end if type == 3778 then this.width = 18 this.height = 18 this.defense = 8 this.legSlot = 142 this.rare = 5 this.value = 150000 return end if type == 3779 then this.mana = 14 this.damage = 85 this.useStyle = 5 this.shootSpeed = 3 this.shoot = 659 this.width = 26 this.height = 28 this.UseSound = SoundID.Item117 this.useAnimation = 22 this.useTime = 22 this.autoReuse = true this.noMelee = true this.knockBack = 5 this.rare = 4 this.value = Item.sellPrice(0, 1, 0, 0) this.magic = true this.glowMask = 218 return end if type == 3780 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 = 272 this.width = 10 this.height = 24 this.value = 1000 this.rare = 1 return end if type == 3781 then this.width = 24 this.height = 28 this.rare = 3 this.value = 100000 this.accessory = true return end if type == 3784 then this.width = 18 this.height = 18 this.legSlot = 143 this.rare = 3 this.vanity = true this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3785 then this.width = 18 this.height = 18 this.bodySlot = 199 this.rare = 3 this.vanity = true this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3786 then this.width = 18 this.height = 18 this.headSlot = 201 this.rare = 3 this.vanity = true this.value = Item.sellPrice(0, 0, 50, 0) return end if type == 3782 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 461 this.width = 24 this.height = 24 this.value = Item.sellPrice(0, 0, 0, 40) return end if type == 3787 then this.useStyle = 5 this.useAnimation = 12 this.useTime = 4 this.reuseDelay = this.useAnimation + 6 this.shootSpeed = 14 this.knockBack = 6 this.width = 16 this.height = 16 this.damage = 38 this.UseSound = SoundID.Item9 this.crit = 20 this.shoot = 660 this.mana = 17 this.rare = 4 this.value = 300000 this.noMelee = true this.magic = true this.autoReuse = true return end if type == 3788 then this.knockBack = 6.5 this.useStyle = 5 this.useAnimation = 48 this.useTime = 48 this.width = 50 this.height = 14 this.shoot = 10 this.useAmmo = AmmoID.Bullet this.UseSound = SoundID.Item36 this.damage = 24 this.shootSpeed = 7 this.noMelee = true this.value = 250000 this.rare = 4 this.ranged = true return end if type == 3783 then this.width = 18 this.height = 18 this.maxStack = 999 this.value = 50000 this.rare = 5 return end if type >= 3789 and type <= 3793 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 = 273 + type - 3789 this.width = 10 this.height = 24 this.value = 1000 this.rare = 1 return end if type == 3794 then this.width = 18 this.height = 18 this.maxStack = 999 this.value = Item.sellPrice(0, 0, 1, 0) this.rare = 1 return end if type == 3795 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 462 this.width = 26 this.height = 18 this.value = Item.sellPrice(0, 0, 50, 0) this.rare = 3 return end if type == 3796 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true this.createTile = 139 this.placeStyle = 38 this.width = 24 this.height = 24 this.rare = 4 this.value = 100000 this.accessory = true this.canBePlacedInVanityRegardlessOfConditions = true return end if type == 3797 then this.width = 18 this.height = 18 this.headSlot = 203 this.rare = 8 this.defense = 7 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3798 then this.width = 18 this.height = 18 this.bodySlot = 200 this.rare = 8 this.defense = 15 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3799 then this.width = 18 this.height = 18 this.legSlot = 144 this.rare = 8 this.defense = 10 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3800 then this.width = 18 this.height = 18 this.headSlot = 204 this.rare = 8 this.defense = 13 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3801 then this.width = 18 this.height = 18 this.bodySlot = 201 this.rare = 8 this.defense = 27 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3802 then this.width = 18 this.height = 18 this.legSlot = 145 this.rare = 8 this.defense = 18 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3803 then this.width = 18 this.height = 18 this.headSlot = 205 this.rare = 8 this.defense = 7 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3804 then this.width = 18 this.height = 18 this.bodySlot = 202 this.rare = 8 this.defense = 17 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3805 then this.width = 18 this.height = 18 this.legSlot = 146 this.rare = 8 this.defense = 12 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3806 then this.width = 18 this.height = 18 this.headSlot = 206 this.rare = 8 this.defense = 8 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3807 then this.width = 18 this.height = 18 this.bodySlot = 203 this.rare = 8 this.defense = 22 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3808 then this.width = 18 this.height = 18 this.legSlot = 148 this.rare = 8 this.defense = 16 this.value = Item.sellPrice(0, 3, 0, 0) return end if type == 3809 then this.width = 22 this.height = 22 this.accessory = true this.rare = 5 this.value = Item.sellPrice(0, 3, 0, 0) this.neckSlot = 9 return end if type == 3810 then this.width = 22 this.height = 22 this.accessory = true this.rare = 5 this.value = Item.sellPrice(0, 3, 0, 0) this.shieldSlot = 6 return end if type == 3811 then this.width = 22 this.height = 22 this.accessory = true this.rare = 5 this.value = Item.sellPrice(0, 3, 0, 0) this.handOnSlot = 19 return end if type == 3812 then this.width = 22 this.height = 22 this.accessory = true this.rare = 5 this.value = Item.sellPrice(0, 3, 0, 0) this.waistSlot = 12 return end if type == 3813 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 = 463 this.width = 12 this.height = 12 this.value = 100000 this.glowMask = 244 return end if type == 3814 then this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 464 this.width = 12 this.height = 12 this.value = 100000 return end if type == 3815 then this.rare = 1 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 465 this.width = 12 this.height = 12 this.value = 100000 return end if type == 3816 then this.rare = 3 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 466 this.width = 12 this.height = 12 this.value = Item.buyPrice(0, 1, 0, 0) return end if type == 3817 then this.width = 12 this.height = 12 this.maxStack = 999 this.value = 0 this.rare = 3 return end if type == 3818 or type == 3819 or type == 3820 or type == 3824 or type == 3825 or type == 3826 or type == 3829 or type == 3830 or type == 3831 or type == 3832 or type == 3833 or type == 3834 then this.width = 18 this.height = 20 this.UseSound = SoundID.DD2_DefenseTowerSpawn this.useStyle = 1 this.useAnimation = 30 this.useTime = 30 this.shootSpeed = 1 this.noMelee = true this.value = Item.sellPrice(0, 1, 0, 0) this.rare = 3 this.shoot = 663 this.summon = true this.damage = 17 this.knockBack = 3 this.mana = 5 this.DD2Summon = true this.sentry = true if type == 3819 then this.shoot = 665 this.damage = 42 this.rare = 5 this.mana = 10 this.value = Item.sellPrice(0, 5, 0, 0) return elseif type == 3820 then this.shoot = 667 this.damage = 88 this.rare = 8 this.mana = 15 this.value = Item.sellPrice(0, 15, 0, 0) return elseif type == 3821 or type == 3822 or type == 3823 or type == 3827 or type == 3828 then -- nothing elseif type == 3824 then this.shoot = 677 this.damage = 27 this.knockBack = 4.5 return elseif type == 3825 then this.shoot = 678 this.damage = 67 this.rare = 5 this.mana = 10 this.knockBack = 4.5 this.value = Item.sellPrice(0, 5, 0, 0) return elseif type == 3826 then this.shoot = 679 this.damage = 140 this.rare = 8 this.mana = 15 this.knockBack = 4.5 this.value = Item.sellPrice(0, 15, 0, 0) return elseif type == 3829 then this.shoot = 688 this.damage = 4 this.knockBack = 0 return elseif type == 3830 then this.shoot = 689 this.damage = 11 this.rare = 5 this.mana = 10 this.knockBack = 0 this.value = Item.sellPrice(0, 5, 0, 0) return elseif type == 3831 then this.shoot = 690 this.damage = 34 this.rare = 8 this.mana = 15 this.knockBack = 0 this.value = Item.sellPrice(0, 15, 0, 0) return elseif type == 3832 then this.shoot = 691 this.damage = 24 this.knockBack = 0 return elseif type == 3833 then this.shoot = 692 this.damage = 59 this.rare = 5 this.mana = 10 this.knockBack = 0 this.value = Item.sellPrice(0, 5, 0, 0) return elseif type == 3834 then this.shoot = 693 this.damage = 126 this.rare = 8 this.mana = 15 this.knockBack = 0 this.value = Item.sellPrice(0, 15, 0, 0) return else return end else if type == 3821 then this.shootSpeed = 6.5 this.shoot = 669 this.width = 20 this.height = 20 this.maxStack = 1 this.UseSound = SoundID.Item1 this.useStyle = 5 this.useAnimation = 40 this.useTime = 40 this.noUseGraphic = true this.noMelee = true this.value = Item.sellPrice(0, 0, 1, 0) this.damage = 20 this.knockBack = 7 this.ranged = true this.rare = 1 this.useAmmo = 353 return end if type == 3822 then this.width = 12 this.height = 12 this.maxStack = 999 this.value = 0 return end if type == 3823 then this.UseSound = SoundID.Item1 this.useStyle = 1 this.damage = 85 this.useAnimation = 20 this.useTime = 20 this.width = 34 this.height = 34 this.scale = 1.3 this.knockBack = 6.5 this.melee = true this.rare = 5 this.value = Item.sellPrice(0, 1, 0, 0) this.autoReuse = true this.flame = true this.useTurn = true return end if type == 3828 then this.rare = 3 this.maxStack = 99 this.consumable = true this.width = 22 this.height = 18 this.value = Item.buyPrice(0, 0, 25, 0) return end if type == 3835 then this.useStyle = 5 this.useAnimation = 30 this.useTime = 30 this.shootSpeed = 24 this.knockBack = 7 this.width = 16 this.height = 16 this.UseSound = SoundID.DD2_MonkStaffSwing this.shoot = 697 this.rare = 5 this.value = Item.sellPrice(0, 1, 0, 0) this.noMelee = true this.noUseGraphic = true this.channel = true this.autoReuse = true this.melee = true this.damage = 50 return end if type == 3836 then this.useStyle = 5 this.useAnimation = 27 this.useTime = 27 this.shootSpeed = 42 this.knockBack = 7 this.width = 16 this.height = 16 this.UseSound = SoundID.DD2_GhastlyGlaivePierce this.shoot = 699 this.rare = 5 this.value = Item.sellPrice(0, 1, 0, 0) this.noMelee = true this.noUseGraphic = true this.channel = true this.melee = true this.damage = 45 return end if type >= 3837 and type <= 3846 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 = 278 + type - 3837 this.width = 10 this.height = 24 this.value = 1000 this.rare = 1 return end if type == 3855 or type == 3856 or type == 3857 then 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 = 200 this.shoot = 703 if type == 3856 then this.buffType = 201 this.shoot = 702 return end if type ~=3857 then return end this.buffType = 202 this.shoot = 701 return end if type == 3854 then this.useStyle = 5 this.useAnimation = 18 this.useTime = 18 this.shootSpeed = 20 this.knockBack = 2 this.width = 20 this.height = 12 this.damage = 32 this.UseSound = SoundID.Item5 this.shoot = 705 this.rare = 5 this.value = Item.sellPrice(0, 1, 0, 0) this.noMelee = true this.noUseGraphic = true this.ranged = true this.channel = true this.useAmmo = AmmoID.Arrow this.autoReuse = true return end if type == 3827 then this.rare = 8 this.UseSound = SoundID.DD2_SonicBoomBladeSlash this.useStyle = 1 this.damage = 180 this.useAnimation = 25 this.useTime = 25 this.width = 30 this.height = 30 this.knockBack = 5.5 this.melee = true this.value = Item.sellPrice(0, 5, 0, 0) this.autoReuse = true this.useTurn = false this.glowMask = 227 this.shoot = 684 this.shootSpeed = 17 return end if type == 3852 then this.useStyle = 5 this.useAnimation = 25 this.useTime = 3 this.shootSpeed = 11 this.knockBack = 9 this.width = 16 this.height = 16 this.damage = 32 this.UseSound = SoundID.DD2_BookStaffCast this.shoot = 712 this.mana = 20 this.rare = 5 this.value = Item.sellPrice(0, 1, 0, 0) this.noMelee = true this.magic = true this.autoReuse = true return end if type == 3858 then this.useStyle = 5 this.useAnimation = 30 this.useTime = 30 this.shootSpeed = 24 this.knockBack = 5 this.width = 16 this.height = 16 this.UseSound = SoundID.DD2_SkyDragonsFurySwing this.shoot = 707 this.rare = 8 this.value = Item.sellPrice(0, 5, 0, 0) this.noMelee = true this.noUseGraphic = true this.channel = true this.autoReuse = true this.melee = true this.damage = 140 return end if type == 3859 then this.autoReuse = true this.useStyle = 5 this.useAnimation = 30 this.useTime = 30 this.width = 14 this.height = 32 this.shoot = 495 this.useAmmo = AmmoID.Arrow this.UseSound = SoundID.Item102 this.damage = 55 this.shootSpeed = 11 this.knockBack = 4.5 this.rare = 8 this.crit = 3 this.noMelee = true this.value = Item.sellPrice(0, 5, 0, 0) this.ranged = true this.glowMask = 234 return end if type == 3860 or type == 3862 or type == 3861 then this.maxStack = 999 this.consumable = true this.width = 24 this.height = 24 this.rare = 1 if type == 3860 then this.rare = 8 end if type == 3862 then this.rare = 3 end if type == 3861 then this.rare = 5 end this.expert = true return end if type >= 3863 and type <= 3865 then this.width = 28 this.height = 20 this.rare = 1 this.vanity = true this.value = Item.sellPrice(0, 0, 75, 0) if type == 3863 then this.headSlot = 207 return elseif type == 3864 then this.headSlot = 208 return elseif type == 3865 then this.headSlot = 209 return else return end end if type == 3866 or type == 3867 or type == 3868 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.placeStyle = 60 if type == 3866 then this.placeStyle = 61 end if type == 3868 then this.placeStyle = 62 end this.rare = 1 return end if type == 3869 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.consumable = true this.createTile = 139 this.placeStyle = 39 this.width = 24 this.height = 24 this.rare = 4 this.value = 100000 this.accessory = true this.canBePlacedInVanityRegardlessOfConditions = true return end if type == 3870 then this.useStyle = 5 this.useAnimation = 20 this.useTime = 20 this.reuseDelay = 10 this.shootSpeed = 14 this.knockBack = 7 this.width = 16 this.height = 16 this.damage = 100 this.UseSound = SoundID.DD2_BetsysWrathShot this.shoot = 711 this.mana = 14 this.rare = 8 this.value = Item.sellPrice(0, 5, 0, 0) this.noMelee = true this.magic = true this.autoReuse = true this.glowMask = 238 return end if type == 3871 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 20 this.value = Item.sellPrice(0, 3, 0, 0) this.headSlot = 210 return end if type == 3872 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 24 this.value = Item.sellPrice(0, 3, 0, 0) this.bodySlot = 204 return end if type == 3873 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 24 this.value = Item.sellPrice(0, 3, 0, 0) this.legSlot = 152 return end if type == 3874 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 7 this.value = Item.sellPrice(0, 3, 0, 0) this.headSlot = 211 return end if type == 3875 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 21 this.value = Item.sellPrice(0, 3, 0, 0) this.bodySlot = 205 return end if type == 3876 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 14 this.value = Item.sellPrice(0, 3, 0, 0) this.legSlot = 153 return end if type == 3877 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 8 this.value = Item.sellPrice(0, 3, 0, 0) this.headSlot = 212 return end if type == 3878 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 24 this.value = Item.sellPrice(0, 3, 0, 0) this.bodySlot = 206 return end if type == 3879 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 16 this.value = Item.sellPrice(0, 3, 0, 0) this.legSlot = 154 return end if type == 3880 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 10 this.value = Item.sellPrice(0, 3, 0, 0) this.headSlot = 213 return end if type == 3881 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 26 this.value = Item.sellPrice(0, 3, 0, 0) this.bodySlot = 207 return end if type == 3882 then this.width = 18 this.height = 18 this.rare = 8 this.defense = 18 this.value = Item.sellPrice(0, 3, 0, 0) this.legSlot = 156 return end if type == 3883 then this.width = 22 this.height = 20 this.accessory = true this.value = Item.buyPrice(0, 40, 0, 0) this.rare = 8 this.wingSlot = 37 return end if type == 3884 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 467 this.width = 26 this.height = 22 this.value = 500 this.placeStyle = 0 return end if type == 3885 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 467 this.width = 26 this.height = 22 this.value = Item.buyPrice(0, 10, 0, 0) this.placeStyle = 1 return end if type == 3886 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 468 this.width = 26 this.height = 22 this.value = 500 this.placeStyle = 0 return end if type == 3887 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 468 this.width = 26 this.height = 22 this.value = 500 this.placeStyle = 1 return end if type == 3888 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 99 this.consumable = true this.createTile = 10 this.width = 14 this.height = 28 this.value = 200 this.placeStyle = 36 return end if type == 3889 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 15 this.width = 12 this.height = 30 this.placeStyle = 36 this.value = 150 return end if type == 3890 then 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 = 33 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) this.placeStyle = 30 return end if type == 3891 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 42 this.width = 12 this.height = 28 this.placeStyle = 37 this.value = 150 return end if type == 3892 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 93 this.width = 10 this.height = 24 this.value = 500 this.placeStyle = 31 return end if type == 3893 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 100 this.width = 20 this.height = 20 this.value = 1500 this.placeStyle = 31 return end if type == 3894 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 34 this.width = 26 this.height = 26 this.value = 3000 this.placeStyle = 37 return end if type == 3895 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 90 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 31 return end if type == 3896 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 172 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 32 return end if type == 3897 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 99 this.consumable = true this.autoReuse = true this.createTile = 79 this.width = 28 this.height = 20 this.value = 2000 this.placeStyle = 31 return end if type >= 3898 and type <= 3902 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 104 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 28 + type - 3898 return end if type >= 3903 and type <= 3908 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 19 this.width = 8 this.height = 10 this.placeStyle = 30 + type - 3903 return end if type == 3909 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 18 this.width = 28 this.height = 14 this.value = 150 this.placeStyle = 31 return end if type == 3910 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 18 this.width = 28 this.height = 14 this.value = Item.buyPrice(0, 10, 0, 0) this.placeStyle = 32 return end if type >= 3911 and type <= 3914 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 88 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 28 + type - 3911 return end if type >= 3915 and type <= 3916 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 87 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 30 + type - 3915 return end if type == 3917 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 101 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 32 return end if type == 3918 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 89 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 33 return end if type == 3919 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 89 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 34 return end if type == 3920 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 469 this.width = 26 this.height = 20 this.value = 300 this.placeStyle = 0 return end if type == 3921 then this.width = 28 this.height = 20 this.headSlot = 214 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3922 then this.width = 28 this.height = 20 this.bodySlot = 208 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3923 then this.width = 18 this.height = 14 this.legSlot = 158 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3924 then this.width = 24 this.height = 8 this.accessory = true this.rare = 9 this.wingSlot = 38 this.value = 400000 return end if type == 3925 then this.width = 28 this.height = 20 this.headSlot = 215 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3926 then this.width = 28 this.height = 20 this.bodySlot = 209 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3927 then this.width = 18 this.height = 14 this.legSlot = 159 this.rare = 9 this.value = Item.sellPrice(0, 5, 0, 0) this.vanity = true return end if type == 3928 then this.width = 24 this.height = 8 this.accessory = true this.rare = 9 this.wingSlot = 39 this.value = 400000 return end if type == 3929 then this.width = 18 this.height = 14 this.rare = 9 this.vanity = true this.value = Item.sellPrice(0, 5, 0, 0) this.accessory = true this.canBePlacedInVanityRegardlessOfConditions = true return end if type == 3930 then this.useStyle = 5 this.useAnimation = 6 this.useTime = 6 this.shootSpeed = 17 this.knockBack = 10 this.width = 20 this.height = 12 this.damage = 40 this.UseSound = null this.shoot = 714 this.rare = 10 this.value = Item.sellPrice(0, 10, 0, 0) this.noMelee = true this.noUseGraphic = true this.ranged = true this.channel = true this.autoReuse = true this.useAmmo = AmmoID.Rocket return end if type == 3931 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 90 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 32 return end if type == 3932 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 99 this.consumable = true this.autoReuse = true this.createTile = 79 this.width = 28 this.height = 20 this.value = 2000 this.placeStyle = 32 return end if type == 3933 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 101 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 33 return end if type == 3934 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 88 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 32 return end if type == 3935 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 100 this.width = 20 this.height = 20 this.value = 1500 this.placeStyle = 32 return end if type == 3936 then 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 = 33 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) this.placeStyle = 31 return end if type == 3937 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 15 this.width = 12 this.height = 30 this.placeStyle = 37 this.value = 150 return end if type == 3938 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 34 this.width = 26 this.height = 26 this.value = 3000 this.placeStyle = 38 return end if type == 3939 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 467 this.width = 26 this.height = 22 this.value = 500 this.placeStyle = 2 return end if type == 3940 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 104 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 33 return end if type == 3941 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 99 this.consumable = true this.createTile = 10 this.width = 14 this.height = 28 this.value = 200 this.placeStyle = 37 return end if type == 3942 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 93 this.width = 10 this.height = 24 this.value = 500 this.placeStyle = 32 return end if type == 3943 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 42 this.width = 12 this.height = 28 this.placeStyle = 38 this.value = 150 return end if type == 3944 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 87 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 32 return end if type == 3945 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 19 this.width = 8 this.height = 10 this.placeStyle = 36 return end if type == 3946 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 172 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 33 return end if type == 3947 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 89 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 35 return end if type == 3948 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 469 this.width = 26 this.height = 20 this.value = 300 this.placeStyle = 1 return end if type == 3949 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 18 this.width = 28 this.height = 14 this.value = 150 this.placeStyle = 33 return end if type == 3950 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 468 this.width = 26 this.height = 22 this.value = 500 this.placeStyle = 2 return end if type == 3951 then this.createTile = 472 this.width = 16 this.height = 16 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true return end if type == 3952 then this.createWall = 231 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.width = 12 this.height = 12 return end if type == 3953 then this.createTile = 473 this.width = 16 this.height = 16 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true return end if type == 3954 then this.createWall = 232 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.width = 12 this.height = 12 return end if type == 3955 then this.createTile = 474 this.width = 16 this.height = 16 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true return end if type == 3956 then this.createWall = 233 this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 7 this.autoReuse = true this.maxStack = 999 this.consumable = true this.width = 12 this.height = 12 return end if type == 3957 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 19 this.width = 8 this.height = 10 this.placeStyle = 37 return end if type == 3958 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 90 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 33 return end if type == 3959 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 99 this.consumable = true this.autoReuse = true this.createTile = 79 this.width = 28 this.height = 20 this.value = 2000 this.placeStyle = 33 return end if type == 3960 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 101 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 34 return end if type == 3968 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 88 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 33 return end if type == 3961 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 100 this.width = 20 this.height = 20 this.value = 1500 this.placeStyle = 33 return end if type == 3962 then 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 = 33 this.width = 8 this.height = 18 this.value = Item.sellPrice(0, 0, 0, 60) this.placeStyle = 32 return end if type == 3963 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 15 this.width = 12 this.height = 30 this.placeStyle = 38 this.value = 150 return end if type == 3964 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 34 this.width = 26 this.height = 26 this.value = 3000 this.placeStyle = 39 return end if type == 3965 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 467 this.width = 26 this.height = 22 this.value = 500 this.placeStyle = 3 return end if type == 3966 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 104 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 34 return end if type == 3967 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.maxStack = 99 this.consumable = true this.createTile = 10 this.width = 14 this.height = 28 this.value = 200 this.placeStyle = 38 return end if type == 3969 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 93 this.width = 10 this.height = 24 this.value = 500 this.placeStyle = 33 return end if type == 3970 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 42 this.width = 12 this.height = 28 this.placeStyle = 39 this.value = 150 return end if type == 3971 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 87 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 33 return end if type == 3972 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 172 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 34 return end if type == 3973 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 89 this.width = 20 this.height = 20 this.value = 300 this.placeStyle = 36 return end if type == 3974 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 469 this.width = 26 this.height = 20 this.value = 300 this.placeStyle = 2 return end if type == 3975 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 18 this.width = 28 this.height = 14 this.value = 150 this.placeStyle = 34 return end if type == 3976 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 468 this.width = 26 this.height = 22 this.value = 500 this.placeStyle = 3 return end if type == 3977 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 999 this.consumable = true this.createTile = 269 this.width = 22 this.height = 32 this.createTile = 475 return end if type == 3978 then this.width = 20 this.height = 20 this.maxStack = 99 this.value = Item.sellPrice(0, 1, 50, 0) this.rare = 3 return end if type == 3979 then this.width = 12 this.height = 12 this.rare = 1 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 10, 0) this.createTile = 376 this.placeStyle = 9 this.useAnimation = 15 this.useTime = 15 this.autoReuse = true this.useStyle = 1 this.consumable = true return end if type == 3980 then this.width = 12 this.height = 12 this.rare = 2 this.maxStack = 99 this.value = Item.sellPrice(0, 0, 50, 0) this.createTile = 376 this.placeStyle = 10 this.useAnimation = 15 this.useTime = 15 this.autoReuse = true this.useStyle = 1 this.consumable = true return end if type == 3981 then this.width = 12 this.height = 12 this.rare = 3 this.maxStack = 99 this.value = Item.sellPrice(0, 2, 0, 0) this.createTile = 376 this.placeStyle = 11 this.useAnimation = 15 this.useTime = 15 this.autoReuse = true this.useStyle = 1 this.consumable = true return end if type >= 3982 and type <= 3987 then this.width = 12 this.height = 12 this.rare = 2 this.maxStack = 99 this.createTile = 376 this.placeStyle = 12 + type - 3982 this.useAnimation = 15 this.useTime = 15 this.autoReuse = true this.useStyle = 1 this.consumable = true this.value = Item.sellPrice(0, 1, 0, 0) return end if type == 3988 then this.useStyle = 1 this.useTurn = true this.useAnimation = 15 this.useTime = 10 this.autoReuse = true this.maxStack = 99 this.consumable = true this.createTile = 467 this.width = 26 this.height = 22 this.value = 500 this.placeStyle = 4 return end if type == 3989 then DefaultToGolfBall(721) end end else this.useTurn = true this.autoReuse = true this.useStyle = 1 this.useAnimation = 28 this.useTime = 7 this.knockBack = 7 this.width = 42 this.height = 42 this.damage = 60 this.axe = 30 this.hammer = 100 this.UseSound = SoundID.Item1 this.rare = 10 this.value = Item.sellPrice(0, 5, 0, 0) this.melee = true this.tileBoost = this.tileBoost + 4 if type == 3522 then --nothing elseif type == 3523 then this.glowMask = 196 return elseif type == 3524 then this.glowMask = 197 return elseif type == 3525 then this.glowMask = 198 return else return end end end end else this.noUseGraphic = true this.damage = 0 this.useStyle = 5 this.shootSpeed = 15 this.shoot = 486 + type - 3020 this.width = 18 this.height = 28 this.UseSound = SoundID.Item1 this.useAnimation = 20 this.useTime = 20 this.rare = 6 this.noMelee = true this.value = Item.sellPrice(0, 6, 0, 0) if type == 3021 then this.shootSpeed = 16 return end end end

local function SetFoodDefaults(type) if type <= 2268 then if type > 1787 then if type <= 1912 then if type == 1911 then DefaultToFood(22, 22, 207, 14400, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 10, 0)) elseif type == 1912 then DefaultToHealingPotion(22, 22, 80, 17) SetShopValues(ItemRarityColor.Blue1, 40) end elseif type == 1919 then DefaultToFood(22, 22, 207, 14400, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 25, 0)) elseif type == 1920 then DefaultToFood(22, 22, 207, 14400, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 25, 0)) else if type == 2266 then DefaultToFood(22, 22, 25, 14400, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 5, 0)) elseif type == 2267 then DefaultToFood(22, 22, 206, 28800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 30, 0)) elseif type == 2268 then DefaultToFood(22, 22, 206, 36000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 50, 0)) end end elseif type <= 357 then if type == 353 then DefaultToFood(22, 22, 25, 7200, true, 17) SetShopValues(ItemRarityColor.White0, 100) this.maxStack = 99 this.holdStyle = 1 this.ammo = 353 this.notAmmo = true elseif type == 357 then DefaultToFood(22, 22, 206, 28800, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) end elseif type == 967 then DefaultToFood(12, 12, 26, 3600, false, 17) SetShopValues(ItemRarityColor.White0, Item.buyPrice(0, 0, 1, 0)) this.useStyle = 9 elseif type == 969 then DefaultToFood(12, 12, 26, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 2, 0)) this.useStyle = 9 elseif type == 1787 then DefaultToFood(22, 22, 206, 28800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 10, 0)) end elseif type <= 4297 then if type <= 3195 then if type == 2425 then DefaultToFood(22, 22, 26, 28800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 25, 0)) elseif type == 2426 then DefaultToFood(22, 22, 206, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 75, 0)) elseif type == 2427 then DefaultToFood(22, 22, 206, 28800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 25, 0)) else if type == 3195 then DefaultToFood(22, 22, 206, 36000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) else end end elseif type == 3532 then DefaultToFood(22, 22, 207, 86400, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)) else if type == 4009 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4010 then elseif type == 4011 then DefaultToFood(22, 22, 207, 57600, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) elseif type == 4012 then DefaultToFood(22, 22, 206, 36000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4013 then DefaultToFood(22, 22, 207, 86400, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 5, 0, 0)) elseif type == 4014 then DefaultToFood(22, 22, 26, 36000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4015 then DefaultToFood(22, 22, 207, 28800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4016 then DefaultToFood(22, 22, 206, 50400, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4017 then DefaultToFood(22, 22, 206, 72000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) elseif type == 4018 then DefaultToFood(22, 22, 206, 57600, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4019 then DefaultToFood(22, 22, 206, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4020 then DefaultToFood(22, 22, 206, 50400, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4021 then DefaultToFood(22, 22, 206, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4022 then DefaultToFood(22, 22, 207, 172800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 50, 0, 0)) elseif type == 4023 then DefaultToFood(22, 22, 206, 57600, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4024 then DefaultToFood(22, 22, 26, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4025 then DefaultToFood(22, 22, 206, 72000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) elseif type == 4026 then DefaultToFood(22, 22, 206, 50400, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4027 then DefaultToFood(22, 22, 207, 57600, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) elseif type == 4028 then DefaultToFood(22, 22, 206, 57600, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4029 then DefaultToFood(22, 22, 207, 28800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4030 then DefaultToFood(22, 22, 26, 64800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 50, 0)) elseif type == 4031 then DefaultToFood(22, 22, 26, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4032 then DefaultToFood(22, 22, 206, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4033 then DefaultToFood(22, 22, 26, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4034 then DefaultToFood(22, 22, 207, 14400, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 50, 0)) elseif type == 4035 then DefaultToFood(22, 22, 206, 64800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 50, 0)) elseif type == 4036 then DefaultToFood(22, 22, 207, 28800, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4037 then DefaultToFood(22, 22, 207, 57600, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) else if type == 4282 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4283 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4284 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4285 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4286 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4287 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4288 then DefaultToFood(22, 22, 206, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4289 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4290 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4291 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4292 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4293 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4294 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4295 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4296 then DefaultToFood(22, 22, 26, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4297 then DefaultToFood(22, 22, 206, 18000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) end end end elseif type <= 4625 then if type == 4403 then DefaultToFood(22, 22, 206, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4411 then DefaultToFood(22, 22, 26, 36000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) else if type == 4614 then DefaultToFood(22, 22, 26, 36000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4615 then DefaultToFood(22, 22, 207, 57600, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 4, 0, 0)) elseif type == 4616 then DefaultToFood(22, 22, 26, 36000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4617 then DefaultToFood(22, 22, 26, 54000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4618 then DefaultToFood(22, 22, 26, 36000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 4619 then DefaultToFood(22, 22, 26, 72000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4620 then DefaultToFood(22, 22, 26, 72000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4621 then DefaultToFood(22, 22, 26, 72000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4622 then DefaultToFood(22, 22, 26, 72000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4623 then DefaultToFood(22, 22, 206, 72000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4624 then DefaultToFood(22, 22, 26, 54000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) elseif type == 4625 then DefaultToFood(22, 22, 26, 90000, false, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 3, 0, 0)) end end elseif type == 5009 then DefaultToFood(22, 22, 26, 18000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 0, 20)) elseif type == 5041 then DefaultToFood(22, 22, 26, 54000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 5042 then DefaultToFood(22, 22, 206, 36000, true, 17) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 1, 0, 0)) elseif type == 5092 then DefaultToFood(22, 22, 206, 28800) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 0, 50, 0)) elseif type == 5093 then DefaultToFood(22, 22, 206, 28800) SetShopValues(ItemRarityColor.Blue1, Item.buyPrice(0, 2, 0, 0)) end local single = 0 if this.buffType == 207 then single = single + 12 elseif this.buffType ~=206 then single = single + 3 else single = single + 8 end single = single + (this.buffTime / 14400) this.rare = math.floor(single / 4) 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 -- // after setDefaultsX, all dyes will have non-zero value, 1 = basic dye; 2 = other dye. -- // the method below will give all dyes unique int values one by one, it is not necessary for determine "isDye" n	-- this.dye = (byte)GameShaders.Armor.GetShaderIdFromItemId(this.type) -- // Similarly, give all hair dyes unique int values. --if this.hairDye ~= 0 then --	this.hairDye = GameShaders.Hair.GetShaderIdFromItemId(this.type) --end if this.type == 2015 then this.value = Item.sellPrice(0, 0, 5, 0) end if this.type == 2016 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 2017 then this.value = Item.sellPrice(0, 0, 7, 50) end if this.type == 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 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 this = require('Module:Iteminfo/datagen1').getInfo(1533 + this.type - 1803) -- 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, setDefaults4 = function(itemid) --for invokation from other datagen modules this = {} ResetStats(itemid) SetDefaults4(itemid) return this end, }

return p