finalized working with database isntead of values inside game

Signed-off-by: Daniel Dahlkvist (home) <messer_@hotmail.com>