Skip to content

Developer Handbook

Justin edited this page Aug 29, 2022 · 20 revisions

Developer Guide

This is just a brief guide over several parts of the game to give you an idea of how everything works.

Jobs

Jobs are short adventurers that characters go on to get equipment, money, and fights. Here is the basic structure of a job.

{
   id: 1, (A unique ID)
   challenge: 'easy', (The challenge rating of this mission.)
   template: `A friendly monk wanders by and asks for #name's advice. He's thankful and gives #name a weapon from his cart.`, (The text that is output to chat)
   encounter: null, (Can be null, a monster id, or a monster difficulty. This is what the player will fight.)
   loot: {
      item: {
      itemType: 'weapon',
          rarity: ['basic', 'rare'],
       },
       money: 20,
    },
   world_tendency: {
      happiness: 1,
      resources: 0,
      research: 0,
  },
}

Classes

Classes have a direct impact on player stats, raising them by a percentage. Below you'll see how much of a boost each level of class can give. Basic classes will give up to a 20% bonus, while legendary will increase stats by up to 40%. When adding new classes, try to follow this for balance purposes. Classes are mostly pulled from D&D Classes and sub-classes

  • Basic = 25 bonus points
  • Rare = 30 bonus points
  • Epic = 35 bonus points
  • Legendary = 40 bonus points

Titles

Titles work similar to classes and provide a state boost, raising them by a percentage. These raise stats to a lesser degree than the chosen class. Titles are mostly pulled from GM Binder

  • Basic = 5 bonus points
  • Rare = 10 bonus points
  • Epic = 15 bonus points
  • Legendary = 20 bonus points

Clone this wiki locally