SBT Macro Menu
This commit is contained in:
+85
-5
@@ -220,6 +220,13 @@ p {
|
||||
font-family: 'Roboto';
|
||||
}
|
||||
|
||||
.mosh .center-icon{
|
||||
font-size: 42px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.mosh .transponder input[type="checkbox"] {
|
||||
/* display: none; */
|
||||
appearance: inherit;
|
||||
@@ -553,6 +560,62 @@ p {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.mosh .button-white {
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color: #111;
|
||||
margin-left: 0px;
|
||||
background: white;
|
||||
border-radius: 21px;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
padding: 10px;
|
||||
border: 3px solid #111;
|
||||
}
|
||||
|
||||
/* Dropdown Button */
|
||||
.mosh .dropbtn {
|
||||
background-color: #111;
|
||||
color: white;
|
||||
padding: 16px;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* The container <div> - needed to position the dropdown content */
|
||||
.mosh.dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Dropdown Content (Hidden by Default) */
|
||||
.mosh .dropdown-content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: #f1f1f1;
|
||||
min-width: 160px;
|
||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Links inside the dropdown */
|
||||
.mosh .dropdown-content a {
|
||||
color: black;
|
||||
padding: 12px 16px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Change color of dropdown links on hover */
|
||||
.mosh .dropdown-content a:hover {background-color: #ddd;}
|
||||
|
||||
/* Show the dropdown menu on hover */
|
||||
.mosh .dropdown:hover .dropdown-content {display: block;}
|
||||
|
||||
/* Change the background color of the dropdown button when the dropdown content is shown */
|
||||
.mosh .dropdown:hover .dropbtn {background-color: #3d3d3d;}
|
||||
|
||||
|
||||
.mosh .sbt-profile {
|
||||
width: 100px;
|
||||
height: auto;
|
||||
@@ -927,10 +990,14 @@ p {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 7px;
|
||||
/* margin-bottom: 7px; */
|
||||
color: grey;
|
||||
}
|
||||
|
||||
.mosh .black {
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
||||
.mosh .circlestattext {
|
||||
width: 100%;
|
||||
@@ -1045,7 +1112,7 @@ p {
|
||||
font-family: "Montserrat", "Arial Black", sans-serif;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
border-radius: 10px;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.mosh .padding{
|
||||
@@ -1128,16 +1195,27 @@ p {
|
||||
}
|
||||
|
||||
.mosh .whiteline {
|
||||
border-top: 2px solid white;
|
||||
border-top: 3px solid white;
|
||||
grid-area: line;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 10px;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.mosh .blackline {
|
||||
border-top: 2px solid black;
|
||||
border-top: 3px solid black;
|
||||
grid-area: line;
|
||||
margin-bottom: 5px;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.mosh .greyline {
|
||||
border-top: 3px solid grey;
|
||||
grid-area: line;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 10px;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
@@ -1238,7 +1316,7 @@ p {
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
gap: 0.25rem;
|
||||
padding: 1em;
|
||||
margin-top: -11px;
|
||||
/* margin-top: -11px; */
|
||||
}
|
||||
|
||||
.mosh .headernamegrid {
|
||||
@@ -1271,6 +1349,8 @@ p {
|
||||
.mosh .profile {
|
||||
width: 140px;
|
||||
height: auto;
|
||||
padding: 6px;
|
||||
border-radius: 10px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1263,6 +1263,23 @@ export class MothershipActor extends Actor {
|
||||
if (useCalm) {rollString = '1d100' + rollString;}
|
||||
}
|
||||
}
|
||||
|
||||
// -- SHIP TABLES --
|
||||
// Ship Distress
|
||||
if (tableId === 'ship-distress') {
|
||||
//set special roll value for use later
|
||||
rollString = "1d10-1";
|
||||
specialRoll = tableId;
|
||||
tableId = 'UxAjAqUTjYTcCbS8';
|
||||
aimFor = null;
|
||||
zeroBased = true;
|
||||
checkCrit = true;
|
||||
rollAgainst = null;
|
||||
comparison = null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//bounce this request away if certain parameters are NULL
|
||||
//if rollString is STILL blank, redirect player to choose the roll
|
||||
if (!rollString) {
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
* @extends {ActorSheet}
|
||||
*/
|
||||
import { DLShipDeckplan } from "../windows/ship-deckplan.js";
|
||||
|
||||
import { DLShipMacros } from "../windows/ship-macros.js";
|
||||
import { DLShipSetup } from "../windows/ship-setup.js";
|
||||
|
||||
export class MothershipShipSheetSBT extends ActorSheet {
|
||||
|
||||
@@ -28,6 +29,22 @@ export class MothershipShipSheetSBT extends ActorSheet {
|
||||
}).render(true);
|
||||
}
|
||||
|
||||
_onOpenMacros(event) {
|
||||
event.preventDefault();
|
||||
new DLShipMacros(this.actor, {
|
||||
top: this.position.top + 40,
|
||||
left: this.position.left + (this.position.width - 400) / 2
|
||||
}).render(true);
|
||||
}
|
||||
|
||||
_onOpenSetup(event) {
|
||||
event.preventDefault();
|
||||
new DLShipSetup(this.actor, {
|
||||
top: this.position.top + 40,
|
||||
left: this.position.left + (this.position.width - 400) / 2
|
||||
}).render(true);
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/** @override */
|
||||
@@ -60,6 +77,19 @@ export class MothershipShipSheetSBT extends ActorSheet {
|
||||
|
||||
superData.supplies.hull.percentage = " [ "+Math.round(maxHull * 0.25)+" | "+Math.round(maxHull * 0.5)+" | "+Math.round(maxHull * 0.75)+" ]";
|
||||
|
||||
console.log(this);
|
||||
|
||||
//Run Setup
|
||||
// if(data.data.system.runSetup){
|
||||
// this.render(true, {focus:false});
|
||||
// var setupMenu = new DLShipSetup(this.actor, {popOut: true, minimizable : false});
|
||||
// setupMenu.render(true, {focus: true});
|
||||
// console.log(setupMenu);
|
||||
// this.close();
|
||||
|
||||
// data.data.system.runSetup = false;
|
||||
// }
|
||||
|
||||
return data.data;
|
||||
}
|
||||
|
||||
@@ -175,9 +205,15 @@ export class MothershipShipSheetSBT extends ActorSheet {
|
||||
this.actor.rollCheck(null,'low','combat',null,null,item);
|
||||
});
|
||||
|
||||
// Rollable Weapon
|
||||
// Deckplan Button
|
||||
html.find('.deckplan-button').click(ev => this._onOpenDeckplan(ev));
|
||||
|
||||
//Macro Menu Button
|
||||
html.find('.macro-menu-button').click(ev => this._onOpenMacros(ev));
|
||||
|
||||
//Testing Setup Menu Button
|
||||
html.find('.setup-menu-button').click(ev => this._onOpenSetup(ev));
|
||||
|
||||
html.on('mousedown', '.weapon-ammo', ev => {
|
||||
const li = ev.currentTarget.closest(".item");
|
||||
const item = duplicate(this.actor.getEmbeddedDocument("Item", li.dataset.itemId))
|
||||
|
||||
@@ -50,14 +50,14 @@ export class DLShipDeckplan extends ActorSheet {
|
||||
* @private
|
||||
*/
|
||||
async _updateObject(event, formData) {
|
||||
console.log(this.object.system);
|
||||
console.log(formData);
|
||||
console.log(formData['actor.system.images.layout']);
|
||||
// console.log(this.object.system);
|
||||
// console.log(formData);
|
||||
// console.log(formData['actor.system.images.layout']);
|
||||
|
||||
// Loyalty
|
||||
await this.object.update({
|
||||
"system.images.layout": formData['actor.system.images.layout']
|
||||
});
|
||||
// await this.object.update({
|
||||
// "system.images.layout": formData['actor.system.images.layout']
|
||||
// });
|
||||
|
||||
// await this.object.updateEmbeddedEntity("OwnedItem", update);
|
||||
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
import { DLShipDeckplan } from "../windows/ship-deckplan.js";
|
||||
|
||||
|
||||
export class DLShipMacros extends BaseSheet {
|
||||
static get defaultOptions() {
|
||||
const options = super.defaultOptions;
|
||||
options.id = 'sheet-modifiers';
|
||||
options.classes = ["mosh", "sheet", "actor", "ship"];
|
||||
options.template = 'systems/mosh/templates/dialogs/ship-macro-dialog.html';
|
||||
options.width = 320;
|
||||
options.height = 'auto';
|
||||
options.resizeable = false;
|
||||
return options;
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
/**
|
||||
* Add the Entity name into the window title
|
||||
* @type {String}
|
||||
*/
|
||||
get title() {
|
||||
return `${this.object.name}: Ship Macros`;
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
|
||||
_onOpenDeckplan(event) {
|
||||
event.preventDefault();
|
||||
new DLShipDeckplan(this.object, {
|
||||
top: this.position.top + 40,
|
||||
left: this.position.left + (this.position.width - 400) / 2
|
||||
}).render(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct and return the data object used to render the HTML template for this form application.
|
||||
* @return {Object}
|
||||
*/
|
||||
getData() {
|
||||
const actor = this.object;
|
||||
console.log(this);
|
||||
|
||||
return {
|
||||
actor
|
||||
};
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/** @override */
|
||||
activateListeners(html) {
|
||||
super.activateListeners(html);
|
||||
|
||||
// Stress - Panic Check
|
||||
html.find('.distress-button').click(ev => {
|
||||
//roll panic check
|
||||
this.object.rollTable('ship-distress',null,null,null,null,null,null);
|
||||
//this.object.rollTable('ship-distress',null,null,null,null,'system.stats.battle.value',null);
|
||||
});
|
||||
|
||||
|
||||
// Deckplan Button
|
||||
html.find('.deckplan-button').click(ev => this._onOpenDeckplan(ev));
|
||||
|
||||
// Close Button
|
||||
html.find('.close-button').click(ev => this.close());
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called upon form submission after form data is validated
|
||||
* @param event {Event} The initial triggering submission event
|
||||
* @param formData {Object} The object of validated form data with which to update the object
|
||||
* @private
|
||||
*/
|
||||
async _updateObject(event, formData) {
|
||||
|
||||
console.log("Updating Object");
|
||||
|
||||
// await this.object.update({
|
||||
// "data.stats.loyalty.enabled": true
|
||||
// });
|
||||
|
||||
await this.object.update({
|
||||
"data.stats.bankruptcy.value": formData['actor.system.stats.bankruptcy.value']
|
||||
});
|
||||
|
||||
// await this.object.updateEmbeddedEntity("OwnedItem", update);
|
||||
|
||||
this.object.update({
|
||||
formData
|
||||
});
|
||||
console.log(this);
|
||||
|
||||
await this.object.sheet.render(true, {focus: false});
|
||||
this.bringToTop();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
export class DLShipSetup extends FormApplication {
|
||||
static get defaultOptions() {
|
||||
const options = super.defaultOptions;
|
||||
options.id = 'sheet-modifiers';
|
||||
options.classes = ["mosh", "sheet", "actor", "ship"];
|
||||
options.template = 'systems/mosh/templates/dialogs/ship-setup-dialog.html';
|
||||
options.width = 320;
|
||||
options.height = 'auto';
|
||||
options.resizeable = false;
|
||||
return options;
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
/**
|
||||
* Add the Entity name into the window title
|
||||
* @type {String}
|
||||
*/
|
||||
get title() {
|
||||
return `${this.object.name}: Ship Setup`;
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
/**
|
||||
* Construct and return the data object used to render the HTML template for this form application.
|
||||
* @return {Object}
|
||||
*/
|
||||
getData() {
|
||||
const actor = this.object;
|
||||
console.log(this);
|
||||
|
||||
return {
|
||||
actor
|
||||
};
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/** @override */
|
||||
activateListeners(html) {
|
||||
super.activateListeners(html);
|
||||
|
||||
// Starting Conditions
|
||||
html.find('.conditions-button').click(ev => {
|
||||
this.object.rollTable('ship-distress',null,null,null,null,null,null);
|
||||
});
|
||||
|
||||
// Close Button
|
||||
html.find('.close-button').click(ev => this.close());
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called upon form submission after form data is validated
|
||||
* @param event {Event} The initial triggering submission event
|
||||
* @param formData {Object} The object of validated form data with which to update the object
|
||||
* @private
|
||||
*/
|
||||
async _updateObject(event, formData) {
|
||||
|
||||
console.log("Updating Object");
|
||||
|
||||
await this.object.update({
|
||||
"name": formData['actor.name']
|
||||
});
|
||||
|
||||
|
||||
this.object.update({
|
||||
formData
|
||||
});
|
||||
console.log(this);
|
||||
|
||||
await this.object.sheet.render(true, {focus: false});
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
MANIFEST-000002
|
||||
MANIFEST-000026
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
2024/01/19-14:44:37.536 1714 Delete type=3 #1
|
||||
2024/01/19-14:45:12.065 3978 Level-0 table #5: started
|
||||
2024/01/19-14:45:12.071 3978 Level-0 table #5: 8479 bytes OK
|
||||
2024/01/19-14:45:12.073 3978 Delete type=0 #3
|
||||
2024/01/19-14:45:12.081 3978 Manual compaction at level-0 from '!items!1r6ruvSdxn2bHHIk' @ 72057594037927935 : 1 .. '!items!zbKI2RCl5h3vowoy' @ 0 : 0; will stop at (end)
|
||||
2024/01/22-19:59:18.951 809c Recovering log #24
|
||||
2024/01/22-19:59:18.975 809c Delete type=0 #24
|
||||
2024/01/22-19:59:18.976 809c Delete type=3 #22
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
2024/01/22-17:35:33.376 809c Recovering log #20
|
||||
2024/01/22-17:35:33.400 809c Delete type=0 #20
|
||||
2024/01/22-17:35:33.400 809c Delete type=3 #18
|
||||
2024/01/22-19:59:12.500 7e04 Level-0 table #25: started
|
||||
2024/01/22-19:59:12.500 7e04 Level-0 table #25: 0 bytes OK
|
||||
2024/01/22-19:59:12.506 7e04 Delete type=0 #23
|
||||
2024/01/22-19:59:12.513 7e04 Manual compaction at level-0 from '!items!1r6ruvSdxn2bHHIk' @ 72057594037927935 : 1 .. '!items!zbKI2RCl5h3vowoy' @ 0 : 0; will stop at (end)
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000002
|
||||
MANIFEST-000026
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
2024/01/19-14:44:37.400 1714 Delete type=3 #1
|
||||
2024/01/19-14:45:12.038 3978 Level-0 table #5: started
|
||||
2024/01/19-14:45:12.041 3978 Level-0 table #5: 14495 bytes OK
|
||||
2024/01/19-14:45:12.042 3978 Delete type=0 #3
|
||||
2024/01/19-14:45:12.042 3978 Manual compaction at level-0 from '!items!0ZAwhewvLBwX3opf' @ 72057594037927935 : 1 .. '!items!z0avrplKe6M0RcXk' @ 0 : 0; will stop at (end)
|
||||
2024/01/22-19:59:18.898 3a24 Recovering log #24
|
||||
2024/01/22-19:59:18.921 3a24 Delete type=0 #24
|
||||
2024/01/22-19:59:18.921 3a24 Delete type=3 #22
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
2024/01/22-17:35:33.325 1d1c Recovering log #20
|
||||
2024/01/22-17:35:33.347 1d1c Delete type=0 #20
|
||||
2024/01/22-17:35:33.347 1d1c Delete type=3 #18
|
||||
2024/01/22-19:59:12.455 7e04 Level-0 table #25: started
|
||||
2024/01/22-19:59:12.455 7e04 Level-0 table #25: 0 bytes OK
|
||||
2024/01/22-19:59:12.462 7e04 Delete type=0 #23
|
||||
2024/01/22-19:59:12.475 7e04 Manual compaction at level-0 from '!items!0ZAwhewvLBwX3opf' @ 72057594037927935 : 1 .. '!items!z0avrplKe6M0RcXk' @ 0 : 0; will stop at (end)
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000002
|
||||
MANIFEST-000026
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
2024/01/19-14:44:37.571 481c Delete type=3 #1
|
||||
2024/01/19-14:45:12.073 3978 Level-0 table #5: started
|
||||
2024/01/19-14:45:12.075 3978 Level-0 table #5: 13847 bytes OK
|
||||
2024/01/19-14:45:12.076 3978 Delete type=0 #3
|
||||
2024/01/19-14:45:12.086 3978 Manual compaction at level-0 from '!macros!2xRvRAixuocjCm40' @ 72057594037927935 : 1 .. '!macros!ilBclUmPwcd7aNQK' @ 0 : 0; will stop at (end)
|
||||
2024/01/22-19:59:18.953 1d1c Recovering log #24
|
||||
2024/01/22-19:59:18.976 1d1c Delete type=0 #24
|
||||
2024/01/22-19:59:18.976 1d1c Delete type=3 #22
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
2024/01/22-17:35:33.381 3a24 Recovering log #20
|
||||
2024/01/22-17:35:33.400 3a24 Delete type=0 #20
|
||||
2024/01/22-17:35:33.400 3a24 Delete type=3 #18
|
||||
2024/01/22-19:59:12.494 7e04 Level-0 table #25: started
|
||||
2024/01/22-19:59:12.494 7e04 Level-0 table #25: 0 bytes OK
|
||||
2024/01/22-19:59:12.500 7e04 Delete type=0 #23
|
||||
2024/01/22-19:59:12.513 7e04 Manual compaction at level-0 from '!macros!2xRvRAixuocjCm40' @ 72057594037927935 : 1 .. '!macros!ilBclUmPwcd7aNQK' @ 0 : 0; will stop at (end)
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000002
|
||||
MANIFEST-000026
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
2024/01/19-14:44:37.433 481c Delete type=3 #1
|
||||
2024/01/19-14:45:12.052 3978 Level-0 table #5: started
|
||||
2024/01/19-14:45:12.054 3978 Level-0 table #5: 17699 bytes OK
|
||||
2024/01/19-14:45:12.055 3978 Delete type=0 #3
|
||||
2024/01/19-14:45:12.065 3978 Manual compaction at level-0 from '!macros!2u4a5gEogtLd3XQz' @ 72057594037927935 : 1 .. '!macros!trU0DtBJvJCPddsQ' @ 0 : 0; will stop at (end)
|
||||
2024/01/22-19:59:18.898 809c Recovering log #24
|
||||
2024/01/22-19:59:18.921 809c Delete type=0 #24
|
||||
2024/01/22-19:59:18.921 809c Delete type=3 #22
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
2024/01/22-17:35:33.325 809c Recovering log #20
|
||||
2024/01/22-17:35:33.347 809c Delete type=0 #20
|
||||
2024/01/22-17:35:33.347 809c Delete type=3 #18
|
||||
2024/01/22-19:59:12.469 7e04 Level-0 table #25: started
|
||||
2024/01/22-19:59:12.469 7e04 Level-0 table #25: 0 bytes OK
|
||||
2024/01/22-19:59:12.475 7e04 Delete type=0 #23
|
||||
2024/01/22-19:59:12.475 7e04 Manual compaction at level-0 from '!macros!2u4a5gEogtLd3XQz' @ 72057594037927935 : 1 .. '!macros!trU0DtBJvJCPddsQ' @ 0 : 0; will stop at (end)
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000002
|
||||
MANIFEST-000026
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
2024/01/19-14:44:37.602 1714 Delete type=3 #1
|
||||
2024/01/19-14:45:12.077 3978 Level-0 table #5: started
|
||||
2024/01/19-14:45:12.079 3978 Level-0 table #5: 14286 bytes OK
|
||||
2024/01/19-14:45:12.081 3978 Delete type=0 #3
|
||||
2024/01/19-14:45:12.087 3978 Manual compaction at level-0 from '!macros!0Yw4QWSAeOuUzRqB' @ 72057594037927935 : 1 .. '!macros!z5V92LyXHjfMxnRQ' @ 0 : 0; will stop at (end)
|
||||
2024/01/22-19:59:18.980 809c Recovering log #24
|
||||
2024/01/22-19:59:19.001 809c Delete type=0 #24
|
||||
2024/01/22-19:59:19.001 809c Delete type=3 #22
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
2024/01/22-17:35:33.403 3a24 Recovering log #20
|
||||
2024/01/22-17:35:33.425 3a24 Delete type=0 #20
|
||||
2024/01/22-17:35:33.425 3a24 Delete type=3 #18
|
||||
2024/01/22-19:59:12.542 7e04 Level-0 table #25: started
|
||||
2024/01/22-19:59:12.542 7e04 Level-0 table #25: 0 bytes OK
|
||||
2024/01/22-19:59:12.559 7e04 Delete type=0 #23
|
||||
2024/01/22-19:59:12.559 7e04 Manual compaction at level-0 from '!macros!0Yw4QWSAeOuUzRqB' @ 72057594037927935 : 1 .. '!macros!z5V92LyXHjfMxnRQ' @ 0 : 0; will stop at (end)
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000002
|
||||
MANIFEST-000026
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
2024/01/19-14:44:37.465 1714 Delete type=3 #1
|
||||
2024/01/19-14:45:12.055 3978 Level-0 table #5: started
|
||||
2024/01/19-14:45:12.058 3978 Level-0 table #5: 18692 bytes OK
|
||||
2024/01/19-14:45:12.059 3978 Delete type=0 #3
|
||||
2024/01/19-14:45:12.065 3978 Manual compaction at level-0 from '!macros!06j3tzX29f4pwYwh' @ 72057594037927935 : 1 .. '!macros!zLRsweb35Lw0NMev' @ 0 : 0; will stop at (end)
|
||||
2024/01/22-19:59:18.924 3a24 Recovering log #24
|
||||
2024/01/22-19:59:18.948 3a24 Delete type=0 #24
|
||||
2024/01/22-19:59:18.948 3a24 Delete type=3 #22
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
2024/01/22-17:35:33.350 809c Recovering log #20
|
||||
2024/01/22-17:35:33.372 809c Delete type=0 #20
|
||||
2024/01/22-17:35:33.373 809c Delete type=3 #18
|
||||
2024/01/22-19:59:12.462 7e04 Level-0 table #25: started
|
||||
2024/01/22-19:59:12.463 7e04 Level-0 table #25: 0 bytes OK
|
||||
2024/01/22-19:59:12.469 7e04 Delete type=0 #23
|
||||
2024/01/22-19:59:12.475 7e04 Manual compaction at level-0 from '!macros!06j3tzX29f4pwYwh' @ 72057594037927935 : 1 .. '!macros!zLRsweb35Lw0NMev' @ 0 : 0; will stop at (end)
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000002
|
||||
MANIFEST-000026
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
2024/01/19-14:44:37.634 481c Delete type=3 #1
|
||||
2024/01/19-14:45:12.081 3978 Level-0 table #5: started
|
||||
2024/01/19-14:45:12.084 3978 Level-0 table #5: 23482 bytes OK
|
||||
2024/01/19-14:45:12.086 3978 Delete type=0 #3
|
||||
2024/01/19-14:45:12.087 3978 Manual compaction at level-0 from '!tables!1vCm4ElRPotQXgNB' @ 72057594037927935 : 1 .. '!tables.results!kqKpQAXyLTEEyz6Z.xdwwswzfoPuVifvw' @ 0 : 0; will stop at (end)
|
||||
2024/01/22-19:59:18.980 5104 Recovering log #24
|
||||
2024/01/22-19:59:19.001 5104 Delete type=0 #24
|
||||
2024/01/22-19:59:19.001 5104 Delete type=3 #22
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
2024/01/22-17:35:33.404 1d1c Recovering log #20
|
||||
2024/01/22-17:35:33.424 1d1c Delete type=0 #20
|
||||
2024/01/22-17:35:33.425 1d1c Delete type=3 #18
|
||||
2024/01/22-19:59:12.522 7e04 Level-0 table #25: started
|
||||
2024/01/22-19:59:12.522 7e04 Level-0 table #25: 0 bytes OK
|
||||
2024/01/22-19:59:12.542 7e04 Delete type=0 #23
|
||||
2024/01/22-19:59:12.559 7e04 Manual compaction at level-0 from '!tables!1vCm4ElRPotQXgNB' @ 72057594037927935 : 1 .. '!tables.results!kqKpQAXyLTEEyz6Z.xdwwswzfoPuVifvw' @ 0 : 0; will stop at (end)
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000002
|
||||
MANIFEST-000026
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
2024/01/19-14:44:37.498 481c Delete type=3 #1
|
||||
2024/01/19-14:45:12.059 3978 Level-0 table #5: started
|
||||
2024/01/19-14:45:12.064 3978 Level-0 table #5: 47846 bytes OK
|
||||
2024/01/19-14:45:12.065 3978 Delete type=0 #3
|
||||
2024/01/19-14:45:12.073 3978 Manual compaction at level-0 from '!tables!31YibfjueXuZdNLb' @ 72057594037927935 : 1 .. '!tables.results!ypcoikqHLhnc9tNs.zJkYrssfrdWBSeRm' @ 0 : 0; will stop at (end)
|
||||
2024/01/22-19:59:18.925 809c Recovering log #24
|
||||
2024/01/22-19:59:18.948 809c Delete type=0 #24
|
||||
2024/01/22-19:59:18.949 809c Delete type=3 #22
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
2024/01/22-17:35:33.351 5104 Recovering log #20
|
||||
2024/01/22-17:35:33.378 5104 Delete type=0 #20
|
||||
2024/01/22-17:35:33.378 5104 Delete type=3 #18
|
||||
2024/01/22-19:59:12.507 7e04 Level-0 table #25: started
|
||||
2024/01/22-19:59:12.507 7e04 Level-0 table #25: 0 bytes OK
|
||||
2024/01/22-19:59:12.513 7e04 Delete type=0 #23
|
||||
2024/01/22-19:59:12.513 7e04 Manual compaction at level-0 from '!tables!31YibfjueXuZdNLb' @ 72057594037927935 : 1 .. '!tables.results!ypcoikqHLhnc9tNs.zJkYrssfrdWBSeRm' @ 0 : 0; will stop at (end)
|
||||
Binary file not shown.
@@ -221,6 +221,7 @@
|
||||
"layout" : "systems/mosh/images/Galloway_Top.png",
|
||||
"beauty" : "systems/mosh/images/Galloway_Top.png"
|
||||
},
|
||||
"runSetup" : true,
|
||||
"stats": {
|
||||
"armor": {
|
||||
"value": 10,
|
||||
@@ -270,6 +271,13 @@
|
||||
"max": 99,
|
||||
"label": "Systems",
|
||||
"rollLabel": "Systems Save"
|
||||
},
|
||||
"bankruptcy": {
|
||||
"value": 10,
|
||||
"min": 0,
|
||||
"max": 99,
|
||||
"label": "Bankruptcy",
|
||||
"rollLabel": "Bankruptcy Save"
|
||||
}
|
||||
},
|
||||
"supplies": {
|
||||
|
||||
@@ -3,22 +3,37 @@
|
||||
<div class="header" style="grid-template-columns: 0.15fr 1fr;">
|
||||
<img class="sbt-profile" src="{{img}}" data-edit="img" title="{{name}}" height="150" width="150" />
|
||||
|
||||
<div class="headergrid" style="grid-template-columns: 1fr 1fr 0.1fr; padding: 1em;">
|
||||
<div class="headergrid" style="grid-template-columns: 1fr 0.2fr 22px; padding: 1em;">
|
||||
<!-- <img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" height="150" width="150"/> -->
|
||||
|
||||
<!-- PLAYER NAME -->
|
||||
<div class="headernamegrid">
|
||||
<!-- SHIP NAME -->
|
||||
<div class="">
|
||||
<div class="headerinputtext">SHIP IDENTIFIER</div>
|
||||
<div class="headerinputfield charname"><input name="name" class="noborder" type="text" value="{{name}}"
|
||||
placeholder="Name" /></div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="button-black deckplan-button list-roll">Distress</div> -->
|
||||
|
||||
<!-- Transponder -->
|
||||
<div class="transponder">
|
||||
<div class="headerinputtext">Transponder</div>
|
||||
<div class=""><input class="checkbox" type="checkbox" name="system.transponder" data-dtype="Boolean" {{checked system.transponder}}/></div>
|
||||
</div>
|
||||
|
||||
<!-- Macro Menu -->
|
||||
<div class="center-icon">
|
||||
<i class="fa-regular fa-ellipsis-vertical macro-menu-button list-roll"></i>
|
||||
</div>
|
||||
|
||||
<!-- Distress -->
|
||||
<!-- <div class="transponder">
|
||||
<div class="headerinputtext">Distress</div>
|
||||
<div class=""><input class="checkbox" type="checkbox" name="system.distress" data-dtype="Boolean" {{checked system.distress}}/></div>
|
||||
</div> -->
|
||||
|
||||
|
||||
<!-- Captain -->
|
||||
<!-- <div class="">
|
||||
<div class="headerinputtext">CAPTAIN</div>
|
||||
@@ -36,13 +51,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="ship-sbt-stats-grid" style="margin-top: 10px; margin-bottom: 10px; height: 405px;">
|
||||
|
||||
<!-- Stats -->
|
||||
<div class="grid grid-1col" style="width: 98%; gap: 10px;">
|
||||
<div class="circle-statwrapper">
|
||||
<!-- Thrusters -->
|
||||
<div class="circlestattitle">Stats & Saves</div>
|
||||
|
||||
|
||||
<!-- Thrusters -->
|
||||
<div class="resource circle-stat">
|
||||
<input class="circle-input" type="text" name="system.stats.thrusters.value"
|
||||
value="{{system.stats.thrusters.value}}" data-dtype="Number" />
|
||||
@@ -266,6 +285,10 @@
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biography" data-group="primary" data-tab="description">
|
||||
<!-- Macro Menu -->
|
||||
<div class="center-icon">
|
||||
<i class="fa-solid fa-wrench setup-menu-button list-roll"></i>
|
||||
</div>
|
||||
{{editor system.biography target="system.biography" button=true owner=owner editable=true}}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<!-- Header -->
|
||||
<div class="header-fields">
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<div class="circlestattitle black" style="font-size: 1.25rem;">{{actor.name}}</div>
|
||||
<div class="greyline"></div>
|
||||
<!-- Stats -->
|
||||
<div class="circle-statwrapper" style="gap: 10px;">
|
||||
<div class="circlestattitle">Ship Macros</div>
|
||||
|
||||
<!-- Distress! -->
|
||||
<div class="button-black distress-button list-roll" style="width: 95%;">Distress Signal</div>
|
||||
|
||||
<!-- Morale -->
|
||||
<div class="button-black distress-button list-roll" style="width: 95%;">Morale Check</div>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
<div class="circle-statwrapper" style="gap: 10px;">
|
||||
<div class="circlestattitle">Maintenance & Repairs <i class="fa-solid fa-wrench"></i></div>
|
||||
<!-- Maintenance -->
|
||||
<div class="button-black maintenance-button list-roll" style="width: 95%;">Maintenance Check</div>
|
||||
<!-- Starting Conditions -->
|
||||
<div class="button-black maintenance-button list-roll" style="width: 95%;">Roll Starting Condition</div>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
<!-- Ship Bankruptcy -->
|
||||
<div class="circle-statwrapper">
|
||||
<div class="circlestattitle">Bankruptcy <i class="fa-solid fa-square-dollar"></i></div>
|
||||
|
||||
<!-- Bankruptcy Save -->
|
||||
<div class="resource circle-stat">
|
||||
<input class="circle-input" type="text" name="actor.system.stats.bankruptcy.value"
|
||||
value="{{actor.system.stats.bankruptcy.value}}" data-dtype="Number" />
|
||||
</div>
|
||||
<div class="circlestatlabel">
|
||||
<span class="ability-mod stat-roll rollable circlestattext" data-key="bankruptcy"
|
||||
data-label="Bankruptcy">Bankruptcy Save</span>
|
||||
</div>
|
||||
|
||||
<!-- Backruptcy -->
|
||||
<div class="button-black bankrupt-button list-roll" style="width: 95%;">Bankruptcy Check</div>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
<div class="circle-statwrapper" style="gap: 10px;">
|
||||
<!-- Deckplan -->
|
||||
<div class="button-black deckplan-button list-roll" style="width: 95%;">Open Deckplan</div>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
<div class="button-white close-button list-roll" style="width: 95%;">CLOSE MENU <i class="fa-solid fa-circle-xmark"></i></div>
|
||||
|
||||
</form>
|
||||
@@ -0,0 +1,34 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<!-- Header -->
|
||||
<div class="header-fields">
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="circle-statwrapper" style="gap: 10px;">
|
||||
<div class="circlestattitle" style="font-size: 1.4rem;">Ship Setup<i class="fa-solid fa-wrench"></i></div>
|
||||
<!-- Starting Conditions -->
|
||||
<div class="button-black conditions-button list-roll" style="width: 95%;">Roll Starting Condition</div>
|
||||
|
||||
<div class="button-white close-button list-roll" style="width: 95%;">FINISH <i class="fa-solid fa-right-long"></i></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- !! Frame Selector !! -->
|
||||
|
||||
<!-- <div class="circle-statwrapper" style="gap: 10px;">
|
||||
<div class="dropdown">
|
||||
<button class="dropbtn">Frame Selection</button>
|
||||
<div class="dropdown-content">
|
||||
<a>Blank</a>
|
||||
<a>Shuttle</a>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
Reference in New Issue
Block a user