Giter Club home page Giter Club logo

ackstools's Introduction

ackstools @John Davis

Python scripts for automating the annoying parts of DMing ACKS These were all written for command-line use on linux TODO portablate

Scripts and supporting config files:

demands.py - Generates demand modifiers for settlements (up to and including resolving effects of nearby markets on each other). Uses mercantmods.csv for the terrain and race modifiers. Uses a .towns file as its 'map' of the relative locations, ages, terrains (see shieldlands.towns for an example and format documentation). Uses dice.py because I'm an idiot sometimes (TODO remove dependency).

dungeonrooms.py - Supply number of rooms, get numbers of Empty, Trap, Monster, and Special rooms for dungeon stocking. Includes handling of empties with traps and treasure. No dependencies.

hd.pl - perl script to roll a bunch of monster HD at once. I don't use this much anymore, instead preferring list comprehensions in a python interpreter session, but here for completeness.

henchstats.py - Generates random henchmen for hire. Has a bunch of command line options, but in its fullest form, rolls stats, chooses an appropriate-ish class, gender, name, alignment, picks general proficiencies, generates random spells, and starting magic items (at the usual 5%/level NPC frequency). Can be driven by market class, or "give me 4 6th-level NPCs"; therefore also useful for NPC party encounters. Uses classes, genprofs, spells, and treasuretables as data files. Uses libspellbook.py, libhenches.py, and tables.py as dependencies.

hex2.py - Hex stocking and wilderness random encounter generation, v2 Can generate fully-stocked lairs down to arbitrary detail. Has a bunch of command line options, consult --help for details. Deciding on the correct depth/detail to generate needs some work, as does formatting the outputs nicely (Currently full-detail humanoid lairs are really ugly). That's really a question of modifying monstertables, though. monstertables is a mapping from monster type to number encountered/treasure enctables is a transcription of the wilderness tables from pages 244-247. Uses treasuretables, monstertables, and enctables as data files. Uses dice.py, tables.py as dependencies.

hirelings.py - How many mercenaries are available in town this month? Uses hireprices as a data file.

magicavail.py - What magic items are available in town this month? Uses magicprices as a data file.

markovnamegen.py - Generates random names by recombining inputs with Markov chains. No data files provided (TODO).

spellbook.py - Generate NPC mage's known spells. Uses libspellbook.py as dependency. Uses spells as a data file.

tables.py - This is actually a library for handling a random table specification format I built and have been extending as needed.
See treasuretables and monstertables for examples/documentation.

treasuregen.py - Generates treasure hoards. Uses tables.py as dependency. Uses treasuretables as a data file.

ackstools's People

Contributors

jedavis-rpg avatar jedav avatar

Watchers

 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.