mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 13:21:41 -05:00
brawl crowns
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
loadFramePacks([
|
||||
{name:'Cartoony - Sheepwave', value:'Cartoony'},
|
||||
{name:'Classic-Shifted', value:'Classicshifted'}
|
||||
{name:'Classic-Shifted', value:'Classicshifted'},
|
||||
{name:'Custom Addons', value:'disabled'},
|
||||
{name:'Brawl Legend Crowns', value:'Brawl'}
|
||||
])
|
@@ -14,5 +14,7 @@ loadFramePacks([
|
||||
{name:'Devoid', value:'M15Devoid'},
|
||||
{name:'Special', value:'disabled'},
|
||||
{name:'Nickname', value:'M15Nickname'},
|
||||
{name:'Box Toppers', value:'M15BoxTopper'}
|
||||
{name:'Box Toppers', value:'M15BoxTopper'},
|
||||
{name:'Custom Addons', value:'disabled'},
|
||||
{name:'Brawl Legend Crowns', value:'Brawl'}
|
||||
])
|
21
js/frames/packBrawl.js
Normal file
21
js/frames/packBrawl.js
Normal file
@@ -0,0 +1,21 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/custom/brawl/floating.svg', name:'Crown Without Pinlines'}, {src:'/img/frames/custom/brawl/center.svg', name:'Center'}, {src:'/img/frames/custom/brawl/second.svg', name:'Second'}, {src:'/img/frames/custom/brawl/third.svg', name:'Third'}, {src:'/img/frames/custom/brawl/wings.svg', name:'Wings'}];
|
||||
var bounds = {x:0.0094, y:0.0005, width:0.9814, height:0.1848};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'Brawl Crown Border Cover', src:'/img/frames/custom/brawl/cover.svg'},
|
||||
{name:'White Crown', src:'/img/frames/custom/brawl/w.png', masks:masks, bounds:bounds},
|
||||
{name:'Blue Crown', src:'/img/frames/custom/brawl/u.png', masks:masks, bounds:bounds},
|
||||
{name:'Black Crown', src:'/img/frames/custom/brawl/b.png', masks:masks, bounds:bounds},
|
||||
{name:'Red Crown', src:'/img/frames/custom/brawl/r.png', masks:masks, bounds:bounds},
|
||||
{name:'Green Crown', src:'/img/frames/custom/brawl/g.png', masks:masks, bounds:bounds},
|
||||
{name:'Multicolored Crown', src:'/img/frames/custom/brawl/m.png', masks:masks, bounds:bounds},
|
||||
{name:'Artifact Crown', src:'/img/frames/custom/brawl/a.png', masks:masks, bounds:bounds},
|
||||
{name:'Land Crown', src:'/img/frames/custom/brawl/l.png', masks:masks, bounds:bounds}
|
||||
];
|
||||
//disables/enables the "Load Frame Version" button
|
||||
document.querySelector('#loadFrameVersion').disabled = true;
|
||||
//defines process for loading this version, if applicable
|
||||
document.querySelector('#loadFrameVersion').onclick = null;
|
||||
//loads available frames
|
||||
loadFramePack();
|
Reference in New Issue
Block a user