# "Groundhog Day" world setting

**URL:** <https://discourse.cataclysmdda.org/t/groundhog-day-world-setting/16172>\
**Category:** The Drawing Board\
**Created:** [August 10, 2018, 11:16pm UTC](https://discourse.cataclysmdda.org/t/groundhog-day-world-setting/16172 "2018-08-10T23:16:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuros](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kuros/32/1788_2.png) [@kuros](https://discourse.cataclysmdda.org/u/kuros)\
**Post date:** [August 10, 2018, 11:16pm UTC](https://discourse.cataclysmdda.org/t/groundhog-day-world-setting/16172/1 "2018-08-10T23:16:57Z")

</div>

How hard would it be to set a World option so that instead of keeping it or resetting the entire world, it keeps the locations, a la the save-scumming Vormithrax did on his groundhog day series?

Essentially, he saved immediately after the first turn, and then reloaded from there every time the character died. So instead of a complete reboot, the world was familiar.

I assume it would take different amounts of coding to keep the same items everywhere, versus the same buildings but with new variances (different layouts for the same building type in each square, etc). Which would be easier to mod in?

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [August 10, 2018, 11:35pm UTC](https://discourse.cataclysmdda.org/t/groundhog-day-world-setting/16172/2 "2018-08-10T23:35:53Z")

</div>

It’s already supported, save right after turn 1 and then reload it after you die 🙂

Seriously though, we could trigger mapgen to the edges of the overmap, then save to a different directory and reload from that directory on death, I dont think it would be particularly hard.

---

<div class="post-metadata">

**Author:** ![kuros](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kuros/32/1788_2.png) [@kuros](https://discourse.cataclysmdda.org/u/kuros)\
**Post date:** [August 10, 2018, 11:39pm UTC](https://discourse.cataclysmdda.org/t/groundhog-day-world-setting/16172/3 "2018-08-10T23:39:49Z")

</div>

_snort_ in that case, you should stop calling yourselves a roguelike.

I suppose this question is part of my flirting with learning how to mod the game.

Is that the sort of thing you could do as a mod?

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [August 11, 2018, 2:34am UTC](https://discourse.cataclysmdda.org/t/groundhog-day-world-setting/16172/4 "2018-08-11T02:34:01Z")

</div>

Afraid not, the main thing is triggering wider than usual mapgen, theres no way to do that in a mod. You can’t redirect saves to another directory either, but if mapgen was handled I’d just say do that part manually.
