Giter Club home page Giter Club logo

dggen's Introduction

DGGen

Just want the characters?

Some pregenerated sets of characters can be found here.

Introduction

DGGen is a program written in Python to generate characters for the pen-and-paper roleplaying game Delta Green from Arc Dream Publishing. It follows the character creations rules included in Delta Green:Need to Know and the Delta Green Agent's Handbook. The ReportLab library is required. Characters are created one-per-page (if unequipped) or two-per-page into a PDF. (The second-page of the character sheet is included as the final page in the PDF if characters are generated unequipped.) By default, characters of alternating genders are created in each of the following professions:

  • Anthropologist
  • Business Executive
  • Computer Science
  • Criminal
  • Engineer
  • Federal Agent
  • Firefighter
  • Foreign Service Officer
  • Historian
  • Intelligence Analyst
  • Intelligence Case Officer
  • Lawyer
  • Marine
  • Media Specialist
  • Nurse
  • Paramedic
  • Physician
  • Pilot
  • Police Officer
  • Program Manager
  • Sailor
  • Scientist
  • Soldier
  • Special Operator

Customising

(Edit data/professions.json to alter the professions generated, or the number of characters generated per profession.)

By default, the generator uses data from data/professions.json to define professions, and the number of characters generated for each. Different sets of professions can be used with the --professions flag. See data/professions-fbi.json as an example, or you can create your own.

Pre-built examples include data/professions-fbi.json, data/professions-cia.json, data/professions-dea.json, and data/professions-socom.json.

The following character sheet images were graciously provided by Simeon Cogswell, designer for Delta Green:

  • Character Sheet NO BACKGROUND.pdf
  • Character Sheet NO BACKGROUND BACK.jpg
  • Character Sheet NO BACKGROUND FRONT.jpg

Big thank you to Simeon and the folks at Arc Dream Publishing for the support.

Tasks

venv

Set up a virtual environment

We use venv to isolate our dependencies from any other Python projects that we might be working on. We only need to do this once.

python3 -m venv .venv

activate

Activate an existing virtual environment.

source .venv/bin/activate

dependecies

Install dependencies

pip install -U -r requirements.txt

generate

Generate standard characters.

./generator.py

generate-soldiers

Generate a group of Green Berets.

./generator.py --type soldier --label "Green Beret" --employer "United States Army" --count 24 --output "Bravo Company.pdf"

generate-police

Generate a group of Police.

./generator.py --type police --employer "NYPD" --output "The 17th Precinct.pdf"

generate-criminals

Generate a group of criminals.

./generator.py --type criminal --label "Thug" --employer "Fat Tony" --count 12 --output "Tony's Enforcers.pdf"

generate-fbi

Generate a group of FBI Agents.

./generator.py --professions data/professions-fbi.json -o "FBI Field Office.pdf"

generate-cia

Generate a group of CIA Agents.

./generator.py --professions data/professions-cia.json -o "CIA London Station.pdf"

generate-socom

Generate a group of special forces soldiers.

./generator.py --professions data/professions-socom.json -o "SOCOM Camp Echo.pdf"

Generate a group of DEA Agents.

generate-dea

./generator.py --professions data/professions-dea.json -o "DEA Field Office.pdf"

generate-seals

Generate a group of Navy SEALS.

./generator.py --professions data/professions-socom.json --type seal --count 12 -o "Operation ROOKHAVEN.pdf"

help

To see what options you have available, run:

./generator.py -h

License

DDGen is licensed under the Apache 2.0 Open Source License. Please see the /data folder for font licenses. The intellectual property known as Delta Green is ™ and © the Delta Green Partnership (http://www.delta-green.com).

Contact

import codecs; codecs.encode('[email protected]', 'rot13')

dggen's People

Contributors

brunns avatar jimstorch avatar enormandeau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.