mirror of
https://github.com/RoY7x/worldbuilding.git
synced 2025-04-30 02:31:41 -04:00
Update the Simple Worldbuilding system for compatibility with 0.5.6
This commit is contained in:
parent
d405a18f53
commit
d66a64b939
5 changed files with 12 additions and 11 deletions
|
@ -11,7 +11,8 @@ export class SimpleActorSheet extends ActorSheet {
|
||||||
template: "systems/worldbuilding/templates/actor-sheet.html",
|
template: "systems/worldbuilding/templates/actor-sheet.html",
|
||||||
width: 600,
|
width: 600,
|
||||||
height: 600,
|
height: 600,
|
||||||
tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}]
|
tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}],
|
||||||
|
dragDrop: [{dragSelector: ".item-list .item", dropSelector: null}]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,26 +72,26 @@
|
||||||
.worldbuilding .editor-content {
|
.worldbuilding .editor-content {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.worldbuilding .items-list {
|
.worldbuilding .item-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 7px 0;
|
margin: 7px 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.worldbuilding .items-list .item {
|
.worldbuilding .item-list .item {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
padding: 3px 0;
|
padding: 3px 0;
|
||||||
border-bottom: 1px solid #BBB;
|
border-bottom: 1px solid #BBB;
|
||||||
}
|
}
|
||||||
.worldbuilding .items-list .item img {
|
.worldbuilding .item-list .item img {
|
||||||
flex: 0 0 24px;
|
flex: 0 0 24px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
.worldbuilding .items-list .item-name {
|
.worldbuilding .item-list .item-name {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.worldbuilding .items-list .item-controls {
|
.worldbuilding .item-list .item-controls {
|
||||||
flex: 0 0 36px;
|
flex: 0 0 36px;
|
||||||
}
|
}
|
||||||
.worldbuilding .attributes-header {
|
.worldbuilding .attributes-header {
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Items List */
|
/* Items List */
|
||||||
.items-list {
|
.item-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 7px 0;
|
margin: 7px 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
"name": "worldbuilding",
|
"name": "worldbuilding",
|
||||||
"title": "Simple World-Building",
|
"title": "Simple World-Building",
|
||||||
"description": "A minimalist game system with very simple Actor and Item models to support free-form system agnostic gameplay.",
|
"description": "A minimalist game system with very simple Actor and Item models to support free-form system agnostic gameplay.",
|
||||||
"version": 0.35,
|
"version": 0.36,
|
||||||
"minimumCoreVersion": "0.5.2",
|
"minimumCoreVersion": "0.5.6",
|
||||||
"compatibleCoreVersion": "0.5.5",
|
"compatibleCoreVersion": "0.5.7",
|
||||||
"templateVersion": 2,
|
"templateVersion": 2,
|
||||||
"author": "Atropos",
|
"author": "Atropos",
|
||||||
"esmodules": ["module/simple.js"],
|
"esmodules": ["module/simple.js"],
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
{{!-- Owned Items Tab --}}
|
{{!-- Owned Items Tab --}}
|
||||||
<div class="tab items" data-group="primary" data-tab="items">
|
<div class="tab items" data-group="primary" data-tab="items">
|
||||||
<ol class="items-list">
|
<ol class="item-list">
|
||||||
{{#each actor.items as |item id|}}
|
{{#each actor.items as |item id|}}
|
||||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||||
<img src="{{item.img}}" title="{{item.name}}" width="24" height="24"/>
|
<img src="{{item.img}}" title="{{item.name}}" width="24" height="24"/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue