local grass = {
	{ itemid = 15059, position = Position(33639, 32664, 12) },
	{ itemid = 4529, position = Position(33643, 32658, 12) },
	{ itemid = 4526, position = Position(33640, 32658, 12) },
	{ itemid = 4525, position = Position(33645, 32670, 12) },
	{ itemid = 4524, position = Position(33645, 32672, 12) },
	{ itemid = 4522, position = Position(33648, 32669, 12) },
	{ itemid = 4521, position = Position(33638, 32673, 12) },
	{ itemid = 4520, position = Position(33643, 32668, 12) },
	{ itemid = 4520, position = Position(33643, 32671, 12) },
	{ itemid = 4519, position = Position(33639, 32666, 12) },
	{ itemid = 4519, position = Position(33643, 32665, 12) },
	{ itemid = 4519, position = Position(33641, 32669, 12) },
	{ itemid = 4519, position = Position(33640, 32661, 12) },
	{ itemid = 4518, position = Position(33642, 32667, 12) },
	{ itemid = 4518, position = Position(33645, 32673, 12) },
	{ itemid = 4517, position = Position(33639, 32667, 12) },
	{ itemid = 4517, position = Position(33644, 32670, 12) },
	{ itemid = 4517, position = Position(33637, 32665, 12) },
	{ itemid = 4515, position = Position(33640, 32664, 12) },
	{ itemid = 4515, position = Position(33640, 32666, 12) },
	{ itemid = 4515, position = Position(33640, 32665, 12) },
	{ itemid = 4515, position = Position(33640, 32669, 12) },
	{ itemid = 4515, position = Position(33640, 32668, 12) },
	{ itemid = 4515, position = Position(33641, 32663, 12) },
	{ itemid = 4515, position = Position(33641, 32662, 12) },
	{ itemid = 4515, position = Position(33641, 32664, 12) },
	{ itemid = 4515, position = Position(33641, 32665, 12) },
	{ itemid = 4515, position = Position(33640, 32667, 12) },
	{ itemid = 4515, position = Position(33641, 32661, 12) },
	{ itemid = 4515, position = Position(33641, 32659, 12) },
	{ itemid = 4515, position = Position(33641, 32660, 12) },
	{ itemid = 4515, position = Position(33640, 32670, 12) },
	{ itemid = 4515, position = Position(33641, 32658, 12) },
	{ itemid = 4515, position = Position(33640, 32660, 12) },
	{ itemid = 4515, position = Position(33639, 32670, 12) },
	{ itemid = 4515, position = Position(33639, 32673, 12) },
	{ itemid = 4515, position = Position(33638, 32668, 12) },
	{ itemid = 4515, position = Position(33638, 32669, 12) },
	{ itemid = 4515, position = Position(33638, 32670, 12) },
	{ itemid = 4515, position = Position(33638, 32671, 12) },
	{ itemid = 4515, position = Position(33638, 32667, 12) },
	{ itemid = 4515, position = Position(33638, 32665, 12) },
	{ itemid = 4515, position = Position(33638, 32666, 12) },
	{ itemid = 4515, position = Position(33646, 32673, 12) },
	{ itemid = 4515, position = Position(33640, 32659, 12) },
	{ itemid = 4515, position = Position(33638, 32672, 12) },
	{ itemid = 4515, position = Position(33639, 32660, 12) },
	{ itemid = 4515, position = Position(33639, 32669, 12) },
	{ itemid = 4515, position = Position(33641, 32666, 12) },
	{ itemid = 4515, position = Position(33639, 32671, 12) },
	{ itemid = 4515, position = Position(33639, 32659, 12) },
	{ itemid = 4515, position = Position(33639, 32668, 12) },
	{ itemid = 4515, position = Position(33639, 32662, 12) },
	{ itemid = 4515, position = Position(33639, 32665, 12) },
	{ itemid = 4515, position = Position(33639, 32661, 12) },
	{ itemid = 4515, position = Position(33641, 32667, 12) },
	{ itemid = 4515, position = Position(33642, 32658, 12) },
	{ itemid = 4515, position = Position(33641, 32670, 12) },
	{ itemid = 4515, position = Position(33644, 32665, 12) },
	{ itemid = 4515, position = Position(33644, 32667, 12) },
	{ itemid = 4515, position = Position(33646, 32664, 12) },
	{ itemid = 4515, position = Position(33644, 32669, 12) },
	{ itemid = 4515, position = Position(33644, 32664, 12) },
	{ itemid = 4515, position = Position(33644, 32661, 12) },
	{ itemid = 4515, position = Position(33644, 32663, 12) },
	{ itemid = 4515, position = Position(33644, 32659, 12) },
	{ itemid = 4515, position = Position(33644, 32660, 12) },
	{ itemid = 4515, position = Position(33644, 32658, 12) },
	{ itemid = 4515, position = Position(33644, 32671, 12) },
	{ itemid = 4515, position = Position(33645, 32658, 12) },
	{ itemid = 4515, position = Position(33646, 32660, 12) },
	{ itemid = 4515, position = Position(33646, 32659, 12) },
	{ itemid = 4515, position = Position(33645, 32669, 12) },
	{ itemid = 4515, position = Position(33646, 32663, 12) },
	{ itemid = 4515, position = Position(33645, 32665, 12) },
	{ itemid = 4515, position = Position(33645, 32660, 12) },
	{ itemid = 4515, position = Position(33645, 32664, 12) },
	{ itemid = 4515, position = Position(33645, 32659, 12) },
	{ itemid = 4515, position = Position(33641, 32668, 12) },
	{ itemid = 4515, position = Position(33643, 32670, 12) },
	{ itemid = 4515, position = Position(33643, 32667, 12) },
	{ itemid = 4515, position = Position(33642, 32662, 12) },
	{ itemid = 4515, position = Position(33642, 32663, 12) },
	{ itemid = 4515, position = Position(33642, 32664, 12) },
	{ itemid = 4515, position = Position(33642, 32665, 12) },
	{ itemid = 4515, position = Position(33642, 32661, 12) },
	{ itemid = 4515, position = Position(33642, 32659, 12) },
	{ itemid = 4515, position = Position(33642, 32660, 12) },
	{ itemid = 4515, position = Position(33646, 32669, 12) },
	{ itemid = 4515, position = Position(33638, 32662, 12) },
	{ itemid = 4515, position = Position(33643, 32669, 12) },
	{ itemid = 4515, position = Position(33642, 32666, 12) },
	{ itemid = 4515, position = Position(33642, 32669, 12) },
	{ itemid = 4515, position = Position(33643, 32662, 12) },
	{ itemid = 4515, position = Position(33643, 32663, 12) },
	{ itemid = 4515, position = Position(33643, 32664, 12) },
	{ itemid = 4515, position = Position(33642, 32668, 12) },
	{ itemid = 4515, position = Position(33643, 32661, 12) },
	{ itemid = 4515, position = Position(33643, 32659, 12) },
	{ itemid = 4515, position = Position(33643, 32660, 12) },
	{ itemid = 4515, position = Position(33646, 32668, 12) },
	{ itemid = 4515, position = Position(33638, 32661, 12) },
	{ itemid = 4515, position = Position(33640, 32662, 12) },
	{ itemid = 4515, position = Position(33648, 32662, 12) },
	{ itemid = 4515, position = Position(33637, 32660, 12) },
	{ itemid = 4515, position = Position(33635, 32664, 12) },
	{ itemid = 4515, position = Position(33635, 32665, 12) },
	{ itemid = 4515, position = Position(33647, 32662, 12) },
	{ itemid = 4515, position = Position(33647, 32660, 12) },
	{ itemid = 4515, position = Position(33647, 32663, 12) },
	{ itemid = 4515, position = Position(33648, 32670, 12) },
	{ itemid = 4515, position = Position(33647, 32661, 12) },
	{ itemid = 4515, position = Position(33637, 32668, 12) },
	{ itemid = 4515, position = Position(33648, 32668, 12) },
	{ itemid = 4515, position = Position(33637, 32662, 12) },
	{ itemid = 4515, position = Position(33637, 32667, 12) },
	{ itemid = 4515, position = Position(33637, 32663, 12) },
	{ itemid = 4515, position = Position(33637, 32664, 12) },
	{ itemid = 4515, position = Position(33637, 32670, 12) },
	{ itemid = 4515, position = Position(33637, 32666, 12) },
	{ itemid = 4515, position = Position(33636, 32666, 12) },
	{ itemid = 4515, position = Position(33637, 32671, 12) },
	{ itemid = 4515, position = Position(33648, 32661, 12) },
	{ itemid = 4515, position = Position(33636, 32665, 12) },
	{ itemid = 4515, position = Position(33636, 32664, 12) },
	{ itemid = 4515, position = Position(33647, 32668, 12) },
	{ itemid = 4515, position = Position(33636, 32663, 12) },
	{ itemid = 4515, position = Position(33638, 32660, 12) },
	{ itemid = 4515, position = Position(33647, 32669, 12) },
	{ itemid = 4515, position = Position(33636, 32671, 12) },
	{ itemid = 4515, position = Position(33637, 32672, 12) },
	{ itemid = 4515, position = Position(33647, 32667, 12) },
	{ itemid = 4515, position = Position(33647, 32670, 12) },
	{ itemid = 618, position = Position(33646, 32670, 12) },
	{ itemid = 618, position = Position(33645, 32663, 12) },
	{ itemid = 618, position = Position(33642, 32670, 12) },
	{ itemid = 618, position = Position(33636, 32668, 12) },
	{ itemid = 618, position = Position(33634, 32665, 12) },
	{ itemid = 618, position = Position(33636, 32660, 12) },
	{ itemid = 618, position = Position(33634, 32664, 12) },
	{ itemid = 618, position = Position(33642, 32671, 12) },
	{ itemid = 618, position = Position(33635, 32671, 12) },
	{ itemid = 407, position = Position(33647, 32666, 12) },
	{ itemid = 407, position = Position(33644, 32668, 12) },
	{ itemid = 407, position = Position(33644, 32666, 12) },
	{ itemid = 407, position = Position(33637, 32659, 12) },
	{ itemid = 315, position = Position(33638, 32659, 12) },
	{ itemid = 315, position = Position(33637, 32661, 12) },
	{ itemid = 315, position = Position(33646, 32662, 12) },
	{ itemid = 315, position = Position(33640, 32663, 12) },
	{ itemid = 315, position = Position(33635, 32663, 12) },
	{ itemid = 315, position = Position(33639, 32658, 12) },
	{ itemid = 315, position = Position(33637, 32669, 12) },
	{ itemid = 315, position = Position(33636, 32670, 12) },
	{ itemid = 315, position = Position(33644, 32673, 12) },
	{ itemid = 315, position = Position(33636, 32662, 12) },
	{ itemid = 315, position = Position(33639, 32664, 12) },
	{ itemid = 315, position = Position(33646, 32667, 12) },
	{ itemid = 315, position = Position(33645, 32668, 12) },
	{ itemid = 314, position = Position(33648, 32660, 12) },
	{ itemid = 314, position = Position(33640, 32673, 12) },
	{ itemid = 314, position = Position(33648, 32667, 12) },
	{ itemid = 314, position = Position(33647, 32659, 12) },
	{ itemid = 314, position = Position(33646, 32672, 12) },
	{ itemid = 314, position = Position(33645, 32663, 12) },
	{ itemid = 314, position = Position(33645, 32671, 12) },
	{ itemid = 314, position = Position(33647, 32673, 12) },
	{ itemid = 314, position = Position(33644, 32662, 12) },
	{ itemid = 314, position = Position(33638, 32664, 12) },
	{ itemid = 314, position = Position(33639, 32672, 12) },
	{ itemid = 314, position = Position(33646, 32658, 12) },
	{ itemid = 314, position = Position(33643, 32666, 12) },
	{ itemid = 313, position = Position(33636, 32667, 12) },
	{ itemid = 313, position = Position(33644, 32672, 12) },
	{ itemid = 313, position = Position(33646, 32661, 12) },
	{ itemid = 313, position = Position(33635, 32666, 12) },
	{ itemid = 313, position = Position(33637, 32673, 12) },
	{ itemid = 313, position = Position(33636, 32672, 12) },
	{ itemid = 312, position = Position(33648, 32663, 12) },
	{ itemid = 312, position = Position(33646, 32670, 12) },
	{ itemid = 312, position = Position(33638, 32663, 12) },
	{ itemid = 312, position = Position(33640, 32671, 12) },
	{ itemid = 312, position = Position(33642, 32670, 12) },
	{ itemid = 312, position = Position(33645, 32661, 12) },
	{ itemid = 312, position = Position(33644, 32668, 12) },
	{ itemid = 312, position = Position(33647, 32664, 12) },
	{ itemid = 312, position = Position(33646, 32665, 12) },
	{ itemid = 311, position = Position(33645, 32667, 12) },
	{ itemid = 311, position = Position(33636, 32661, 12) },
	{ itemid = 311, position = Position(33634, 32663, 12) },
	{ itemid = 311, position = Position(33645, 32662, 12) },
	{ itemid = 311, position = Position(33639, 32663, 12) },
	{ itemid = 311, position = Position(33636, 32669, 12) },
	{ itemid = 311, position = Position(33643, 32673, 12) },
	{ itemid = 311, position = Position(33635, 32662, 12) },
	{ itemid = 311, position = Position(33635, 32670, 12) },
	{ itemid = 311, position = Position(33638, 32658, 12) },
	{ itemid = 311, position = Position(33646, 32666, 12) },
	{ itemid = 311, position = Position(33636, 32659, 12) },
	{ itemid = 310, position = Position(33647, 32672, 12) },
	{ itemid = 310, position = Position(33648, 32666, 12) },
	{ itemid = 310, position = Position(33648, 32659, 12) },
	{ itemid = 310, position = Position(33646, 32671, 12) },
	{ itemid = 310, position = Position(33640, 32672, 12) },
	{ itemid = 310, position = Position(33641, 32673, 12) },
	{ itemid = 310, position = Position(33645, 32666, 12) },
	{ itemid = 310, position = Position(33645, 32662, 12) },
	{ itemid = 310, position = Position(33647, 32658, 12) },
	{ itemid = 310, position = Position(33648, 32673, 12) },
	{ itemid = 309, position = Position(33635, 32672, 12) },
	{ itemid = 309, position = Position(33642, 32672, 12) },
	{ itemid = 309, position = Position(33636, 32673, 12) },
	{ itemid = 309, position = Position(33636, 32661, 12) },
	{ itemid = 309, position = Position(33634, 32666, 12) },
	{ itemid = 309, position = Position(33635, 32667, 12) },
	{ itemid = 309, position = Position(33636, 32669, 12) },
	{ itemid = 309, position = Position(33646, 32671, 12) },
	{ itemid = 308, position = Position(33642, 32671, 12) },
	{ itemid = 308, position = Position(33648, 32664, 12) },
	{ itemid = 308, position = Position(33645, 32668, 12) },
	{ itemid = 308, position = Position(33645, 32662, 12) },
	{ itemid = 308, position = Position(33647, 32665, 12) },
	{ itemid = 308, position = Position(33646, 32666, 12) },
	{ itemid = 308, position = Position(33646, 32671, 12) },
	{ itemid = 308, position = Position(33640, 32672, 12) },
	{ itemid = 307, position = Position(33645, 32667, 12) },
	{ itemid = 304, position = Position(33644, 32662, 12) },
	{ itemid = 304, position = Position(33645, 32671, 12) },
	{ itemid = 304, position = Position(33648, 32671, 12) },
	{ itemid = 304, position = Position(33643, 32666, 12) },
	{ itemid = 304, position = Position(33643, 32672, 12) },
	{ itemid = 304, position = Position(33644, 32666, 12) },
	{ itemid = 304, position = Position(33645, 32666, 12) },
	{ itemid = 304, position = Position(33641, 32671, 12) },
	{ itemid = 304, position = Position(33639, 32672, 12) },
	{ itemid = 304, position = Position(33639, 32663, 12) },
	{ itemid = 304, position = Position(33637, 32669, 12) },
	{ itemid = 304, position = Position(33647, 32671, 12) },
	{ itemid = 304, position = Position(33640, 32663, 12) },
	{ itemid = 304, position = Position(33637, 32661, 12) },
	{ itemid = 21935, position = Position(33644, 32664, 12) },
	{ itemid = 21935, position = Position(33639, 32665, 12) },
	{ itemid = 21935, position = Position(33639, 32667, 12) },
	{ itemid = 21935, position = Position(33638, 32660, 12) },
	{ itemid = 21935, position = Position(33639, 32673, 12) },
	{ itemid = 21935, position = Position(33643, 32664, 12) },
	{ itemid = 21935, position = Position(33647, 32668, 12) },
	{ itemid = 21935, position = Position(33640, 32670, 12) },
	{ itemid = 21935, position = Position(33645, 32673, 12) },
	{ itemid = 21935, position = Position(33644, 32660, 12) },
	{ itemid = 21935, position = Position(33636, 32665, 12) },
	{ itemid = 21935, position = Position(33646, 32669, 12) },
	{ itemid = 21935, position = Position(33637, 32672, 12) },
	{ itemid = 21935, position = Position(33638, 32665, 12) },
	{ itemid = 21935, position = Position(33642, 32671, 12) },
	{ itemid = 21935, position = Position(33642, 32664, 12) },
	{ itemid = 21935, position = Position(33646, 32672, 12) },
	{ itemid = 21935, position = Position(33638, 32672, 12) },
	{ itemid = 21935, position = Position(33642, 32662, 12) },
	{ itemid = 21935, position = Position(33639, 32662, 12) },
	{ itemid = 3917, position = Position(33639, 32666, 12) },
	{ itemid = 3916, position = Position(33640, 32667, 12) },
	{ itemid = 3915, position = Position(33641, 32668, 12) },
	{ itemid = 1867, position = Position(33644, 32666, 12) },
	{ itemid = 1866, position = Position(33639, 32666, 12) },
	{ itemid = 1858, position = Position(33640, 32668, 12) },
	{ itemid = 1858, position = Position(33642, 32661, 12) },
	{ itemid = 1857, position = Position(33642, 32666, 12) },
	{ itemid = 1857, position = Position(33638, 32671, 12) },
	{ itemid = 1856, position = Position(33648, 32668, 12) },
	{ itemid = 1856, position = Position(33641, 32659, 12) },
	{ itemid = 1855, position = Position(33641, 32660, 12) },
	{ itemid = 3699, position = Position(33637, 32670, 12) },
	{ itemid = 3682, position = Position(33641, 32663, 12) },
	{ itemid = 3682, position = Position(33644, 32668, 12) },
	{ itemid = 3614, position = Position(33640, 32664, 12) },
	{ itemid = 3614, position = Position(33644, 32670, 12) },
	{ itemid = 3614, position = Position(33642, 32665, 12) },
	{ itemid = 3614, position = Position(33641, 32666, 12) },
	{ itemid = 3614, position = Position(33642, 32668, 12) },
	{ itemid = 3614, position = Position(33640, 32669, 12) },
	{ itemid = 417, position = Position(33646, 32667, 12) },
	{ itemid = 417, position = Position(33646, 32666, 12) },
	{ itemid = 417, position = Position(33646, 32672, 12) },
	{ itemid = 417, position = Position(33648, 32659, 12) },
	{ itemid = 417, position = Position(33646, 32658, 12) },
	{ itemid = 417, position = Position(33647, 32672, 12) },
	{ itemid = 417, position = Position(33647, 32659, 12) },
	{ itemid = 417, position = Position(33648, 32672, 12) },
	{ itemid = 417, position = Position(33648, 32671, 12) },
	{ itemid = 417, position = Position(33647, 32658, 12) },
	{ itemid = 417, position = Position(33647, 32673, 12) },
	{ itemid = 417, position = Position(33647, 32671, 12) },
	{ itemid = 417, position = Position(33647, 32664, 12) },
	{ itemid = 417, position = Position(33648, 32660, 12) },
	{ itemid = 417, position = Position(33646, 32670, 12) },
	{ itemid = 417, position = Position(33647, 32665, 12) },
	{ itemid = 417, position = Position(33648, 32665, 12) },
	{ itemid = 417, position = Position(33648, 32667, 12) },
	{ itemid = 417, position = Position(33648, 32666, 12) },
	{ itemid = 417, position = Position(33646, 32662, 12) },
	{ itemid = 417, position = Position(33646, 32671, 12) },
	{ itemid = 417, position = Position(33648, 32664, 12) },
	{ itemid = 417, position = Position(33646, 32665, 12) },
	{ itemid = 417, position = Position(33646, 32661, 12) },
	{ itemid = 417, position = Position(33648, 32663, 12) },
	{ itemid = 417, position = Position(33647, 32666, 12) },
	{ itemid = 417, position = Position(33648, 32658, 12) },
	{ itemid = 417, position = Position(33634, 32658, 12) },
	{ itemid = 417, position = Position(33645, 32668, 12) },
	{ itemid = 417, position = Position(33635, 32669, 12) },
	{ itemid = 417, position = Position(33635, 32670, 12) },
	{ itemid = 417, position = Position(33635, 32671, 12) },
	{ itemid = 417, position = Position(33635, 32672, 12) },
	{ itemid = 417, position = Position(33635, 32668, 12) },
	{ itemid = 417, position = Position(33635, 32666, 12) },
	{ itemid = 417, position = Position(33635, 32667, 12) },
	{ itemid = 417, position = Position(33635, 32663, 12) },
	{ itemid = 417, position = Position(33635, 32662, 12) },
	{ itemid = 417, position = Position(33635, 32673, 12) },
	{ itemid = 417, position = Position(33636, 32659, 12) },
	{ itemid = 417, position = Position(33636, 32668, 12) },
	{ itemid = 417, position = Position(33636, 32669, 12) },
	{ itemid = 417, position = Position(33636, 32658, 12) },
	{ itemid = 417, position = Position(33636, 32667, 12) },
	{ itemid = 417, position = Position(33636, 32661, 12) },
	{ itemid = 417, position = Position(33636, 32662, 12) },
	{ itemid = 417, position = Position(33636, 32660, 12) },
	{ itemid = 417, position = Position(33636, 32670, 12) },
	{ itemid = 417, position = Position(33635, 32661, 12) },
	{ itemid = 417, position = Position(33635, 32659, 12) },
	{ itemid = 417, position = Position(33634, 32663, 12) },
	{ itemid = 417, position = Position(33634, 32664, 12) },
	{ itemid = 417, position = Position(33634, 32665, 12) },
	{ itemid = 417, position = Position(33634, 32662, 12) },
	{ itemid = 417, position = Position(33634, 32660, 12) },
	{ itemid = 417, position = Position(33634, 32661, 12) },
	{ itemid = 417, position = Position(33634, 32659, 12) },
	{ itemid = 417, position = Position(33635, 32660, 12) },
	{ itemid = 417, position = Position(33634, 32666, 12) },
	{ itemid = 417, position = Position(33634, 32668, 12) },
	{ itemid = 417, position = Position(33634, 32673, 12) },
	{ itemid = 417, position = Position(33635, 32658, 12) },
	{ itemid = 417, position = Position(33634, 32667, 12) },
	{ itemid = 417, position = Position(33634, 32672, 12) },
	{ itemid = 417, position = Position(33634, 32670, 12) },
	{ itemid = 417, position = Position(33634, 32671, 12) },
	{ itemid = 417, position = Position(33634, 32669, 12) },
	{ itemid = 417, position = Position(33645, 32671, 12) },
	{ itemid = 417, position = Position(33636, 32672, 12) },
	{ itemid = 417, position = Position(33637, 32658, 12) },
	{ itemid = 417, position = Position(33643, 32672, 12) },
	{ itemid = 417, position = Position(33643, 32673, 12) },
	{ itemid = 417, position = Position(33644, 32662, 12) },
	{ itemid = 417, position = Position(33643, 32666, 12) },
	{ itemid = 417, position = Position(33642, 32672, 12) },
	{ itemid = 417, position = Position(33642, 32673, 12) },
	{ itemid = 417, position = Position(33642, 32671, 12) },
	{ itemid = 417, position = Position(33642, 32670, 12) },
	{ itemid = 417, position = Position(33644, 32666, 12) },
	{ itemid = 417, position = Position(33644, 32672, 12) },
	{ itemid = 417, position = Position(33645, 32666, 12) },
	{ itemid = 417, position = Position(33645, 32667, 12) },
	{ itemid = 417, position = Position(33644, 32668, 12) },
	{ itemid = 417, position = Position(33645, 32663, 12) },
	{ itemid = 417, position = Position(33645, 32661, 12) },
	{ itemid = 417, position = Position(33645, 32662, 12) },
	{ itemid = 417, position = Position(33644, 32673, 12) },
	{ itemid = 417, position = Position(33636, 32673, 12) },
	{ itemid = 417, position = Position(33641, 32673, 12) },
	{ itemid = 417, position = Position(33641, 32671, 12) },
	{ itemid = 417, position = Position(33638, 32658, 12) },
	{ itemid = 417, position = Position(33638, 32659, 12) },
	{ itemid = 417, position = Position(33638, 32663, 12) },
	{ itemid = 417, position = Position(33637, 32673, 12) },
	{ itemid = 417, position = Position(33637, 32661, 12) },
	{ itemid = 417, position = Position(33637, 32669, 12) },
	{ itemid = 417, position = Position(33637, 32659, 12) },
	{ itemid = 417, position = Position(33641, 32672, 12) },
	{ itemid = 417, position = Position(33638, 32664, 12) },
	{ itemid = 417, position = Position(33639, 32663, 12) },
	{ itemid = 417, position = Position(33640, 32672, 12) },
	{ itemid = 417, position = Position(33640, 32673, 12) },
	{ itemid = 417, position = Position(33639, 32658, 12) },
	{ itemid = 417, position = Position(33640, 32671, 12) },
	{ itemid = 417, position = Position(33639, 32672, 12) },
	{ itemid = 417, position = Position(33640, 32663, 12) },
	{ itemid = 417, position = Position(33639, 32664, 12) },
	{ itemid = 417, position = Position(33648, 32673, 12) },
}

