public static int GetItemID(String oldItem) {
		// Search for item name from item list
		for(int i=0; i<Items.listItems.length; i++) {
			if(Items.listItems[i].equalsIgnoreCase(oldItem)) {
				return Items.listItemsID[i];
			}
		}
		
		// If the item hasn't been found, look for a book with the item name
		for(int i=300; i<Books.bookCount()+300; i++) {
			if(Books.getName(i).equalsIgnoreCase(oldItem)) {
				return i;
			}
		}
	
		// If the item still hasn't been found, look for a key with the item name
		for(int i=400; i<Items.keyItemIDs.length+400; i++) {
			if(Items.keyNames[i-400].equalsIgnoreCase(oldItem)) {
				return i;
			}
		}
		
		return -1;
	}