Skip to content

Commit

Permalink
feature: add Speed Through Water PGN (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroyer76 authored and sbender9 committed May 29, 2019
1 parent e7b03dd commit 04e3447
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions conversions/speed.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

module.exports = (app, plugin) => {
return {
pgns: [ 128259 ],
title: 'Speed (128259)',
optionKey: 'SPEED',
keys: ["navigation.speedThroughWater"],

callback: (speed) => {
try {
return [
{
pgn: 128259,
"Speed Water Referenced": speed,
}
]
} catch ( err ) {
console.error(err)
}
}
}
}

0 comments on commit 04e3447

Please sign in to comment.