forked from GithubMirrors/cardconjurer
		
	textless seventh
This commit is contained in:
		
							
								
								
									
										48
									
								
								data/scripts/versions/seventhTextless/version.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								data/scripts/versions/seventhTextless/version.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| if (!loadedVersions.includes('seventhTextless')) { | ||||
| 	loadedVersions.push('seventhTextless') | ||||
| } | ||||
|  | ||||
| if (currentVersion != 'seventhTextless') { | ||||
| 	currentVersion = 'seventhTextless' | ||||
|  | ||||
| 	loadTextOptions([ | ||||
| 	new cardText('Card Title', '', 165/1500, 158/2100, 1170/1500, 88/2100, 'goudymedieval', 88/2100, 'white', ['oneLine=true','shadow=' + scaleY(5/2100)]) | ||||
| 	]) | ||||
|  | ||||
| 	artX = scaleX(174 / 1500) | ||||
| 	artY = scaleY(205 / 2100) | ||||
| 	artWidth = scaleX(1152 / 1500) | ||||
| 	artHeight = scaleY(1632 / 2100) | ||||
|  | ||||
| 	manaCostXPath = '1306 - 83 * manaSymbolIndex' | ||||
| 	manaCostYPath = '95' | ||||
| 	manaCostDiameter = '72' | ||||
| 	manaCostShadowOffset = '[0, 0]' | ||||
| 	manaCostDirection = 'reverse' | ||||
|  | ||||
| 	setSymbolX = [scaleX(1337/1500), 'right'] | ||||
| 	setSymbolY = [scaleY(1937/2100), 'center'] | ||||
| 	setSymbolWidth = scaleX(180/1500) | ||||
| 	setSymbolHeight = scaleY(80/2100) | ||||
|  | ||||
| 	watermarkX = scaleX(0.5) | ||||
| 	watermarkY = scaleY(1630/2100) | ||||
| 	watermarkWidth = scaleX(1140/1500) | ||||
| 	watermarkHeight = scaleY(484/2100) | ||||
|  | ||||
| 	bottomInfoFunction = 'bottomInfoSeventhTextless' | ||||
|  | ||||
| 	bottomInfoUpdated() | ||||
| } | ||||
|  | ||||
| loadFramePackOptions([['regular', 'Regular']]) | ||||
|  | ||||
| function bottomInfoSeventhTextless() { | ||||
| 	bottomInfoContext.clearRect(0, 0, cardWidth, cardHeight) | ||||
| 	writeText( | ||||
| 		[ | ||||
| 			{text: '{center}Illus: ' + document.getElementById('inputInfoArtist').value, x: 92/1500, y: 1919/2100, width: 1316/1500, height: 59/2100, font: 'mplantin', fontSize: 59/2100, fontColor: 'white', otherParameters: ['oneLine=true','shadow=' + scaleY(4/2100)]}, | ||||
| 			{text: '{center}\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x: 92/1500, y: 1962/2100, width: 1316/1500, height: 36/2100, font: 'mplantin', fontSize: 36/2100, fontColor: 'white', otherParameters: ['oneLine=true','shadow=' + scaleY(4/2100)]}, | ||||
| 			{text: '{center}NOT FOR SALE   CardConjurer.com', x: 92/1500, y: 1995/2100, width: 1316/1500, height: 30/2100, font: 'mplantin', fontSize: 30/2100, fontColor: 'white', otherParameters: ['oneLine=true','shadow=' + scaleY(4/2100)]}, | ||||
| 		], bottomInfoContext) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle