| 
									
										
										
										
											2021-12-31 14:42:04 -05:00
										 |  |  | {% extends 'pageWrapper.html' %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block head %} | 
					
						
							|  |  |  |     <title>{{ game }} Settings</title> | 
					
						
							|  |  |  |     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename="styles/weighted-settings.css") }}" /> | 
					
						
							|  |  |  |     <script type="application/ecmascript" src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> | 
					
						
							|  |  |  |     <script type="application/ecmascript" src="{{ url_for('static', filename="assets/md5.min.js") }}"></script> | 
					
						
							|  |  |  |     <script type="application/ecmascript" src="{{ url_for('static', filename="assets/js-yaml.min.js") }}"></script> | 
					
						
							|  |  |  |     <script type="application/ecmascript" src="{{ url_for('static', filename="assets/weighted-settings.js") }}"></script> | 
					
						
							|  |  |  | {% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block body %} | 
					
						
							|  |  |  |     {% include 'header/grassHeader.html' %} | 
					
						
							|  |  |  |     <div id="weighted-settings" data-game="{{ game }}"> | 
					
						
							|  |  |  |         <div id="user-message"></div> | 
					
						
							|  |  |  |         <h1>Weighted Settings</h1> | 
					
						
							| 
									
										
										
										
											2022-01-11 01:34:48 -05:00
										 |  |  |         <p>Weighted Settings allows you to choose how likely a particular option is to be used in game generation. | 
					
						
							|  |  |  |             The higher an option is weighted, the more likely the option will be chosen. Think of them like | 
					
						
							|  |  |  |             entries in a raffle.</p> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-31 14:42:04 -05:00
										 |  |  |         <p>Choose the games and options you would like to play with! You may generate a single-player game from | 
					
						
							|  |  |  |             this page, or download a settings file you can use to participate in a MultiWorld.</p> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-11 01:36:06 -05:00
										 |  |  |         <p>A list of all games you have generated can be found on the <a href="/user-content">User Content</a> | 
					
						
							|  |  |  |             page.</p> | 
					
						
							| 
									
										
										
										
											2021-12-31 14:42:04 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  |         <p><label for="player-name">Please enter your player name. This will appear in-game as you send and receive | 
					
						
							|  |  |  |             items if you are playing in a MultiWorld.</label><br /> | 
					
						
							|  |  |  |             <input id="player-name" placeholder="Player Name" data-key="name" maxlength="16" /> | 
					
						
							|  |  |  |         </p> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-01 16:59:58 -05:00
										 |  |  |         <div id="game-choice"> | 
					
						
							| 
									
										
										
										
											2021-12-31 14:42:04 -05:00
										 |  |  |             <!-- User chooses games by weight --> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <!-- To be generated and populated per-game with weight > 0 --> | 
					
						
							| 
									
										
										
										
											2022-01-01 16:59:58 -05:00
										 |  |  |         <div id="games-wrapper"> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-31 14:42:04 -05:00
										 |  |  |         </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-02 18:45:45 -05:00
										 |  |  |         <div id="weighted-settings-button-row"> | 
					
						
							| 
									
										
										
										
											2021-12-31 14:42:04 -05:00
										 |  |  |             <button id="export-settings">Export Settings</button> | 
					
						
							|  |  |  |             <button id="generate-game">Generate Game</button> | 
					
						
							|  |  |  |             <button id="generate-race">Generate Race</button> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | {% endblock %} |