From 8e1bd9b0dc5f13f9722d1fea708ca134ea987c28 Mon Sep 17 00:00:00 2001 From: Yord Date: Tue, 22 Sep 2015 20:48:17 +0200 Subject: [PATCH] Added all Core Rules and thoroughly tested. --- _posts/0000-01-01-Character-Generator.html | 3395 ++++++++++++++------ ikrpg.appcache | 201 ++ static/javascripts/heroic.js | 16 + 3 files changed, 2695 insertions(+), 917 deletions(-) create mode 100644 ikrpg.appcache diff --git a/_posts/0000-01-01-Character-Generator.html b/_posts/0000-01-01-Character-Generator.html index 65dac38..7e8994b 100644 --- a/_posts/0000-01-01-Character-Generator.html +++ b/_posts/0000-01-01-Character-Generator.html @@ -10,7 +10,7 @@ tags: [Character Generator]

Race

-

@@ -28,7 +28,7 @@ tags: [Character Generator]

Caste

-

@@ -46,7 +46,7 @@ tags: [Character Generator]

Archetype

-

@@ -64,7 +64,7 @@ tags: [Character Generator]

Career 1

-

@@ -82,7 +82,7 @@ tags: [Character Generator]

Career 2

-

@@ -100,7 +100,7 @@ tags: [Character Generator]

Adventuring Company

-

@@ -120,844 +120,1250 @@ tags: [Character Generator]
test
- - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ These are the (slightly modified) official Full Metal Fantasy and Unleashed character sheets + that can be downloaded at privateerpress.com. + We have modified them so you can fill, print, and save them in your browser! + After you saved them they are only visible to you. + We do not have access to your characters. + Only you can access them and only in the browser you saved them in. +

+

+ Beware: + If you clear your browser cache, your character sheets will be lost! + Additionally, if you save a new character sheet under an existing hero name, the old sheet will be lost! +

+

+ Tip: + Use your browser's print function to print your character sheet! +

+

+ You can import/export character cards should you need them in a different browser, clear your browser cache or email them to a friend. + Exporting cards will give you a gibberish representation of your character that you can copy. + Pasting that gibberish into the import/export field and clicking to import the character will update your sheet. + Have fun using the character sheets! +

+ +

+ | Save | + Import/Export Character | +

