This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Stardust RPG

Stardust RPG is a tactical d20 role-playing game designed to provide a variety of progression options for players and encourage teamwork. Baseline content is based off the Stardust book series by John Hagen, but is adaptable to a variety of fantasy settings.

Features

  • Cross platform. Run the server on any platform that supports Python. Clients can connect and manage their characters using a standard web browser with no install required.
  • Roll20 integration. Players can to automatically sync their character stats and automatically generated weapon and ability macros right into a Roll20 campaign. Special thanks to @theandrewdavis for his analysis of the roll20.net API.
  • Extensible. Easily add new content, such as classes, weapons, or abilities.
  • Persistent. Store characters in a persistent database for easy reuse.

Usage

Installation

You can install, upgrade, and uninstall stardust-rpg with these commands:

$ pip3 install stardust-rpg
$ pip3 install --upgrade stardust-rpg
$ pip3 uninstall stardust-rpg

Running

To run the server:

$ stardust-rpg runserver localhost:8000

Rules

Combat

Combat Round (RND)

  1. At the start of combat, roll a d20 + Maximum Speed (SPEED) to determine turn order.

    1. If your character is surprised, take no actions during the first RND.
  2. Do the following actions in any order. A Full Action (FullA) requires consuming all these actions. A Free Action (FreeA) does not consume any of these actions.

    1. Move Action (MovA)

      1. Move your character up to Maximum Speed (SPEED).

        1. You may move through squares occupied by allies, but may not move through grid squares occupied by enemies.
      2. After performing a StdA or AbA, you may consume the remaining SPEED that has not be used during this RND.

    2. Standard Action (StdA)

      1. Perform a single melee or ranged weapon attack

        1. Roll a d20 and PDAM dice. If d20 + PAC ≥ target PDEF, apply PDAM.

          1. If d20 ≥ Critical Range (CRAN), automatic hit, apply CDAM.
          2. if d20 = 1, automatic miss.
    3. Ability Action (AbA)

      1. Cast a single ability that requires AbA

        1. Subtract the MP Cost from your Current MP. Current MP cannot drop below 0.

        2. Roll a d20 and MDAM dice. If d20 + MAC ≥ target MDEF, apply MDAM and Effect.

          1. If d20 = 20, automatic hit, choose one of the following: 2x [MDAM, Effect, Area, OR Duration].
          2. If d20 = 1, automatic miss.
  3. At the conclusion of your turn, roll a d20 and Regeneration Dice (RD)

    1. If d20 ≥ Magic Regeneration (REG), restore RD MP.

      1. If d20 = 20, restore 2x RD MP.
      2. If d20 = 1, automatic failure.

Incapacitation (KO)

  • If HP ≤ 0, unconscious status.
  • If HP ≤ -(50% Maximum HP), death status.

Status Effects

Status Effect
Immobilize Cannot take MovA.
Silence Cannot take AbA (i.e. any action that targets with MAC or consumes MP).
Stagger Cannot perform physical attacks.
Disable Cannot take StdA.
Stun Cannot take MovA or StdA.
Sleep Cannot take MovA or StdA. Woken by physical or magical attack.
Fear Must expend MovA to move in opposite direction of the source of fear.
Allure Must expend MovA to move towards the source of the allure.
Blind Maximum range of physical and magic attacks reduced to 1.
Unconscious Cannot take anymore actions until revived.
Death Creature is dead.

Vulnerabilities and Resistances

Status Effect
Vulnerability (VUL) Take 2x from a particular damage type.
Resistance (RES) Take ½ from a particular damage type.
Immunity (IMU) Take no damage from a particular damage type.

Skills

Skill Effect
Athletics (ATH) Climb, Jump, Swim, Grapple, Reflex, Balance, Fall
Stealth (STE) Sneak, Hide, Sleight of Hand, Disguise, Escape, Detect Trap
Fortitude (FOR) Endurance, Resist Status Effect, Death Save, Survival
Aptitude (APT) Heal, Operate Device, Pick Lock, Forgery, Scan, Utility
Perception (PER) Spot, Listen, Search, Touch, Smell, Taste
Speech (SPE) Diplomacy, Intimidate, Bluff, Persuasion

TODO

Features

  • Handle exceptions in a user-friendly way.
  • Show buy/sell price.
  • Show only equipable items.
  • Utility macros.
  • Set bonuses.
  • Vulnerabilities and resistances.
  • Inventory
  • Shops
  • Parties
  • Weapon / Ability DPS
  • Add equation help for how stats are calculated

Technical Debt

  • Break views into multiple modules.
  • Switch to logging module.
  • Add unit tests
Release History

Release History

1.0.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
stardust-rpg-1.0.0.tar.gz (66.6 kB) Copy SHA256 Checksum SHA256 Source Jun 1, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting