Harrisandwich / dndint-server

MIT License
0 stars 0 forks source link

Create a test campaign JSON file #1

Open Harrisandwich opened 5 years ago

Harrisandwich commented 5 years ago

Create a test campaign JSON file that lays out what a campaign would look like. Will be used to test hosting with a default campaign

Here's a mock up of what I have in mind

{
  name: "Campaign Name",
  introduction: "4 adventurers go on an adventure. Things are about to happen"
  map: '[map name]'
  acts: [{
    introduction: 'this is act 1',
    starting_location: '[location name]'
    locations: [
      // ideally, the map file would have data
      // that defines which locations are connected 
      ...a list of location names that can be found in the map file being used
    ],
    // predefined encounters.
    // players can get into encounters in other places organically
    // if the dm allows, but these are encounters the dm plans for the
    // party to get into
    encounters: [{
      location: '[name]',
      enemies: [
        ...list of enemies, probably by json key to be found by api call
      ],
      enemy_initial_positions: [{
        enemy: [enemyindex],
        pos: { x: , y: },
      }]
    }]
    npcs: [
      // a list of notable npcs
      // this is ultimately unnecessary for simple dialog encounters,
      // but if the dm wants this npc to be an ally in combat, it may make 
      // sense to define their items and abilities
      // however, if the npc doesn't need specific abilities in combat, they 
      // could be generated with dm commands when the battle starts.
      // Still need to flesh out the flow of gameplay first
      {
        name,
        intro, // blurb for when this npc is first approached, optional in case the dm wanted to do something in the moment
        location,
      }
    ]
  }]
}
Harrisandwich commented 5 years ago

https://www.wikihow.com/Create-a-Dungeons-and-Dragons-Campaign

https://www.wikihow.com/Sample/Dungeons-and-Dragons-Night-of-the-Lichen-Campaign