When you need that an object (creature, placeable, item) be restored to its initial state when the area where it should be when it is left vacant (no player character in it) for a certain amount of time, then you need to use one of the spawning system: