Giter Site home page Giter Site logo

natehole / troikadiscordbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from awkwardturtle42/troikadiscordbot

2.0 2.0 0.0 225 KB

Discord bot written in python to handle the Troika! initiative system.

License: GNU General Public License v3.0

Python 100.00%

troikadiscordbot's People

Contributors

awkwardturtle42 avatar harrisj avatar natehole avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

troikadiscordbot's Issues

Add the Weapons Tables

!attack [WEAPON_NAME] [MODIFIER]

weapon name should be case insensitive. There is an edge case of names such as Small Beast that will have to be handled.

Example Output
in: !attack sword
out: 6 - rolled (3)

in : !attack MAuL
out: 12 - rolled (5) - ignores 1 point of Armour

in: !attack small beast 1
out: 3 - rolled (2 + 1)

Bring back d20

I originally decided against using the d20 library because it was overkill for what we needed and it also couldn't support the floor needed for damage calculations (basically after the roll and adjustments, the minimum roll must be 1). But I realize we probably want to add direct support for the GM to do rolls and roll20 is the safest and easiest way to do that

British spellings?

Here's a random question, should we adopt British spellings for things like armour? I only ask because that's how it's in the original book and I wonder if it might make more sense out a sense of parity

Add Embeds

Embeds looks fun to mess around with. I checked out Avrae's codebase for some examples.

The first thing that comes to mind for me would be damage. We could include roll, bonus, result, armor, and total damage along with damage table. I can picture it in a visual way that I think might work and I've started to work on it.

I haven't researched anything at all but it would be nice if we had art assets to use with weapons as icons.

@harrisj what do you think? Would this be a good use for embeds?

Improve Character Generation

Character Generation should give not only d66 roll for the character but also the result of the roll along with Skills.

Right now I don't see a wiki to do this so this might involve a lot of manual copy and paste to create a JSON file with this data.

Currently

Character Generated by user#1234!
Skill - 4
Formula: 1d3 + 3
Rolled: (1)
Stamina - 19
Formula: 2d6 + 12
Rolled: (3, 4)
Luck - 11
Formula: 1d6 + 6
Rolled: (5) + 6
Silver Pence - 8
Formula: 2d6
Rolled: (2, 6)
Character Background - 42
Formula: 1d66
Rolled: (42)

Desired (roughly)

Character Generated by user#1234!
Parchment Witch
lorem ipsum...

Possesions

  • item one
  • item two

Advanced Skills

  • skill one
  • skill two

Special
lorem ipsum...

Rolls
Skill - 4
Formula: 1d3 + 3
Rolled: (1)
Stamina - 19
Formula: 2d6 + 12
Rolled: (3, 4)
Luck - 11
Formula: 1d6 + 6
Rolled: (5) + 6
Silver Pence - 8
Formula: 2d6
Rolled: (2, 6)
Character Background - 42
Formula: 1d66
Rolled: (42)

Add license

I am thinking of borrowing some code from Avrae (with attribution in the contributions), but I think if I wanted to do that I'd need this code to adopt the GNU GPLv3 license (what Avrae has). Any objections?

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.