invention
							
								
								
									
										
											BIN
										
									
								
								data/images/invention/inventionAFull.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 202 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/invention/inventionBFull.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 147 KiB | 
							
								
								
									
										8
									
								
								data/images/invention/inventionCSV.csv
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,8 @@ | ||||
| displayName,imagePath,maskOptions,framePickerOptions | ||||
| Artifact,invention/inventionAFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention | ||||
| White,invention/inventionWFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention | ||||
| Blue,invention/inventionUFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention | ||||
| Black,invention/inventionBFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention | ||||
| Red,invention/inventionRFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention | ||||
| Green,invention/inventionGFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention | ||||
| Border,masks/BorderInvention.png,Full-0-0-744-1039;Border Invention-0-0-744-1039,Invention | ||||
| 
 | 
							
								
								
									
										
											BIN
										
									
								
								data/images/invention/inventionGFull.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 186 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/invention/inventionRFull.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 186 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/invention/inventionUFull.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 189 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/invention/inventionWFull.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 200 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/masks/BorderInvention.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/masks/FrameInvention.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 9.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/masks/PinlineInvention.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/masks/RulesTextInvention.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/masks/TitleInvention.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								data/images/masks/TypeInvention.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.4 KiB | 
| @@ -197,7 +197,7 @@ function frameOptionClicked(event) { | ||||
| 		selectedFrame = parseInt(clickedElementIndex); | ||||
| 		document.getElementById("maskPicker").innerHTML = ""; | ||||
| 		for (var i = 0; i < frameList[selectedFrame].maskOptionList.length; i++) { | ||||
| //            console.log(frameList[selectedFrame].maskOptionList); | ||||
| //            alert(frameList[selectedFrame].maskOptionList); | ||||
|             document.getElementById("maskPicker").innerHTML += "<div class='maskOption' onclick='maskOptionClicked(event)' id='maskName" + frameList[selectedFrame].maskOptionList[i] + "'><img src='" + maskList[maskNameList.indexOf(frameList[selectedFrame].maskOptionList[i])].src + "'>" + frameList[selectedFrame].maskOptionList[i] + "</div>"; | ||||
| 		} | ||||
| 		document.getElementsByClassName("maskOption")[0].classList.add("maskOptionSelected"); | ||||
|   | ||||
							
								
								
									
										38
									
								
								data/versions/invention.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,38 @@ | ||||
| //============================================// | ||||
| //       Card Conjurer, by Kyle Burton        // | ||||
| //============================================// | ||||
| if (version.currentVersion != "invention") { | ||||
|     //Name, text, x, y, width, height, font, size, color, other | ||||
|     version.textList = [ | ||||
|                         ["Title", "", scale(64), scale(82), scale(630), 0, "belerenb", scale(37), "black", "oneLine=true"], | ||||
|                         ["Type", "", scale(64), scale(616), scale(630), 0, "belerenb", scale(33), "black", "oneLine=true"], | ||||
|                         ["Rules Text", "", scale(64), scale(662), scale(616), scale(292), "mplantin", scale(38), "black", "lineSpace=0.97"], | ||||
|                         ["Power Toughness", "", scale(587), scale(958), scale(110), 0, "belerenb", scale(38), "black", "oneLine=true,textAlign='center'"]/*, | ||||
|                                                                                                                                                           ["Flip PT", "", scale(588), scale(902), scale(100), 0, "belerenb", 28, "#666", "oneLine=true,textAlign='right'"]*/ | ||||
|                         ] | ||||
|     version.frameIndexToInsert = 0; | ||||
| } | ||||
| version.currentVersion = "invention" | ||||
| version.artX = scale(29) | ||||
| version.artY = scale(28) | ||||
| version.artWidth = scale(685) | ||||
| version.artHeight = scale(929) | ||||
| version.setSymbolRight = scale(684) | ||||
| version.setSymbolVertical = scale(614) | ||||
| version.setSymbolWidth = scale(90) | ||||
| version.setSymbolHeight = scale(41) | ||||
| version.bottomInfoFunction = "m15BottomInfo" | ||||
| version.manaCostX = scale(653) | ||||
| version.manaCostY = scale(59) | ||||
| version.manaCostDiameter = scale(34) | ||||
| version.manaCostDistance = scale(-38) | ||||
| version.manaCostDirection = "horizontal" | ||||
| version.manaCostVersion = "m15" | ||||
| version.watermarkWidth = scale(520) | ||||
| version.watermarkHeight = scale(250) | ||||
| version.watermarkY = scale(800) | ||||
| version.masksToAdd = ["Title Invention", "Type Invention", "Rules Text Invention", "Pinline Invention", "Frame Invention", "Border Invention"]; | ||||
| filterFramePicker("frameClassInvention"); | ||||
|  | ||||
| finishChangingVersion("data/images/invention/inventionCSV.csv") | ||||
|  | ||||
| @@ -133,6 +133,7 @@ | ||||
|                         <button onclick="changeVersionTo('m15')" class="button">M15</button> | ||||
|                         <button onclick="changeVersionTo('m15extras')" class="button">M15 Extras</button><br><br> | ||||
|                         <button onclick="changeVersionTo('planeswalker')" class="button">Planeswalker</button><br><br> | ||||
|                         <button onclick="changeVersionTo('invention')" class="button">Inventions</button><br><br> | ||||
|                         <button onclick="changeVersionTo('expedition')" class="button">Expeditions</button><br><br> | ||||
|                         <button onclick="changeVersionTo('future')" class="button">Future Shifted</button><br><br> | ||||
|                         <button onclick="changeVersionTo('unhinged')" class="button">Unhinged Basics</button><br><br> | ||||
|   | ||||
 Kyle
					Kyle