tokens
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameARegular.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 89 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameATall.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 89 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameATextless.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 88 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameBRegular.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 67 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameBTall.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 68 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameBTextless.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 67 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameGRegular.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 77 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameGTall.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 77 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameGTextless.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 76 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameLRegular.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 93 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameLTall.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 93 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameLTextless.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 92 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameMRegular.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 94 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameMTall.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 95 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameMTextless.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 94 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameRRegular.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 88 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameRTall.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 88 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameRTextless.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 87 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameURegular.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 84 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameUTall.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 84 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameUTextless.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 82 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameWRegular.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 70 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameWTall.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 70 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenFrameWTextless.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 69 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenMaskRegularPinline.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 20 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenMaskRegularRules.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 14 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenMaskRegularType.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 16 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenMaskTextlessPinline.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 19 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/token/tokenMaskTextlessType.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 16 KiB | 
							
								
								
									
										16
									
								
								data/scripts/versions/token/floatingCrowns.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,16 @@ | |||||||
|  | if (!loadedVersions.includes('m15FloatingCrowns')) { | ||||||
|  | 	loadedVersions.push("m15FloatingCrowns") | ||||||
|  | 	loadFrameImages([ | ||||||
|  | 		['White Floating Legend Crown', 'data/images/m15/m15CrownFloatingW.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']], | ||||||
|  | 		['Blue Floating Legend Crown', 'data/images/m15/m15CrownFloatingU.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']], | ||||||
|  | 		['Black Floating Legend Crown', 'data/images/m15/m15CrownFloatingB.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']], | ||||||
|  | 		['Red Floating Legend Crown', 'data/images/m15/m15CrownFloatingR.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']], | ||||||
|  | 		['Green Floating Legend Crown', 'data/images/m15/m15CrownFloatingG.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']], | ||||||
|  | 		['Multicolored Floating Legend Crown', 'data/images/m15/m15CrownFloatingM.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']], | ||||||
|  | 		['Artifact Floating Legend Crown', 'data/images/m15/m15CrownFloatingA.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']], | ||||||
|  | 		['Land Floating Legend Crown', 'data/images/m15/m15CrownFloatingL.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']], | ||||||
|  | 		['Legend Crown Border Cover', 'data/images/black.png', 59/1500, 58/2100, 1384/1500, 37/2100, ['Full']] | ||||||
|  | 	], 'frameClassM15FloatingCrowns') | ||||||
|  | } | ||||||
|  |  | ||||||
|  | hideFrameImages('frameClassM15FloatingCrowns') | ||||||
							
								
								
									
										39
									
								
								data/scripts/versions/token/regular.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,39 @@ | |||||||