local function transformArea()
	for x = 33634, 33648 do
		for y = 32658, 32673 do
			local position = Position(x, y, 12)
			local tile = Tile(position)
			if not tile then
				return
			end
			local ground = tile:getGround()
			if not ground then
				return
			end
			local grounds = ground:getId()
			local items = tile:getItems()
			for i = 1, #items do
				local item = items[i]
				if item then
					item:remove()
				end
			end
			ground:remove()
		end
	end
	for i = 1, #grass do
		local item = grass[i]
		local ground = Tile(item.position):getGround()
		local transformid = item.itemid
		local tp = Game.createItem(item.itemid, 1, item.position)
	end
	return true
end

local function resetFerumbrasAscendantHabitats(player)
	player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Roshamuul, -1)
	player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Grass, -1)
	player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Mushroom, -1)
	player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Desert, -1)
	player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Venom, -1)
	player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Ice, -1)
	player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Corrupted, -1)
	player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Dimension, -1)
	player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.AllHabitats, 0)
end

local ferumbrasAscendantHabitatGlass = Action()

function ferumbrasAscendantHabitatGlass.onUse(player, item, fromPosition, target, toPosition, isHotkey)
	if item.itemid == 9125 then
		if player:getStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Grass) >= 1 then
			player:say("The lever are stuck, need some time to it can be movable again.", TALKTYPE_MONSTER_SAY)
			return true
		end
		Game.createMonster("lovely frazzlemaw", Position(33642, 32666, 12), true, true)
		addEvent(transformArea, 2 * 1000)
		item:transform(9126)
		local basin = Tile(Position(33631, 32667, 12)):getItemById(11114)
		if basin then
			basin:getPosition():sendMagicEffect(CONST_ME_ENERGYAREA)
			basin:transform(22196)
		end
		player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.Grass, 1)
		player:setStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.AllHabitats, player:getStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.AllHabitats) + 1)
		player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The room transforms into a completely different landscape.")
		if player:getStorageValue(Storage.Quest.U10_90.FerumbrasAscension.Habitats.AllHabitats) >= 7 then
			addEvent(function()
				resetFerumbrasAscendantHabitats(player)
				local basin = Tile(Position(33631, 32667, 12)):getItemById(22196)
				if basin then
					basin:getPosition():sendMagicEffect(CONST_ME_ENERGYAREA)
					basin:transform(11114)
				end
			end, 1 * 60 * 60 * 1000)
		end
	elseif item.itemid == 9126 then
		item:transform(9125)
	end
	return true
end

ferumbrasAscendantHabitatGlass:aid(34306)
ferumbrasAscendantHabitatGlass:register()
