This commit is contained in:
Chen Asraf
2020-06-30 18:44:27 +03:00
parent 002264585e
commit 76181c4028
5 changed files with 27 additions and 17 deletions

View File

@@ -1,3 +1,6 @@
# v2.0.5+6
* Fixed Barbarian move "Khan Of Khans"
# v2.0.5+5
* Fixed Barbarian advanced moves

View File

@@ -434,8 +434,8 @@ void initHomebrew() {
classes: ['barbarian'],
),
Move(
key: 'hirelings',
name: 'Hirelings',
key: 'khan_of_khans',
name: 'Khan Of Khans',
description:
'Your hirelings always accept the gratuitous fulfillment of one of your appetites as payment.',
explanation: null,

View File

@@ -1,7 +1,7 @@
name: dungeon_world_data
homepage: https://github.com/DungeonPaper/dungeon_world_data
description: Data dump of Dungeon World classes, moves, equipment, and more. Also mirrored as NPM package.
version: 2.0.5+5
version: 2.0.5+6
environment:
sdk: ">=2.3.0 <3.0.0"

View File

@@ -9,25 +9,28 @@ Homebew classes included:
## How to use
Import the default to access the entire data structure.
import dungeonWorld from 'dw_data';
const dungeonWorld = require('dw-data');
```javascript
import dungeonWorld from 'dw_data';
// or
const dungeonWorld = require('dw-data');
```
## Available data
* `List<Move>` basicMoves - Dungeon World's basic moves, such as Hack & Slash, Defy Danger, etc.
* `List<Move>` specialMoves - Dungeon World's special moves, such as Make Camp, Take Watch, etc.
* `List<PlayerClass>` classes - All of Dungeon World's classes, plus some homebrews.
See `PlayerClass` class for a full description of the usable properties.
* `List<Equipment>` equipment - Dungeon World's main list of items.
* `List<Spell>` spells - Dungeon World's main spellbook list. Each class can have its own spells
list, see `PlayerClass` in the docs for more information.
* `List<Monster>` monsters - Dungeon World's main monster list.
* `List<Tag>` tags - List of all basic tags, along with descriptions.
| Name | Type | Description |
| ---- | ---- | ----------- |
| basicMoves | `Array<Move>` | Dungeon World's basic moves, such as Hack & Slash, Defy Danger, etc. |
| specialMoves | `Array<Move>` | Dungeon World's special moves, such as Make Camp, Take Watch, etc. |
| classes | `Array<PlayerClass>` | All of Dungeon World's classes, plus some homebrews. See `PlayerClass` class for a full description of the usable properties. |
| equipment | `Array<Equipment>` | Dungeon World's main list of items. |
| spells | `Array<Spell>` | Dungeon World's main spellbook list. Each class can have its own spells list, see `PlayerClass` in the docs for more information. |
| monsters | `Array<Monster>` | Dungeon World's main monster list. |
| tags | `Array<Tag>` | List of all basic tags, along with descriptions. |
## Credits
Credits to ~vindexus who created https://www.npmjs.com/package/dungeonworld-data.
The original data is from there and this is a direct export from the Dart variation, with a modified data set.
The original data is from there and this is a direct export from the [Dart](https://pub.dev/packages/dungeon_world_data) variation, with a modified data set.
## Contributing

View File

@@ -1,9 +1,13 @@
{
"name": "dw-data",
"version": "1.0.9",
"version": "1.0.11",
"main": "raw_data.js",
"repository": "https://github.com/chenasraf/dungeon_world_data",
"author": "Chen Asraf <inbox@casraf.com>",
"license": "MIT",
"types": "./index.d.ts"
"types": "./index.d.ts",
"scripts": {
"build": "cd ../.. && dart web/scripts/build_npm.dart",
"postbuild": "node -e 'require(\"../../npm_package/raw_data.js\")'"
}
}