Editing visible text to correct few misspellings and have more consistent capitalization

This commit is contained in:
tmtabor
2021-02-21 23:39:33 -08:00
parent 118a39e263
commit 0244148339
12 changed files with 48 additions and 48 deletions

View File

@ -1070,7 +1070,7 @@ const gearsData = [
const fulltemplate = { "area": 0,
"autofire": 0,
"damage_club": "",
"damage_hearth": "",
"damage_hearts": "",
"damage_spade": "",
"damage_diamond": "",
"hands": 1,
@ -1140,7 +1140,7 @@ export class gearConverter {
item.img = imgWeapon;
let damages = gear.damage.match( /.(.+)([LMSC])\/.(.+)([LMSC])\/.(.+)([LMSC])\/.(.+)([LMSC])/i )
item.data.damage_spade = damages[1] + damages[2];
item.data.damage_hearth = damages[3] + damages[4];
item.data.damage_hearts = damages[3] + damages[4];
item.data.damage_diamond = damages[5] + damages[6];
item.data.damage_club = damages[7] + damages[8];
}

View File

@ -110,7 +110,7 @@ export class SoSCardDeck {
getCardSuit( cardName ) {
if ( cardName[0] == 'c') return 'club';
if ( cardName[0] == 'd') return 'diamond';
if ( cardName[0] == 'h') return 'hearth';
if ( cardName[0] == 'h') return 'hearts';
if ( cardName[0] == 's') return 'spade';
if ( cardName[0] == 'j') return 'joker';
}

View File

@ -21,7 +21,7 @@ import { gearConverter } from "./gears_convert.js";
/************************************************************************************/
Hooks.once("init", async function () {
console.log(`Initializing Shadows over Sol System`);
console.log(`Initializing Shadows Over Sol System`);
// preload handlebars templates
SoSUtility.preloadHandlebarsTemplates();