Skip to content

Commit

Permalink
yaml export - game + name before actual game options
Browse files Browse the repository at this point in the history
  • Loading branch information
FuzzyGamesOn committed Sep 3, 2024
1 parent 02e3716 commit d6835e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/yaml.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export class Yaml {
let creator = this.vue.creator.replace(/[^A-Za-z0-9]/g, '');

const yamlContents =
`game: Manual_${game}_${creator}\n` +
`name: ${creator}\n\n` +
`Manual_${game}_${creator}:\n` +
' progression_balancing: 50\n' +
' accessibility: items\n\n' +
`game: Manual_${game}_${creator}\n` +
`name: ${creator}`;
' accessibility: items\n';

const file = new Blob([yamlContents], { type: 'text/yaml' });

Expand Down

0 comments on commit d6835e0

Please sign in to comment.