Skip to content

Commit

Permalink
fix(l10n): fissure and invasion node key (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ornstein committed Dec 8, 2020
1 parent 5fb57c1 commit 963ee32
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/Fissure.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ class Fissure extends WorldstateObject {
*/
this.enemyKey = translator.nodeEnemy(data.Node);


/**
* The node key where the fissure has appeared
* @type {string}
*/
this.nodeKey = translator.node(data.Node);

/**
* The fissure's tier
* @type {string}
Expand Down
6 changes: 6 additions & 0 deletions lib/Invasion.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ class Invasion extends WorldstateObject {
*/
this.node = translator.node(data.Node, locale);

/**
* The node key where the invasion is taking place
* @type {string}
*/
this.nodeKey = translator.node(data.Node);

/**
* The invasion's description
* @type {string}
Expand Down

0 comments on commit 963ee32

Please sign in to comment.