refactored a buuunch of stuff so making chests won't be stupid
refactoring