ENH: Nice place for licensing
							parent
							
								
									29d2f0528e
								
							
						
					
					
						commit
						83a1c7b717
					
				|  | @ -4,6 +4,7 @@ | |||
|     "OSE.Show": "Show", | ||||
|     "OSE.Add": "Add", | ||||
|     "OSE.Ok": "Ok", | ||||
|     "OSE.Reset": "Reset", | ||||
|     "OSE.Cancel": "Cancel", | ||||
|     "OSE.Roll": "Roll", | ||||
|     "OSE.Success": "Success", | ||||
|  | @ -134,6 +135,8 @@ | |||
|     "OSE.Setting.MovementAuto": "Calculate Movement", | ||||
|     "OSE.Setting.SignificantTreasure": "Significant Treasure Weight", | ||||
|     "OSE.Setting.SignificantTreasureHint": "Weight at which treasure will reduce the movement, only useful for basic encumbrance", | ||||
|     "OSE.Setting.Welcome": "Display Welcome message", | ||||
|     "OSE.Setting.WelcomeHint": "Display this annoying welcome message", | ||||
| 
 | ||||
|     "OSE.items.Equip": "Equip", | ||||
|     "OSE.items.Unequip": "Unequip", | ||||
|  |  | |||
|  | @ -74,10 +74,9 @@ Hooks.once("ready", async () => { | |||
|   Hooks.on("hotbarDrop", (bar, data, slot) => | ||||
|     macros.createOseMacro(data, slot) | ||||
|   ); | ||||
| 
 | ||||
|   const template = 'systems/ose/templates/chat/welcome.html'; | ||||
|   const template = 'systems/ose/templates/chat/license.html'; | ||||
|   const html = await renderTemplate(template); | ||||
|   $('#chat-log').append(html); | ||||
|   $('#settings .game-system').append(html); | ||||
| }); | ||||
| 
 | ||||
| Hooks.on( | ||||
|  |  | |||
|  | @ -5,15 +5,14 @@ | |||
|   } | ||||
| } | ||||
| 
 | ||||
| .ose.welcome { | ||||
| #settings .ose.game-license { | ||||
|   font-size: 12px; | ||||
|   .button { | ||||
|     text-align: center; | ||||
|     margin: 4px; | ||||
|   } | ||||
|   .footer { | ||||
|     font-size: 12px; | ||||
|     text-align: right; | ||||
|     color: $colorTan; | ||||
|   } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,6 +1,14 @@ | |||
| <li class="message flexcol welcome ose"> | ||||
|   <p class="content"> | ||||
|       <em>May you have a glorious game.</em> <strong>U~man</strong> | ||||
| <div class="ose game-license"> | ||||
|   <p class="ose game-license"> | ||||
|     This fan-made system requires requires Old-School Essentials Core Rules that | ||||
|     you can find <a href="https://necroticgnome.com">here</a>. | ||||
|   </p> | ||||
|   <p> | ||||
|     Old School Essentials is a trademark of Necrotic Gnome, the trademark is | ||||
|     used with permission of Necrotic Gnome under license. | ||||
|   </p> | ||||
|   <p> | ||||
|       Brought to life on Foundry VTT by U~man. | ||||
|   </p> | ||||
|   <div class="button"> | ||||
|     <a href="https://ko-fi.com/H2H21WMKA" target="_blank" | ||||
|  | @ -15,4 +23,4 @@ | |||
|   <div class="footer"> | ||||
|       Report your issues on <a href="https://gitlab.com/mesfoliesludiques/foundryvtt-ose/-/boards">Gitlab</a> | ||||
|   </div> | ||||
| </li> | ||||
| </div> | ||||
		Loading…
	
		Reference in New Issue