Save an load world state functionality