+ +
+ + + +
+ +
+ + + + + + + + + + + + + +
Hero NameArchetypeRaceCareersLoadDelete
+
+ + + +
+ Choose your character sheet design: + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + + +
+ + + + + + + + + + + + + +
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+ +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + + + +
+
+ + + + + +
+
+ + + + + +
+
+ + + + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+ +
+ + + + + + + + +
+
+ + + + + + + + +
+
+ + + + + + + + +
+
+ + + + + + + + +
+
+ + + + + + + + +
+
+ + + + + + + + +
+
+ + + + + + + + +
+
+ + + + + + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ + + + + + + + + + +
+ + + + + + + \ No newline at end of file diff --git a/ikrpg.appcache b/ikrpg.appcache new file mode 100644 index 0000000..8cbfd0b --- /dev/null +++ b/ikrpg.appcache @@ -0,0 +1,201 @@ +CACHE MANIFEST +# 2015-09-20 13:01 + +CACHE: + +# Front site +/ + +# Character Cards +/Character/ +/Characters/ +/Character-Cards/ + +# Character Sheets +/Character-Sheets/ + +# Moons of Caen Tool +/Constellations/ + +# Index +/Index/ +/index/Ability-Index/ +/index/Adventure-and-Encounter-Index/ +/index/Adventuring-Company-Index/ +/index/Alchemy-Index/ +/index/Archetype-Index/ +/index/Career-Index/ +/index/Disease-Index/ +/index/Equipment-Index/ +/index/Individuals-Index/ +/index/Mechanika-Index/ +/index/Monster-Index/ +/index/Monsternomicon-Index/ +/index/Organization-Index/ +/index/Race-Index/ +/index/Skill-Index/ +/index/Spell-Index/ +/index/Steamjack-Index/ +/index/Thrall-Index/ + +# Index by Category +/index/category/Ability/ +/index/category/Adventure/ +/index/category/Alchemy/ +/index/category/Armory/ +/index/category/Character-Creation/ +/index/category/Disease/ +/index/category/Equipment/ +/index/category/Geography/ +/index/category/Individual/ +/index/category/Mechanika/ +/index/category/Monster/ +/index/category/Monsternomicon/ +/index/category/Organization/ +/index/category/Orgoth-Relic/ +/index/category/Skill/ +/index/category/Spell/ +/index/category/Steamjack/ +/index/category/Survival/ +/index/category/Thrall/ +/index/category/Vehicle/ +/index/category/Warbeast/ + +# Index by Publication +/index/publication/Bad-Moon-Rising/ +/index/publication/Bitter-Medicine/ +/index/publication/Core-Rules/ +/index/publication/Core-Rules-Bestiary-Expanded/ +/index/publication/Errata/ +/index/publication/Fools-Rush-In/ +/index/publication/Full-Metal-Fridays-1-1-1/ +/index/publication/Full-Metal-Fridays-1-1-2/ +/index/publication/Full-Metal-Fridays-1-1-3/ +/index/publication/Full-Metal-Fridays-1-1-4/ +/index/publication/Full-Metal-Fridays-1-2-1/ +/index/publication/Full-Metal-Fridays-1-2-2/ +/index/publication/Full-Metal-Fridays-1-2-3/ +/index/publication/Full-Metal-Fridays-1-2-4/ +/index/publication/Full-Metal-Fridays-1-3-1/ +/index/publication/Full-Metal-Fridays-1-3-2/ +/index/publication/Full-Metal-Fridays-1-3-3/ +/index/publication/Full-Metal-Fridays-1-3-4/ +/index/publication/Full-Metal-Fridays-1-4-1/ +/index/publication/Full-Metal-Fridays-1-4-2/ +/index/publication/Full-Metal-Fridays-1-4-3/ +/index/publication/Full-Metal-Fridays-1-4-4/ +/index/publication/Full-Metal-Fridays-1-5-1/ +/index/publication/Full-Metal-Fridays-1-5-2/ +/index/publication/Full-Metal-Fridays-1-5-3/ +/index/publication/Full-Metal-Fridays-1-5-4/ +/index/publication/Fridays-Unleashed-1-9-2105/ +/index/publication/Fridays-Unleashed-1-16-2014/ +/index/publication/Fridays-Unleashed-1-23-2105/ +/index/publication/Fridays-Unleashed-1-30-2015/ +/index/publication/Fridays-Unleashed-2-13-2015/ +/index/publication/Fridays-Unleashed-2-20-2015/ +/index/publication/Fridays-Unleashed-3-6-2015/ +/index/publication/Fridays-Unleashed-3-20-2015/ +/index/publication/Fridays-Unleashed-3-27-2015/ +/index/publication/Kings,-Nations,-and-Gods/ +/index/publication/Monsternomicon/ +/index/publication/No-Quarter-43/ +/index/publication/No-Quarter-44/ +/index/publication/No-Quarter-45/ +/index/publication/No-Quarter-46/ +/index/publication/No-Quarter-47/ +/index/publication/No-Quarter-48/ +/index/publication/No-Quarter-48-Plus/ +/index/publication/No-Quarter-49/ +/index/publication/No-Quarter-50/ +/index/publication/No-Quarter-51/ +/index/publication/No-Quarter-52/ +/index/publication/No-Quarter-53/ +/index/publication/No-Quarter-54/ +/index/publication/No-Quarter-55/ +/index/publication/No-Quarter-56/ +/index/publication/No-Quarter-57/ +/index/publication/No-Quarter-58/ +/index/publication/No-Quarter-59/ +/index/publication/No-Quarter-60/ +/index/publication/No-Quarter-61/ +/index/publication/Path-of-Devastation-Season-1/ +/index/publication/Path-of-Devastation-Season-2/ +/index/publication/Path-of-Devastation-Season-3/ +/index/publication/Skorne-Empire/ +/index/publication/Urban-Adventure/ +/index/publication/Unleashed-Core-Rules/ +/index/publication/Unleashed-Adventure-Kit-Rulebook/ +/index/publication/Unleashed-Adventure-Kit-Scenario/ + +# fonts +/static/fonts/typicons.eot +/static/fonts/typicons.svg +/static/fonts/typicons.ttf +/static/fonts/typicons.woff + +# images +/static/images/bg-FMF.jpg +/static/images/bg-Unleashed.jpg +/static/images/progress/cygnar.png +/static/images/progress/khador.png +/static/images/progress/mercenaries.png +/static/images/sheet/Abilities.png +/static/images/sheet/Colbie.jpg +/static/images/sheet/Details.png +/static/images/sheet/Feats.png +/static/images/sheet/Gear.png +/static/images/sheet/M+M.png +/static/images/sheet/R+M+M.png +/static/images/sheet/R+R+M.png +/static/images/sheet/R+R.png +/static/images/sheet/reload.png +/static/images/sheet/Skills.png +/static/images/sheet/Spells.png +/static/images/sheet/Stats.png +/static/images/sort_asc.png +/static/images/sort_both.png +/static/images/sort_desc.png + +# javascripts +/static/javascripts/datatables-filters.js +/static/javascripts/foo.js +/static/javascripts/heroic-old.js +/static/javascripts/heroic.js +/static/javascripts/index.js +/static/javascripts/jquery-ui-1.10.4.min.js +/static/javascripts/lz-string-1.3.3-min.js +/static/javascripts/setup-datatables.js +/static/javascripts/pouchdb-3.3.1.min.js + +# stylesheets +/static/stylesheets/content/character-sheet.css +/static/stylesheets/content/datatables.css +/static/stylesheets/content/lists.css +/static/stylesheets/content/progress-bar.css +/static/stylesheets/content/tables.css +/static/stylesheets/content.css +/static/stylesheets/fonts.css +/static/stylesheets/foot.css +/static/stylesheets/global.css +/static/stylesheets/head.css +/static/stylesheets/index.css +/static/stylesheets/ipad.css +/static/stylesheets/iphone.css +/static/stylesheets/menu.css +/static/stylesheets/reset.css + +# Other page resources +http://fonts.googleapis.com/css?family=Cabin:700 +https://fonts.googleapis.com/css?family=Cabin:700 +http://fonts.gstatic.com/s/cabin/v7/nHiQo1BypvYzt95zlPq1TnYhjbSpvc47ee6xR_80Hnw.ttf +https://fonts.gstatic.com/s/cabin/v7/nHiQo1BypvYzt95zlPq1TnYhjbSpvc47ee6xR_80Hnw.ttf +http://code.jquery.com/jquery-2.1.1.min.js +https://code.jquery.com/jquery-2.1.1.min.js +http://cdn.datatables.net/1.10.0/js/jquery.dataTables.min.js +https://cdn.datatables.net/1.10.0/js/jquery.dataTables.min.js +http://cdn.datatables.net/fixedheader/2.1.1/js/dataTables.fixedHeader.min.js +https://cdn.datatables.net/fixedheader/2.1.1/js/dataTables.fixedHeader.min.js + +NETWORK: +* diff --git a/static/javascripts/heroic.js b/static/javascripts/heroic.js index 5c8afc5..78f950f 100644 --- a/static/javascripts/heroic.js +++ b/static/javascripts/heroic.js @@ -8,6 +8,22 @@ var ikrpg = ikrpg || {}; ikrpg.cards = ikrpg.cards || {}; + ikrpg.cards.cleanData = function() { + + function clean(object) { + $.each(object, function(key, value) { + if($.type(value) === "object") { + clean(value); + } else { + object[key] = ""; + } + }); + } + + clean(ikrpg.cards.data); + + }; + ikrpg.cards.data = { "portrait": { "url": "", "top": 0, "left": 0, "width": 0 }, "hero-name": "Hero's name",