Compare commits

..

No commits in common. "main" and "0.0.2a" have entirely different histories.
main ... 0.0.2a

6 changed files with 37 additions and 79 deletions

View File

@ -1,3 +1,2 @@
# Ravenous RPG system for Foundry Virtual Tabletop
---------------------
test

View File

@ -1,6 +1,6 @@
# List of tasks at hand
* Designer une feuille de perso
* Reverse engineer la facon d'utiliser le meta langage de FVTT ou lire la doc, si on est faible
* Reverse engineer la facon d'utiliser le meta language de FVTT ou lire la doc, si on est faible
* Implementer la feuille en html
* Implementer les jets de des
* Implementer les items

View File

@ -12,7 +12,7 @@
height: 100%;
}
.vtt_sys_ravenous .sheet-header {
flex: 0 0 auto;
flex: 0 0 100px;
overflow: hidden;
display: flex;
flex-direction: row;
@ -20,35 +20,26 @@
justify-content: flex-start;
margin-bottom: 10px;
}
.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;
.vtt_sys_ravenous .sheet-header .profile-img {
flex: 0 0 100px;
height: 100px;
margin-right: 10px;
}
.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 .header-fields {
flex: 1;
height: 100px;
}
.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 {
height: 50px;
padding: 0px;
margin: 5px 0;
border-bottom: 0;
}
.vtt_sys_ravenous .sheet-header .header-container .caracs input {
width: 35px;
.vtt_sys_ravenous .sheet-header h1.charname input {
width: 100%;
height: 100%;
margin: 0;
}
.vtt_sys_ravenous .sheet-header .header-container .caracs label {
}
.vtt_sys_ravenous .resource {
width: 50%;
height: 40px;

View File

@ -2,7 +2,7 @@
"name": "vtt_sys_ravenous",
"title": "Ravenous Game System",
"description": "With ravenous hunger.",
"version": "0.0.5h",
"version": "0.0.1a",
"minimumCoreVersion": "0.8.9",
"compatibleCoreVersion": "9",
"author": "Cocobug Inc.",
@ -20,8 +20,8 @@
"gridUnits": "m",
"primaryTokenAttribute": "health",
"secondaryTokenAttribute": "power",
"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",
"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",
"license": "LICENSE.txt"
}

View File

@ -2,16 +2,6 @@
"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,
@ -23,9 +13,7 @@
"min": 0,
"max": 5
},
"attributes": {
"torque": 1
},
"attributes": {},
"groups": {}
}
},

View File

@ -2,29 +2,21 @@
{{!-- Sheet Header --}}
<header class="sheet-header">
<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>
<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>
<div>Zone PV</div>
<div>Zone Armure</div>
</div>
</header>
@ -33,7 +25,6 @@
<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 --}}
@ -120,16 +111,5 @@
</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>