From 724ed158c851ebf188cd5a071a206ce57a42071c Mon Sep 17 00:00:00 2001 From: CassieLevett Date: Wed, 16 Oct 2024 19:04:42 +0000 Subject: [PATCH 1/2] add pre-gens to the drop zone --- Pendragon6thEdition/package.json | 2 +- Pendragon6thEdition/pendragon.html | 2 +- Pendragon6thEdition/src/pendragon.pug | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Pendragon6thEdition/package.json b/Pendragon6thEdition/package.json index f306a905eb90..173cc2ebdc32 100644 --- a/Pendragon6thEdition/package.json +++ b/Pendragon6thEdition/package.json @@ -1,6 +1,6 @@ { "name": "pendragon6thedition", - "version": "3.3", + "version": "3.3.0", "description": "You need to run npm start to get the compilers going.", "dependencies": { "20": "^3.1.9", diff --git a/Pendragon6thEdition/pendragon.html b/Pendragon6thEdition/pendragon.html index 0bd65262ec7a..c5b71d7dcc35 100644 --- a/Pendragon6thEdition/pendragon.html +++ b/Pendragon6thEdition/pendragon.html @@ -1,4 +1,4 @@ -

^

^

^

/
/
/
/
/
/
/
/
/
/
/
/
/

^

^
p

^
p

^
p

^
p

^

^

/
/
/
/
/
/
/
/
/
/
/
/
/

^

^

p

^

^

^

^

p

p

^
p

^
p

^

^

^

^

ACCEPTING DROP FROM COMPENDIUM
{{#header}}{{header}}{{/header}}
{{#luck}}
{{luck}}
{{#calamity}}
{{calamity}}
{{/calamity}}
{{/luck}} +

^

^

^

/
/
/
/
/
/
/
/
/
/
/
/
/

^

^
p

^
p

^
p

^
p

^

^

/
/
/
/
/
/
/
/
/
/
/
/
/

^

^

p

^

^

^

^

p

p

^
p

^
p

^

^

^

^

ACCEPTING DROP FROM COMPENDIUM
{{#header}}{{header}}{{/header}}
{{#luck}}
{{luck}}
{{#calamity}}
{{calamity}}
{{/calamity}}
{{/luck}} {{#dice}}
{{dice}}
{{/dice}} {{#threshold}}
{{threshold}}
{{/threshold}} {{#dice}}
{{#rollGreater() threshold 19}} diff --git a/Pendragon6thEdition/src/pendragon.pug b/Pendragon6thEdition/src/pendragon.pug index dfec01734dee..0153ea59b52f 100644 --- a/Pendragon6thEdition/src/pendragon.pug +++ b/Pendragon6thEdition/src/pendragon.pug @@ -15,7 +15,8 @@ include pug/mixins/inputs.pug ============================= include pug/abstracts/variables.pug -.dropzone.compendium-drop-target.creatures(data-licensedsheet='attr_licensedsheet') +//- Dropzone categories for the characters sheets must be added here +.dropzone.compendium-drop-target.creatures.Pre-gens.pre-gens(data-licensedsheet='attr_licensedsheet') //- Drag and drop target for compendium each val in ['Name', 'data', 'Content', "Category"] input(name=`attr_drop_${val.toLowerCase()}` type='hidden' value='' accept=val) From d7a129756c74f2824e9c00aa52c0f6b2bfeef001 Mon Sep 17 00:00:00 2001 From: CassieLevett Date: Thu, 17 Oct 2024 00:08:13 +0000 Subject: [PATCH 2/2] set drop to pregens --- Pendragon6thEdition/pendragon.html | 2 +- Pendragon6thEdition/src/pendragon.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pendragon6thEdition/pendragon.html b/Pendragon6thEdition/pendragon.html index c5b71d7dcc35..ad0f0cf43f32 100644 --- a/Pendragon6thEdition/pendragon.html +++ b/Pendragon6thEdition/pendragon.html @@ -1,4 +1,4 @@ -

^

^

^

/
/
/
/
/
/
/
/
/
/
/
/
/

^

^
p

^
p

^
p

^
p

^

^

/
/
/
/
/
/
/
/
/
/
/
/
/

^

^

p

^

^

^

^

p

p

^
p

^
p

^

^

^

^

ACCEPTING DROP FROM COMPENDIUM
{{#header}}{{header}}{{/header}}
{{#luck}}
{{luck}}
{{#calamity}}
{{calamity}}
{{/calamity}}
{{/luck}} +

^

^

^

/
/
/
/
/
/
/
/
/
/
/
/
/

^

^
p

^
p

^
p

^
p

^

^

/
/
/
/
/
/
/
/
/
/
/
/
/

^

^

p

^

^

^

^

p

p

^
p

^
p

^

^

^

^

ACCEPTING DROP FROM COMPENDIUM
{{#header}}{{header}}{{/header}}
{{#luck}}
{{luck}}
{{#calamity}}
{{calamity}}
{{/calamity}}
{{/luck}} {{#dice}}
{{dice}}
{{/dice}} {{#threshold}}
{{threshold}}
{{/threshold}} {{#dice}}
{{#rollGreater() threshold 19}} diff --git a/Pendragon6thEdition/src/pendragon.pug b/Pendragon6thEdition/src/pendragon.pug index 0153ea59b52f..6a91f0a0a73e 100644 --- a/Pendragon6thEdition/src/pendragon.pug +++ b/Pendragon6thEdition/src/pendragon.pug @@ -16,7 +16,7 @@ include pug/mixins/inputs.pug include pug/abstracts/variables.pug //- Dropzone categories for the characters sheets must be added here -.dropzone.compendium-drop-target.creatures.Pre-gens.pre-gens(data-licensedsheet='attr_licensedsheet') +.dropzone.compendium-drop-target.creatures.pregens(data-licensedsheet='attr_licensedsheet') //- Drag and drop target for compendium each val in ['Name', 'data', 'Content', "Category"] input(name=`attr_drop_${val.toLowerCase()}` type='hidden' value='' accept=val)