# Debug mapgen variants

**URL:** <https://discourse.cataclysmdda.org/t/debug-mapgen-variants/16254>\
**Category:** The Toolbox\
**Created:** [August 16, 2018, 10:17pm UTC](https://discourse.cataclysmdda.org/t/debug-mapgen-variants/16254 "2018-08-16T22:17:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheMurderUnicorn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/themurderunicorn/32/5706_2.png) [@TheMurderUnicorn](https://discourse.cataclysmdda.org/u/TheMurderUnicorn)\
**Post date:** [August 16, 2018, 10:17pm UTC](https://discourse.cataclysmdda.org/t/debug-mapgen-variants/16254/1 "2018-08-16T22:17:21Z")

</div>

I’ve been using the debug menu - map editor - mapgen - pawn to spawn pawnshops. I’m trying to mod my own version of a pawn shop.

Anyway, when you spawn a building like that it executes the way it would on normal mapgen, randomly choosing a variant of the Pawnshop to spawn. Is there any way for me to force spawn a specific variant, rather than letting it randomly choose?

Sorry if that’s confusing.

---

<div class="post-metadata">

**Author:** ![TheMurderUnicorn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/themurderunicorn/32/5706_2.png) [@TheMurderUnicorn](https://discourse.cataclysmdda.org/u/TheMurderUnicorn)\
**Post date:** [August 16, 2018, 11:07pm UTC](https://discourse.cataclysmdda.org/t/debug-mapgen-variants/16254/2 "2018-08-16T23:07:52Z")

</div>

Changing the “weight” of the entry lets you make it spawn pretty much as needed. Yet another time I posted something and then found the answer a short time later.

x\_x
