Friday, April 28, 2017

City Stats, Boardroom and Curia: Tumador Colony and City Hall

These are the notes for a campaign that I am currently taking part in. The colony that my character is helping to manage, and the town hall he has to work with.

Thursday, April 20, 2017

Pseudobot: Index search

I added a book index search to Pseudobot, my Discord chat bot.
For example:

Pseudonym-Today at 10:30 AM

@Pseudobot lookup index sword

PseudobotBOT-Today at 10:30 AM

@Pseudonym: Found 29 result(s). Showing 10
Broadsword loadout, DF13:8, DF13:33
Shortsword/smallsword loadout, DF13:21, DF13:45
Shortsword-and-main-gauche loadout, DF13:27, DF13:50
Smallsword-and-cloak loadout, DF13:27, DF13:50
Sword loadouts. See Rapier-and-Buckler Loadout
Sword-and-cloak loadout, DF13:10, DF13:34
Sword-and-shield loadout
    knight, DF13:20, DF13:44
    bard, DF13:10, DF13:34
Two-handed sword loadout
    knight, DF13:21, DF13:44
    barbarian, DF13:9, DF13:33
Sword-and-buckler man character type, DF15:17
Golem-armor swordsman, DF2:24
So, yeah, add Chen to discord, and you can look through a buncha books real fast.

Monday, April 3, 2017

Pseudobot: Timer

It's a weirdly easy, but I'm also finding it, an extremely helpful thing to have programmed. It allows setting an arbitrary count of reminders simultaneously, so one person can track all the luck and abilities that require recharge that they want at a time. I've even just been using it for real life stuff. In any case, if you want to be able to set timers in your own discord server, just add Pseudobot and use the timer command.

Thursday, March 30, 2017

Pseudobot: More Sophisticated Dice Parser

Originally, Pseudobot's dice roller simply parsed an expression that could be described as "Dice Adds" EG:
\d+d\d*([+-]\d*)?
That is a regular expression and doesn't fully allow for many possible combinations of dice rolling expressions someone might need quickly executed, so I rewrote the parsing logic to use a context free branching grammar. Thanks to some help last night, I rooted out all the major bugs and most of the minor ones, so feel free to roll dice with addition, subtraction, division, multiplication, exponents, and parentheses.
Oh, and behind the scenes, just for fun, I made this tool that converts the trees into graphviz syntax so you can see what it looks like for quicker debugging. The image is an example of the equation: 1d -2d +3d(4d/1d). And for layman, basically, the equation is solved in the correct order by solving the lowest pieces first and moving up.
Parsed version of 1d-2d+3d(4d/1d)

Wednesday, March 22, 2017

GCS: How to Setup GIT

It's a thing that I know how to do since I program for my day job, but, it can be tricky if you are not used to it. Once you get it set up once though, it works fine from there.

Monday, March 20, 2017

Pseudobot: Damage and Basic Lift

The discord bot, Pseudobot now, given an effective ST level, can automatically calculate Basic Lift or Damage automatically. What's more, both commands have a Know Your Own Strength option for the fairly popular Pyramid article. This is a nifty tool for making on the fly adjustments in a game where ST buffs and debuffs are a thing.

Tuesday, March 14, 2017

Pseudobot: Fright Checks

My GURPS discord bot now does fright checks. This includes awe and confusion checks. If you use discord for GURPS and want a bot that does a lot of things for you, you can follow this link.

https://discordapp.com/oauth2/authorize?client_id=242855270076645377&scope=bot&permissions=0

If you want the bot to do cool different things, maybe I should start a patreon and get rich begging on the blog?
Related Posts Plugin for WordPress, Blogger...