Item sheets, WIP

This commit is contained in:
sladecraven 2022-11-03 21:18:51 +01:00
parent c64754a586
commit 08510a99a4
4 changed files with 25 additions and 9 deletions

View File

@ -236,7 +236,7 @@ table {border: 1px solid #7a7971;}
width: 8%;
height: 8%;
max-height: 48px;
border-width: 0;
border-width: 0px;
border: 1px solid rgba(0, 0, 0, 0);
}
@ -390,6 +390,10 @@ table {border: 1px solid #7a7971;}
background: #494e6b;
}
input[type="text"], select[type="text"] {
background:white;
}
/* background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/
/*color: rgba(168, 139, 139, 0.5);*/
.window-app.sheet .window-content .sheet-header select[type="text"], .window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-body input[type="text"], .window-app.sheet .window-content .sheet-body input[type="number"], .window-app.sheet .window-content .sheet-body select[type="text"] {
@ -1205,7 +1209,7 @@ ul, li {
.img-no-border {
max-width: 48px;
max-height: 48px;
border: 0;
border: 0px;
}
.items-title-bg {
margin-top: 6px;
@ -1222,6 +1226,7 @@ ul, li {
.item-sheet-img {
width: 64px;
height: auto;
border: 0;
}
.item-name-img {
flex-grow:1;

View File

@ -227,7 +227,8 @@
"equipment",
"weapon",
"module",
"money"
"money",
"condition"
],
"templates": {
"commonitem": {
@ -284,6 +285,7 @@
},
"spell": {
"spelltype": "",
"level":"",
"value": 0,
"description": ""
},
@ -351,6 +353,9 @@
},
"module": {
"description": ""
},
"condition": {
"description": ""
}
}
}

View File

@ -30,7 +30,11 @@
<li class="flexrow">
<label class="item-field-label-long">Level</label>
<input type="text" class="item-field-label-short" name="system.value" value="{{system.value}}" data-dtype="Number"/>
<select class="item-field-label-long" type="text" name="system.level" value="{{system.level}}" data-dtype="String">
{{#select system.level}}
{{> systems/fvtt-avd12/templates/items/partial-options-spell-levels.hbs}}
{{/select}}
</select>
</li>
</ul>

View File

@ -1,5 +1,7 @@
<option value="might">Might</option>
<option value="agility">Agility</option>
<option value="willpower">Willpower</option>
<option value="knowledge">Knowledge</option>
<option value="social">Social</option>
<option value="projectile">Projectile</option>
<option value="line">Line</option>
<option value="ray">Ray</option>
<option value="area">Area</option>
<option value="sonic">Sonic</option>
<option value="vision">Vision</option>
<option value="touchmelee">Touch/Melee Attack</option>