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