0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-28 00:43:08 +00:00

all imports

This commit is contained in:
Víctor Losada Hernández
2026-01-20 22:14:34 +01:00
parent 0d6c3c7e33
commit fc8656e05b
78 changed files with 415 additions and 334 deletions

View File

@@ -1,12 +1,12 @@
/* eslint-disable max-lines */
const MagicGen = require('./snippets/magic.gen.js');
const ClassTableGen = require('./snippets/classtable.gen.js');
const MonsterBlockGen = require('./snippets/monsterblock.gen.js');
const ClassFeatureGen = require('./snippets/classfeature.gen.js');
const CoverPageGen = require('./snippets/coverpage.gen.js');
const TableOfContentsGen = require('./snippets/tableOfContents.gen.js');
const dedent = require('dedent-tabs').default;
import MagicGen from './snippets/magic.gen.js';
import ClassTableGen from './snippets/classtable.gen.js';
import MonsterBlockGen from './snippets/monsterblock.gen.js';
import ClassFeatureGen from './snippets/classfeature.gen.js';
import CoverPageGen from './snippets/coverpage.gen.js';
import TableOfContentsGen from './snippets/tableOfContents.gen.js';
import dedent from 'dedent-tabs';
export default [

View File

@@ -1,4 +1,4 @@
const _ = require('lodash');
import _ from 'lodash';
export default function(classname){

View File

@@ -1,4 +1,4 @@
const _ = require('lodash');
import _ from 'lodash';
const features = [
'Astrological Botany',

View File

@@ -1,4 +1,4 @@
const _ = require('lodash');
import _ from 'lodash';
const titles = [
'The Burning Gallows',

View File

@@ -1,8 +1,8 @@
const _ = require('lodash');
import _ from 'lodash';
const ClassFeatureGen = require('./classfeature.gen.js');
import ClassFeatureGen from './classfeature.gen.js';
const ClassTableGen = require('./classtable.gen.js');
import ClassTableGen from './classtable.gen.js';
export default function(){

View File

@@ -1,4 +1,4 @@
const _ = require('lodash');
import _ from 'lodash';
const spellNames = [
'Astral Rite of Acne',

View File

@@ -1,4 +1,4 @@
const _ = require('lodash');
import _ from 'lodash';
const genList = function(list, max){
return _.sampleSize(list, _.random(0, max)).join(', ') || 'None';

View File

@@ -1,4 +1,4 @@
const _ = require('lodash');
import _ from 'lodash';
const getTOC = (pages)=>{
const add1 = (title, page)=>{