parent
c3a7388592
commit
d804187215
|
@ -81,6 +81,8 @@ export class ActorSheetKH extends ActorSheet {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
skills.sort((a,b) => (a.name > b.name) ? 1 : ((b.name > a.name) ? -1 : 0));
|
||||||
|
|
||||||
// Assign and return
|
// Assign and return
|
||||||
actorData.skills = skills;
|
actorData.skills = skills;
|
||||||
actorData.talents = talents;
|
actorData.talents = talents;
|
||||||
|
|
|
@ -33,3 +33,4 @@
|
||||||
{"name":"Viljestyrka","permission":{"default":0,"tSnD115pP1EPBAXK":3},"type":"skill","data":{"description":{"value":"","type":"String","label":"ITEM.DESCRIPTION"},"type":{"value":"base","label":"SKILL.TYPE"},"value":"25","used":false},"flags":{"core":{"sourceId":"Item.UkwUABDT8NB8y1mQ"}},"img":"icons/svg/mystery-man.svg","effects":[],"_id":"vyW9DUMDPYqBSCtz"}
|
{"name":"Viljestyrka","permission":{"default":0,"tSnD115pP1EPBAXK":3},"type":"skill","data":{"description":{"value":"","type":"String","label":"ITEM.DESCRIPTION"},"type":{"value":"base","label":"SKILL.TYPE"},"value":"25","used":false},"flags":{"core":{"sourceId":"Item.UkwUABDT8NB8y1mQ"}},"img":"icons/svg/mystery-man.svg","effects":[],"_id":"vyW9DUMDPYqBSCtz"}
|
||||||
{"name":"Väderkunskap","permission":{"default":0,"tSnD115pP1EPBAXK":3},"type":"skill","data":{"description":{"value":"","type":"String","label":"ITEM.DESCRIPTION"},"type":{"value":"adventure","label":"SKILL.TYPE"},"value":"15","used":false},"flags":{"core":{"sourceId":"Item.GxkoQ2KdPh9ogGuJ"}},"img":"icons/svg/mystery-man.svg","effects":[],"_id":"TEOcwEm0Z9GzJS6h"}
|
{"name":"Väderkunskap","permission":{"default":0,"tSnD115pP1EPBAXK":3},"type":"skill","data":{"description":{"value":"","type":"String","label":"ITEM.DESCRIPTION"},"type":{"value":"adventure","label":"SKILL.TYPE"},"value":"15","used":false},"flags":{"core":{"sourceId":"Item.GxkoQ2KdPh9ogGuJ"}},"img":"icons/svg/mystery-man.svg","effects":[],"_id":"TEOcwEm0Z9GzJS6h"}
|
||||||
{"name":"Yxor","permission":{"default":0,"tSnD115pP1EPBAXK":3},"type":"skill","data":{"description":{"value":"","type":"String","label":"ITEM.DESCRIPTION"},"type":{"value":"combat","label":"SKILL.TYPE"},"value":"30","used":false},"flags":{"core":{"sourceId":"Item.b9no6ZeE5KyG9AfT"}},"img":"icons/svg/mystery-man.svg","effects":[],"_id":"BKu4BwEspAMQ5Yn3"}
|
{"name":"Yxor","permission":{"default":0,"tSnD115pP1EPBAXK":3},"type":"skill","data":{"description":{"value":"","type":"String","label":"ITEM.DESCRIPTION"},"type":{"value":"combat","label":"SKILL.TYPE"},"value":"30","used":false},"flags":{"core":{"sourceId":"Item.b9no6ZeE5KyG9AfT"}},"img":"icons/svg/mystery-man.svg","effects":[],"_id":"BKu4BwEspAMQ5Yn3"}
|
||||||
|
{"name":"Utstrålning","permission":{"default":0,"tSnD115pP1EPBAXK":3},"type":"skill","data":{"description":{"value":"","type":"String","label":"ITEM.DESCRIPTION"},"type":{"value":"base","label":"SKILL.TYPE"},"value":"25","used":false},"flags":{"core":{"sourceId":"Item.VWaRRqiUlMw1nPUn"}},"img":"icons/svg/mystery-man.svg","effects":[],"_id":"4yFL38tdvBenZKBQ"}
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
"Svärd",
|
"Svärd",
|
||||||
"Taktik",
|
"Taktik",
|
||||||
"Uthållighet",
|
"Uthållighet",
|
||||||
|
"Utstrålning",
|
||||||
"Viljestyrka",
|
"Viljestyrka",
|
||||||
"Väderkunskap",
|
"Väderkunskap",
|
||||||
"Yxor"
|
"Yxor"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="adversary">
|
<div class="adversary">
|
||||||
<div class="header grid-container" style="grid-template-columns: auto 1fr auto 1fr auto;margin-bottom: 5px">
|
<div class="header grid-container" style="grid-template-columns: auto 1fr auto 1fr auto;margin-bottom: 5px">
|
||||||
<div class="avatar flex-group-center" style="grid-row: 1/7;">
|
<div class="avatar flex-group-center" style="grid-row: 1/7;">
|
||||||
<img class="actor-avatar-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" />
|
<img class="profile-img actor-avatar-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label style="margin: auto;">{{localize "BIO.NAME"}}:</label>
|
<label style="margin: auto;">{{localize "BIO.NAME"}}:</label>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="character">
|
<div class="character">
|
||||||
<div class="header grid-container" style="grid-template-columns: auto auto 1.7fr 2fr;">
|
<div class="header grid-container" style="grid-template-columns: auto auto 1.7fr 2fr;">
|
||||||
<div class="avatar flex-group-center" style="grid-row: 1/7;">
|
<div class="avatar flex-group-center" style="grid-row: 1/7;">
|
||||||
<img class="actor-avatar-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" />
|
<img class="profile-img actor-avatar-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label style="margin: auto;">{{localize "BIO.NAME"}}:</label>
|
<label style="margin: auto;">{{localize "BIO.NAME"}}:</label>
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
<div class="tab" data-group="primary" data-tab="bio">
|
<div class="tab" data-group="primary" data-tab="bio">
|
||||||
{{> systems/kopparhavet/templates/parts/actor/bio.html}}
|
{{> systems/kopparhavet/templates/parts/actor/bio.html}}
|
||||||
</div>
|
</div>
|
||||||
<div class="tab note border" data-group="primary" data-tab="note">
|
<div class="tab note border" data-group="primary" data-tab="note" style="border-top: none;">
|
||||||
{{editor content=data.bio.note.value target="data.bio.note.value" button=true owner=owner editable=editable}}
|
{{editor content=data.bio.note.value target="data.bio.note.value" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue