Skip to content

Commit

Permalink
bugfix: flipped ironsworn and starforged keys
Browse files Browse the repository at this point in the history
  • Loading branch information
rsek committed Apr 20, 2022
1 parent bf3ec89 commit ebece69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
const starforged = {
const ironsworn = {
assets: require("./ironsworn/assets.json"),
encounters: require("./ironsworn/encounters.json"),
moves: require("./ironsworn/moves.json"),
oracles: require("./ironsworn/oracles.json"),
truths: require("./ironsworn/setting_truths.json"),
};
const ironsworn = {
const starforged = {
assets: require("./starforged/assets.json"),
encounters: require("./starforged/encounters.json"),
moves: require("./starforged/moves.json"),
oracles: require("./starforged/oracles.json"),
// truths: require("./starforged/setting_truths.json")
};
module.exports = { starforged, ironsworn };
module.exports = { starforged, ironsworn };
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { IAssetType, IEncounterStarforged, IMoveCategory, IOracleCategory, ISettingTruth, IEncounterNatureInfo } from "dataforged";


const starforged = {
const ironsworn = {
assets: require("./ironsworn/assets.json") as IAssetType[],
encounters: require("./ironsworn/encounters.json") as IEncounterStarforged[],
moves: require("./ironsworn/moves.json") as IMoveCategory[],
oracles: require("./ironsworn/oracles.json") as IOracleCategory[],
truths: require("./ironsworn/setting_truths.json") as ISettingTruth[],
}

const ironsworn = {
const starforged = {
assets: require("./starforged/assets.json") as IAssetType[],
encounters: require("./starforged/encounters.json") as IEncounterNatureInfo[],
moves: require("./starforged/moves.json") as IMoveCategory[],
Expand Down

0 comments on commit ebece69

Please sign in to comment.