Module:Iteminfo/datagen/3

From Terraria Wiki
Jump to navigation Jump to search

No documentation subpage exists yet for this module. Create one now.


-- import Item, AmmoID, SoundID and so on.
local extdata  = require('Module:Iteminfo/datagen/extdata')
for k,v in pairs(extdata) do
	_G[k] = v
end

local this

--Terraria.Item.SetDefaults3(int type)  v1.4.4.9
local function SetDefaults3(type)

if (type == 2002) then
	this.useStyle = 1;
	this.autoReuse = true;
	this.useTurn = true;
	this.useAnimation = 15;
	this.useTime = 10;
	this.maxStack = Item.CommonMaxStack;
	this.consumable = true;
	this.width = 12;
	this.height = 12;
	this.makeNPC = 357;
	this.noUseGraphic = true;
	this.bait = 25;
	return;
end
if (type == 2003) then
	this.useStyle = 1;
	this.autoReuse = true;
	this.useTurn = true;
	this.useAnimation = 15;
	this.useTime = 10;
	this.maxStack = Item.CommonMaxStack;
	this.consumable = true;
	this.width = 12;
	this.height = 12;
	this.makeNPC = 300;
	this.noUseGraphic = true;
	return;
end
if (type == 2004) then
	this.useStyle = 1;
	this.autoReuse = true;
	this.useTurn = true;
	this.useAnimation = 15;
	this.useTime = 10;
	this.maxStack = Item.CommonMaxStack;
	this.consumable = true;
	this.width = 12;
	this.height = 12;
	this.makeNPC = 358;
	this.noUseGraphic = true;
	this.bait = 35;
	return;
end
if (type == 2005) then
	this.useStyle = 1;
	this.useTurn = true;
	this.useAnimation = 15;
	this.useTime = 10;
	this.autoReuse = true;
	this.maxStack = Item.CommonMaxStack;
	this.consumable = true;
	this.createTile = 271;
	this.width = 12;
	this.height = 28;
	return;
end
if (type == 2006) then
	this.useStyle = 1;
	this.autoReuse = true;
	this.useTurn = true;
	this.useAnimation = 15;
	this.useTime = 10;
	this.maxStack = Item.CommonMaxStack;
	this.consumable = true;
	this.width = 12;
	this.height = 12;
	this.makeNPC = 359;
	this.noUseGraphic = true;
	this.bait = 10;
	return;
end
if (type == 2007) then
	this.useStyle = 1;
	this.autoReuse = true;
	this.useTurn = true;
	this.useAnimation = 15;
	this.useTime = 10;
	this.maxStack = Item.CommonMaxStack;
	this.consumable = true;
	this.width = 12;
	this.height = 12;
	this.makeNPC = 360;
	this.noUseGraphic = true;
	this.bait = 15;
	return;
end
if (type >= 2008 and type <= 2014) then
	this.useStyle = 1;
	this.useTurn = true;
	this.useAnimation = 15;
	this.useTime = 7;
	this.autoReuse = true;
	this.maxStack = Item.CommonMaxStack;
	this.consumable = true;
	this.createWall = 126 + type - 2008;
	this.width = 12;
	this.height = 12;
	this.value = Item.buyPrice(0, 0, 0, 75);
	return;
