Permalink
Browse files

add rpg-npc template

  • Loading branch information...
Etienne
Etienne committed Nov 17, 2017
1 parent 6e30d5b commit 91983449c8040d35da7cde74f07af408ad7a291f
Showing with 122 additions and 1 deletion.
  1. +2 −1 templates/README.md
  2. +120 −0 templates/rpg-npc.json
@@ -1,4 +1,4 @@
# Templates for Geckos
# Templates for Geckos
This directory is filled with templates for **Geckos**. Those templates are free, and you can use them by following the [CC-By-SA](https://creativecommons.org/licenses/by-sa/3.0/) license, and the [Beerware Agreement](http://www.github.com/gulix/geckos/License.md), unless otherwise specified within the template.
@@ -19,4 +19,5 @@ If you want to add some of your templates to this _official_ list, feel free to
| [Pulp Alley character](pulpalley-charactercard.json) | A card for the **Pulp Alley** game, to create profile cards for miniatures. | _[In progress](https://github.com/Gulix/geckos/issues/62)_ | Beta 0.3.0 and beyond |
| [Pulp Alley Fortune Cards](pulpalley-fortunecard.json) | A card for the **Pulp Alley** game, to create Fortune & Rewards Cards. | _[In progress](https://github.com/Gulix/geckos/issues/62)_ | Beta 0.3.0 and beyond |
| [Pulp City misc cards](pulpcity-misc.json) | Card for Pulp City for miscellaneous things : Plots, Agendas, ... Could be used for another game, with urban style. | **Completed** | Beta 0.3.0 and beyond |
| [RPG-NPC](rpg-npc.json) | NPC-card for table-top role-playing games. Fold the card in 2 and hang it on the game master screen. | **Completed** | Beta 0.3.0 and beyond |
| [WQ Silver Tower Hero card](wquest-silvertower-herocard.json) | A card for the heroes of **Warhammer Quest Silver Tower**, to create profile cards for miniatures. | _[In progress](https://github.com/Gulix/geckos/issues/60)_ | Beta 0.3.0 and beyond |
@@ -0,0 +1,120 @@
{
"styles": [
{
"key": "default",
"name": "Default",
"fields": [
{
"name": "name",
"label": "Name",
"default": "PNJ"
},
{
"type": "number",
"name": "nameSize",
"label": "Name Size",
"default": 30
},
{
"type": "number",
"name": "textSize",
"label": "Text Size",
"default": "30"
},
{
"type": "image",
"name": "portray",
"label": "Portray"
},
{
"name": "description",
"label": "Description",
"default": "",
"type": "richtext"
}
],
"canvasFields": [
{
"type": "rect",
"width": 502,
"height": 2038,
"left": 5,
"top": 5,
"fill": "#FFFFFF",
"stroke": "#000000",
"strokeWidth": 1
},
{
"type": "image",
"left": 56,
"top": 560,
"width": 400,
"height": 400,
"src": "$portray"
},
{
"type": "image",
"left": 456,
"top": 510,
"width": 400,
"height": 400,
"angle": 180,
"src": "$portray"
},
{
"type": "textbox",
"text": "$name",
"left": 30,
"top": 1000,
"width": 452,
"textAlign": "center",
"fill": "#000",
"fontFamily": "Arial",
"fontWeight": 700,
"fontSize": "$nameSize"
},
{
"type": "textbox",
"text": "$name",
"angle": 180,
"centerTransform": true,
"left": 482,
"top": 100,
"width": 452,
"textAlign": "center",
"fill": "#000",
"fontFamily": "Arial",
"fontWeight": 700,
"fontSize": "$nameSize"
},
{
"type": "textbox",
"styles": "£description",
"text": "$description$",
"left": 30,
"top": 1150,
"width": 452,
"textAlign": "left",
"fill": "#000",
"fontFamily": "Arial",
"fontWeight": 300,
"fontSize": "$textSize"
}
],
"canvasBackground": "#FFFFFF",
"canvasWidth": 512,
"canvasHeight": 2048
}
],
"description": {
"description": "Template for RPG-NPC card",
"title": "RPG-NPC",
"credits": "by Raccoon",
"key": "rpg-npc-v1",
"url": "https://github.com/Gulix/geckos/"
}
}

0 comments on commit 9198344

Please sign in to comment.