a really basic code for getting an item (a sword, so far)