end
if (type < 2015 or type > 2019) then
	if (type == 2020) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 6;
		return;
	end
	if (type == 2021) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 7;
		return;
	end
	if (type == 2022) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 8;
		return;
	end
	if (type == 2023) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 9;
		return;
	end
	if (type == 2024) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 10;
		return;
	end
	if (type == 2025) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 11;
		return;
	end
	if (type == 2026) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 12;
		return;
	end
	if (type == 2027) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 13;
		return;
	end
	if (type == 2028) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 14;
		return;
	end
	if (type == 2029) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 15;
		return;
	end
	if (type == 2030) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 16;
		return;
	end
	if (type == 2031) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 17;
		return;
	end
	if (type == 2032) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 10;
		this.value = 150;
		return;
	end
	if (type == 2033) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 11;
		this.value = 150;
		return;
	end
	if (type == 2034) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 12;
		this.value = 150;
		return;
	end
	if (type == 2035) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 13;
		this.value = 150;
		return;
	end
	if (type == 2036) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 14;
		this.value = 150;
		return;
	end
	if (type == 2037) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 15;
		this.value = 150;
		return;
	end
	if (type == 2038) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 16;
		this.value = 150;
		return;
	end
	if (type == 2039) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 17;
		this.value = 150;
		return;
	end
	if (type == 2040) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 18;
		this.value = 150;
		return;
	end
	if (type == 2041) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 19;
		this.value = 150;
		return;
	end
	if (type == 2042) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 20;
		this.value = 150;
		return;
	end
	if (type == 2043) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 21;
		this.value = 150;
		return;
	end
	if (type == 2044) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 10;
		this.placeStyle = 27;
		this.width = 14;
		this.height = 28;
		this.value = 200;
		return;
	end
	if (type >= 2045 and type <= 2054) then
		this.noWet = true;
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 33;
		this.width = 8;
		this.height = 18;
		this.value = Item.sellPrice(0, 0, 0, 60);
		this.placeStyle = 4 + type - 2045;
		return;
	end
	if (type >= 2055 and type <= 2065) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 34;
		this.placeStyle = 7 + type - 2055;
		this.width = 26;
		this.height = 26;
		this.value = 3000;
		return;
	end
	if (type >= 2066 and type <= 2071) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.autoReuse = true;
		this.createTile = 79;
		this.placeStyle = 13 + type - 2066;
		this.width = 28;
		this.height = 20;
		this.value = 2000;
		return;
	end
	if (type >= 2072 and type <= 2081) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 90;
		this.placeStyle = type + 1 - 2072;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		return;
	end
	if (type >= 2082 and type <= 2091) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 93;
		this.placeStyle = type + 1 - 2082;
		this.width = 10;
		this.height = 24;
		this.value = 500;
		return;
	end
	if (type >= 2092 and type <= 2103) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 100;
		this.placeStyle = type + 1 - 2092;
		this.width = 20;
		this.height = 20;
		this.value = 1500;
		return;
	end
	if (type >= 2104 and type <= 2113) then
		this.width = 28;
		this.height = 20;
		this.headSlot = type + 146 - 2104;
		this.rare = 1;
		this.value = Item.sellPrice(0, 0, 75, 0);
		this.vanity = true;
		return;
	end
	if (type >= 2114 and type <= 2118) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 240;
		this.width = 30;
		this.height = 30;
		this.value = Item.sellPrice(0, 0, 5, 0);
		this.placeStyle = 41 + type - 2114;
		this.maxStack = Item.CommonMaxStack;
		return;
	end
	if (type == 2119) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 273;
		this.width = 12;
		this.height = 12;
		return;
	end
	if (type == 2120) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 274;
		this.width = 12;
		this.height = 12;
		return;
	end
	if (type == 2121) then
		this.useStyle = 1;
		this.autoReuse = true;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.width = 12;
		this.height = 12;
		this.makeNPC = 361;
		this.noUseGraphic = true;
		return;
	end
	if (type == 2122) then
		this.useStyle = 1;
		this.autoReuse = true;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.width = 12;
		this.height = 12;
		this.makeNPC = 362;
		this.noUseGraphic = true;
		return;
	end
	if (type == 2123) then
		this.useStyle = 1;
		this.autoReuse = true;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.width = 12;
		this.height = 12;
		this.makeNPC = 364;
		this.noUseGraphic = true;
		return;
	end
	if (type >= 2124 and type <= 2128) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 90;
		this.placeStyle = type + 11 - 2124;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		return;
	end
	if (type >= 2129 and type <= 2134) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 93;
		this.placeStyle = type + 11 - 2129;
		this.width = 10;
		this.height = 24;
		this.value = 500;
		return;
	end
	if (type >= 2135 and type <= 2138) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 101;
		this.width = 20;
		this.height = 20;
		this.value = 300;
		this.placeStyle = 18 + type - 2135;
		return;
	end
	if (type == 2139) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.autoReuse = true;
		this.createTile = 79;
		this.placeStyle = 19;
		this.width = 28;
		this.height = 20;
		this.value = 2000;
		return;
	end
	if (type == 2140) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.autoReuse = true;
		this.createTile = 79;
		this.placeStyle = 20;
		this.width = 28;
		this.height = 20;
		this.value = 2000;
		return;
	end
	if (type >= 2141 and type <= 2144) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 34;
		this.placeStyle = 18 + type - 2141;
		this.width = 26;
		this.height = 26;
		this.value = 3000;
		return;
	end
	if (type >= 2145 and type <= 2148) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 42;
		this.width = 12;
		this.height = 28;
		this.placeStyle = 22 + type - 2145;
		this.value = 150;
		return;
	end
	if (type >= 2149 and type <= 2152) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 100;
		this.placeStyle = type + 13 - 2149;
		this.width = 20;
		this.height = 20;
		this.value = 1500;
		return;
	end
	if (type >= 2153 and type <= 2155) then
		this.noWet = true;
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 33;
		this.width = 8;
		this.height = 18;
		this.value = Item.sellPrice(0, 0, 0, 60);
		this.placeStyle = 14 + type - 2153;
		return;
	end
	if (type == 2156) then
		this.useStyle = 1;
		this.autoReuse = true;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.width = 12;
		this.height = 12;
		this.makeNPC = 366;
		this.noUseGraphic = true;
		this.bait = 15;
		return;
	end
	if (type == 2157) then
		this.useStyle = 1;
		this.autoReuse = true;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.width = 12;
		this.height = 12;
		this.makeNPC = 367;
		this.noUseGraphic = true;
		this.bait = 10;
		return;
	end
	if (type >= 2158 and type <= 2160) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 7;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createWall = 133 + type - 2158;
		this.width = 12;
		this.height = 12;
		this.value = Item.buyPrice(0, 0, 0, 75);
		return;
	end
	if (type == 2161) then
		this.width = 18;
		this.height = 18;
		this.maxStack = Item.CommonMaxStack;
		this.value = 50000;
		this.rare = 5;
		return;
	end
	if (type >= 2162 and type <= 2168) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 275 + type - 2162;
		this.width = 12;
		this.height = 12;
		return;
	end
	if (type == 2169) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 7;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createWall = 136;
		this.width = 12;
		this.height = 12;
		return;
	end
	if (type == 2170) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 7;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createWall = 137;
		this.width = 12;
		this.height = 12;
		return;
	end
	if (type == 2171) then
		this.autoReuse = true;
		this.useTurn = true;
		this.useStyle = 1;
		this.useAnimation = 15;
		this.useTime = 10;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 199;
		this.width = 14;
		this.height = 14;
		this.value = 500;
		return;
	end
	if (type == 2172) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 283;
		this.width = 28;
		this.height = 14;
		this.value = 500;
		return;
	end
	if (type == 2173) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 284;
		this.width = 12;
		this.height = 12;
		return;
	end
	if (type >= 2174 and type <= 2175) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 285 + type - 2174;
		this.width = 12;
		this.height = 12;
		return;
	end
	if (type == 2176) then
		this.useStyle = 1;
		this.useAnimation = 12;
		this.useTime = 4;
		this.knockBack = 6;
		this.useTurn = true;
		this.autoReuse = true;
		this.width = 20;
		this.height = 12;
		this.damage = 45;
		this.pick = 200;
		this.axe = 25;
		this.UseSound = SoundID.Item1;
		this.rare = 8;
		this.value = Item.sellPrice(0, 4, 0, 0);
		this.melee = true;
		this.tileBoost = this.tileBoost - 1;
		return;
	end
	if (type == 2177) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 287;
		this.width = 22;
		this.height = 22;
		this.value = Item.buyPrice(0, 10, 0, 0);
		this.rare = 6;
		return;
	end
	if (type >= 2178 and type <= 2187) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 288 + type - 2178;
		this.width = 12;
		this.height = 12;
		return;
	end
	if (type == 2189) then
		this.width = 18;
		this.height = 18;
		this.defense = 18;
		this.headSlot = 156;
		this.rare = 8;
		this.value = 375000;
		return;
	end
	if (type == 2188) then
		this.mana = 25;
		this.UseSound = SoundID.Item43;
		this.useStyle = 5;
		this.damage = 44;
		this.useAnimation = 30;
		this.useTime = 30;
		this.width = 40;
		this.height = 40;
		this.shoot = 355;
		this.shootSpeed = 14;
		this.knockBack = 7;
		this.magic = true;
		this.autoReuse = true;
		this.rare = 7;
		this.noMelee = true;
		this.value = Item.sellPrice(0, 7, 0, 0);
		return;
	end
	if (type >= 2190 and type <= 2191) then
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		this.createTile = 298 + type - 2190;
		this.width = 12;
		this.height = 12;
		return;
	end
	if ((type < 2192 or type > 2198) and type ~= 2203 and type ~= 2204) then
		if (type == 2199) then
			this.width = 18;
			this.height = 18;
			this.defense = 23;
			this.headSlot = 157;
			this.rare = 8;
			this.value = 300000;
			return;
		end
		if (type == 2200) then
			this.width = 18;
			this.height = 18;
			this.defense = 20;
			this.bodySlot = 105;
			this.rare = 8;
			this.value = 240000;
			return;
		end
		if (type == 2201) then
			this.width = 18;
			this.height = 18;
			this.defense = 32;
			this.bodySlot = 106;
			this.rare = 8;
			this.value = 240000;
			return;
		end
		if (type == 2202) then
			this.width = 18;
			this.height = 18;
			this.defense = 18;
			this.legSlot = 98;
			this.rare = 8;
			this.value = 180000;
			return;
		end
		if (type == 2205) then
			this.useStyle = 1;
			this.autoReuse = true;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.width = 12;
			this.height = 12;
			this.makeNPC = 148;
			this.noUseGraphic = true;
			return;
		end
		if (type == 2206 or type == 2207) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 309 + type - 2206;
			this.width = 12;
			this.height = 12;
			return;
		end
		if (type == 2208) then
			this.width = 18;
			this.height = 20;
			this.maxStack = Item.CommonMaxStack;
			return;
		end
		if (type == 2209) then
			this.UseSound = SoundID.Item3;
			this.healMana = 300;
			this.useStyle = 9;
			this.useTurn = true;
			this.useAnimation = 17;
			this.useTime = 17;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.width = 14;
			this.height = 24;
			this.rare = 4;
			this.value = 1500;
			return;
		end
		if (type >= 2210 and type <= 2213) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 7;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createWall = 138 + type - 2210;
			this.width = 12;
			this.height = 12;
			return;
		end
		if (type >= 2214 and type <= 2217) 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 == 2218) then
			this.width = 14;
			this.height = 18;
			this.maxStack = Item.CommonMaxStack;
			this.rare = 8;
			this.value = Item.sellPrice(0, 0, 50, 0);
			return;
		end
		if (type == 2219) then
			this.width = 24;
			this.height = 24;
			this.accessory = true;
			this.value = Item.buyPrice(0, 15, 0, 0);
			this.rare = 4;
			return;
		end
		if (type == 2220) then
			this.width = 24;
			this.height = 24;
			this.accessory = true;
			this.value = Item.buyPrice(0, 16, 0, 0);
			this.rare = 5;
			return;
		end
		if (type == 2221) then
			this.width = 24;
			this.height = 24;
			this.accessory = true;
			this.rare = 5;
			this.value = Item.buyPrice(0, 16, 0, 0);
			this.handOffSlot = 10;
			this.handOnSlot = 17;
			return;
		end
		if (type == 2222) then
			this.width = 18;
			this.height = 18;
			this.headSlot = 158;
			this.vanity = true;
			this.value = Item.sellPrice(0, 0, 25, 0);
			return;
		end
		if (type == 2223) then
			this.autoReuse = true;
			this.useStyle = 5;
			this.useAnimation = 20;
			this.useTime = 20;
			this.width = 50;
			this.height = 18;
			this.shoot = 10;
			this.useAmmo = AmmoID.Arrow;
			this.UseSound = SoundID.Item75;
			this.crit = 7;
			this.damage = 80;
			this.knockBack = 3;
			this.shootSpeed = 7.75;
			this.noMelee = true;
			this.value = Item.buyPrice(0, 45, 0, 0);
			this.rare = 8;
			this.ranged = true;
			return;
		end
		if (type == 2224) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 34;
			this.placeStyle = 22;
			this.width = 26;
			this.height = 26;
			this.value = 160;
			return;
		end
		if (type == 2225) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 93;
			this.placeStyle = 17;
			this.width = 10;
			this.height = 24;
			this.value = 120;
			return;
		end
		if (type == 2226) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 42;
			this.width = 12;
			this.height = 28;
			this.placeStyle = 26;
			this.value = 200;
			return;
		end
		if (type == 2227) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 100;
			this.placeStyle = 17;
			this.width = 20;
			this.height = 20;
			this.value = 120;
			return;
		end
		if (type == 2228) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 15;
			this.placeStyle = 27;
			this.width = 12;
			this.height = 30;
			this.value = 150;
			return;
		end
		if (type == 2229) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 18;
			this.placeStyle = 18;
			this.width = 28;
			this.height = 14;
			this.value = 150;
			return;
		end
		if (type == 2230) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 21;
			this.placeStyle = 28;
			this.width = 26;
			this.height = 22;
			this.value = 320;
			return;
		end
		if (type == 2231) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.autoReuse = true;
			this.createTile = 79;
			this.placeStyle = 21;
			this.width = 28;
			this.height = 20;
			this.value = 600;
			return;
		end
		if (type == 2232) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 90;
			this.placeStyle = 16;
			this.width = 20;
			this.height = 20;
			this.value = 300;
			return;
		end
		if (type == 2233) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 101;
			this.width = 20;
			this.height = 20;
			this.value = 300;
			this.placeStyle = 22;
			return;
		end
		if (type == 2234) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 13;
			this.placeStyle = 5;
			this.width = 16;
			this.height = 24;
			this.value = 20;
			return;
		end
		if (type == 2235) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 103;
			this.placeStyle = 1;
			this.width = 16;
			this.height = 24;
			this.value = 20;
			return;
		end
		if (type == 2236) then
			this.noWet = true;
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 33;
			this.width = 8;
			this.height = 18;
			this.value = Item.sellPrice(0, 0, 0, 60);
			this.placeStyle = 17;
			return;
		end
		if (type >= 2237 and type <= 2241) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 104;
			this.placeStyle = 1 + type - 2237;
			this.width = 20;
			this.height = 20;
			this.value = 300;
			return;
		end
		if (type == 2242 or type == 2243) then
			this.useStyle = 1;
			this.useTurn = true;
			this.useAnimation = 15;
			this.useTime = 10;
			this.autoReuse = true;
			this.maxStack = Item.CommonMaxStack;
			this.consumable = true;
			this.createTile = 103;
			this.placeStyle = 2 + type - 2242;
			this.width = 16;
			this.height = 24;
			this.value = 20;
			if (type == 2242) then
				this.value = Item.buyPrice(0, 0, 20, 0);
				return;
			end
		else
			if (type == 2244) then
				this.useStyle = 1;
				this.useTurn = true;
				this.useAnimation = 15;
				this.useTime = 10;
				this.autoReuse = true;
				this.maxStack = Item.CommonMaxStack;
				this.consumable = true;
				this.createTile = 13;
				this.placeStyle = 6;
				this.width = 16;
				this.height = 24;
				this.value = 20;
				return;
			end
			if (type >= 2245 and type <= 2247) then
				this.useStyle = 1;
				this.useTurn = true;
				this.useAnimation = 15;
				this.useTime = 10;
				this.autoReuse = true;
				this.maxStack = Item.CommonMaxStack;
				this.consumable = true;
				this.createTile = 87;
				this.placeStyle = 5 + type - 2245;
				this.width = 20;
				this.height = 20;
				this.value = 300;
				return;
			end
			if (type == 2248) then
				this.useStyle = 1;
				this.useTurn = true;
				this.useAnimation = 15;
				this.useTime = 10;
				this.autoReuse = true;
				this.maxStack = Item.CommonMaxStack;
				this.consumable = true;
				this.createTile = 14;
				this.placeStyle = 24;
				this.width = 26;
				this.height = 20;
				this.value = 300;
				return;
			end
			if (type == 2249 or type == 2250) then
				this.useStyle = 1;
				this.useTurn = true;
				this.useAnimation = 15;
				this.useTime = 10;
				this.autoReuse = true;
				this.maxStack = Item.CommonMaxStack;
				this.consumable = true;
				this.createTile = 21;
				this.placeStyle = 29 + type - 2249;
				this.width = 26;
				this.height = 22;
				this.value = 2500;
				return;
			end
			if (type >= 2251 and type <= 2253) then
				this.useStyle = 1;
				this.useTurn = true;
				this.useAnimation = 15;
				this.useTime = 10;
				this.autoReuse = true;
				this.maxStack = Item.CommonMaxStack;
				this.consumable = true;
				this.createTile = 18;
				this.placeStyle = 19 + type - 2251;
				this.width = 28;
				this.height = 14;
				this.value = 150;
				return;
			end
			if (type >= 2254 and type <= 2256) then
				this.useStyle = 1;
				this.useTurn = true;
				this.useAnimation = 15;
				this.useTime = 10;
				this.autoReuse = true;
				this.maxStack = Item.CommonMaxStack;
				this.consumable = true;
				this.createTile = 87;
				this.placeStyle = 8 + type - 2254;
				this.width = 20;
				this.height = 20;
				this.value = 300;
				return;
			end
			if (type == 2257 or type == 2258) then
				this.useStyle = 1;
				this.useTurn = true;
				this.useAnimation = 15;
				this.useTime = 10;
				this.autoReuse = true;
				this.maxStack = Item.CommonMaxStack;
				this.consumable = true;
				this.createTile = 13;
				this.placeStyle = 7 + type - 2257;
				this.width = 16;
				this.height = 24;
				this.value = 20;
				if (type == 2258) then
					this.value = Item.buyPrice(0, 0, 50, 0);
					return;
				end
			else
				if (type == 2259) then
					this.useStyle = 1;
					this.useTurn = true;
					this.useAnimation = 15;
					this.useTime = 10;
					this.autoReuse = true;
					this.maxStack = Item.CommonMaxStack;
					this.consumable = true;
					this.createTile = 14;
					this.placeStyle = 25;
					this.width = 26;
					this.height = 20;
					this.value = 300;
					return;
				end
				if (type >= 2260 and type <= 2262) then
					this.useStyle = 1;
					this.useTurn = true;
					this.useAnimation = 15;
					this.useTime = 10;
					this.autoReuse = true;
					this.maxStack = Item.CommonMaxStack;
					this.consumable = true;
					this.createTile = 311 + type - 2260;
					this.width = 12;
					this.height = 12;
					this.value = Item.buyPrice(0, 0, 0, 50);
					return;
				end
				if (type >= 2263 and type <= 2264) then
					this.useStyle = 1;
					this.useTurn = true;
					this.useAnimation = 15;
					this.useTime = 7;
					this.autoReuse = true;
					this.maxStack = Item.CommonMaxStack;
					this.consumable = true;
					this.createWall = 142 + type - 2263;
					this.width = 12;
					this.height = 12;
					return;
				end
				if (type == 2265) then
					this.useStyle = 1;
					this.useTurn = true;
					this.useAnimation = 15;
					this.useTime = 10;
					this.maxStack = Item.CommonMaxStack;
					this.consumable = true;
					this.createTile = 10;
					this.placeStyle = 28;
					this.width = 14;
					this.height = 28;
					this.value = 200;
					return;
				end
				if (type == 2266) then
					this.UseSound = SoundID.Item3;
					this.useStyle = 9;
					this.useTurn = true;
					this.useAnimation = 17;
					this.useTime = 17;
					this.maxStack = Item.CommonMaxStack;
					this.consumable = true;
					this.width = 10;
					this.height = 10;
					this.buffType = 25;
					this.buffTime = 14400;
					this.rare = 1;
					this.value = Item.buyPrice(0, 0, 5, 0);
					return;
				end
				if (type == 2269) then
					this.autoReuse = false;
					this.useStyle = 5;
					this.useAnimation = 22;
					this.useTime = 22;
					this.width = 24;
					this.height = 24;
					this.shoot = 14;
					this.knockBack = 4;
					this.useAmmo = AmmoID.Bullet;
					this.UseSound = SoundID.Item41;
					this.damage = 20;
					this.shootSpeed = 16;
					this.noMelee = true;
					this.value = Item.buyPrice(0, 10, 0, 0);
					this.scale = 0.85;
					this.rare = 2;
					this.ranged = true;
					this.crit = 5;
					return;
				end
				if (type == 2270) then
					this.useStyle = 5;
					this.autoReuse = true;
					this.useAnimation = 7;
					this.useTime = 7;
					this.width = 50;
					this.height = 18;
					this.shoot = 10;
					this.useAmmo = AmmoID.Bullet;
					this.UseSound = SoundID.Item41;
					this.damage = 21;
					this.shootSpeed = 8;
					this.noMelee = true;
					this.value = Item.buyPrice(0, 35, 0, 0);
					this.knockBack = 1.5;
					this.rare = 4;
					this.ranged = true;
					return;
				end
				if (type == 2271) then
					this.useStyle = 1;
					this.useTurn = true;
					this.useAnimation = 15;
					this.useTime = 7;
					this.autoReuse = true;
					this.maxStack = Item.CommonMaxStack;
					this.consumable = true;
					this.createWall = 144;
					this.width = 12;
					this.height = 12;
					this.value = Item.buyPrice(0, 0, 2, 50);
					return;
				end
				if (type == 2272) then
					this.useStyle = 5;
					this.useAnimation = 20;
					this.useTime = 20;
					this.width = 38;
					this.height = 10;
					this.damage = 0;
					this.scale = 0.9;
					this.shoot = 358;
					this.shootSpeed = 11;
					this.value = Item.buyPrice(0, 1, 50, 0);
					return;
				end
				if (type ~= 2273) then
					if (type == 2274) 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 = Item.CommonMaxStack;
						this.consumable = true;
						this.createTile = 4;
						this.placeStyle = 12;
						this.width = 10;
						this.height = 12;
						this.value = Item.buyPrice(0, 0, 3, 0);
						return;
					end
					if (type == 2275) then
						this.width = 18;
						this.height = 18;
						this.headSlot = 159;
						this.value = Item.buyPrice(0, 3, 0, 0);
						this.defense = 2;
						this.rare = 2;
						return;
					end
					if (type == 2276) then
						this.width = 24;
						this.height = 24;
						this.accessory = true;
						this.vanity = true;
						this.rare = 8;
						this.value = Item.buyPrice(2, 0, 0, 0);
						this.handOnSlot = 16;
						return;
					end
					if (type == 2277) then
						this.width = 18;
						this.height = 14;
						this.bodySlot = 165;
						this.value = Item.buyPrice(0, 2, 0, 0);
						this.defense = 4;
						this.rare = 1;
						return;
					end
					if (type == 2278) then
						this.width = 18;
						this.height = 14;
						this.bodySlot = 166;
						this.vanity = true;
						this.value = Item.buyPrice(0, 1, 0, 0);
						return;
					end
					if (type == 2279) then
						this.width = 18;
						this.height = 14;
						this.bodySlot = 167;
						this.value = Item.buyPrice(0, 3, 50, 0);
						this.defense = 2;
						this.rare = 1;
						return;
					end
					if (type == 2280) then
						this.width = 22;
						this.height = 20;
						this.accessory = true;
						this.value = 400000;
						this.rare = 7;
						this.wingSlot = 24;
						return;
					end
					if (type >= 2281 and type <= 2283) then
						this.useStyle = 1;
						this.useTurn = true;
						this.useAnimation = 15;
						this.useTime = 10;
						this.autoReuse = true;
						this.maxStack = Item.CommonMaxStack;
						this.consumable = true;
						this.createTile = 242;
						this.width = 30;
						this.height = 30;
						this.value = Item.buyPrice(0, 1, 0, 0);
						this.placeStyle = 22 + type - 2281;
						return;
					end
					if (type >= 2284 and type <= 2287) then
						this.width = 26;
						this.height = 30;
						this.maxStack = 1;
						this.value = Item.buyPrice(0, 5, 0, 0);
						this.rare = 5;
						this.accessory = true;
						this.backSlot = 3 + type - 2284;
						this.frontSlot = 1 + type - 2284;
						this.vanity = true;
						return;
					end
					if (type == 2288) then
						this.useStyle = 1;
						this.useTurn = true;
						this.useAnimation = 15;
						this.useTime = 10;
						this.autoReuse = true;
						this.maxStack = Item.CommonMaxStack;
						this.consumable = true;
						this.createTile = 15;
						this.placeStyle = 28;
						this.width = 12;
						this.height = 30;
						this.value = 150;
						return;
					end
					if (type == 2289 or type >= 2291 and type <= 2296) then
						this.useStyle = 1;
						this.useAnimation = 8;
						this.useTime = 8;
						this.width = 24;
						this.height = 28;
						this.UseSound = SoundID.Item1;
						this.shoot = 361 + type - 2291;
						if (type == 2289) then
							this.fishingPole = 5;
							this.shootSpeed = 9;
							this.shoot = 360;
							this.value = Item.sellPrice(0, 0, 0, 60);
							return;
						end
						if (type == 2291) then
							this.fishingPole = 15;
							this.shootSpeed = 11;
							this.value = Item.sellPrice(0, 0, 24, 0);
							return;
						end
						if (type == 2293) then
							this.fishingPole = 20;
							this.shootSpeed = 13;
							this.rare = 1;
							this.value = Item.sellPrice(0, 2, 40, 0);
							return;
						end
						if (type == 2292) then
							this.fishingPole = 30;
							this.shootSpeed = 14;
							this.rare = 2;
							this.value = Item.sellPrice(0, 1, 0, 0);
							return;
						end
						if (type == 2295) then
							this.fishingPole = 35;
							this.shootSpeed = 15;
							this.rare = 2;
							this.value = Item.buyPrice(0, 20, 0, 0);
							return;
						end
						if (type == 2296) then
							this.fishingPole = 40;
							this.shootSpeed = 16;
							this.rare = 2;
							this.value = Item.buyPrice(0, 35, 0, 0);
							return;
						end
						if (type == 2294) then
							this.fishingPole = 50;
							this.shootSpeed = 17;
							this.rare = 3;
							this.value = Item.sellPrice(0, 20, 0, 0);
							return;
						end
					else
						if (type >= 2421 and type <= 2422) then
							this.useStyle = 1;
							this.useAnimation = 8;
							this.useTime = 8;
							this.width = 24;
							this.height = 28;
							this.UseSound = SoundID.Item1;
							this.shoot = 381 + type - 2421;
							if (type == 2421) then
								this.fishingPole = 22;
								this.shootSpeed = 13.5;
								this.rare = 1;
								this.value = Item.sellPrice(0, 3, 12, 0);
								return;
							end
							this.fishingPole = 45;
							this.shootSpeed = 16.5;
							this.rare = 3;
							this.value = Item.sellPrice(0, 10, 0, 0);
							return;
						end
						if (type == 2320) then
							this.autoReuse = true;
							this.width = 26;
							this.height = 26;
							this.value = Item.sellPrice(0, 1, 50, 0);
							this.useStyle = 1;
							this.useAnimation = 24;
							this.useTime = 14;
							this.hammer = 70;
							this.knockBack = 6;
							this.damage = 24;
							this.scale = 1.05;
							this.UseSound = SoundID.Item1;
							this.rare = 3;
							this.melee = true;
							return;
						end
						if (type == 2314) then
							this.maxStack = Item.CommonMaxStack;
							this.width = 26;
							this.height = 26;
							this.value = Item.sellPrice(0, 0, 15, 0);
							this.rare = 1;
							this.UseSound = SoundID.Item3;
							this.healLife = 120;
							this.useStyle = 2;
							this.useTurn = true;
							this.useAnimation = 17;
							this.useTime = 17;
							this.consumable = true;
							this.potion = true;
							return;
						end
						if (type < 2290 or type > 2321) then
							if (type == 2322) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 104;
								this.buffTime = 36000;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2323) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 105;
								this.buffTime = 28800;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2324) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 106;
								this.buffTime = 43200;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2325) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 107;
								this.buffTime = 162000;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2326) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 108;
								this.buffTime = 28800;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2327) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 109;
								this.buffTime = 28800;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2328) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 110;
								this.buffTime = 28800;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2329) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 111;
								this.buffTime = 36000;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2330) then
								this.autoReuse = true;
								this.useStyle = 1;
								this.useTime = 35;
								this.useAnimation = 35;
								this.width = 24;
								this.height = 28;
								this.damage = 35;
								this.knockBack = 8;
								this.scale = 1.15;
								this.UseSound = SoundID.Item1;
								this.rare = 1;
								this.value = Item.sellPrice(0, 1, 0, 0);
								this.melee = true;
								return;
							end
							if (type == 2331) then
								this.useStyle = 5;
								this.useAnimation = 20;
								this.useTime = 20;
								this.shootSpeed = 4;
								this.knockBack = 6.5;
								this.width = 40;
								this.height = 40;
								this.damage = 70;
								this.crit = 20;
								this.UseSound = SoundID.Item1;
								this.shoot = 367;
								this.rare = 7;
								this.value = Item.sellPrice(0, 1, 0, 0);
								this.noMelee = true;
								this.noUseGraphic = true;
								this.melee = true;
								return;
							end
							if (type == 2332) then
								this.useStyle = 5;
								this.useAnimation = 20;
								this.useTime = 20;
								this.shootSpeed = 4;
								this.knockBack = 4.25;
								this.width = 40;
								this.height = 40;
								this.damage = 19;
								this.UseSound = SoundID.Item1;
								this.shoot = 368;
								this.rare = 2;
								this.value = Item.sellPrice(0, 0, 50, 0);
								this.noMelee = true;
								this.noUseGraphic = true;
								this.melee = true;
								return;
							end
							if (type == 2333) then
								this.useStyle = 1;
								this.useTurn = true;
								this.useAnimation = 15;
								this.useTime = 7;
								this.autoReuse = true;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.createWall = 145;
								this.width = 12;
								this.height = 12;
								return;
							end
							if (type == 2334) then
								this.width = 12;
								this.height = 12;
								this.rare = 1;
								this.maxStack = Item.CommonMaxStack;
								this.value = Item.sellPrice(0, 0, 10, 0);
								this.createTile = 376;
								this.placeStyle = 0;
								this.useAnimation = 15;
								this.useTime = 15;
								this.autoReuse = true;
								this.useStyle = 1;
								this.consumable = true;
								return;
							end
							if (type == 2335) then
								this.width = 12;
								this.height = 12;
								this.rare = 2;
								this.maxStack = Item.CommonMaxStack;
								this.value = Item.sellPrice(0, 0, 50, 0);
								this.createTile = 376;
								this.placeStyle = 1;
								this.useAnimation = 15;
								this.useTime = 15;
								this.autoReuse = true;
								this.useStyle = 1;
								this.consumable = true;
								return;
							end
							if (type == 2336) then
								this.width = 12;
								this.height = 12;
								this.rare = 3;
								this.maxStack = Item.CommonMaxStack;
								this.value = Item.sellPrice(0, 2, 0, 0);
								this.createTile = 376;
								this.placeStyle = 2;
								this.useAnimation = 15;
								this.useTime = 15;
								this.autoReuse = true;
								this.useStyle = 1;
								this.consumable = true;
								return;
							end
							if (type >= 2337 and type <= 2339) then
								this.useStyle = 1;
								this.useAnimation = 15;
								this.useTime = 10;
								this.width = 12;
								this.height = 12;
								this.rare = -1;
								this.maxStack = Item.CommonMaxStack;
								this.autoReuse = true;
								this.MakeUsableWithChlorophyteExtractinator();
								return;
							end
							if (type == 2340) then
								this.useStyle = 1;
								this.useAnimation = 15;
								this.useTime = 7;
								this.useTurn = true;
								this.autoReuse = true;
								this.width = 16;
								this.height = 16;
								this.maxStack = Item.CommonMaxStack;
								this.createTile = 314;
								this.placeStyle = 0;
								this.consumable = true;
								this.cartTrack = true;
								this.tileBoost = 5;
								return;
							end
							if (type == 2341) then
								this.useStyle = 1;
								this.useTurn = true;
								this.useAnimation = 22;
								this.useTime = 13;
								this.autoReuse = true;
								this.width = 24;
								this.height = 28;
								this.damage = 16;
								this.pick = 59;
								this.scale = 1.15;
								this.UseSound = SoundID.Item1;
								this.knockBack = 3;
								this.rare = 3;
								this.value = Item.sellPrice(0, 1, 50, 0);
								this.melee = true;
								return;
							end
							if (type == 2342) then
								this.useStyle = 5;
								this.useAnimation = 25;
								this.useTime = 8;
								this.shootSpeed = 48;
								this.knockBack = 2.25;
								this.width = 20;
								this.height = 12;
								this.damage = 13;
								this.axe = 14;
								this.UseSound = SoundID.Item23;
								this.shoot = 369;
								this.rare = 3;
								this.value = Item.sellPrice(0, 1, 50, 0);
								this.noMelee = true;
								this.noUseGraphic = true;
								this.melee = true;
								this.channel = true;
								return;
							end
							if (type == 2343) then
								this.width = 48;
								this.height = 28;
								this.mountType = 6;
								this.rare = 1;
								this.value = Item.sellPrice(0, 0, 2, 0);
								return;
							end
							if (type == 2344) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 112;
								this.buffTime = 28800;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2345) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 113;
								this.buffTime = 28800;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2346) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 114;
								this.buffTime = 14400;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2347) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 115;
								this.buffTime = 14400;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2348) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 116;
								this.buffTime = 14400;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2349) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 117;
								this.buffTime = 14400;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2350) then
								this.UseSound = SoundID.Item6;
								this.useStyle = 6;
								this.useTurn = true;
								local num = 30;
								local num1 = num;
								this.useAnimation = num;
								this.useTime = num1;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2351) then
								this.UseSound = SoundID.Item6;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2352) then
								this.useStyle = 1;
								this.shootSpeed = 9;
								this.shoot = 370;
								this.width = 18;
								this.height = 20;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.UseSound = SoundID.Item1;
								this.useAnimation = 15;
								this.useTime = 15;
								this.noUseGraphic = true;
								this.noMelee = true;
								this.value = 200;
								return;
							end
							if (type == 2353) then
								this.useStyle = 1;
								this.shootSpeed = 9;
								this.shoot = 371;
								this.width = 18;
								this.height = 20;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.UseSound = SoundID.Item1;
								this.useAnimation = 15;
								this.useTime = 15;
								this.noUseGraphic = true;
								this.noMelee = true;
								this.value = 200;
								return;
							end
							if (type == 2354) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 121;
								this.buffTime = 28800;
								this.rare = 1;
								this.value = 1000;
								return;
							end
							if (type == 2355) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 122;
								this.buffTime = 28800;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2356) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 123;
								this.buffTime = 14400;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2357) then
								this.autoReuse = true;
								this.useTurn = true;
								this.useStyle = 1;
								this.useAnimation = 15;
								this.useTime = 10;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.createTile = 82;
								this.placeStyle = 6;
								this.width = 12;
								this.height = 14;
								this.value = 80;
								return;
							end
							if (type == 2358) then
								this.maxStack = Item.CommonMaxStack;
								this.width = 12;
								this.height = 14;
								this.value = 100;
								return;
							end
							if (type == 2359) then
								this.UseSound = SoundID.Item3;
								this.useStyle = 9;
								this.useTurn = true;
								this.useAnimation = 17;
								this.useTime = 17;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.width = 14;
								this.height = 24;
								this.buffType = 124;
								this.buffTime = 54000;
								this.value = 1000;
								this.rare = 1;
								return;
							end
							if (type == 2360) then
								this.noUseGraphic = true;
								this.damage = 0;
								this.useStyle = 5;
								this.shootSpeed = 13;
								this.shoot = 372;
								this.width = 18;
								this.height = 28;
								this.UseSound = SoundID.Item1;
								this.useAnimation = 20;
								this.useTime = 20;
								this.rare = 3;
								this.noMelee = true;
								this.value = 20000;
								return;
							end
							if (type == 2361) then
								this.width = 18;
								this.height = 18;
								this.defense = 4;
								this.headSlot = 160;
								this.rare = 3;
								this.value = Item.sellPrice(0, 0, 40, 0);
								return;
							end
							if (type == 2362) then
								this.width = 18;
								this.height = 18;
								this.defense = 5;
								this.bodySlot = 168;
								this.rare = 3;
								this.value = Item.sellPrice(0, 0, 60, 0);
								return;
							end
							if (type == 2363) then
								this.width = 18;
								this.height = 18;
								this.defense = 4;
								this.legSlot = 103;
								this.rare = 3;
								this.value = Item.sellPrice(0, 0, 50, 0);
								return;
							end
							if (type == 2364) then
								this.mana = 10;
								this.damage = 12;
								this.useStyle = 1;
								this.shootSpeed = 10;
								this.shoot = 373;
								this.width = 26;
								this.height = 28;
								this.UseSound = SoundID.Item76;
								this.useAnimation = 22;
								this.useTime = 22;
								this.rare = 3;
								this.noMelee = true;
								this.knockBack = 2;
								this.buffType = 125;
								this.value = Item.sellPrice(0, 0, 70, 0);
								this.summon = true;
								this.autoReuse = true;
								this.reuseDelay = 2;
								return;
							end
							if (type == 2365) then
								this.mana = 10;
								this.damage = 17;
								this.useStyle = 1;
								this.shootSpeed = 10;
								this.shoot = 375;
								this.width = 26;
								this.height = 28;
								this.UseSound = SoundID.Item77;
								this.useAnimation = 36;
								this.useTime = 36;
								this.rare = 3;
								this.noMelee = true;
								this.knockBack = 2;
								this.buffType = 126;
								this.value = Item.sellPrice(0, 0, 54, 0);
								this.summon = true;
								this.autoReuse = true;
								this.reuseDelay = 2;
								return;
							end
							if (type == 2366) then
								this.mana = 10;
								this.damage = 26;
								this.useStyle = 1;
								this.shootSpeed = 14;
								this.shoot = 377;
								this.width = 18;
								this.height = 20;
								this.UseSound = SoundID.Item78;
								this.useAnimation = 30;
								this.useTime = 30;
								this.noMelee = true;
								this.value = Item.sellPrice(0, 5, 0, 0);
								this.knockBack = 7.5;
								this.rare = 4;
								this.summon = true;
								this.sentry = true;
								return;
							end
							if (type == 2367) then
								this.width = 18;
								this.height = 18;
								this.defense = 1;
								this.headSlot = 161;
								this.rare = 1;
								this.value = Item.sellPrice(0, 1, 0, 0);
								return;
							end
							if (type == 2368) then
								this.width = 18;
								this.height = 18;
								this.bodySlot = 169;
								this.defense = 2;
								this.rare = 1;
								this.value = Item.sellPrice(0, 1, 0, 0);
								return;
							end
							if (type == 2369) then
								this.width = 18;
								this.height = 18;
								this.legSlot = 104;
								this.defense = 1;
								this.rare = 1;
								this.value = Item.sellPrice(0, 1, 0, 0);
								return;
							end
							if (type == 2370) then
								this.width = 18;
								this.height = 18;
								this.headSlot = 162;
								this.rare = 4;
								this.value = Item.sellPrice(0, 0, 75, 0);
								this.defense = 5;
								return;
							end
							if (type == 2371) then
								this.width = 18;
								this.height = 18;
								this.bodySlot = 170;
								this.rare = 4;
								this.value = Item.sellPrice(0, 0, 75, 0);
								this.defense = 8;
								return;
							end
							if (type == 2372) then
								this.width = 18;
								this.height = 18;
								this.legSlot = 105;
								this.rare = 4;
								this.value = Item.sellPrice(0, 0, 75, 0);
								this.defense = 7;
								return;
							end
							if (type >= 2373 and type <= 2375) then
								this.width = 26;
								this.height = 30;
								this.maxStack = 1;
								this.value = Item.sellPrice(0, 1, 0, 0);
								this.rare = 1;
								this.accessory = true;
								return;
							end
							if (type >= 2376 and type <= 2385) then
								this.useStyle = 1;
								this.useTurn = true;
								this.useAnimation = 15;
								this.useTime = 10;
								this.autoReuse = true;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.createTile = 87;
								this.placeStyle = 11 + type - 2376;
								this.width = 20;
								this.height = 20;
								this.value = 300;
								if (type == 2379) then
									this.value = Item.buyPrice(0, 10, 0, 0);
									return;
								end
							
							elseif (type < 2386 or type > 2396) then
								if (type >= 2397 and type <= 2416) then
									this.useStyle = 1;
									this.useTurn = true;
									this.useAnimation = 15;
									this.useTime = 10;
									this.autoReuse = true;
									this.maxStack = Item.CommonMaxStack;
									this.consumable = true;
									this.createTile = 89;
									this.placeStyle = 1 + type - 2397;
									this.width = 20;
									this.height = 20;
									this.value = 300;
									return;
								end
								if (type == 2417) then
									this.width = 18;
									this.height = 18;
									this.headSlot = 163;
									this.vanity = true;
									this.value = Item.sellPrice(0, 1, 0, 0);
									return;
								end
								if (type == 2418) then
									this.width = 18;
									this.height = 18;
									this.bodySlot = 171;
									this.vanity = true;
									this.value = Item.sellPrice(0, 1, 0, 0);
									return;
								end
								if (type == 2419) then
									this.width = 18;
									this.height = 18;
									this.legSlot = 106;
									this.vanity = true;
									this.value = Item.sellPrice(0, 1, 0, 0);
									return;
								end
								if (type == 2420) then
									this.damage = 0;
									this.useStyle = 1;
									this.shoot = 380;
									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, 3, 0, 0);
									this.buffType = 127;
									return;
								end
								if (type == 2423) then
									this.width = 16;
									this.height = 24;
									this.accessory = true;
									this.rare = 1;
									this.value = 50000;
									this.shoeSlot = 15;
									return;
								end
								if (type == 2424) then
									this.noMelee = true;
									this.useStyle = 1;
									this.shootSpeed = 20;
									this.shoot = 383;
									this.damage = 70;
									this.knockBack = 8;
									this.width = 34;
									this.height = 34;
									this.UseSound = SoundID.Item1;
									this.useAnimation = 20;
									this.useTime = 20;
									this.noUseGraphic = true;
									this.rare = 3;
									this.value = 50000;
									this.melee = true;
									return;
								end
								if (type == 2428) then
									this.useStyle = 1;
									this.width = 16;
									this.height = 30;
									this.UseSound = SoundID.Item79;
									this.useAnimation = 20;
									this.useTime = 20;
									this.rare = 8;
									this.noMelee = true;
									this.mountType = 1;
									this.value = Item.sellPrice(0, 5, 0, 0);
									return;
								end
								if (type == 2429) then
									this.useStyle = 1;
									this.width = 16;
									this.height = 30;
									this.UseSound = SoundID.Item80;
									this.useAnimation = 20;
									this.useTime = 20;
									this.rare = 8;
									this.noMelee = true;
									this.mountType = 2;
									this.value = Item.sellPrice(0, 5, 0, 0);
									return;
								end
								if (type == 2430) then
									this.useStyle = 1;
									this.width = 16;
									this.height = 30;
									this.UseSound = SoundID.Item81;
									this.useAnimation = 20;
									this.useTime = 20;
									this.rare = 8;
									this.noMelee = true;
									this.mountType = 3;
									this.value = Item.sellPrice(0, 5, 0, 0);
									return;
								end
								if (type == 2431) then
									this.width = 18;
									this.height = 16;
									this.maxStack = Item.CommonMaxStack;
									this.value = Item.sellPrice(0, 0, 5, 0);
									return;
								end
								if (type < 2432 or type > 2434) then
									if (type == 2435) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 315;
										this.width = 12;
										this.height = 12;
										this.value = Item.buyPrice(0, 0, 0, 50);
										return;
									end
									if (type >= 2436 and type <= 2438) then
										this.useStyle = 1;
										this.autoReuse = true;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.width = 12;
										this.height = 12;
										this.noUseGraphic = true;
										this.bait = 20;
										this.value = Item.sellPrice(0, 3, 50, 0);
										return;
									end
									if (type >= 2439 and type <= 2441) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 316 + type - 2439;
										this.width = 12;
										this.height = 12;
										return;
									end
									if (type >= 2442 and type <= 2449) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 240;
										this.width = 30;
										this.height = 30;
										this.value = Item.sellPrice(0, 0, 50, 0);
										this.placeStyle = 46 + type - 2442;
										return;
									end
									if (type >= 2450 and type <= 2488) then
										this.DefaultToQuestFish();
										return;
									end
									if (type == 2489) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 240;
										this.width = 30;
										this.height = 30;
										this.value = Item.sellPrice(0, 1, 0, 0);
										this.placeStyle = 54;
										this.rare = 1;
										return;
									end
									if (type == 2490) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 319;
										this.width = 12;
										this.height = 12;
										this.value = Item.sellPrice(0, 3, 0, 0);
										return;
									end
									if (type == 2491) then
										this.useStyle = 1;
										this.width = 16;
										this.height = 30;
										this.UseSound = SoundID.Item25;
										this.useAnimation = 20;
										this.useTime = 20;
										this.rare = 8;
										this.noMelee = true;
										this.mountType = 4;
										this.value = Item.sellPrice(0, 5, 0, 0);
										return;
									end
									if (type == 2492) then
										this.useStyle = 1;
										this.useAnimation = 15;
										this.useTime = 7;
										this.useTurn = true;
										this.autoReuse = true;
										this.width = 16;
										this.height = 16;
										this.maxStack = Item.CommonMaxStack;
										this.createTile = 314;
										this.placeStyle = 1;
										this.consumable = true;
										this.cartTrack = true;
										this.mech = true;
										this.tileBoost = 2;
										this.value = Item.sellPrice(0, 0, 10, 0);
										return;
									end
									if (type == 2493) then
										this.width = 28;
										this.height = 20;
										this.headSlot = 164;
										this.rare = 1;
										this.value = Item.sellPrice(0, 0, 75, 0);
										this.vanity = true;
										return;
									end
									if (type == 2494) then
										this.width = 22;
										this.height = 20;
										this.accessory = true;
										this.value = Item.buyPrice(0, 40, 0, 0);
										this.rare = 4;
										this.wingSlot = 25;
										return;
									end
									if (type == 2495) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 242;
										this.width = 30;
										this.height = 30;
										this.value = Item.sellPrice(0, 1, 0, 0);
										this.placeStyle = 25;
										return;
									end
									if (type == 2496) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 320;
										this.placeStyle = 0;
										this.width = 22;
										this.height = 30;
										this.value = Item.sellPrice(0, 1, 0, 0);
										return;
									end
									if (type == 2497) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 242;
										this.width = 30;
										this.height = 30;
										this.value = Item.sellPrice(0, 0, 50, 0);
										this.placeStyle = 26;
										return;
									end
									if (type == 2498) then
										this.width = 18;
										this.height = 18;
										this.headSlot = 165;
										this.vanity = true;
										this.value = Item.sellPrice(0, 1, 0, 0);
										return;
									end
									if (type == 2499) then
										this.width = 18;
										this.height = 18;
										this.bodySlot = 172;
										this.vanity = true;
										this.value = Item.sellPrice(0, 1, 0, 0);
										return;
									end
									if (type == 2500) then
										this.width = 18;
										this.height = 18;
										this.legSlot = 107;
										this.vanity = true;
										this.value = Item.sellPrice(0, 1, 0, 0);
										return;
									end
									if (type == 2501) then
										this.width = 18;
										this.height = 12;
										this.maxStack = 1;
										this.value = Item.sellPrice(0, 1, 0, 0);
										this.rare = 5;
										this.beardSlot = 1;
										this.accessory = true;
										this.vanity = true;
										return;
									end
									if (type == 2502) then
										this.useStyle = 1;
										this.width = 16;
										this.height = 30;
										this.UseSound = SoundID.Item25;
										this.useAnimation = 20;
										this.useTime = 20;
										this.rare = 8;
										this.noMelee = true;
										this.mountType = 5;
										this.value = Item.sellPrice(0, 5, 0, 0);
										return;
									end
									if (type == 2503) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 321;
										this.width = 8;
										this.height = 10;
										return;
									end
									if (type == 2504) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 322;
										this.width = 8;
										this.height = 10;
										return;
									end
									if (type == 2505) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 7;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createWall = 149;
										this.width = 12;
										this.height = 12;
										return;
									end
									if (type == 2506) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 7;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createWall = 151;
										this.width = 12;
										this.height = 12;
										return;
									end
									if (type == 2507) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 7;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createWall = 150;
										this.width = 12;
										this.height = 12;
										return;
									end
									if (type == 2508) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 7;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createWall = 152;
										this.width = 12;
										this.height = 12;
										return;
									end
									if (type == 2509) then
										this.width = 18;
										this.height = 18;
										this.defense = 1;
										this.headSlot = 166;
										return;
									end
									if (type == 2510) then
										this.width = 18;
										this.height = 18;
										this.defense = 1;
										this.bodySlot = 173;
										return;
									end
									if (type == 2511) then
										this.width = 18;
										this.height = 18;
										this.defense = 1;
										this.legSlot = 108;
										return;
									end
									if (type == 2512) then
										this.width = 18;
										this.height = 18;
										this.defense = 1;
										this.headSlot = 167;
										return;
									end
									if (type == 2513) then
										this.width = 18;
										this.height = 18;
										this.defense = 1;
										this.bodySlot = 174;
										return;
									end
									if (type == 2514) then
										this.width = 18;
										this.height = 18;
										this.defense = 1;
										this.legSlot = 109;
										return;
									end
									if (type == 2517) then
										this.useStyle = 1;
										this.useTurn = false;
										this.useAnimation = 19;
										this.useTime = 19;
										this.width = 24;
										this.height = 28;
										this.damage = 8;
										this.knockBack = 6;
										this.UseSound = SoundID.Item1;
										this.scale = 1;
										this.value = 100;
										this.melee = true;
										return;
									end
									if (type == 2516) then
										this.autoReuse = true;
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 33;
										this.useTime = 23;
										this.hammer = 35;
										this.width = 24;
										this.height = 28;
										this.damage = 4;
										this.knockBack = 5.5;
										this.scale = 1;
										this.UseSound = SoundID.Item1;
										this.value = 50;
										this.melee = true;
										this.autoReuse = true;
										return;
									end
									if (type == 2515) then
										this.useStyle = 5;
										this.useAnimation = 29;
										this.useTime = 29;
										this.width = 12;
										this.height = 28;
										this.shoot = 1;
										this.useAmmo = AmmoID.Arrow;
										this.UseSound = SoundID.Item5;
										this.damage = 6;
										this.shootSpeed = 6.6;
										this.noMelee = true;
										this.value = 100;
										this.ranged = true;
										return;
									end
									if (type == 2518) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 19;
										this.placeStyle = 17;
										this.width = 8;
										this.height = 10;
										return;
									end
									if (type == 2519) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 90;
										this.placeStyle = 17;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2520) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.autoReuse = true;
										this.createTile = 79;
										this.placeStyle = 22;
										this.width = 28;
										this.height = 20;
										this.value = 2000;
										return;
									end
									if (type == 2521) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 89;
										this.placeStyle = 21;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2527) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 89;
										this.placeStyle = 22;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2522) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 100;
										this.placeStyle = 18;
										this.width = 20;
										this.height = 20;
										this.value = 1500;
										return;
									end
									if (type == 2523) then
										this.noWet = true;
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 33;
										this.placeStyle = 18;
										this.width = 8;
										this.value = Item.sellPrice(0, 0, 0, 60);
										this.height = 18;
										return;
									end
									if (type == 2524) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 15;
										this.placeStyle = 29;
										this.width = 12;
										this.height = 30;
										this.value = 150;
										return;
									end
									if (type == 2525) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 34;
										this.placeStyle = 23;
										this.width = 26;
										this.height = 26;
										this.value = 3000;
										return;
									end
									if (type == 2526) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 21;
										this.placeStyle = 31;
										this.width = 26;
										this.height = 22;
										this.value = 500;
										return;
									end
									if (type == 2528) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 10;
										this.placeStyle = 29;
										this.width = 14;
										this.height = 28;
										this.value = 200;
										return;
									end
									if (type == 2529) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 88;
										this.placeStyle = 16;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2530) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 42;
										this.width = 12;
										this.height = 28;
										this.placeStyle = 27;
										this.value = 150;
										return;
									end
									if (type == 2531) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 87;
										this.placeStyle = 21;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2535) then
										this.mana = 10;
										this.damage = 24;
										this.useStyle = 1;
										this.shootSpeed = 10;
										this.shoot = 387;
										this.width = 26;
										this.height = 28;
										this.UseSound = SoundID.Item82;
										this.useAnimation = 36;
										this.useTime = 36;
										this.rare = 5;
										this.noMelee = true;
										this.knockBack = 2;
										this.buffType = 134;
										this.value = Item.buyPrice(0, 10, 0, 0);
										this.summon = true;
										this.autoReuse = true;
										this.reuseDelay = 2;
										return;
									end
									if (type == 2532) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 14;
										this.placeStyle = 26;
										this.width = 26;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2533) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 93;
										this.placeStyle = 18;
										this.width = 10;
										this.height = 24;
										this.value = 500;
										return;
									end
									if (type == 2534) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 18;
										this.placeStyle = 22;
										this.width = 28;
										this.height = 14;
										this.value = 150;
										return;
									end
									if (type == 2536) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 101;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										this.placeStyle = 23;
										return;
									end
									if (type == 2549) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 19;
										this.placeStyle = 18;
										this.width = 8;
										this.height = 10;
										return;
									end
									if (type == 2537) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 90;
										this.placeStyle = 18;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2538) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.autoReuse = true;
										this.createTile = 79;
										this.placeStyle = 23;
										this.width = 28;
										this.height = 20;
										this.value = 2000;
										return;
									end
									if (type == 2539) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 89;
										this.placeStyle = 23;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2540) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 101;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										this.placeStyle = 24;
										return;
									end
									if (type == 2541) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 100;
										this.placeStyle = 19;
										this.width = 20;
										this.height = 20;
										this.value = 1500;
										return;
									end
									if (type == 2542) then
										this.noWet = true;
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 33;
										this.placeStyle = 19;
										this.width = 8;
										this.value = Item.sellPrice(0, 0, 0, 60);
										this.height = 18;
										return;
									end
									if (type == 2543) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 34;
										this.placeStyle = 24;
										this.width = 26;
										this.height = 26;
										this.value = 3000;
										return;
									end
									if (type == 2544) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 21;
										this.placeStyle = 32;
										this.width = 26;
										this.height = 22;
										this.value = 500;
										return;
									end
									if (type == 2545) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 88;
										this.placeStyle = 17;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2547) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 93;
										this.placeStyle = 19;
										this.width = 10;
										this.height = 24;
										this.value = 500;
										return;
									end
									if (type == 2546) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 42;
										this.width = 12;
										this.height = 28;
										this.placeStyle = 28;
										this.value = 150;
										return;
									end
									if (type == 2548) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 87;
										this.placeStyle = 22;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2413) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 89;
										this.placeStyle = 23;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2550) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 14;
										this.placeStyle = 27;
										this.width = 26;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2551) then
										this.mana = 10;
										this.damage = 26;
										this.useStyle = 1;
										this.shootSpeed = 10;
										this.shoot = 390;
										this.width = 26;
										this.height = 28;
										this.UseSound = SoundID.Item83;
										this.useAnimation = 36;
										this.useTime = 36;
										this.rare = 4;
										this.noMelee = true;
										this.knockBack = 3;
										this.buffType = 133;
										this.value = Item.buyPrice(0, 5, 0, 0);
										this.summon = true;
										this.autoReuse = true;
										this.reuseDelay = 2;
										return;
									end
									if (type == 2552) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 90;
										this.placeStyle = 19;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2553) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.autoReuse = true;
										this.createTile = 79;
										this.placeStyle = 24;
										this.width = 28;
										this.height = 20;
										this.value = 2000;
										return;
									end
									if (type == 2554) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 101;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										this.placeStyle = 25;
										return;
									end
									if (type == 2555) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 100;
										this.placeStyle = 20;
										this.width = 20;
										this.height = 20;
										this.value = 1500;
										return;
									end
									if (type == 2556) then
										this.noWet = true;
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 33;
										this.placeStyle = 20;
										this.width = 8;
										this.value = Item.sellPrice(0, 0, 0, 60);
										this.height = 18;
										return;
									end
									if (type == 2557) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 15;
										this.placeStyle = 30;
										this.width = 12;
										this.height = 30;
										this.value = 150;
										return;
									end
									if (type == 2558) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 34;
										this.placeStyle = 25;
										this.width = 26;
										this.height = 26;
										this.value = 3000;
										return;
									end
									if (type == 2559) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 21;
										this.placeStyle = 33;
										this.width = 26;
										this.height = 22;
										this.value = 500;
										return;
									end
									if (type == 2560) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 104;
										this.placeStyle = 6;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2561) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 10;
										this.placeStyle = 30;
										this.width = 14;
										this.height = 28;
										this.value = 200;
										return;
									end
									if (type == 2562) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 88;
										this.placeStyle = 18;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2563) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 93;
										this.placeStyle = 20;
										this.width = 10;
										this.height = 24;
										this.value = 500;
										return;
									end
									if (type == 2564) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 42;
										this.placeStyle = 29;
										this.width = 12;
										this.height = 28;
										this.value = 150;
										return;
									end
									if (type == 2565) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 87;
										this.placeStyle = 23;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2566) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 19;
										this.placeStyle = 19;
										this.width = 8;
										this.height = 10;
										return;
									end
									if (type == 2567) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 90;
										this.placeStyle = 20;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2568) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.autoReuse = true;
										this.createTile = 79;
										this.placeStyle = 25;
										this.width = 28;
										this.height = 20;
										this.value = 2000;
										return;
									end
									if (type == 2569) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 101;
										this.placeStyle = 26;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2570) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 100;
										this.placeStyle = 21;
										this.width = 20;
										this.height = 20;
										this.value = 1500;
										return;
									end
									if (type == 2571) then
										this.noWet = true;
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 33;
										this.placeStyle = 21;
										this.width = 8;
										this.value = Item.sellPrice(0, 0, 0, 60);
										this.height = 18;
										return;
									end
									if (type == 2572) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 15;
										this.placeStyle = 31;
										this.width = 12;
										this.height = 30;
										this.value = 150;
										return;
									end
									if (type == 2573) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 34;
										this.placeStyle = 26;
										this.width = 26;
										this.height = 26;
										this.value = 3000;
										return;
									end
									if (type == 2574) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 21;
										this.placeStyle = 34;
										this.width = 26;
										this.height = 22;
										this.value = 500;
										return;
									end
									if (type == 2575) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 104;
										this.placeStyle = 7;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2576) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 10;
										this.placeStyle = 31;
										this.width = 14;
										this.height = 28;
										this.value = 200;
										return;
									end
									if (type == 2577) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 88;
										this.placeStyle = 19;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2578) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 93;
										this.placeStyle = 21;
										this.width = 10;
										this.height = 24;
										this.value = 500;
										return;
									end
									if (type == 2579) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 42;
										this.placeStyle = 30;
										this.width = 12;
										this.height = 28;
										this.value = 150;
										return;
									end
									if (type == 2580) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 87;
										this.placeStyle = 24;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2581) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 19;
										this.placeStyle = 20;
										this.width = 8;
										this.height = 10;
										return;
									end
									if (type == 2582) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 89;
										this.placeStyle = 25;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2583) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 14;
										this.placeStyle = 29;
										this.width = 26;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2584) then
										this.mana = 10;
										this.damage = 40;
										this.useStyle = 1;
										this.shootSpeed = 10;
										this.shoot = 393;
										this.width = 26;
										this.height = 28;
										this.UseSound = SoundID.Item44;
										this.useAnimation = 36;
										this.useTime = 36;
										this.rare = 5;
										this.noMelee = true;
										this.knockBack = 6;
										this.buffType = 135;
										this.value = Item.buyPrice(0, 5, 0, 0);
										this.summon = true;
										this.autoReuse = true;
										this.reuseDelay = 2;
										return;
									end
									if (type == 2585) then
										this.noUseGraphic = true;
										this.damage = 0;
										this.useStyle = 5;
										this.shootSpeed = 13;
										this.shoot = 396;
										this.width = 18;
										this.height = 28;
										this.UseSound = SoundID.Item1;
										this.useAnimation = 20;
										this.useTime = 20;
										this.rare = 3;
										this.noMelee = true;
										this.value = 20000;
										return;
									end
									if (type == 2586) then
										this.useStyle = 5;
										this.shootSpeed = 5.5;
										this.shoot = 397;
										this.width = 20;
										this.height = 20;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.UseSound = SoundID.Item1;
										this.useAnimation = 45;
										this.useTime = 45;
										this.noUseGraphic = true;
										this.noMelee = true;
										this.value = 75;
										this.damage = 60;
										this.knockBack = 8;
										this.ranged = true;
										return;
									end
									if (type == 2587) then
										this.damage = 0;
										this.useStyle = 1;
										this.shoot = 398;
										this.width = 16;
										this.height = 30;
										this.UseSound = SoundID.Item2;
										this.useAnimation = 20;
										this.useTime = 20;
										this.rare = 3;
										this.noMelee = true;
										this.buffType = 136;
										this.value = Item.sellPrice(0, 2, 0, 0);
										return;
									end
									if (type == 2588) then
										this.width = 28;
										this.height = 20;
										this.headSlot = 168;
										this.rare = 1;
										this.value = Item.sellPrice(0, 0, 75, 0);
										this.vanity = true;
										return;
									end
									if (type == 2589) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 240;
										this.width = 30;
										this.height = 30;
										this.value = Item.sellPrice(0, 1, 0, 0);
										this.placeStyle = 55;
										this.rare = 1;
										return;
									end
									if (type == 2590) then
										this.useStyle = 5;
										this.shootSpeed = 6.5;
										this.shoot = 399;
										this.width = 20;
										this.height = 20;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.UseSound = SoundID.Item1;
										this.useAnimation = 40;
										this.useTime = 40;
										this.noUseGraphic = true;
										this.noMelee = true;
										this.value = Item.sellPrice(0, 0, 1, 0);
										this.damage = 23;
										this.knockBack = 7;
										this.ranged = true;
										this.rare = 1;
										return;
									end
									if (type >= 2591 and type <= 2606) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 104;
										this.placeStyle = 8 + type - 2591;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type == 2607) then
										this.maxStack = Item.CommonMaxStack;
										this.width = 12;
										this.height = 12;
										this.rare = 4;
										this.value = Item.sellPrice(0, 0, 5, 0);
										return;
									end
									if (type == 2608) then
										this.autoReuse = true;
										this.scale = 1.05;
										this.useStyle = 1;
										this.useTime = 20;
										this.useAnimation = 20;
										this.knockBack = 6;
										this.width = 24;
										this.height = 28;
										this.damage = 25;
										this.scale = 1;
										this.UseSound = SoundID.Item1;
										this.rare = 4;
										this.value = 10000;
										this.melee = true;
										return;
									end
									if (type == 2609) then
										this.width = 22;
										this.height = 20;
										this.accessory = true;
										this.value = Item.buyPrice(0, 40, 0, 0);
										this.rare = 8;
										this.wingSlot = 26;
										return;
									end
									if (type == 2610) then
										this.useStyle = 5;
										this.useAnimation = 12;
										this.useTime = 12;
										this.width = 38;
										this.height = 10;
										this.damage = 0;
										this.scale = 0.9;
										this.shoot = 406;
										this.shootSpeed = 8;
										this.autoReuse = true;
										this.value = Item.buyPrice(0, 1, 50, 0);
										return;
									end
									if (type == 2611) then
										this.autoReuse = false;
										this.useStyle = 5;
										this.useAnimation = 20;
										this.useTime = 20;
										this.autoReuse = true;
										this.knockBack = 4.5;
										this.width = 30;
										this.height = 10;
										this.damage = 66;
										this.shoot = 404;
										this.shootSpeed = 14;
										this.UseSound = SoundID.Item1;
										this.rare = 8;
										this.value = Item.sellPrice(0, 5, 0, 0);
										this.melee = true;
										this.noMelee = true;
										this.noUseGraphic = true;
										return;
									end
									if (type >= 2612 and type <= 2620) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 21;
										if (type > 2614) then
											this.placeStyle = 41 + type - 2615;
										else
											this.placeStyle = 35 + (type - 2612) * 2;
										end
										this.width = 26;
										this.height = 22;
										this.value = 500;
										return;
									end
									if (type == 2621) then
										this.mana = 10;
										this.damage = 50;
										this.useStyle = 1;
										this.shootSpeed = 10;
										this.shoot = 407;
										this.width = 26;
										this.height = 28;
										this.UseSound = SoundID.Item44;
										this.useAnimation = 36;
										this.useTime = 36;
										this.rare = 8;
										this.noMelee = true;
										this.knockBack = 2;
										this.buffType = 139;
										this.value = Item.sellPrice(0, 5, 0, 0);
										this.summon = true;
										this.autoReuse = true;
										this.reuseDelay = 2;
										return;
									end
									if (type == 2624) then
										this.useStyle = 5;
										this.autoReuse = true;
										this.useAnimation = 24;
										this.useTime = 24;
										this.width = 50;
										this.height = 18;
										this.shoot = 1;
										this.useAmmo = AmmoID.Arrow;
										this.UseSound = SoundID.Item5;
										this.damage = 53;
										this.shootSpeed = 10;
										this.noMelee = true;
										this.value = Item.sellPrice(0, 5, 0, 0);
										this.ranged = true;
										this.rare = 8;
										this.knockBack = 2;
										return;
									end
									if (type == 2622) then
										this.mana = 20;
										this.damage = 85;
										this.useStyle = 5;
										this.shootSpeed = 6;
										this.shoot = 409;
										this.width = 26;
										this.height = 28;
										this.UseSound = SoundID.Item84;
										this.useAnimation = 40;
										this.useTime = 40;
										this.autoReuse = true;
										this.rare = 8;
										this.noMelee = true;
										this.knockBack = 5;
										this.scale = 0.9;
										this.value = Item.sellPrice(0, 5, 0, 0);
										this.magic = true;
										return;
									end
									if (type == 2625 or type == 2626) then
										this.DefaultToSeaShell();
										return;
									end
									if (type >= 2627 and type <= 2630) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 19;
										this.placeStyle = 21 + type - 2627;
										this.width = 8;
										this.height = 10;
										return;
									end
									if (type >= 2631 and type <= 2633) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 18;
										this.placeStyle = 24 + type - 2631;
										this.width = 28;
										this.height = 14;
										this.value = 150;
										return;
									end
									if (type >= 2634 and type <= 2636) then
										this.useStyle = 1;
										this.useTurn = true;
										this.useAnimation = 15;
										this.useTime = 10;
										this.autoReuse = true;
										this.maxStack = Item.CommonMaxStack;
										this.consumable = true;
										this.createTile = 89;
										this.placeStyle = 26 + type - 2634;
										this.width = 20;
										this.height = 20;
										this.value = 300;
										return;
									end
									if (type ~= 2623) then
										if (type >= 2637 and type <= 2640) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 88;
											this.placeStyle = 20 + type - 2637;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											return;
										end
										if (type == 2641 or type == 2642) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 42;
											if (type ~= 2641) then
												this.placeStyle = 32;
											else
												this.placeStyle = 31;
											end
											this.width = 12;
											this.height = 28;
											this.value = 150;
											return;
										end
										if (type >= 2643 and type <= 2647) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 93;
											this.placeStyle = 22 + type - 2643;
											this.width = 10;
											this.height = 24;
											this.value = 500;
											return;
										end
										if (type >= 2648 and type <= 2651) then
											this.noWet = true;
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 33;
											this.width = 8;
											this.height = 18;
											this.value = Item.sellPrice(0, 0, 0, 60);
											this.placeStyle = 22 + type - 2648;
											return;
										end
										if (type >= 2652 and type <= 2657) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 34;
											this.placeStyle = 27 + type - 2652;
											this.width = 26;
											this.height = 26;
											this.value = 3000;
											return;
										end
										if (type >= 2658 and type <= 2663) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 90;
											this.placeStyle = 21 + type - 2658;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											return;
										end
										if (type >= 2664 and type <= 2668) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 100;
											this.placeStyle = 22 + type - 2664;
											this.width = 20;
											this.height = 20;
											this.value = 1500;
											return;
										end
										if (type == 2669) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.autoReuse = true;
											this.createTile = 79;
											this.placeStyle = 26;
											this.width = 28;
											this.height = 20;
											this.value = 2000;
											return;
										end
										if (type == 2670) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 101;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											this.placeStyle = 27;
											return;
										end
										if (type == 2671) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 87;
											this.placeStyle = 25;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											return;
										end
										if (type == 2672) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 105;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											this.placeStyle = 50;
											return;
										end
										if (type == 2673) then
											this.useStyle = 1;
											this.autoReuse = true;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.width = 12;
											this.height = 12;
											this.makeNPC = 374;
											this.noUseGraphic = true;
											this.bait = 666;
											return;
										end
										if (type >= 2674 and type <= 2676) then
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.width = 12;
											this.height = 12;
											if (type == 2675) then
												this.bait = 30;
												this.value = Item.sellPrice(0, 0, 3, 0);
												return;
											end
											if (type == 2676) then
												this.bait = 50;
												this.value = Item.sellPrice(0, 0, 10, 0);
												return;
											end
											this.bait = 15;
											this.value = Item.sellPrice(0, 0, 1, 0);
											return;
										end
										if (type >= 2677 and type <= 2690) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 7;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											if (type == 2677) then
												this.createWall = 153;
											elseif (type == 2678) then
												this.createWall = 157;
											elseif (type == 2679) then
												this.createWall = 154;
											elseif (type == 2680) then
												this.createWall = 158;
											elseif (type == 2681) then
												this.createWall = 155;
											elseif (type == 2682) then
												this.createWall = 159;
											elseif (type == 2683) then
												this.createWall = 156;
											elseif (type == 2684) then
												this.createWall = 160;
											elseif (type == 2685) then
												this.createWall = 164;
											elseif (type == 2686) then
												this.createWall = 161;
											elseif (type == 2687) then
												this.createWall = 165;
											elseif (type == 2688) then
												this.createWall = 162;
											elseif (type == 2689) then
												this.createWall = 166;
											elseif (type == 2690) then
												this.createWall = 163;
											end
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2691) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 7;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createWall = 167;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2692) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 325;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2693) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 326;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2694) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 327;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2695) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 328;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2696) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 7;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createWall = 168;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2697) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 329;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2698) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 7;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createWall = 169;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2699) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 471;
											this.width = 30;
											this.height = 30;
											this.value = Item.sellPrice(0, 0, 0, 50);
											return;
										end
										if (type == 2700) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 335;
											this.width = 26;
											this.height = 22;
											this.value = Item.buyPrice(0, 5, 0, 0);
											this.mech = true;
											return;
										end
										if (type == 2701) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 336;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type >= 2702 and type <= 2737) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 337;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											this.placeStyle = type - 2702;
											return;
										end
										if (type == 2738) then
											this.createTile = 338;
											this.placeStyle = 0;
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.width = 12;
											this.height = 30;
											this.value = Item.buyPrice(0, 3, 0, 0);
											this.mech = true;
											return;
										end
										if (type == 2739) then
											this.useStyle = 1;
											this.useAnimation = 15;
											this.useTime = 7;
											this.useTurn = true;
											this.autoReuse = true;
											this.width = 16;
											this.height = 16;
											this.maxStack = Item.CommonMaxStack;
											this.createTile = 314;
											this.placeStyle = 2;
											this.consumable = true;
											this.cartTrack = true;
											this.mech = true;
											this.tileBoost = 2;
											this.value = Item.buyPrice(0, 0, 50, 0);
											return;
										end
										if (type == 2740) then
											this.useStyle = 1;
											this.autoReuse = true;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.width = 12;
											this.height = 12;
											this.makeNPC = 377;
											this.noUseGraphic = true;
											this.bait = 10;
											return;
										end
										if (type == 2741) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 339;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2742) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.consumable = true;
											this.createTile = 139;
											this.placeStyle = 31;
											this.width = 24;
											this.height = 24;
											this.rare = 4;
											this.value = 100000;
											this.accessory = true;
											this.hasVanityEffects = true;
											return;
										end
										if (type == 2743) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 14;
											this.placeStyle = 30;
											this.width = 26;
											this.height = 20;
											this.value = 300;
											return;
										end
										if (type == 2744) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 19;
											this.placeStyle = 25;
											this.width = 8;
											this.height = 10;
											return;
										end
										if (type == 2745) then
											this.useStyle = 1;
											this.useTurn = false;
											this.useAnimation = 20;
											this.useTime = 20;
											this.width = 24;
											this.height = 28;
											this.damage = 8;
											this.knockBack = 6;
											this.UseSound = SoundID.Item1;
											this.scale = 1;
											this.value = 100;
											this.melee = true;
											return;
										end
										if (type == 2746) then
											this.autoReuse = true;
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 33;
											this.useTime = 23;
											this.hammer = 35;
											this.width = 24;
											this.height = 28;
											this.damage = 4;
											this.knockBack = 5.5;
											this.scale = 1;
											this.UseSound = SoundID.Item1;
											this.value = 50;
											this.melee = true;
											return;
										end
										if (type == 2747) then
											this.useStyle = 5;
											this.useAnimation = 29;
											this.useTime = 29;
											this.width = 12;
											this.height = 28;
											this.shoot = 1;
											this.useAmmo = AmmoID.Arrow;
											this.UseSound = SoundID.Item5;
											this.damage = 6;
											this.shootSpeed = 6.6;
											this.noMelee = true;
											this.value = 100;
											this.ranged = true;
											return;
										end
										if (type == 2748) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 21;
											this.placeStyle = 47;
											this.width = 26;
											this.height = 22;
											this.value = 500;
											return;
										end
										if (type == 2749) then
											this.mana = 10;
											this.damage = 36;
											this.useStyle = 1;
											this.shootSpeed = 10;
											this.shoot = 423;
											this.width = 26;
											this.height = 28;
											this.UseSound = SoundID.Item44;
											this.useAnimation = 36;
											this.useTime = 36;
											this.rare = 8;
											this.noMelee = true;
											this.knockBack = 2;
											this.buffType = 140;
											this.value = Item.sellPrice(0, 10, 0, 0);
											this.summon = true;
											this.autoReuse = true;
											this.reuseDelay = 2;
											return;
										end
										if (type == 2750) then
											this.autoReuse = true;
											this.mana = 9;
											this.useStyle = 5;
											this.damage = 50;
											this.useAnimation = 10;
											this.useTime = 10;
											this.width = 40;
											this.height = 40;
											this.shoot = 424;
											this.shootSpeed = 10;
											this.knockBack = 4.5;
											this.value = Item.sellPrice(0, 2, 0, 0);
											this.magic = true;
											this.rare = 5;
											this.noMelee = true;
											this.UseSound = SoundID.Item88;
											return;
										end
										if (type >= 2751 and type <= 2755) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 340 + type - 2751;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2756) then
											this.UseSound = SoundID.Item6;
											this.useStyle = 9;
											this.useTurn = true;
											this.useAnimation = 17;
											this.useTime = 17;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.width = 14;
											this.height = 24;
											this.value = 1000;
											this.rare = 1;
											return;
										end
										if (type == 2757) then
											this.width = 18;
											this.height = 18;
											this.defense = 14;
											this.headSlot = 169;
											this.glowMask = 26;
											this.rare = 10;
											this.value = Item.sellPrice(0, 7, 0, 0);
											return;
										end
										if (type == 2758) then
											this.width = 18;
											this.height = 18;
											this.defense = 28;
											this.bodySlot = 175;
											this.glowMask = 27;
											this.rare = 10;
											this.value = Item.sellPrice(0, 7, 0, 0) * 2;
											return;
										end
										if (type == 2759) then
											this.width = 18;
											this.height = 18;
											this.defense = 20;
											this.legSlot = 110;
											this.rare = 10;
											this.value = math.floor(Item.sellPrice(0, 7, 0, 0) * 1.5);
											return;
										end
										if (type == 2760) then
											this.width = 18;
											this.height = 18;
											this.defense = 14;
											this.headSlot = 170;
											this.glowMask = 28;
											this.rare = 10;
											this.value = Item.sellPrice(0, 7, 0, 0);
											return;
										end
										if (type == 2761) then
											this.width = 18;
											this.height = 18;
											this.defense = 18;
											this.bodySlot = 176;
											this.glowMask = 29;
											this.rare = 10;
											this.value = Item.sellPrice(0, 7, 0, 0) * 2;
											return;
										end
										if (type == 2762) then
											this.width = 18;
											this.height = 18;
											this.defense = 14;
											this.legSlot = 111;
											this.glowMask = 30;
											this.rare = 10;
											this.value = math.floor(Item.sellPrice(0, 7, 0, 0) * 1.5);
											return;
										end
										if (type == 2763) then
											this.width = 18;
											this.height = 18;
											this.defense = 24;
											this.headSlot = 171;
											this.rare = 10;
											this.value = Item.sellPrice(0, 7, 0, 0);
											return;
										end
										if (type == 2764) then
											this.width = 18;
											this.height = 18;
											this.defense = 34;
											this.bodySlot = 177;
											this.rare = 10;
											this.value = Item.sellPrice(0, 7, 0, 0) * 2;
											return;
										end
										if (type == 2765) then
											this.width = 18;
											this.height = 18;
											this.defense = 20;
											this.legSlot = 112;
											this.rare = 10;
											this.value = math.floor(Item.sellPrice(0, 7, 0, 0) * 1.5);
											return;
										end
										if (type == 2767) then
											this.useStyle = 4;
											this.width = 22;
											this.height = 14;
											this.consumable = true;
											this.useAnimation = 45;
											this.useTime = 45;
											this.maxStack = Item.CommonMaxStack;
											this.rare = 8;
											return;
										end
										if (type == 2766) then
											this.width = 22;
											this.height = 14;
											this.maxStack = Item.CommonMaxStack;
											this.rare = 8;
											return;
										end
										if (type == 2770) then
											this.width = 22;
											this.height = 20;
											this.accessory = true;
											this.value = this.eclipseMothronPrice;
											this.rare = 8;
											this.wingSlot = 27;
											return;
										end
										if (type == 2769) then
											this.useStyle = 1;
											this.width = 32;
											this.height = 30;
											this.UseSound = SoundID.Item25;
											this.useAnimation = 20;
											this.useTime = 20;
											this.rare = 8;
											this.noMelee = true;
											this.mountType = 7;
											this.value = Item.sellPrice(0, 5, 0, 0);
											return;
										end
										if (type == 2768) then
											this.useStyle = 1;
											this.width = 32;
											this.height = 30;
											this.UseSound = SoundID.Item25;
											this.useAnimation = 20;
											this.useTime = 20;
											this.rare = 8;
											this.noMelee = true;
											this.mountType = 8;
											this.value = Item.sellPrice(0, 5, 0, 0);
											return;
										end
										if (type == 2771) then
											this.useStyle = 1;
											this.channel = true;
											this.width = 34;
											this.height = 34;
											this.UseSound = SoundID.Item90;
											this.useAnimation = 20;
											this.useTime = 20;
											this.rare = 8;
											this.noMelee = true;
											this.mountType = 9;
											this.value = Item.sellPrice(0, 5, 0, 0);
											return;
										end
										if (type == 2772) then
											this.autoReuse = true;
											this.useStyle = 1;
											this.useAnimation = 25;
											this.knockBack = 6;
											this.useTime = 7;
											this.width = 54;
											this.height = 54;
											this.damage = 100;
											this.axe = 27;
											this.UseSound = SoundID.Item1;
											this.rare = 10;
											this.scale = 1.05;
											this.value = Item.sellPrice(0, 6, 0, 0);
											this.melee = true;
											this.glowMask = 1;
											this.tileBoost = this.tileBoost + 4;
											return;
										end
										if (type == 2773) then
											this.useStyle = 5;
											this.useAnimation = 25;
											this.useTime = 7;
											this.shootSpeed = 28;
											this.knockBack = 4;
											this.width = 56;
											this.height = 22;
											this.damage = 80;
											this.axe = 27;
											this.UseSound = SoundID.Item23;
											this.shoot = 427;
											this.rare = 10;
											this.value = Item.sellPrice(0, 6, 0, 0);
											this.noMelee = true;
											this.noUseGraphic = true;
											this.melee = true;
											this.channel = true;
											this.glowMask = 20;
											this.tileBoost = this.tileBoost + 4;
											return;
										end
										if (type == 2774) then
											this.useStyle = 5;
											this.useAnimation = 25;
											this.useTime = 4;
											this.shootSpeed = 32;
											this.knockBack = 0.5;
											this.width = 54;
											this.height = 26;
											this.damage = 50;
											this.pick = 225;
											this.UseSound = SoundID.Item23;
											this.shoot = 428;
											this.rare = 10;
											this.value = Item.sellPrice(0, 7, 0, 0);
											this.noMelee = true;
											this.noUseGraphic = true;
											this.melee = true;
											this.channel = true;
											this.glowMask = 21;
											this.tileBoost = this.tileBoost + 3;
											return;
										end
										if (type == 2776) then
											this.useStyle = 1;
											this.useAnimation = 12;
											this.useTime = 6;
											this.knockBack = 5.5;
											this.useTurn = true;
											this.autoReuse = true;
											this.width = 36;
											this.height = 36;
											this.damage = 80;
											this.pick = 225;
											this.UseSound = SoundID.Item1;
											this.rare = 10;
											this.value = Item.sellPrice(0, 7, 0, 0);
											this.melee = true;
											this.glowMask = 5;
											this.tileBoost = this.tileBoost + 4;
											return;
										end
										if (type == 2775) then
											this.useTurn = true;
											this.autoReuse = true;
											this.useStyle = 1;
											this.useAnimation = 30;
											this.useTime = 7;
											this.knockBack = 7;
											this.width = 44;
											this.height = 42;
											this.damage = 110;
											this.hammer = 100;
											this.UseSound = SoundID.Item1;
											this.rare = 10;
											this.value = Item.sellPrice(0, 8, 0, 0);
											this.melee = true;
											this.scale = 1.1;
											this.glowMask = 4;
											this.tileBoost = this.tileBoost + 4;
											return;
										end
										if (type == 2777) then
											this.SetDefaults3(2772);
											type = 2777;
											this.glowMask = 6;
											return;
										end
										if (type == 2778) then
											this.SetDefaults3(2773);
											type = 2778;
											this.shoot = 429;
											this.glowMask = 22;
											return;
										end
										if (type == 2779) then
											this.SetDefaults3(2774);
											type = 2779;
											this.shoot = 430;
											this.glowMask = 23;
											return;
										end
										if (type == 2780) then
											this.SetDefaults3(2775);
											type = 2780;
											this.glowMask = 9;
											return;
										end
										if (type == 2781) then
											this.SetDefaults3(2776);
											type = 2781;
											this.glowMask = 10;
											return;
										end
										if (type == 2782) then
											this.SetDefaults3(2772);
											type = 2782;
											this.glowMask = -1;
											return;
										end
										if (type == 2783) then
											this.SetDefaults3(2773);
											type = 2783;
											this.shoot = 431;
											this.glowMask = -1;
											return;
										end
										if (type == 2784) then
											this.SetDefaults3(2774);
											type = 2784;
											this.shoot = 432;
											this.glowMask = -1;
											return;
										end
										if (type == 2785) then
											this.SetDefaults3(2775);
											type = 2785;
											this.glowMask = -1;
											return;
										end
										if (type == 2786) then
											this.SetDefaults3(2776);
											type = 2786;
											this.glowMask = -1;
											return;
										end
										if (type == 2787) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 345;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2788) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 7;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createWall = 172;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type >= 2789 and type <= 2791) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 7;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createWall = 173 + type - 2789;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type >= 2792 and type <= 2794) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 346 + type - 2792;
											this.width = 12;
											this.height = 12;
											return;
										end
										if (type == 2795) then
											this.useStyle = 5;
											this.useAnimation = 20;
											this.useTime = 20;
											this.shootSpeed = 20;
											this.knockBack = 2;
											this.width = 20;
											this.height = 12;
											this.damage = 60;
											this.shoot = 439;
											this.mana = 6;
											this.rare = 8;
											this.value = Item.sellPrice(0, 10, 0, 0);
											this.noMelee = true;
											this.noUseGraphic = true;
											this.magic = true;
											this.channel = true;
											this.glowMask = 47;
											return;
										end
										if (type == 2796) then
											this.useStyle = 5;
											this.useAnimation = 12;
											this.useTime = 12;
											this.width = 50;
											this.height = 18;
											this.shoot = 442;
											this.useAmmo = 771;
											this.glowMask = 36;
											this.UseSound = SoundID.Item92;
											this.damage = 40;
											this.shootSpeed = 12;
											this.noMelee = true;
											this.value = Item.sellPrice(0, 10, 0, 0);
											this.ranged = true;
											this.rare = 8;
											this.knockBack = 2;
											return;
										end
										if (type == 2797) then
											this.useStyle = 5;
											this.useAnimation = 21;
											this.useTime = 21;
											this.autoReuse = true;
											this.width = 50;
											this.height = 18;
											this.shoot = 444;
											this.useAmmo = AmmoID.Bullet;
											this.glowMask = 38;
											this.UseSound = SoundID.Item95;
											this.damage = 45;
											this.shootSpeed = 12;
											this.noMelee = true;
											this.value = Item.sellPrice(0, 10, 0, 0);
											this.ranged = true;
											this.rare = 8;
											this.knockBack = 3;
											return;
										end
										if (type == 2798) then
											this.useStyle = 5;
											this.useAnimation = 25;
											this.useTime = 6;
											this.shootSpeed = 36;
											this.knockBack = 4.75;
											this.width = 20;
											this.height = 12;
											this.damage = 35;
											this.pick = 230;
											this.shoot = 445;
											this.rare = 8;
											this.value = Item.sellPrice(0, 10, 0, 0);
											this.tileBoost = 11;
											this.noMelee = true;
											this.noUseGraphic = true;
											this.melee = true;
											this.channel = true;
											this.glowMask = 39;
											return;
										end
										if (type == 2799) then
											this.width = 10;
											this.height = 26;
											this.accessory = true;
											this.value = Item.buyPrice(0, 1, 0, 0);
											this.rare = 1;
											return;
										end
										if (type == 2800) then
											this.noUseGraphic = true;
											this.damage = 0;
											this.knockBack = 7;
											this.useStyle = 5;
											this.shootSpeed = 14;
											this.shoot = 446;
											this.width = 18;
											this.height = 28;
											this.UseSound = SoundID.Item1;
											this.useAnimation = 20;
											this.useTime = 20;
											this.rare = 7;
											this.noMelee = true;
											this.value = Item.sellPrice(0, 2, 50, 0);
											return;
										end
										if (type == 2801) then
											this.width = 28;
											this.height = 20;
											this.headSlot = 172;
											this.rare = 1;
											this.vanity = true;
											return;
										end
										if (type == 2802) then
											this.width = 28;
											this.height = 20;
											this.headSlot = 173;
											this.rare = 1;
											this.vanity = true;
											return;
										end
										if (type == 2803) then
											this.width = 18;
											this.height = 18;
											this.headSlot = 174;
											this.vanity = true;
											this.value = Item.sellPrice(0, 1, 0, 0);
											return;
										end
										if (type == 2804) then
											this.width = 18;
											this.height = 18;
											this.bodySlot = 178;
											this.vanity = true;
											this.value = Item.sellPrice(0, 1, 0, 0);
											return;
										end
										if (type == 2805) then
											this.width = 18;
											this.height = 18;
											this.legSlot = 113;
											this.vanity = true;
											this.value = Item.sellPrice(0, 1, 0, 0);
											return;
										end
										if (type == 2806) then
											this.width = 18;
											this.height = 18;
											this.headSlot = 175;
											this.vanity = true;
											this.value = Item.sellPrice(0, 1, 0, 0);
											this.glowMask = 46;
											return;
										end
										if (type == 2807) then
											this.width = 18;
											this.height = 18;
											this.bodySlot = 179;
											this.vanity = true;
											this.value = Item.sellPrice(0, 1, 0, 0);
											this.glowMask = 45;
											return;
										end
										if (type == 2808) then
											this.width = 18;
											this.height = 18;
											this.legSlot = 114;
											this.vanity = true;
											this.value = Item.sellPrice(0, 1, 0, 0);
											return;
										end
										if (type == 2822) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 19;
											this.placeStyle = 26;
											this.width = 8;
											this.height = 10;
											return;
										end
										if (type == 2810) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 90;
											this.placeStyle = 27;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											return;
										end
										if (type == 2811) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.autoReuse = true;
											this.createTile = 79;
											this.placeStyle = 27;
											this.width = 28;
											this.height = 20;
											this.value = 2000;
											return;
										end
										if (type == 2823) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 89;
											this.placeStyle = 29;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											return;
										end
										if (type == 2825) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 100;
											this.placeStyle = 27;
											this.width = 20;
											this.height = 20;
											this.value = 1500;
											return;
										end
										if (type == 2818) then
											this.noWet = true;
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 33;
											this.placeStyle = 26;
											this.width = 8;
											this.value = Item.sellPrice(0, 0, 0, 60);
											this.height = 18;
											return;
										end
										if (type == 2812) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 15;
											this.placeStyle = 32;
											this.width = 12;
											this.height = 30;
											this.value = 150;
											return;
										end
										if (type == 2813) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 34;
											this.placeStyle = 33;
											this.width = 26;
											this.height = 26;
											this.value = 3000;
											return;
										end
										if (type == 2814) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 21;
											this.placeStyle = 48;
											this.width = 26;
											this.height = 22;
											this.value = 500;
											return;
										end
										if (type == 2815) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 10;
											this.placeStyle = 32;
											this.width = 14;
											this.height = 28;
											this.value = 200;
											return;
										end
										if (type == 2816) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 88;
											this.placeStyle = 24;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											return;
										end
										if (type == 2820) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 42;
											this.width = 12;
											this.height = 28;
											this.placeStyle = 33;
											this.value = 150;
											return;
										end
										if (type == 2821) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 87;
											this.placeStyle = 26;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											return;
										end
										if (type == 2824) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 14;
											this.placeStyle = 31;
											this.width = 26;
											this.height = 20;
											this.value = 300;
											return;
										end
										if (type == 2819) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 93;
											this.placeStyle = 27;
											this.width = 10;
											this.height = 24;
											this.value = 500;
											return;
										end
										if (type == 2826) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 18;
											this.placeStyle = 27;
											this.width = 28;
											this.height = 14;
											this.value = 150;
											return;
										end
										if (type == 2817) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 101;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											this.placeStyle = 28;
											return;
										end
										if (type == 2809) then
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 104;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											this.placeStyle = 24;
											return;
										end
										if (type < 2827 or type > 2855) then
											if (type == 2856) then
												this.width = 28;
												this.height = 20;
												this.headSlot = 176;
												this.rare = 1;
												this.vanity = true;
												this.value = Item.buyPrice(0, 10, 0, 0);
												return;
											end
											if (type == 2857) then
												this.width = 28;
												this.height = 20;
												this.headSlot = 177;
												this.rare = 1;
												this.vanity = true;
												this.value = Item.buyPrice(0, 10, 0, 0);
												return;
											end
											if (type == 2858) then
												this.width = 18;
												this.height = 14;
												this.bodySlot = 180;
												this.rare = 1;
												this.vanity = true;
												this.value = Item.buyPrice(0, 10, 0, 0);
												return;
											end
											if (type == 2859) then
												this.width = 18;
												this.height = 14;
												this.bodySlot = 181;
												this.rare = 1;
												this.vanity = true;
												this.value = Item.buyPrice(0, 10, 0, 0);
												return;
											end
											if (type == 2860) then
												this.useStyle = 1;
												this.useTurn = true;
												this.useAnimation = 15;
												this.useTime = 10;
												this.autoReuse = true;
												this.maxStack = Item.CommonMaxStack;
												this.consumable = true;
												this.glowMask = 93;
												this.createTile = 350;
												this.width = 12;
												this.height = 12;
												return;
											end
											if (type == 2861) then
												this.useStyle = 1;
												this.useTurn = true;
												this.useAnimation = 15;
												this.useTime = 7;
												this.autoReuse = true;
												this.maxStack = Item.CommonMaxStack;
												this.consumable = true;
												this.glowMask = 95;
												this.createWall = 176;
												this.width = 12;
												this.height = 12;
												return;
											end
											if (type == 2862) then
												this.width = 28;
												this.height = 12;
												this.headSlot = 178;
												this.rare = 3;
												this.value = Item.sellPrice(0, 1, 0, 0);
												this.vanity = true;
												this.glowMask = 97;
												return;
											end
											if (type == 2863) then
												this.width = 20;
												this.height = 26;
												this.maxStack = Item.CommonMaxStack;
												this.rare = 3;
												this.glowMask = 98;
												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 == 2864) then
												this.glowMask = 99;
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 1, 50, 0);
												this.rare = 3;
												return;
											end
											if (type == 2865) then
												this.useStyle = 1;
												this.useTurn = true;
												this.useAnimation = 15;
												this.useTime = 10;
												this.autoReuse = true;
												this.maxStack = Item.CommonMaxStack;
												this.consumable = true;
												this.createTile = 242;
												this.width = 30;
												this.height = 30;
												this.value = Item.buyPrice(0, 2, 0, 0);
												this.placeStyle = 27;
												return;
											end
											if (type == 2866) then
												this.useStyle = 1;
												this.useTurn = true;
												this.useAnimation = 15;
												this.useTime = 10;
												this.autoReuse = true;
												this.maxStack = Item.CommonMaxStack;
												this.consumable = true;
												this.createTile = 242;
												this.width = 30;
												this.height = 30;
												this.value = Item.buyPrice(0, 2, 0, 0);
												this.placeStyle = 28;
												return;
											end
											if (type == 2867) then
												this.useStyle = 1;
												this.useTurn = true;
												this.useAnimation = 15;
												this.useTime = 10;
												this.autoReuse = true;
												this.maxStack = Item.CommonMaxStack;
												this.consumable = true;
												this.createTile = 242;
												this.width = 30;
												this.height = 30;
												this.value = Item.buyPrice(0, 2, 0, 0);
												this.placeStyle = 29;
												return;
											end
											if (type == 2868) then
												this.useStyle = 1;
												this.useTurn = true;
												this.useAnimation = 15;
												this.useTime = 10;
												this.autoReuse = true;
												this.maxStack = Item.CommonMaxStack;
												this.consumable = true;
												this.createTile = 351;
												this.width = 12;
												this.height = 12;
												this.value = Item.buyPrice(0, 0, 1, 0);
												return;
											end
											if (type == 2869) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 1, 50, 0);
												this.rare = 3;
												return;
											end
											if (type == 2870) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 1, 50, 0);
												this.rare = 3;
												return;
											end
											if (type == 2871) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 0, 75, 0);
												this.rare = 2;
												return;
											end
											if (type == 2872) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 0, 75, 0);
												this.rare = 2;
												return;
											end
											if (type == 2873) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 1, 50, 0);
												this.rare = 3;
												return;
											end
											if (type == 2874) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = 10000;
												this.rare = 1;
												return;
											end
											if (type == 2875) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = 10000;
												this.rare = 1;
												return;
											end
											if (type == 2876) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = 10000;
												this.rare = 1;
												return;
											end
											if (type == 2877) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = 10000;
												this.rare = 1;
												return;
											end
											if (type == 2878) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 1, 50, 0);
												this.rare = 3;
												this.glowMask = 105;
												return;
											end
											if (type == 2879) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 1, 50, 0);
												this.rare = 3;
												this.glowMask = 104;
												return;
											end
											if (type == 2880) then
												this.useStyle = 1;
												this.useAnimation = 20;
												this.useTime = 20;
												this.autoReuse = true;
												this.shoot = 451;
												this.shootSpeed = 11;
												this.knockBack = 4.5;
												this.width = 40;
												this.height = 40;
												this.damage = 100;
												this.scale = 1.05;
												this.UseSound = SoundID.Item1;
												this.rare = 8;
												this.value = Item.sellPrice(0, 10, 0, 0);
												this.melee = true;
												return;
											end
											if (type == 2882) then
												this.useStyle = 5;
												this.useAnimation = 20;
												this.useTime = 20;
												this.shootSpeed = 14;
												this.knockBack = 2;
												this.width = 16;
												this.height = 16;
												this.damage = 100;
												this.UseSound = SoundID.Item75;
												this.shoot = 460;
												this.mana = 14;
												this.rare = 8;
												this.value = Item.sellPrice(0, 10, 0, 0);
												this.noMelee = true;
												this.noUseGraphic = true;
												this.magic = true;
												this.channel = true;
												this.glowMask = 102;
												return;
											end
											if (type == 2883) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 1, 50, 0);
												this.rare = 3;
												this.glowMask = 103;
												return;
											end
											if (type == 2885) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 1, 50, 0);
												this.rare = 3;
												this.glowMask = 106;
												return;
											end
											if (type == 2884) then
												this.width = 20;
												this.height = 20;
												this.maxStack = Item.CommonMaxStack;
												this.value = Item.sellPrice(0, 1, 50, 0);
												this.rare = 3;
												this.glowMask = 107;
												return;
											end
											if (type == 2887) then
												this.width = 16;
												this.height = 18;
												this.maxStack = Item.CommonMaxStack;
												this.value = 50;
												return;
											end
											if (type == 2886) then
												this.damage = 0;
												this.useStyle = 1;
												this.shootSpeed = 4;
												this.shoot = 463;
												this.width = 16;
												this.height = 24;
												this.maxStack = Item.CommonMaxStack;
												this.consumable = true;
												this.UseSound = SoundID.Item1;
												this.useAnimation = 15;
												this.useTime = 15;
												this.noMelee = true;
												this.value = 100;
												return;
											end
											if (type == 2888) then
												this.useStyle = 5;
												this.useAnimation = 23;
												this.useTime = 23;
												this.width = 12;
												this.height = 28;
												this.shoot = 469;
												this.useAmmo = AmmoID.Arrow;
												this.UseSound = SoundID.Item97;
												this.damage = 23;
												this.shootSpeed = 8;
												this.knockBack = 3;
												this.rare = 3;
												this.noMelee = true;
												this.value = this.queenBeePrice;
												this.ranged = true;
												return;
											end
											if (type < 2889 or type > 2895) then
												if (type == 2896) then
													this.useStyle = 1;
													this.shootSpeed = 4;
													this.shoot = 470;
													this.width = 8;
													this.height = 28;
													this.maxStack = Item.CommonMaxStack;
													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 >= 2897 and type <= 2994) then
													this.useStyle = 1;
													this.useTurn = true;
													this.useAnimation = 15;
													this.useTime = 10;
													this.autoReuse = true;
													this.maxStack = Item.CommonMaxStack;
													this.consumable = true;
													this.createTile = 91;
													this.placeStyle = 109 + type - 2897;
													this.width = 10;
													this.height = 24;
													this.value = 1000;
													this.rare = 1;
													return;
												end
												if (type == 2995) then
													this.useStyle = 1;
													this.useTurn = true;
													this.useAnimation = 15;
													this.useTime = 10;
													this.autoReuse = true;
													this.maxStack = Item.CommonMaxStack;
													this.consumable = true;
													this.createTile = 242;
													this.width = 30;
													this.height = 30;
													this.value = Item.sellPrice(0, 0, 10, 0);
													this.placeStyle = 30;
													return;
												end
												if (type == 2996) then
													this.useStyle = 1;
													this.useTurn = true;
													this.useAnimation = 15;
													this.useTime = 8;
													this.autoReuse = true;
													this.maxStack = Item.CommonMaxStack;
													this.consumable = true;
													this.createTile = 353;
													this.width = 12;
													this.height = 12;
													this.tileBoost = this.tileBoost + 3;
													return;
												end
												if (type == 2997) then
													this.maxStack = Item.CommonMaxStack;
													this.consumable = true;
													this.width = 14;
													this.height = 24;
													this.value = 1000;
													this.rare = 1;
													return;
												end
												if (type == 2998) then
													this.width = 24;
													this.height = 24;
													this.accessory = true;
													this.value = 100000;
													this.rare = 4;
													return;
												end
												if (type == 2999) then
													this.rare = 1;
													this.useStyle = 1;
													this.useTurn = true;
													this.useAnimation = 15;
													this.useTime = 10;
													this.autoReuse = true;
													this.maxStack = Item.CommonMaxStack;
													this.consumable = true;
													this.createTile = 354;
													this.width = 12;
													this.height = 12;
													this.value = 100000;
													return;
												end
												if (type == 3000) then
													this.rare = 1;
													this.useStyle = 1;
													this.useTurn = true;
													this.useAnimation = 15;
													this.useTime = 10;
													this.autoReuse = true;
													this.maxStack = Item.CommonMaxStack;
													this.consumable = true;
													this.createTile = 355;
													this.width = 12;
													this.height = 12;
													this.value = 100000;
												end
											else
												this.useStyle = 1;
												this.autoReuse = true;
												this.useTurn = true;
												this.useAnimation = 15;
												this.useTime = 10;
												this.maxStack = Item.CommonMaxStack;
												this.consumable = true;
												this.width = 12;
												this.height = 12;
												this.makeNPC = (442 + type - 2889);
												this.noUseGraphic = true;
												this.value = Item.sellPrice(0, 10, 0, 0);
												this.rare = 3;
												if (type == 2895 or type == 2893 or type == 2891) then
													this.bait = 50;
													return;
												end
											end
										else
											this.useStyle = 1;
											this.useTurn = true;
											this.useAnimation = 15;
											this.useTime = 10;
											this.autoReuse = true;
											this.maxStack = Item.CommonMaxStack;
											this.consumable = true;
											this.createTile = 172;
											this.placeStyle = type - 2827;
											this.width = 20;
											this.height = 20;
											this.value = 300;
											if (type == 2843) then
												this.value = Item.buyPrice(0, 10, 0, 0);
												return;
											end
										end
									else
										this.autoReuse = true;
										this.mana = 5;
										this.UseSound = SoundID.Item85;
										this.useStyle = 5;
										this.damage = 70;
										this.useAnimation = 9;
										this.useTime = 9;
										this.width = 40;
										this.height = 40;
										this.shoot = 410;
										this.shootSpeed = 15;
										this.knockBack = 3;
										this.value = Item.sellPrice(0, 5, 0, 0);
										this.magic = true;
										this.rare = 8;
										this.noMelee = true;
										if (this.Variant == ItemVariants.WeakerVariant) then
											this.rare = 2;
											this.value = this.dungeonPrice;
											this.damage = 5;
											return;
										end
									end
								else
									this.useStyle = 1;
									this.useTurn = true;
									this.useAnimation = 15;
									this.useTime = 7;
									this.autoReuse = true;
									this.maxStack = Item.CommonMaxStack;
									this.consumable = true;
									this.createWall = 146 + type - 2432;
									this.width = 12;
									this.height = 12;
									if (type == 2434) then
										this.value = Item.buyPrice(0, 0, 0, 50);
										return;
									end
								end
							else
								this.useStyle = 1;
								this.useTurn = true;
								this.useAnimation = 15;
								this.useTime = 10;
								this.autoReuse = true;
								this.maxStack = Item.CommonMaxStack;
								this.consumable = true;
								this.createTile = 88;
								this.placeStyle = 5 + type - 2386;
								this.width = 20;
								this.height = 20;
								this.value = 300;
								if (type == 2389) then
									this.value = Item.buyPrice(0, 10, 0, 0);
									return;
								end
							end
						else
							this.maxStack = Item.CommonMaxStack;
							this.width = 26;
							this.height = 26;
							this.value = Item.sellPrice(0, 0, 5, 0);
							if (type == 2308) then
								this.value = Item.sellPrice(0, 10, 0, 0);
								this.rare = 4;
							end
							if (type == 2312) then
								this.value = Item.sellPrice(0, 0, 50, 0);
								this.rare = 2;
							end
							if (type == 2317) then
								this.value = Item.sellPrice(0, 3, 0, 0);
								this.rare = 4;
							end
							if (type == 2310) then
								this.value = Item.sellPrice(0, 1, 0, 0);
								this.rare = 3;
							end
							if (type == 2321) then
								this.value = Item.sellPrice(0, 0, 25, 0);
								this.rare = 1;
							end
							if (type == 2315) then
								this.value = Item.sellPrice(0, 0, 15, 0);
								this.rare = 2;
							end
							if (type == 2303) then
								this.value = Item.sellPrice(0, 0, 15, 0);
								this.rare = 1;
							end
							if (type == 2304) then
								this.value = Item.sellPrice(0, 0, 30, 0);
								this.rare = 1;
							end
							if (type == 2316) then
								this.value = Item.sellPrice(0, 0, 15, 0);
							end
							if (type == 2311) then
								this.value = Item.sellPrice(0, 0, 15, 0);
								this.rare = 1;
							end
							if (type == 2313) then
								this.value = Item.sellPrice(0, 0, 15, 0);
								this.rare = 1;
							end
							if (type == 2306) then
								this.value = Item.sellPrice(0, 0, 15, 0);
								this.rare = 1;
							end
							if (type == 2307) then
								this.value = Item.sellPrice(0, 0, 25, 0);
								this.rare = 2;
							end
							if (type == 2319) then
								this.value = Item.sellPrice(0, 0, 15, 0);
								this.rare = 1;
							end
							if (type == 2318) then
								this.value = Item.sellPrice(0, 0, 15, 0);
								this.rare = 1;
							end
							if (type == 2298) then
								this.value = Item.sellPrice(0, 0, 7, 50);
							end
							if (type == 2309) then
								this.value = Item.sellPrice(0, 0, 7, 50);
								this.rare = 1;
							end
							if (type == 2300) then
								this.value = Item.sellPrice(0, 0, 7, 50);
							end
							if (type == 2301) then
								this.value = Item.sellPrice(0, 0, 7, 50);
							end
							if (type == 2302) then
								this.value = Item.sellPrice(0, 0, 15, 0);
							end
							if (type == 2299) then
								this.value = Item.sellPrice(0, 0, 7, 50);
							end
							if (type == 2305) then
								this.value = Item.sellPrice(0, 0, 7, 50);
								this.rare = 1;
								return;
							end
						end
					end
				else
					this.autoReuse = true;
					this.useTurn = true;
					this.useStyle = 1;
					this.useAnimation = 20;
					this.knockBack = 3.5;
					this.width = 34;
					this.height = 34;
					this.damage = 18;
					this.crit = 15;
					this.scale = 1;
					this.UseSound = SoundID.Item1;
					this.rare = 1;
					this.value = Item.buyPrice(0, 10, 0, 0);
					this.melee = true;
					if (this.Variant == ItemVariants.StrongerVariant) then
						this.rare = 8;
						this.value = Item.buyPrice(0, 20, 0, 0);
						this.damage = 150;
						this.useAnimation = 15;
						this.crit = 29;
						return;
					end
				end
			end
		end
	else
		this.useStyle = 1;
		this.useTurn = true;
		this.useAnimation = 15;
		this.useTime = 10;
		this.autoReuse = true;
		this.maxStack = Item.CommonMaxStack;
		this.consumable = true;
		if (type == 2203) then
			this.createTile = 307;
		
		elseif (type ~= 2204) then
			this.createTile = 300 + type - 2192;
		else
			this.createTile = 308;
		end
		this.width = 12;
		this.height = 12;
		this.value = Item.buyPrice(0, 10, 0, 0);
		if (type == 2194) then
			this.value = Item.buyPrice(0, 2, 70, 0);
			return;
		end
	end
else
	this.useStyle = 1;
	this.autoReuse = true;
	this.useTurn = true;
	this.useAnimation = 15;
	this.useTime = 10;
	this.maxStack = Item.CommonMaxStack;
	this.consumable = true;
	this.width = 12;
	this.height = 12;
	this.noUseGraphic = true;
	if (type == 2015) then
		this.makeNPC = 74;
	end
	if (type == 2016) then
		this.makeNPC = 297;
	end
	if (type == 2017) then
		this.makeNPC = 298;
	end
	if (type == 2018) then
		this.makeNPC = 299;
	end
	if (type == 2019) then
		this.makeNPC = 46;
		return;
	end
end


end --SetDefaults3(type)

---------------------------


return {
	factory = function(obj)
		this = obj
		return SetDefaults3
	end
}