|  | if (!loadedVersions.includes('tokenRegular')) { | ||||||
|  | 	loadedVersions.push('tokenRegular') | ||||||
|  | 	loadMaskImages([['Pinline (token regular)', 'data/images/token/tokenMaskRegularPinline.png'], ['Type (token regular)', 'data/images/token/tokenMaskRegularType.png'], ['Rules (token regular)', 'data/images/token/tokenMaskRegularRules.png']]) | ||||||
|  | 	loadFrameImages([ | ||||||
|  | 		['White Frame', 'data/images/token/tokenFrameWRegular.png', 0, 0, 1, 1, ['Full', 'Pinline (token regular)', 'Title (m15)', 'Type (token regular)', 'Rules (token regular)', 'Border (m15)']], | ||||||
|  | 		['Blue Frame', 'data/images/token/tokenFrameURegular.png', 0, 0, 1, 1, ['Full', 'Pinline (token regular)', 'Title (m15)', 'Type (token regular)', 'Rules (token regular)', 'Border (m15)']], | ||||||
|  | 		['Black Frame', 'data/images/token/tokenFrameBRegular.png', 0, 0, 1, 1, ['Full', 'Pinline (token regular)', 'Title (m15)', 'Type (token regular)', 'Rules (token regular)', 'Border (m15)']], | ||||||
|  | 		['Red Frame', 'data/images/token/tokenFrameRRegular.png', 0, 0, 1, 1, ['Full', 'Pinline (token regular)', 'Title (m15)', 'Type (token regular)', 'Rules (token regular)', 'Border (m15)']], | ||||||
|  | 		['Green Frame', 'data/images/token/tokenFrameGRegular.png', 0, 0, 1, 1, ['Full', 'Pinline (token regular)', 'Title (m15)', 'Type (token regular)', 'Rules (token regular)', 'Border (m15)']], | ||||||
|  | 		['Multicolored Frame', 'data/images/token/tokenFrameMRegular.png', 0, 0, 1, 1, ['Full', 'Pinline (token regular)', 'Title (m15)', 'Type (token regular)', 'Rules (token regular)', 'Border (m15)']], | ||||||
|  | 		['Artifact Frame', 'data/images/token/tokenFrameARegular.png', 0, 0, 1, 1, ['Full', 'Pinline (token regular)', 'Title (m15)', 'Type (token regular)', 'Rules (token regular)', 'Border (m15)']], | ||||||
|  | 		['Land Frame', 'data/images/token/tokenFrameLRegular.png', 0, 0, 1, 1, ['Full', 'Pinline (token regular)', 'Title (m15)', 'Type (token regular)', 'Rules (token regular)', 'Border (m15)']], | ||||||
|  | 		['White Power/Toughness', 'data/images/m15/m15PTW.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Blue Power/Toughness', 'data/images/m15/m15PTU.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Black Power/Toughness', 'data/images/m15/m15PTB.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Red Power/Toughness', 'data/images/m15/m15PTR.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Green Power/Toughness', 'data/images/m15/m15PTG.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Multicolored Power/Toughness', 'data/images/m15/m15PTM.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Artifact Power/Toughness', 'data/images/m15/m15PTA.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']] | ||||||
|  | 	], 'frameClassTokenRegular') | ||||||
|  | } | ||||||
|  |  | ||||||
|  | if (currentVersion != 'tokenRegular') { | ||||||
|  | 	currentVersion = 'tokenRegular' | ||||||
|  | 	 | ||||||
|  | 	loadTextOptions([ | ||||||
|  | 	new cardText('Card Title', '', 126/1500, 188/2100, 1248/1500, 80/2100, 'belerenb', 80/2100, 'white', ['oneLine=true','textAlign="center"']), | ||||||
|  | 	new cardText('Card Type', '', 126/1500, 1439/2100, 1248/1500, 68/2100, 'belerenb', 68/2100, 'black', ['oneLine=true']), | ||||||
|  | 	new cardText('Rules Text', '', 135/1500, 1545/2100, 1230/1500, 450/2100, 'mplantin', 74/2100, 'black'), | ||||||
|  | 	new cardText('Power/Toughness', '', 1191/1500, 1954/2100, 205/1500, 78/2100, 'belerenbsc', 78/2100, 'black', ['oneLine=true,textAlign="center"']) | ||||||
|  | 	]) | ||||||
|  |  | ||||||
|  | 	setSymbolX = [scaleX(1382/1500), 'right'] | ||||||
|  | 	setSymbolY = [scaleY(1416/2100), 'center'] | ||||||
|  | 	setSymbolWidth = scaleX(180/1500) | ||||||
|  | 	setSymbolHeight = scaleY(86/2100) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | hideFrameImages('frameClassTokenRegular') | ||||||
							
								
								
									
										38
									
								
								data/scripts/versions/token/tall.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,38 @@ | |||||||
|  | if (!loadedVersions.includes('tokenTall')) { | ||||||
|  | 	loadedVersions.push('tokenTall') | ||||||
|  | 	loadFrameImages([ | ||||||
|  | 		['White Frame', 'data/images/token/tokenFrameWTall.png', 0, 0, 1, 1, ['Full', 'Pinline Super (m15)', 'Title (m15)', 'Type (m15)', 'Rules (m15)', 'Border (m15)']], | ||||||
|  | 		['Blue Frame', 'data/images/token/tokenFrameUTall.png', 0, 0, 1, 1, ['Full', 'Pinline Super (m15)', 'Title (m15)', 'Type (m15)', 'Rules (m15)', 'Border (m15)']], | ||||||
|  | 		['Black Frame', 'data/images/token/tokenFrameBTall.png', 0, 0, 1, 1, ['Full', 'Pinline Super (m15)', 'Title (m15)', 'Type (m15)', 'Rules (m15)', 'Border (m15)']], | ||||||
|  | 		['Red Frame', 'data/images/token/tokenFrameRTall.png', 0, 0, 1, 1, ['Full', 'Pinline Super (m15)', 'Title (m15)', 'Type (m15)', 'Rules (m15)', 'Border (m15)']], | ||||||
|  | 		['Green Frame', 'data/images/token/tokenFrameGTall.png', 0, 0, 1, 1, ['Full', 'Pinline Super (m15)', 'Title (m15)', 'Type (m15)', 'Rules (m15)', 'Border (m15)']], | ||||||
|  | 		['Multicolored Frame', 'data/images/token/tokenFrameMTall.png', 0, 0, 1, 1, ['Full', 'Pinline Super (m15)', 'Title (m15)', 'Type (m15)', 'Rules (m15)', 'Border (m15)']], | ||||||
|  | 		['Artifact Frame', 'data/images/token/tokenFrameATall.png', 0, 0, 1, 1, ['Full', 'Pinline Super (m15)', 'Title (m15)', 'Type (m15)', 'Rules (m15)', 'Border (m15)']], | ||||||
|  | 		['Land Frame', 'data/images/token/tokenFrameLTall.png', 0, 0, 1, 1, ['Full', 'Pinline Super (m15)', 'Title (m15)', 'Type (m15)', 'Rules (m15)', 'Border (m15)']], | ||||||
|  | 		['White Power/Toughness', 'data/images/m15/m15PTW.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Blue Power/Toughness', 'data/images/m15/m15PTU.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Black Power/Toughness', 'data/images/m15/m15PTB.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Red Power/Toughness', 'data/images/m15/m15PTR.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Green Power/Toughness', 'data/images/m15/m15PTG.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Multicolored Power/Toughness', 'data/images/m15/m15PTM.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Artifact Power/Toughness', 'data/images/m15/m15PTA.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']] | ||||||
|  | 	], 'frameClassTokenTall') | ||||||
|  | } | ||||||
|  |  | ||||||
|  | if (currentVersion != 'tokenTall') { | ||||||
|  | 	currentVersion = 'tokenTall' | ||||||
|  | 	 | ||||||
|  | 	loadTextOptions([ | ||||||
|  | 	new cardText('Card Title', '', 126/1500, 188/2100, 1248/1500, 80/2100, 'belerenb', 80/2100, 'white', ['oneLine=true','textAlign="center"']), | ||||||
|  | 	new cardText('Card Type', '', 126/1500, 1264/2100, 1248/1500, 68/2100, 'belerenb', 68/2100, 'black', ['oneLine=true']), | ||||||
|  | 	new cardText('Rules Text', '', 135/1500, 1370/2100, 1230/1500, 625/2100, 'mplantin', 74/2100, 'black'), | ||||||
|  | 	new cardText('Power/Toughness', '', 1191/1500, 1954/2100, 205/1500, 78/2100, 'belerenbsc', 78/2100, 'black', ['oneLine=true,textAlign="center"']) | ||||||
|  | 	]) | ||||||
|  |  | ||||||
|  | 	setSymbolX = [scaleX(1382/1500), 'right'] | ||||||
|  | 	setSymbolY = [scaleY(1241/2100), 'center'] | ||||||
|  | 	setSymbolWidth = scaleX(180/1500) | ||||||
|  | 	setSymbolHeight = scaleY(86/2100) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | hideFrameImages('frameClassTokenTall') | ||||||
							
								
								
									
										38
									
								
								data/scripts/versions/token/textless.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,38 @@ | |||||||
|  | if (!loadedVersions.includes('tokenTextless')) { | ||||||
|  | 	loadedVersions.push('tokenTextless') | ||||||
|  | 	loadMaskImages([['Pinline (token textless)', 'data/images/token/tokenMaskTextlessPinline.png'], ['Type (token textless)', 'data/images/token/tokenMaskTextlessType.png']]) | ||||||
|  | 	loadFrameImages([ | ||||||
|  | 		['White Frame', 'data/images/token/tokenFrameWTextless.png', 0, 0, 1, 1, ['Full', 'Pinline (token textless)', 'Title (m15)', 'Type (token textless)', 'Border (m15)']], | ||||||
|  | 		['Blue Frame', 'data/images/token/tokenFrameUTextless.png', 0, 0, 1, 1, ['Full', 'Pinline (token textless)', 'Title (m15)', 'Type (token textless)', 'Border (m15)']], | ||||||
|  | 		['Black Frame', 'data/images/token/tokenFrameBTextless.png', 0, 0, 1, 1, ['Full', 'Pinline (token textless)', 'Title (m15)', 'Type (token textless)', 'Border (m15)']], | ||||||
|  | 		['Red Frame', 'data/images/token/tokenFrameRTextless.png', 0, 0, 1, 1, ['Full', 'Pinline (token textless)', 'Title (m15)', 'Type (token textless)', 'Border (m15)']], | ||||||
|  | 		['Green Frame', 'data/images/token/tokenFrameGTextless.png', 0, 0, 1, 1, ['Full', 'Pinline (token textless)', 'Title (m15)', 'Type (token textless)', 'Border (m15)']], | ||||||
|  | 		['Multicolored Frame', 'data/images/token/tokenFrameMTextless.png', 0, 0, 1, 1, ['Full', 'Pinline (token textless)', 'Title (m15)', 'Type (token textless)', 'Border (m15)']], | ||||||
|  | 		['Artifact Frame', 'data/images/token/tokenFrameATextless.png', 0, 0, 1, 1, ['Full', 'Pinline (token textless)', 'Title (m15)', 'Type (token textless)', 'Border (m15)']], | ||||||
|  | 		['Land Frame', 'data/images/token/tokenFrameLTextless.png', 0, 0, 1, 1, ['Full', 'Pinline (token textless)', 'Title (m15)', 'Type (token textless)', 'Border (m15)']], | ||||||
|  | 		['White Power/Toughness', 'data/images/m15/m15PTW.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Blue Power/Toughness', 'data/images/m15/m15PTU.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Black Power/Toughness', 'data/images/m15/m15PTB.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Red Power/Toughness', 'data/images/m15/m15PTR.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Green Power/Toughness', 'data/images/m15/m15PTG.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Multicolored Power/Toughness', 'data/images/m15/m15PTM.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']], | ||||||
|  | 		['Artifact Power/Toughness', 'data/images/m15/m15PTA.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']] | ||||||
|  | 	], 'frameClassTokenTextless') | ||||||
|  | } | ||||||
|  |  | ||||||
|  | if (currentVersion != 'tokenTextless') { | ||||||
|  | 	currentVersion = 'tokenTextless' | ||||||
|  | 	 | ||||||
|  | 	loadTextOptions([ | ||||||
|  | 	new cardText('Card Title', '', 126/1500, 188/2100, 1248/1500, 80/2100, 'belerenb', 80/2100, 'white', ['oneLine=true','textAlign="center"']), | ||||||
|  | 	new cardText('Card Type', '', 126/1500, 1795/2100, 1248/1500, 68/2100, 'belerenb', 68/2100, 'black', ['oneLine=true']), | ||||||
|  | 	new cardText('Power/Toughness', '', 1191/1500, 1954/2100, 205/1500, 78/2100, 'belerenbsc', 78/2100, 'black', ['oneLine=true,textAlign="center"']) | ||||||
|  | 	]) | ||||||
|  |  | ||||||
|  | 	setSymbolX = [scaleX(1382/1500), 'right'] | ||||||
|  | 	setSymbolY = [scaleY(1772/2100), 'center'] | ||||||
|  | 	setSymbolWidth = scaleX(180/1500) | ||||||
|  | 	setSymbolHeight = scaleY(86/2100) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | hideFrameImages('frameClassTokenTextless') | ||||||
							
								
								
									
										41
									
								
								data/scripts/versions/token/version.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,41 @@ | |||||||
|  | if (!loadedVersions.includes('token')) { | ||||||
|  | 	loadedVersions.push('token') | ||||||
|  | } | ||||||
|  |  | ||||||
|  | if (currentVersion != 'token') { | ||||||
|  | 	currentVersion = 'token' | ||||||
|  |  | ||||||
|  | 	loadTextOptions([ | ||||||
|  | 	new cardText('Card Title', '', 126/1500, 188/2100, 1248/1500, 80/2100, 'belerenb', 80/2100, 'white', ['oneLine=true','textAlign="center"']), | ||||||
|  | 	new cardText('Card Type', '', 126/1500, 1439/2100, 1248/1500, 68/2100, 'belerenb', 68/2100, 'black', ['oneLine=true']), | ||||||
|  | 	new cardText('Rules Text', '', 135/1500, 1545/2100, 1230/1500, 450/2100, 'mplantin', 74/2100, 'black'), | ||||||
|  | 	new cardText('Power/Toughness', '', 1191/1500, 1954/2100, 205/1500, 78/2100, 'belerenbsc', 78/2100, 'black', ['oneLine=true,textAlign="center"']) | ||||||
|  | 	]) | ||||||
|  |  | ||||||
|  | 	artX = scaleX(60 / 1500) | ||||||
|  | 	artY = scaleY(60 / 2100) | ||||||
|  | 	artWidth = scaleX(1380 / 1500) | ||||||
|  | 	artHeight = scaleY(1877 / 2100) | ||||||
|  |  | ||||||
|  | 	manaCostXPath = '1316 - 78 * manaSymbolIndex' | ||||||
|  | 	manaCostYPath = '121' | ||||||
|  | 	manaCostDiameter = '70' | ||||||
|  | 	manaCostShadowOffset = '[-2, 6]' | ||||||
|  | 	manaCostDirection = 'reverse' | ||||||
|  |  | ||||||
|  | 	setSymbolX = [scaleX(1382/1500), 'right'] | ||||||
|  | 	setSymbolY = [scaleY(1416/2100), 'center'] | ||||||
|  | 	setSymbolWidth = scaleX(180/1500) | ||||||
|  | 	setSymbolHeight = scaleY(86/2100) | ||||||
|  |  | ||||||
|  | 	watermarkX = scaleX(0.5) | ||||||
|  | 	watermarkY = scaleY(1630/2100) | ||||||
|  | 	watermarkWidth = scaleX(1140/1500) | ||||||
|  | 	watermarkHeight = scaleY(484/2100) | ||||||
|  |  | ||||||
|  | 	bottomInfoFunction = 'bottomInfoM15' | ||||||
|  |  | ||||||
|  | 	bottomInfoUpdated() | ||||||
|  | } | ||||||
|  |  | ||||||
|  | loadFramePackOptions([['regular', 'Regular'], ['textless', 'Textless'], ['tall', 'Tall'], ['floatingCrowns', 'Floating Crowns']]) | ||||||
| @@ -46,6 +46,7 @@ | |||||||
| 							Select a frame version:<br> | 							Select a frame version:<br> | ||||||
| 							<select id="inputFrameVersion" onchange="loadScript('data/scripts/versions/' + this.value + '/version.js')"> | 							<select id="inputFrameVersion" onchange="loadScript('data/scripts/versions/' + this.value + '/version.js')"> | ||||||
| 				                <option value="m15">M15</option> | 				                <option value="m15">M15</option> | ||||||
|  | 				                <option value="token">Tokens</option> | ||||||
| 				                <option value="m15Promo">M15 Promo</option> | 				                <option value="m15Promo">M15 Promo</option> | ||||||
| 				                <option value="m15Textless">Textless Kaladesh Inventions</option> | 				                <option value="m15Textless">Textless Kaladesh Inventions</option> | ||||||
| 				                <option value="m15Planeswalker">M15 Planeswalker</option> | 				                <option value="m15Planeswalker">M15 Planeswalker</option> | ||||||
| @@ -172,7 +173,7 @@ | |||||||
| 			        </div> | 			        </div> | ||||||
| 				</div> | 				</div> | ||||||
| 				<div id='importTab' class='hidden'> | 				<div id='importTab' class='hidden'> | ||||||
| 					Type in a card name to import it! (Only works for regular cards) | 					Type in a card name to import it! (Doesn't work with doublefaced or split cards) | ||||||
| 			        <input type="text" class="input text" id="inputCardNameTextImport" onchange="inputCardNameTextImport(this.value)" placeholder="Via Card Name"> | 			        <input type="text" class="input text" id="inputCardNameTextImport" onchange="inputCardNameTextImport(this.value)" placeholder="Via Card Name"> | ||||||
| 			        Select which card to import: | 			        Select which card to import: | ||||||
| 			        <input type="number" class="input number" id="inputCardNameNumberTextImport" onchange="inputCardNameNumberTextImport(this.value)" value="1" min="1" max="1"> | 			        <input type="number" class="input number" id="inputCardNameNumberTextImport" onchange="inputCardNameNumberTextImport(this.value)" value="1" min="1" max="1"> | ||||||
|   | |||||||
 Kyle
					Kyle