Added the removal function of the dialogue system, so when a dialogue entry requires an item, that item is then subtracted from the player's inventory