Skip to content

lemilonkh/questgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuestGen

A procedural quest generator using Tracery. It builds random quest descriptions that you can use in a RPG oder roguelike style of game (or whereever else). Future ideas include a markov chain based name generation system and support for the Godot engine (probably via C++ modules or a NodeJS or nw.js based browser solution).

Usage

  • Pull this git repository
  • npm install
  • node index.js
  • ???
  • Profit

Use as a library

  • Pull this git repository
  • npm install
  • Use the following code to generate text:
var QuestGen = require('./questgen');
var grammarData = require('./grammar.json');
console.log(q.generate('#origin#'));
  • Not yet available as a npm package

Examples

For some example output see examples.txt.

About

A procedural quest generator using Tracery

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published