Compare commits
14 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
f03d350768 | |
|
|
4df687637a | |
|
|
c5f752331a | |
|
|
b3e7085f93 | |
|
|
ed945f1311 | |
|
|
794d62f48b | |
|
|
dcaaa4206a | |
|
|
93e2702915 | |
|
|
81ba365c57 | |
|
|
7ffdaa2c4c | |
|
|
51b349e625 | |
|
|
06c7cdc9c0 | |
|
|
0cb17abdd6 | |
|
|
aa141a36e5 |
|
|
@ -1,2 +1,3 @@
|
|||
# Ravenous RPG system for Foundry Virtual Tabletop
|
||||
---------------------
|
||||
test
|
||||
|
|
|
|||
2
TODO.md
2
TODO.md
|
|
@ -1,6 +1,6 @@
|
|||
# List of tasks at hand
|
||||
* Designer une feuille de perso
|
||||
* Reverse engineer la facon d'utiliser le meta language de FVTT ou lire la doc, si on est faible
|
||||
* Reverse engineer la facon d'utiliser le meta langage de FVTT ou lire la doc, si on est faible
|
||||
* Implementer la feuille en html
|
||||
* Implementer les jets de des
|
||||
* Implementer les items
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
height: 100%;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header {
|
||||
flex: 0 0 100px;
|
||||
flex: 0 0 auto;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
@ -20,26 +20,35 @@
|
|||
justify-content: flex-start;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header .profile-img {
|
||||
flex: 0 0 100px;
|
||||
height: 100px;
|
||||
.vtt_sys_ravenous .sheet-header .header-container {
|
||||
display: grid;
|
||||
grid-template: "a a a" auto "b c d" auto / fit-content(100%) auto auto;
|
||||
}
|
||||
|
||||
.vtt_sys_ravenous .sheet-header .header-container .pc-name {
|
||||
width: 160px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header .header-fields {
|
||||
flex: 1;
|
||||
height: 100px;
|
||||
|
||||
.vtt_sys_ravenous .sheet-header .header-container .caracs {
|
||||
display: grid;
|
||||
grid-area: b;
|
||||
grid-template: "a a a a" "b b c c" "d d e e" "f f g g" "h h i i" / 30px 50px 30px 50px;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header h1.charname {
|
||||
height: 50px;
|
||||
padding: 0px;
|
||||
margin: 5px 0;
|
||||
border-bottom: 0;
|
||||
|
||||
.vtt_sys_ravenous .sheet-header .header-container .caracs .caracs-header {
|
||||
grid-area: a;
|
||||
align-self: center;
|
||||
justify-self: center;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header h1.charname input {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
.vtt_sys_ravenous .sheet-header .header-container .caracs input {
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
.vtt_sys_ravenous .sheet-header .header-container .caracs label {
|
||||
}
|
||||
|
||||
.vtt_sys_ravenous .resource {
|
||||
width: 50%;
|
||||
height: 40px;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "vtt_sys_ravenous",
|
||||
"title": "Ravenous Game System",
|
||||
"description": "With ravenous hunger.",
|
||||
"version": "0.0.1a",
|
||||
"version": "0.0.5h",
|
||||
"minimumCoreVersion": "0.8.9",
|
||||
"compatibleCoreVersion": "9",
|
||||
"author": "Cocobug Inc.",
|
||||
|
|
@ -20,8 +20,8 @@
|
|||
"gridUnits": "m",
|
||||
"primaryTokenAttribute": "health",
|
||||
"secondaryTokenAttribute": "power",
|
||||
"url": "https://github.com/Cocobug/vtt_sys_ravenous/",
|
||||
"manifest": "https://raw.githubusercontent.com/Cocobug/vtt_sys_ravenous/0.0.1a/system.json",
|
||||
"download": "https://github.com/Cocobug/vtt_sys_ravenous/archive/refs/tags/0.0.1a.zip",
|
||||
"url": "https://proxy.dandaedre.com/gitea/Dandaedre/vtt_sys_ravenous",
|
||||
"manifest": "https://proxy.dandaedre.com/gitea/Dandaedre/vtt_sys_ravenous/raw/branch/main/system.json",
|
||||
"download": "https://proxy.dandaedre.com/gitea/Dandaedre/vtt_sys_ravenous/archive/main.zip",
|
||||
"license": "LICENSE.txt"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,16 @@
|
|||
"Actor": {
|
||||
"types": ["character"],
|
||||
"character": {
|
||||
"caracteristics": {
|
||||
"str": 0,
|
||||
"agi": 0,
|
||||
"per": 0,
|
||||
"chr": 0,
|
||||
"int": 0,
|
||||
"wpr": 0,
|
||||
"psy": 0,
|
||||
"chn": 0
|
||||
},
|
||||
"biography": "",
|
||||
"health": {
|
||||
"value": 10,
|
||||
|
|
@ -13,7 +23,9 @@
|
|||
"min": 0,
|
||||
"max": 5
|
||||
},
|
||||
"attributes": {},
|
||||
"attributes": {
|
||||
"torque": 1
|
||||
},
|
||||
"groups": {}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,21 +2,29 @@
|
|||
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{data.img}}" data-edit="img" title="{{data.name}}" height="100" width="100" />
|
||||
<div class="header-fields">
|
||||
<h1 class="charname">
|
||||
<input name="name" type="text" value="{{data.name}}" placeholder="Name" />
|
||||
</h1>
|
||||
<div class="resource">
|
||||
<input type="number" name="data.health.value" value="{{systemData.health.value}}"/>
|
||||
<span> / </span>
|
||||
<input type="number" name="data.health.max" value="{{systemData.health.max}}"/>
|
||||
</div>
|
||||
<div class="resource">
|
||||
<input type="number" name="data.power.value" value="{{systemData.power.value}}"/>
|
||||
<span> / </span>
|
||||
<input type="number" name="data.power.max" value="{{systemData.power.max}}"/>
|
||||
<div class="header-container">
|
||||
<div><input name="name" class="pc-name" type="text" placeholder="Name" value="{{data.name}}"></div>
|
||||
<div class="caracs">
|
||||
<div class="caracs-header"><h3>Caracteristiques</h3></div>
|
||||
<div><label for="strenght">Str</label></div>
|
||||
<div><input name="data.caracteristics.str" id="strenght" type="number" value="{{systemData.caracteristics.str}}"></div>
|
||||
<div><label for="intelligence">Int</label></div>
|
||||
<div><input name="data.caracteristics.int" id="intelligence" type="number" value="{{systemData.caracteristics.int}}"></div>
|
||||
<div><label for="agility">Agi</label></div>
|
||||
<div><input name="data.caracteristics.agi" id="agility" type="number" value="{{systemData.caracteristics.agi}}"></div>
|
||||
<div><label for="willpower">WP</label></div>
|
||||
<div><input name="data.caracteristics.wpr" id="willpower" type="number" value="{{systemData.caracteristics.wpr}}"></div>
|
||||
<div><label for="psy">Psy</label></div>
|
||||
<div><input name="data.caracteristics.psy" id="psy" type="number" value="{{systemData.caracteristics.psy}}"></div>
|
||||
<div><label for="charisma">Chr</label></div>
|
||||
<div><input name="data.caracteristics.chr" id="charisma" type="number" value="{{systemData.caracteristics.chr}}"></div>
|
||||
<div><label for="perception">Per</label></div>
|
||||
<div><input name="data.caracteristics.per" id="perception" type="number" value="{{systemData.caracteristics.per}}"></div>
|
||||
<div><label for="chance">Luk</label></div>
|
||||
<div><input name="data.caracteristics.chn" id="chance" type="number" value="{{systemData.caracteristics.chn}}"></div>
|
||||
</div>
|
||||
<div>Zone PV</div>
|
||||
<div>Zone Armure</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
|
@ -25,6 +33,7 @@
|
|||
<a class="item" data-tab="description">Description</a>
|
||||
<a class="item" data-tab="items">Items</a>
|
||||
<a class="item" data-tab="attributes">Attributes</a>
|
||||
<a class="item" data-tab="torque">Torque</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
|
|
@ -111,5 +120,16 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Torque Tab --}}
|
||||
<div class="tab attributes" data-group="primary" data-tab="torque">
|
||||
<header class="attributes-header flexrow">
|
||||
<span class="attribute-key">{{localize "SIMPLE.AttributeKey"}}</span>
|
||||
<span class="attribute-value">{{localize "SIMPLE.AttributeValue"}}</span>
|
||||
<span class="attribute-label">{{localize "SIMPLE.AttributeLabel"}}</span>
|
||||
<span class="attribute-dtype">{{localize "SIMPLE.AttributeDtype"}}</span>
|
||||
<a class="attribute-control" data-action="create" data-group="{{group}}"><i class="fas fa-plus"></i></a>
|
||||
</header>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
</form>
|
||||
|
|
|
|||
Reference in New Issue