Added map tiles from Unleashed GM Toolkit and Catacomb Tiles.

This commit is contained in:
Yord 2016-05-27 16:17:28 +02:00
parent 185a7eaa40
commit 3202c4ecef
29 changed files with 40 additions and 6 deletions

View file

@ -28,7 +28,9 @@ var ikrpg = ikrpg || {};
function fillLibrary() {
appendTiles();
appendHWTiles();
appendCTTiles();
appendGMTiles();
append10x3tokens();
append1x1Stokens();
append4x3tokens();
@ -36,10 +38,10 @@ var ikrpg = ikrpg || {};
appendSmallBases();
appendMediumBases();
function appendTiles() {
function appendHWTiles() {
$.each(['01', '02', '03', '04', '05', '06', '07', '08', '09'], function(i, id) {
$.each(['A', 'B'], function(j, key) {
$('#tiles').append('\
$('#hw-boards').append('\
<li class="tile">\
<h4>HW Board '+key+id+'</h4>\
<img class="lib-img tile" src="/static/images/maps/tiles/HW-Board-'+key+id+'.png" />\
@ -48,6 +50,32 @@ var ikrpg = ikrpg || {};
});
});
}
function appendCTTiles() {
$.each(['01', '02', '03', '04', '05', '06', '07', '08', '09'], function(i, id) {
$.each(['A', 'B'], function(j, key) {
$('#ct-boards').append('\
<li class="tile">\
<h4>CT Board '+key+id+'</h4>\
<img class="lib-img tile" src="/static/images/maps/tiles/CT-Board-'+key+id+'.png" />\
</li>\
');
});
});
}
function appendGMTiles() {
$.each(['01', '02', '03', '04'], function(i, id) {
$.each(['A', 'B'], function(j, key) {
$('#gm-boards').append('\
<li class="tile">\
<h4>GM Board '+key+id+'</h4>\
<img class="lib-img tile" src="/static/images/maps/tiles/GM-Board-'+key+id+'.png" />\
</li>\
');
});
});
}
function append10x3tokens() {
$.each(['03', '10', '17', '24'], function(i, id) {