[GH-ISSUE #3767] [Feature]: Preserve map creation prompt in reusable Game Mode setups #2033

Closed
opened 2026-10-21 05:44:45 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @thetopham on GitHub (Jul 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3767

Originally assigned to: @thetopham on GitHub.

What problem does this solve?

A Game Mode campaign can enable Hierarchical Maps during initial setup and accept a user-authored map creation prompt, but the saved gameInitialSetup snapshot and Download setup file omit that prompt. Reusing the downloaded setup therefore loses the user's map-creation instructions.

The reusable file should also continue to retain the selected combat style (classic or tactical) as a creation-time setting.

Proposed solution

  • Persist the optional hierarchical-map creation prompt in the Engine-owned GameSetupConfig saved at game creation.
  • Include the prompt in the readable Initial Game Setup summary and the reusable *.marinara-game-setup.json download.
  • Restore the prompt when that setup file is imported, enabling the map-draft option when Hierarchical Maps is installed.
  • Add focused round-trip coverage for the map prompt and combatStyle, plus validation for an oversized prompt.
  • Keep map size, grounding mode, generated map contents, and runtime spatial state out of the reusable setup contract.

Alternatives considered

Exporting the complete map draft request or generated hierarchical map was considered, but that would mix transient/generated state into a reusable initial-settings file. The creation prompt is the only requested map-specific value.

Additional context

Reported after creating a game with Hierarchical Maps enabled: the text entered under “What should this world include?” was missing from Download setup.

This is Marinara Engine host integration, not package-owned Hierarchical Maps code.

Implementation owner: @thetopham (Codex-assisted).

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Jul 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3767 Originally assigned to: @thetopham on GitHub. ## What problem does this solve? A Game Mode campaign can enable Hierarchical Maps during initial setup and accept a user-authored map creation prompt, but the saved `gameInitialSetup` snapshot and **Download setup** file omit that prompt. Reusing the downloaded setup therefore loses the user's map-creation instructions. The reusable file should also continue to retain the selected combat style (`classic` or `tactical`) as a creation-time setting. ## Proposed solution - Persist the optional hierarchical-map creation prompt in the Engine-owned `GameSetupConfig` saved at game creation. - Include the prompt in the readable Initial Game Setup summary and the reusable `*.marinara-game-setup.json` download. - Restore the prompt when that setup file is imported, enabling the map-draft option when Hierarchical Maps is installed. - Add focused round-trip coverage for the map prompt and `combatStyle`, plus validation for an oversized prompt. - Keep map size, grounding mode, generated map contents, and runtime spatial state out of the reusable setup contract. ## Alternatives considered Exporting the complete map draft request or generated hierarchical map was considered, but that would mix transient/generated state into a reusable initial-settings file. The creation prompt is the only requested map-specific value. ## Additional context Reported after creating a game with Hierarchical Maps enabled: the text entered under “What should this world include?” was missing from **Download setup**. This is Marinara Engine host integration, not package-owned Hierarchical Maps code. Implementation owner: @thetopham (Codex-assisted). ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:44:45 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2033
No description provided.