---
# System prepended metadata

title: Random Station Generator
tags: [design-doc, gooncode]

---

# Random Station Generator

###### tags: `design-doc` `gooncode`

:::info
Feel free to make good-faith edits and comments to this design document as necessary.
:::

[toc]

## Introduction

For April Fools 2026 or some other occasion, it would be kinda funny to see if a psuedo-randomly generated station layout would mesh well with our codebase. Probably not, since we can't smartly load entire maps at runtime. I think.

Also, *Betrayal at House on the Hill.*

### Goals

:::warning
Project goals should be clear and specific to minimise the scope of the project.
:::

We intend to:

- Create a system by which a random station layout can be stochastically generated.
- Integrate such a system either through Goonstation's continuous integration system to allow for compile-time generation or by executing it during world initialization at runtime.
- Ensure the compatibility of stochastically generated maps with existing systems.

We **do not** intend to:

- Guarantee long-term support of such a system post-use with ongoing changes to code and mapping standards.

## Approaches

Pseudo-random generation is cool. We can use and re-use map seeds as much as we want.