Skip to main content

Neverwinter Nights (nwn) dungeon generator

Project description

license pipelines coverage

nwn-dg

Work in progress: in alpha stage.

Neverwinter Nights (nwn) dungeon generator

Installation

You can install the latest version from PyPI package repository.

pipx install nwn-dg

Roadmap

  • Transitions (stairs up, stairs down, transitions)

    • Not all tilesets support these features. Valid for at least crypt, sewers, dungeons and steamworks.
    • map-stairs-up (U), map-stairs-down (D), map-transitions (T)
      • Can replace deadend
      • Can be placed on the border of a corridor, entering into the corridor
      • Can be placed on the border of a room, entering into the room
      • Allow param "count", but also preferred direction (N,E,S,W), and preferred type (deadend, corridor, room)?
    • map-exits 0 (E)
      • On a room border, in the middle of 3 cells
      • Requires group tile support
  • Extra map layouts (cross, dagger, round, ...)

  • Doors

    • Does not occupy a cell, but is rather between two cells
    • Can not be placed anywhere, especially two in the same corner of a room. Either two corridors, or two doors.
    • Close off all rooms?
  • For are and are.json generation, accept an json input file to set basic information (tag, name, etc...)

  • An HTTP REST API frontend to be called via nwnxee requests.

  • Allow new room size (3x5, 5x5, etc.)

  • Extend room reshaping to create L, U shape rooms, cutting corners, pillars, etc..

  • Use tileset "set" file for dungeon generation?

  • Accept a configuration file as input.

  • Decide on how to handle minimum rooms: 1 or 2, retry idefinitly if we can?

Known bugs & limitations

  • Crypt tileset only.
  • Currently limited to maps from 5 to 31 cells in height and width.
  • Some deadends are not marked as such.
  • Entrance point is always stairs up tile, and is always added on a deadend.
  • Random seed might generate different dungeons depending on nwn-dg version upgrades.
  • Binary file is not accepted as a random seed

License

This project is licensed under the MIT License - see the LICENSE file for details.

Locations

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nwn_dg-0.3.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

nwn_dg-0.3.0-py2.py3-none-any.whl (29.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nwn_dg-0.3.0.tar.gz.

File metadata

  • Download URL: nwn_dg-0.3.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for nwn_dg-0.3.0.tar.gz
Algorithm Hash digest
SHA256 af876e900920031b862e669e4dc77982229e1ea188625e37e10ad4156904f7d8
MD5 46edeaa11e8fd76a473ded12da02d8f8
BLAKE2b-256 f32fd2ed2eb17ae9ce544a0f8629850c5aad80d969eb676b4c6902d3ff40857b

See more details on using hashes here.

File details

Details for the file nwn_dg-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: nwn_dg-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for nwn_dg-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70c60257925e107799bad72f36241d30e60fe3d79077b773c79b0f82f7de21a3
MD5 a8b7729b6c8e633e236a9028ddf7f888
BLAKE2b-256 c676949a32203f3c1ff4eeee688082089aff4f2c09772fe2965cbd0b47c2029c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page