;'First Bind - Opacaconvexus' Dungeon script

RemoveItem(1137,315)
RemoveItem(1137,316)
RemoveItem(1137,317)
RemoveItem(1137,318)
RemoveItem(1137,319)

;Opacaconvexus dungeon items
TakeItem(#USERID,314)
TakeItem(#USERID,315)
TakeItem(#USERID,316)
TakeItem(#USERID,317)
TakeItem(#USERID,318)
TakeItem(#USERID,319)

SendMessageToUser(#USERID,"The chamber has reset",#MSG_EMOTE)

If Random(0,1) = 1
	SpawnItem(1137,319,6,10)
	SpawnItem(1137,316,8,10)
Else
	SpawnItem(1137,316,6,10)
	SpawnItem(1137,319,8,10)
EndIf

If Random(0,1) = 1
	SpawnItem(1137,315,10,10)
	SpawnItem(1137,318,12,10)
	SpawnItem(1137,317,14,10)
Else
	SpawnItem(1137,315,10,10)
	SpawnItem(1137,317,12,10)
	SpawnItem(1137,318,14,10)
EndIf

;To reset the map, to take away items
WarpUser(#USERID,#MAPID,#XPOS,#YPOS)

Continue = 1