ENH: Welcome
parent
0305587d9f
commit
dbea66bde7
|
@ -70,10 +70,14 @@ Hooks.once("setup", function () {
|
|||
}
|
||||
});
|
||||
|
||||
Hooks.once("ready", () => {
|
||||
Hooks.once("ready", async () => {
|
||||
Hooks.on("hotbarDrop", (bar, data, slot) =>
|
||||
macros.createOseMacro(data, slot)
|
||||
);
|
||||
|
||||
const template = 'systems/ose/templates/chat/welcome.html';
|
||||
const html = await renderTemplate(template);
|
||||
$('#chat-log').append(html);
|
||||
});
|
||||
|
||||
Hooks.on(
|
||||
|
|
|
@ -5,6 +5,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
.ose.welcome {
|
||||
.button {
|
||||
text-align: center;
|
||||
margin: 4px;
|
||||
}
|
||||
.footer {
|
||||
font-size: 12px;
|
||||
text-align: right;
|
||||
color: $colorTan;
|
||||
}
|
||||
}
|
||||
|
||||
.ose.chat-block {
|
||||
margin: 0;
|
||||
.chat-header {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "ose",
|
||||
"title": "Old-School Essentials",
|
||||
"description": "Play OSR modules with Old-School Essentials on Foundry VTT",
|
||||
"description": "Play B/X OSR modules with Old-School Essentials on Foundry VTT",
|
||||
"version": 0.5,
|
||||
"minimumCoreVersion": "0.6.2",
|
||||
"compatibleCoreVersion": "0.6.5",
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<li class="message flexcol welcome ose">
|
||||
<p class="content">
|
||||
<em>May you have a glorious game.</em> <strong>U~man</strong>
|
||||
</p>
|
||||
<div class="button">
|
||||
<a href="https://ko-fi.com/H2H21WMKA" target="_blank"
|
||||
><img
|
||||
height="36"
|
||||
style="border: 0px; height: 28px;"
|
||||
src="https://cdn.ko-fi.com/cdn/kofi2.png?v=2"
|
||||
border="0"
|
||||
alt="Buy Me a Coffee at ko-fi.com"
|
||||
/></a>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Report your issues on <a href="https://gitlab.com/mesfoliesludiques/foundryvtt-ose/-/boards">Gitlab</a>
|
||||
</div>
|
||||
</li>
|
Loading…
Reference in New Issue