Name Migration 0.0.8
This commit is contained in:
+100
-100
@@ -50,18 +50,18 @@
|
||||
/* font-family: "Montserrat", "Arial Black", sans-serif; */
|
||||
}
|
||||
|
||||
.mothership ::-webkit-scrollbar-thumb {
|
||||
.mosh ::-webkit-scrollbar-thumb {
|
||||
outline: none;
|
||||
border-radius: 3px;
|
||||
background: black;
|
||||
border: 1px solid white;
|
||||
}
|
||||
|
||||
.mothership .white{
|
||||
.mosh .white{
|
||||
color:white;
|
||||
}
|
||||
|
||||
.mothership .darkgrey{
|
||||
.mosh .darkgrey{
|
||||
color:rgb(92, 92, 92);
|
||||
}
|
||||
/* .chat-message, #chat-form, .textarea{
|
||||
@@ -190,12 +190,12 @@
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
/* Styles limited to mothership sheets */
|
||||
.mothership .item-form {
|
||||
/* Styles limited to mosh sheets */
|
||||
.mosh .item-form {
|
||||
font-family: "Roboto", sans-serif;
|
||||
}
|
||||
|
||||
.mothership .char-header {
|
||||
.mosh .char-header {
|
||||
-webkit-box-flex: 0;
|
||||
/* -ms-flex: 0 0 610px;
|
||||
flex: 0 0 610px; */
|
||||
@@ -216,7 +216,7 @@
|
||||
|
||||
|
||||
|
||||
.mothership .char-header .profile-img {
|
||||
.mosh .char-header .profile-img {
|
||||
-webkit-box-flex: 0;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
@@ -224,13 +224,13 @@
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.mothership .char-header .header-fields {
|
||||
.mosh .char-header .header-fields {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.mothership .char-header .header-grid {
|
||||
.mosh .char-header .header-grid {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
'header header header'
|
||||
@@ -242,21 +242,21 @@
|
||||
grid-template-columns: 256px auto 82px;
|
||||
}
|
||||
|
||||
.mothership .abilities {grid-area: abilities;}
|
||||
.mothership .saves {grid-area: saves;}
|
||||
.mosh .abilities {grid-area: abilities;}
|
||||
.mosh .saves {grid-area: saves;}
|
||||
|
||||
.mothership .stress {grid-area: stress;}
|
||||
.mothership .health {grid-area: centercol;}
|
||||
.mothership .healthspread {width:100px;}
|
||||
.mosh .stress {grid-area: stress;}
|
||||
.mosh .health {grid-area: centercol;}
|
||||
.mosh .healthspread {width:100px;}
|
||||
|
||||
.mothership .char-header h1.charname {
|
||||
.mosh .char-header h1.charname {
|
||||
height: auto;
|
||||
padding: 0px;
|
||||
margin: 0px 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.mothership .char-header h1.charname input {
|
||||
.mosh .char-header h1.charname input {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
@@ -270,81 +270,81 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.mothership .sheet-tabs {
|
||||
.mosh .sheet-tabs {
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: 0;
|
||||
flex: 0;
|
||||
}
|
||||
|
||||
.mothership .sheet-body,
|
||||
.mothership .sheet-body .tab,
|
||||
.mothership .sheet-body .tab .editor {
|
||||
.mosh .sheet-body,
|
||||
.mosh .sheet-body .tab,
|
||||
.mosh .sheet-body .tab .editor {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.mothership .tox .tox-editor-container {
|
||||
.mosh .tox .tox-editor-container {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.mothership .tox .tox-edit-area {
|
||||
.mosh .tox .tox-edit-area {
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.mothership .resource-label {
|
||||
.mosh .resource-label {
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.mothership .tabs {
|
||||
.mosh .tabs {
|
||||
height: 40px;
|
||||
border-top: 2px solid rgb(56, 56, 56);
|
||||
border-bottom: 2px solid rgb(56, 56, 56);
|
||||
}
|
||||
|
||||
.mothership .tabs .item {
|
||||
.mosh .tabs .item {
|
||||
line-height: 40px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mothership .tabs .item.active {
|
||||
.mosh .tabs .item.active {
|
||||
text-decoration: underline;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.mothership .items-list {
|
||||
.mosh .items-list {
|
||||
list-style: none;
|
||||
margin: 7px 0;
|
||||
padding: 0;
|
||||
/* overflow-y: auto; */
|
||||
}
|
||||
|
||||
.mothership .items-list .item-header {
|
||||
.mosh .items-list .item-header {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mothership .items-list .item {
|
||||
.mosh .items-list .item {
|
||||
height: 35px;
|
||||
line-height: 24px;
|
||||
padding: 3px 0;
|
||||
border-bottom: 1px solid #BBB;
|
||||
}
|
||||
|
||||
.mothership .skills-list .item {
|
||||
.mosh .skills-list .item {
|
||||
height: 36px;
|
||||
line-height: 21px;
|
||||
padding: 3px 0;
|
||||
border-bottom: 1px solid #BBB;
|
||||
}
|
||||
|
||||
.mothership .items-list .item .item-image {
|
||||
.mosh .items-list .item .item-image {
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: 0 0 24px;
|
||||
flex: 0 0 24px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.mothership .roll-image {
|
||||
.mosh .roll-image {
|
||||
-webkit-box-flex: 0;
|
||||
flex: 0 24px;
|
||||
margin-right: -9px;
|
||||
@@ -353,15 +353,15 @@
|
||||
/* margin-right: 5px; */
|
||||
}
|
||||
|
||||
.mothership .items-list .item img {
|
||||
.mosh .items-list .item img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mothership .items-list .item-name {
|
||||
.mosh .items-list .item-name {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mothership .items-list .skill-name {
|
||||
.mosh .items-list .skill-name {
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
@@ -376,7 +376,7 @@
|
||||
height: 27px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.mothership .items-list .skill-stat {
|
||||
.mosh .items-list .skill-stat {
|
||||
font-size: medium;
|
||||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
color: #111;
|
||||
@@ -388,14 +388,14 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mothership .items-list .item-controls {
|
||||
.mosh .items-list .item-controls {
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: 0 0 86px;
|
||||
flex: 0 0 86px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.mothership .tab-select {
|
||||
.mosh .tab-select {
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
@@ -403,7 +403,7 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mothership .stresstext {
|
||||
.mosh .stresstext {
|
||||
width: 100%;
|
||||
padding: 0.1rem;
|
||||
color: white;
|
||||
@@ -414,7 +414,7 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mothership .smallcircle-input {
|
||||
.mosh .smallcircle-input {
|
||||
margin: -0.15em;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
@@ -426,7 +426,7 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mothership .mainstatmod-input {
|
||||
.mosh .mainstatmod-input {
|
||||
margin-top: 13px;
|
||||
height: 26px;
|
||||
width: 44px;
|
||||
@@ -441,7 +441,7 @@
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.mothership .mainstatmod-title {
|
||||
.mosh .mainstatmod-title {
|
||||
position: relative;
|
||||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size: 0.7rem;
|
||||
@@ -454,7 +454,7 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.mothership .maxhealth-input {
|
||||
.mosh .maxhealth-input {
|
||||
margin: auto;
|
||||
border: 0px solid #111;
|
||||
font-size: 1.8rem;
|
||||
@@ -463,19 +463,19 @@
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.mothership .greyText{
|
||||
.mosh .greyText{
|
||||
color: grey;
|
||||
}
|
||||
|
||||
.mothership .darkGreyText{
|
||||
.mosh .darkGreyText{
|
||||
color: rgb(56, 56, 56);
|
||||
}
|
||||
|
||||
.mothership .sizelarge{
|
||||
.mosh .sizelarge{
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.mothership .minmaxwrapper{
|
||||
.mosh .minmaxwrapper{
|
||||
grid-column: 1/-1;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1px 1fr;
|
||||
@@ -488,7 +488,7 @@
|
||||
background: 0;
|
||||
}
|
||||
|
||||
.mothership .valuewrapper{
|
||||
.mosh .valuewrapper{
|
||||
grid-column: 1/-1;
|
||||
display: grid;
|
||||
width: 145px;
|
||||
@@ -500,7 +500,7 @@
|
||||
margin-top: -15px;
|
||||
}
|
||||
|
||||
.mothership .minmaxtopstat{
|
||||
.mosh .minmaxtopstat{
|
||||
width: 8.5rem;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
justify-self: center;
|
||||
@@ -510,7 +510,7 @@
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
.mothership .minmaxtext{
|
||||
.mosh .minmaxtext{
|
||||
text-align: left;
|
||||
grid-column: 1/-1;
|
||||
/* font-family: "Montserrat", "Arial Black", sans-serif; */
|
||||
@@ -521,13 +521,13 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mothership .slant{
|
||||
.mosh .slant{
|
||||
border-right: 2px solid #111;
|
||||
height: 100%;
|
||||
transform: skewX(-15deg);
|
||||
}
|
||||
|
||||
.mothership .healthmaxtext{
|
||||
.mosh .healthmaxtext{
|
||||
text-align: left;
|
||||
grid-column: span 1;
|
||||
font-size: 0.8rem;
|
||||
@@ -537,18 +537,18 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mothership .stresslabel {
|
||||
.mosh .stresslabel {
|
||||
border-top-left-radius: 2em;
|
||||
border-bottom-left-radius: 2em;
|
||||
background: #111;
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
.mothership .mainstatwrapper {
|
||||
.mosh .mainstatwrapper {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.mothership .mainstat {
|
||||
.mosh .mainstat {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 5em;
|
||||
@@ -557,7 +557,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mothership .creature-mainstat {
|
||||
.mosh .creature-mainstat {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 3em;
|
||||
@@ -565,14 +565,14 @@
|
||||
gap: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.mothership .mainstatlabel {
|
||||
.mosh .mainstatlabel {
|
||||
border-top-left-radius: 2em;
|
||||
border-bottom-left-radius: 2em;
|
||||
background: #111;
|
||||
padding: 2px 0.5rem;
|
||||
}
|
||||
|
||||
.mothership .mainstattext {
|
||||
.mosh .mainstattext {
|
||||
width: 100%;
|
||||
padding: 0.5rem;
|
||||
color: white;
|
||||
@@ -583,7 +583,7 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mothership .circle-input {
|
||||
.mosh .circle-input {
|
||||
margin: -0.15em;
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
@@ -595,7 +595,7 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mothership .textarea-input {
|
||||
.mosh .textarea-input {
|
||||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
margin: -0.15em;
|
||||
padding: 9px;
|
||||
@@ -610,7 +610,7 @@
|
||||
|
||||
|
||||
|
||||
.mothership .square-input {
|
||||
.mosh .square-input {
|
||||
margin: -0.15em;
|
||||
height: 45px;
|
||||
width: 45px;
|
||||
@@ -622,7 +622,7 @@
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
.mothership .savetext {
|
||||
.mosh .savetext {
|
||||
display: block;
|
||||
margin-bottom: .2em;
|
||||
width: 100%;
|
||||
@@ -634,7 +634,7 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mothership .savebackground {
|
||||
.mosh .savebackground {
|
||||
border-radius: 1em;
|
||||
background: #111;
|
||||
padding: 0 0.5rem;
|
||||
@@ -644,7 +644,7 @@
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
.mothership .header {
|
||||
.mosh .header {
|
||||
grid-area: header;
|
||||
background-color: #000;
|
||||
display: grid;
|
||||
@@ -659,11 +659,11 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mothership .padding{
|
||||
.mosh .padding{
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.mothership .creature-header-grid {
|
||||
.mosh .creature-header-grid {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
'name header header'
|
||||
@@ -673,7 +673,7 @@
|
||||
}
|
||||
|
||||
|
||||
.mothership .creature-header {
|
||||
.mosh .creature-header {
|
||||
display: flex ;
|
||||
flex-direction: row-reverse;
|
||||
align-items: center;
|
||||
@@ -685,12 +685,12 @@
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.mothership .creature-description-grid{
|
||||
.mosh .creature-description-grid{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 15em;
|
||||
}
|
||||
|
||||
.mothership .creature-abilities{
|
||||
.mosh .creature-abilities{
|
||||
background: rgb(22, 22, 22);
|
||||
margin: 12px;
|
||||
border: 2px solid white;
|
||||
@@ -699,13 +699,13 @@
|
||||
height: 375px;
|
||||
}
|
||||
|
||||
.mothership .ship-stats-grid{
|
||||
.mosh .ship-stats-grid{
|
||||
display: grid;
|
||||
grid-template-columns: 17em 1fr 15em;
|
||||
}
|
||||
|
||||
|
||||
.mothership .whiteline {
|
||||
.mosh .whiteline {
|
||||
border-top: 2px solid white;
|
||||
grid-area: line;
|
||||
margin-bottom: 10px;
|
||||
@@ -713,7 +713,7 @@
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.mothership .headerinputfield {
|
||||
.mosh .headerinputfield {
|
||||
margin: -0.15em;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
@@ -725,7 +725,7 @@
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.mothership .creaturename {
|
||||
.mosh .creaturename {
|
||||
height: auto;
|
||||
width: 100%;
|
||||
padding-left: 13px;
|
||||
@@ -736,7 +736,7 @@
|
||||
font-family: "Century Gothic", "Diadact Gothic", sans-serif;
|
||||
}
|
||||
|
||||
.mothership .creaturestat {
|
||||
.mosh .creaturestat {
|
||||
margin-left: 4px;
|
||||
height: auto;
|
||||
font-size: 0.9rem;
|
||||
@@ -745,24 +745,24 @@
|
||||
color:white;
|
||||
}
|
||||
|
||||
.mothership .creaturedescription {
|
||||
.mosh .creaturedescription {
|
||||
height: 400px;
|
||||
padding: 10px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.mothership .creaturedescription .editor-content{
|
||||
.mosh .creaturedescription .editor-content{
|
||||
overflow-y: visible;
|
||||
}
|
||||
.mothership .creaturedescription .editor{
|
||||
.mosh .creaturedescription .editor{
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.mothership .creature-ability-container {
|
||||
.mosh .creature-ability-container {
|
||||
padding: 4px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.mothership .creature-ability-title {
|
||||
.mosh .creature-ability-title {
|
||||
text-align: center;
|
||||
font-size: 0.9rem;
|
||||
text-transform: uppercase;
|
||||
@@ -771,17 +771,17 @@
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mothership .creature-ability-text {
|
||||
.mosh .creature-ability-text {
|
||||
height: auto;
|
||||
font-size: 0.8rem;
|
||||
font-family: "Century Gothic", "Diadact Gothic", sans-serif;
|
||||
color:white;
|
||||
}
|
||||
|
||||
.mothership .tox.tox-tinymce {
|
||||
.mosh .tox.tox-tinymce {
|
||||
min-height: 100%;
|
||||
}
|
||||
.mothership .editor {
|
||||
.mosh .editor {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -790,7 +790,7 @@
|
||||
background: 0 !important;
|
||||
}
|
||||
|
||||
.mothership .headerinputtext {
|
||||
.mosh .headerinputtext {
|
||||
padding: 0.1rem;
|
||||
color: white;
|
||||
font-family: "Montserrat", "Arial Black", sans-serif;
|
||||
@@ -802,7 +802,7 @@
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.mothership .headergrid {
|
||||
.mosh .headergrid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
gap: 0.25rem;
|
||||
@@ -810,22 +810,22 @@
|
||||
margin-top: -11px;
|
||||
}
|
||||
|
||||
.mothership .headernamegrid {
|
||||
.mosh .headernamegrid {
|
||||
grid-column: 1/-2;
|
||||
}
|
||||
|
||||
.mothership .headerrankgrid {
|
||||
.mosh .headerrankgrid {
|
||||
/* grid-column: span 3; */
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.mothership .mothershiplogo {
|
||||
.mosh .moshlogo {
|
||||
width: 140px;
|
||||
height: auto;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.mothership .rollcontainer {
|
||||
.mosh .rollcontainer {
|
||||
border-radius: 10em;
|
||||
background: #fff;
|
||||
padding: 0 0.5rem;
|
||||
@@ -837,7 +837,7 @@
|
||||
font-family: "Century Gothic", "Diadact Gothic", sans-serif;
|
||||
}
|
||||
|
||||
.mothership .rollh1 {
|
||||
.mosh .rollh1 {
|
||||
width: 107%;
|
||||
margin-top: 0;
|
||||
margin-left: -9px;
|
||||
@@ -850,7 +850,7 @@
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.mothership .rollweaponh1 {
|
||||
.mosh .rollweaponh1 {
|
||||
height: 34px;
|
||||
margin-top: 0;
|
||||
margin-left: -9px;
|
||||
@@ -866,7 +866,7 @@
|
||||
width: 71%;
|
||||
}
|
||||
|
||||
.mothership .rollh2 {
|
||||
.mosh .rollh2 {
|
||||
font-size: 1.1rem;
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
@@ -876,7 +876,7 @@
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.mothership .rollmods {
|
||||
.mosh .rollmods {
|
||||
font-size: 0.8rem;
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
@@ -888,7 +888,7 @@
|
||||
color: grey;
|
||||
}
|
||||
|
||||
.mothership .rollattribute {
|
||||
.mosh .rollattribute {
|
||||
width: 100%;
|
||||
padding: 0.5rem;
|
||||
color: black;
|
||||
@@ -897,7 +897,7 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mothership .roll-grid {
|
||||
.mosh .roll-grid {
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
@@ -905,7 +905,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mothership .roll-result {
|
||||
.mosh .roll-result {
|
||||
padding: 8px;
|
||||
border: 2px solid #111;
|
||||
border-radius: 1em;
|
||||
@@ -915,7 +915,7 @@
|
||||
grid-column: 2/span 2;
|
||||
}
|
||||
|
||||
.mothership .roll-target {
|
||||
.mosh .roll-target {
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 6rem;
|
||||
@@ -933,7 +933,7 @@
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.mothership .roll-targetbox {
|
||||
.mosh .roll-targetbox {
|
||||
padding: 2px;
|
||||
border: 2px solid #111;
|
||||
border-radius: 0.3em;
|
||||
@@ -943,7 +943,7 @@
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.mothership .roll-damage {
|
||||
.mosh .roll-damage {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
@@ -955,7 +955,7 @@
|
||||
font-family: "Montserrat", "Arial Black", sans-serif;
|
||||
}
|
||||
|
||||
.mothership .roll-damagebox {
|
||||
.mosh .roll-damagebox {
|
||||
padding: 4px;
|
||||
border: 2px solid rgb(117, 0, 0);
|
||||
border-radius: 1em;
|
||||
@@ -968,7 +968,7 @@
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.mothership .items-tab-grid{
|
||||
.mosh .items-tab-grid{
|
||||
grid-template-columns: 50% 50%;
|
||||
}
|
||||
|
||||
@@ -7,8 +7,8 @@ export class MothershipActorSheet extends ActorSheet {
|
||||
/** @override */
|
||||
static get defaultOptions() {
|
||||
return mergeObject(super.defaultOptions, {
|
||||
classes: ["mothership", "sheet", "actor", "character"],
|
||||
template: "systems/mothership/templates/actor/actor-sheet.html",
|
||||
classes: ["mosh", "sheet", "actor", "character"],
|
||||
template: "systems/mosh/templates/actor/actor-sheet.html",
|
||||
width: 742,
|
||||
height: 800,
|
||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "character" }]
|
||||
@@ -34,8 +34,8 @@ export class MothershipActorSheet extends ActorSheet {
|
||||
if (data.data.settings == null) {
|
||||
data.data.settings = {};
|
||||
}
|
||||
data.data.settings.useCalm = game.settings.get("mothership", "useCalm");
|
||||
data.data.settings.hideWeight = game.settings.get("mothership", "hideWeight");
|
||||
data.data.settings.useCalm = game.settings.get("mosh", "useCalm");
|
||||
data.data.settings.hideWeight = game.settings.get("mosh", "hideWeight");
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
@@ -315,7 +315,7 @@ export class MothershipActor extends Actor {
|
||||
chatData.whisper = game.user._id;
|
||||
}
|
||||
*/
|
||||
let template = 'systems/mothership/templates/chat/statroll.html';
|
||||
let template = 'systems/mosh/templates/chat/statroll.html';
|
||||
renderTemplate(template, templateData).then(content => {
|
||||
chatData.content = content;
|
||||
if (game.dice3d) {
|
||||
@@ -430,7 +430,7 @@ export class MothershipActor extends Actor {
|
||||
chatData.whisper = game.user._id;
|
||||
}
|
||||
*/
|
||||
let template = 'systems/mothership/templates/chat/statroll.html';
|
||||
let template = 'systems/mosh/templates/chat/statroll.html';
|
||||
renderTemplate(template, templateData).then(content => {
|
||||
chatData.content = content;
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ export class MothershipCreatureSheet extends ActorSheet {
|
||||
/** @override */
|
||||
static get defaultOptions() {
|
||||
return mergeObject(super.defaultOptions, {
|
||||
classes: ["mothership", "sheet", "actor", "creature"],
|
||||
template: "systems/mothership/templates/actor/creature-sheet.html",
|
||||
classes: ["mosh", "sheet", "actor", "creature"],
|
||||
template: "systems/mosh/templates/actor/creature-sheet.html",
|
||||
width: 700,
|
||||
height: 650,
|
||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "character" }]
|
||||
|
||||
@@ -7,8 +7,8 @@ export class MothershipShipSheet extends ActorSheet {
|
||||
/** @override */
|
||||
static get defaultOptions() {
|
||||
return mergeObject(super.defaultOptions, {
|
||||
classes: ["mothership", "sheet", "actor", "ship"],
|
||||
template: "systems/mothership/templates/actor/ship-sheet.html",
|
||||
classes: ["mosh", "sheet", "actor", "ship"],
|
||||
template: "systems/mosh/templates/actor/ship-sheet.html",
|
||||
width: 700,
|
||||
height: 650,
|
||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "character" }]
|
||||
@@ -34,8 +34,8 @@ export class MothershipShipSheet extends ActorSheet {
|
||||
data.data.settings = {};
|
||||
}
|
||||
|
||||
data.data.settings.useCalm = game.settings.get("mothership", "useCalm");
|
||||
data.data.settings.hideWeight = game.settings.get("mothership", "hideWeight");
|
||||
data.data.settings.useCalm = game.settings.get("mosh", "useCalm");
|
||||
data.data.settings.hideWeight = game.settings.get("mosh", "hideWeight");
|
||||
|
||||
return data;
|
||||
}
|
||||
@@ -102,6 +102,10 @@ export class MothershipShipSheet extends ActorSheet {
|
||||
const li = $(ev.currentTarget).parents(".item");
|
||||
const item = this.actor.getOwnedItem(li.data("itemId"));
|
||||
item.sheet.render(true);
|
||||
|
||||
if(item.type == "module"){
|
||||
item.data.totalHull = amount*item.data.hull;
|
||||
}
|
||||
});
|
||||
|
||||
//Quantity adjuster
|
||||
@@ -116,6 +120,10 @@ export class MothershipShipSheet extends ActorSheet {
|
||||
item.data.quantity = Number(amount) - 1;
|
||||
}
|
||||
|
||||
if(item.type == "module"){
|
||||
item.data.totalHull = item.data.quantity*item.data.hull;
|
||||
}
|
||||
|
||||
this.actor.updateEmbeddedEntity('OwnedItem', item);
|
||||
});
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ export class MothershipItemSheet extends ItemSheet {
|
||||
/** @override */
|
||||
static get defaultOptions() {
|
||||
return mergeObject(super.defaultOptions, {
|
||||
classes: ["mothership", "sheet", "item"],
|
||||
classes: ["mosh", "sheet", "item"],
|
||||
width: 520,
|
||||
height: 480,
|
||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }]
|
||||
@@ -16,7 +16,7 @@ export class MothershipItemSheet extends ItemSheet {
|
||||
|
||||
/** @override */
|
||||
get template() {
|
||||
const path = "systems/mothership/templates/item";
|
||||
const path = "systems/mosh/templates/item";
|
||||
// Return a single sheet for all item types.
|
||||
return `${path}/item-${this.item.data.type}-sheet.html`;
|
||||
// Alternatively, you could use the following return statement to do a
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ export class MothershipItem extends Item {
|
||||
}
|
||||
|
||||
static async _onChatUseSkill(event) {
|
||||
const token = event.currentTarget.closest(".mothership");
|
||||
const token = event.currentTarget.closest(".mosh");
|
||||
const actor = this._getChatCardActor(token);
|
||||
if (!actor) return;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
|
||||
Hooks.once('init', async function () {
|
||||
|
||||
game.mothership = {
|
||||
game.mosh = {
|
||||
MothershipActor,
|
||||
MothershipItem
|
||||
};
|
||||
@@ -34,21 +34,21 @@ Hooks.once('init', async function () {
|
||||
// Register sheet application classes
|
||||
Actors.unregisterSheet("core", ActorSheet);
|
||||
|
||||
Actors.registerSheet("mothership", MothershipActorSheet, {
|
||||
Actors.registerSheet("mosh", MothershipActorSheet, {
|
||||
types: ['character'],
|
||||
makeDefault: true
|
||||
});
|
||||
Actors.registerSheet("mothership", MothershipCreatureSheet, {
|
||||
Actors.registerSheet("mosh", MothershipCreatureSheet, {
|
||||
types: ['creature'],
|
||||
makeDefault: false
|
||||
});
|
||||
Actors.registerSheet("mothership", MothershipShipSheet, {
|
||||
Actors.registerSheet("mosh", MothershipShipSheet, {
|
||||
types: ['ship'],
|
||||
makeDefault: false
|
||||
});
|
||||
|
||||
Items.unregisterSheet("core", ItemSheet);
|
||||
Items.registerSheet("mothership", MothershipItemSheet, { makeDefault: true });
|
||||
Items.registerSheet("mosh", MothershipItemSheet, { makeDefault: true });
|
||||
|
||||
// If you need to add Handlebars helpers, here are a few useful examples:
|
||||
Handlebars.registerHelper('concat', function () {
|
||||
@@ -66,24 +66,6 @@ Hooks.once('init', async function () {
|
||||
* Set default values for new actors' tokens
|
||||
*/
|
||||
Hooks.on("preCreateActor", (createData) => {
|
||||
let disposition = CONST.TOKEN_DISPOSITIONS.NEUTRAL;
|
||||
|
||||
if (createData.type == "creature") {
|
||||
disposition = CONST.TOKEN_DISPOSITIONS.HOSTILE
|
||||
}
|
||||
|
||||
// Set wounds, advantage, and display name visibility
|
||||
mergeObject(createData,
|
||||
{
|
||||
"token.bar1": { "attribute": "data.health" }, // Default Bar 1 to Health
|
||||
// "token.bar2": { "attribute": "data.insanity" }, // Default Bar 2 to Insanity
|
||||
"token.displayName": CONST.TOKEN_DISPLAY_MODES.OWNER_HOVER, // Default display name to be on owner hover
|
||||
"token.displayBars": CONST.TOKEN_DISPLAY_MODES.OWNER_HOVER, // Default display bars to be on owner hover
|
||||
"token.disposition": disposition, // Default disposition to neutral
|
||||
"token.name": createData.name // Set token name to actor name
|
||||
})
|
||||
|
||||
// Default characters to HasVision = true and Link Data = true
|
||||
if (createData.type == "character") {
|
||||
createData.token.vision = true;
|
||||
createData.token.actorLink = true;
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
export const registerSettings = function () {
|
||||
game.settings.register('mothership', 'useCalm', {
|
||||
game.settings.register('mosh', 'useCalm', {
|
||||
name: "Use Calm?",
|
||||
hint: "Uses the traaa.sh Calm system instead of Stress.",
|
||||
default: false,
|
||||
@@ -7,7 +7,7 @@ export const registerSettings = function () {
|
||||
type: Boolean,
|
||||
config: true
|
||||
});
|
||||
game.settings.register('mothership', 'hideWeight', {
|
||||
game.settings.register('mosh', 'hideWeight', {
|
||||
name: "Hide Weight",
|
||||
hint: "Hide weight in the items list for players and ships?",
|
||||
default: false,
|
||||
|
||||
@@ -2,8 +2,8 @@ export class DLCreatureSettings extends FormApplication {
|
||||
static get defaultOptions() {
|
||||
const options = super.defaultOptions;
|
||||
options.id = 'sheet-modifiers';
|
||||
options.classes = ["mothership", "sheet", "actor", "creature"];
|
||||
options.template = 'systems/mothership/templates/dialogs/creature-settings-dialog.html';
|
||||
options.classes = ["mosh", "sheet", "actor", "creature"];
|
||||
options.template = 'systems/mosh/templates/dialogs/creature-settings-dialog.html';
|
||||
options.width = 320;
|
||||
options.height = 150;
|
||||
return options;
|
||||
|
||||
Generated
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "mothership",
|
||||
"name": "mosh",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "mothership",
|
||||
"name": "mosh",
|
||||
"version": "1.0.0",
|
||||
"description": "CSS compiler for the Mothership system",
|
||||
"scripts": {
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
@import 'global/grid';
|
||||
@import 'global/flex';
|
||||
|
||||
/* Styles limited to mothership sheets */
|
||||
.mothership {
|
||||
/* Styles limited to mosh sheets */
|
||||
.mosh {
|
||||
@import 'components/forms';
|
||||
@import 'components/resource';
|
||||
@import 'components/tabs';
|
||||
|
||||
+5
-5
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "mothership",
|
||||
"name": "mosh",
|
||||
"title": "Mothership",
|
||||
"description": "The Mothership system for FoundryVTT!",
|
||||
"version": "0.0.7",
|
||||
"description": "The unofficial Mothership system for FoundryVTT",
|
||||
"version": "0.0.8",
|
||||
"minimumCoreVersion": "0.5.5",
|
||||
"compatibleCoreVersion": "0.5.5",
|
||||
"templateVersion": 2,
|
||||
"author": "Martin Jencka",
|
||||
"esmodules": ["module/mothership.js"],
|
||||
"styles": ["css/mothership.css"],
|
||||
"esmodules": ["module/mosh.js"],
|
||||
"styles": ["css/mosh.css"],
|
||||
"scripts": [],
|
||||
"packs": [],
|
||||
"languages": [
|
||||
|
||||
+4
-2
@@ -144,8 +144,8 @@
|
||||
"value": 1
|
||||
},
|
||||
"images" : {
|
||||
"layout" : "systems/mothership/images/Galloway_Top.png",
|
||||
"beauty" : "systems/mothership/images/Galloway_Top.png"
|
||||
"layout" : "systems/mosh/images/Galloway_Top.png",
|
||||
"beauty" : "systems/mosh/images/Galloway_Top.png"
|
||||
},
|
||||
"stats": {
|
||||
"armor": {
|
||||
@@ -224,6 +224,7 @@
|
||||
"critDmg": "",
|
||||
"critEffect": "",
|
||||
"bonus": 0,
|
||||
"cost" : 0,
|
||||
"ranges": {
|
||||
"short": 0,
|
||||
"medium": 0,
|
||||
@@ -249,6 +250,7 @@
|
||||
],
|
||||
"quantity": 1,
|
||||
"hull": 1,
|
||||
"totalHull" : 1,
|
||||
"feature" : "",
|
||||
"offline" : false
|
||||
}
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
from 1 to 12 and will create that number of columns. --}}
|
||||
|
||||
<div class="header">
|
||||
<!-- <img class="mothershiplogo" src="https://images.squarespace-cdn.com/content/5e97675644a24d569352fe17/1587070346832-RKM533ZN7XN778HQEBUW/Mothership-M-Logo-White.png?content-type=image%2Fpng" data-i18n-title="Mothership Logo" title="[Mothership Logo]"> -->
|
||||
<img class="mothershiplogo" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" height="150"
|
||||
<!-- <img class="moshlogo" src="https://images.squarespace-cdn.com/content/5e97675644a24d569352fe17/1587070346832-RKM533ZN7XN778HQEBUW/Mothership-M-Logo-White.png?content-type=image%2Fpng" data-i18n-title="Mothership Logo" title="[Mothership Logo]"> -->
|
||||
<img class="moshlogo" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" height="150"
|
||||
width="150" />
|
||||
|
||||
<div class="headergrid">
|
||||
@@ -271,7 +271,7 @@
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="mothership sheet-tabs tabs" data-group="primary">
|
||||
<nav class="mosh sheet-tabs tabs" data-group="primary">
|
||||
<a class="tab-select" data-tab="skills">Skills</a>
|
||||
<a class="tab-select" data-tab="weapons">Weapons</a>
|
||||
<a class="tab-select" data-tab="items">Items</a>
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
</div>
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="mothership sheet-tabs tabs" data-group="primary">
|
||||
<nav class="mosh sheet-tabs tabs" data-group="primary">
|
||||
<a class="tab-select" data-tab="weapons">Weapons</a>
|
||||
<a class="tab-select" data-tab="description">Bio</a>
|
||||
</nav>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
{{!-- Sheet Header --}}
|
||||
<div class="header">
|
||||
<!-- <img class="mothershiplogo" src="https://images.squarespace-cdn.com/content/5e97675644a24d569352fe17/1587070346832-RKM533ZN7XN778HQEBUW/Mothership-M-Logo-White.png?content-type=image%2Fpng" data-i18n-title="Mothership Logo" title="[Mothership Logo]"> -->
|
||||
<img class="mothershiplogo" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" height="150"
|
||||
<!-- <img class="moshlogo" src="https://images.squarespace-cdn.com/content/5e97675644a24d569352fe17/1587070346832-RKM533ZN7XN778HQEBUW/Mothership-M-Logo-White.png?content-type=image%2Fpng" data-i18n-title="Mothership Logo" title="[Mothership Logo]"> -->
|
||||
<img class="moshlogo" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" height="150"
|
||||
width="150" />
|
||||
|
||||
<div class="headergrid" style="grid-template-columns: 1fr 1fr 1fr; padding: 1em;">
|
||||
@@ -179,7 +179,7 @@
|
||||
</div>
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="mothership sheet-tabs tabs" data-group="primary">
|
||||
<nav class="mosh sheet-tabs tabs" data-group="primary">
|
||||
<a class="tab-select" data-tab="weapons">Weapons</a>
|
||||
<a class="tab-select" data-tab="modules">Modules</a>
|
||||
<a class="tab-select" data-tab="cargo">Cargo</a>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="mothership" {{#if actor._id}}data-actor-id="{{actor._id}}" {{/if}}
|
||||
<div class="mosh" {{#if actor._id}}data-actor-id="{{actor._id}}" {{/if}}
|
||||
{{#if item._id}}data-item-id="{{item._id}}"{{/if}} {{#if tokenId}}data-token-id="{{tokenId}}" {{/if}}>
|
||||
<div class="showinfo"></div>
|
||||
<div class="showlessinfo"></div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="mothership" {{#if actor._id}}data-actor-id="{{actor._id}}" {{/if}}
|
||||
<div class="mosh" {{#if actor._id}}data-actor-id="{{actor._id}}" {{/if}}
|
||||
{{#if item._id}}data-item-id="{{item._id}}"{{/if}} {{#if tokenId}}data-token-id="{{tokenId}}" {{/if}}>
|
||||
<div class="showinfo"></div>
|
||||
<div class="showlessinfo"></div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="mothership" {{#if actor._id}}data-actor-id="{{actor._id}}" {{/if}}
|
||||
<div class="mosh" {{#if actor._id}}data-actor-id="{{actor._id}}" {{/if}}
|
||||
{{#if item._id}}data-item-id="{{item._id}}" {{/if}} {{#if tokenId}}data-token-id="{{tokenId}}" {{/if}}>
|
||||
<div class="showinfo"></div>
|
||||
<div class="showlessinfo"></div>
|
||||
|
||||
Reference in New Issue
Block a user