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
|
# Ravenous RPG system for Foundry Virtual Tabletop
|
||||||
---------------------
|
---------------------
|
||||||
|
test
|
||||||
|
|
|
||||||
2
TODO.md
2
TODO.md
|
|
@ -1,6 +1,6 @@
|
||||||
# List of tasks at hand
|
# List of tasks at hand
|
||||||
* Designer une feuille de perso
|
* 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 la feuille en html
|
||||||
* Implementer les jets de des
|
* Implementer les jets de des
|
||||||
* Implementer les items
|
* Implementer les items
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.vtt_sys_ravenous .sheet-header {
|
.vtt_sys_ravenous .sheet-header {
|
||||||
flex: 0 0 100px;
|
flex: 0 0 auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
@ -20,26 +20,35 @@
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
.vtt_sys_ravenous .sheet-header .profile-img {
|
.vtt_sys_ravenous .sheet-header .header-container {
|
||||||
flex: 0 0 100px;
|
display: grid;
|
||||||
height: 100px;
|
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;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.vtt_sys_ravenous .sheet-header .header-fields {
|
|
||||||
flex: 1;
|
.vtt_sys_ravenous .sheet-header .header-container .caracs {
|
||||||
height: 100px;
|
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;
|
.vtt_sys_ravenous .sheet-header .header-container .caracs .caracs-header {
|
||||||
padding: 0px;
|
grid-area: a;
|
||||||
margin: 5px 0;
|
align-self: center;
|
||||||
border-bottom: 0;
|
justify-self: center;
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
.vtt_sys_ravenous .sheet-header h1.charname input {
|
.vtt_sys_ravenous .sheet-header .header-container .caracs input {
|
||||||
width: 100%;
|
width: 35px;
|
||||||
height: 100%;
|
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.vtt_sys_ravenous .sheet-header .header-container .caracs label {
|
||||||
|
}
|
||||||
|
|
||||||
.vtt_sys_ravenous .resource {
|
.vtt_sys_ravenous .resource {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "vtt_sys_ravenous",
|
"name": "vtt_sys_ravenous",
|
||||||
"title": "Ravenous Game System",
|
"title": "Ravenous Game System",
|
||||||
"description": "With ravenous hunger.",
|
"description": "With ravenous hunger.",
|
||||||
"version": "0.0.1a",
|
"version": "0.0.5h",
|
||||||
"minimumCoreVersion": "0.8.9",
|
"minimumCoreVersion": "0.8.9",
|
||||||
"compatibleCoreVersion": "9",
|
"compatibleCoreVersion": "9",
|
||||||
"author": "Cocobug Inc.",
|
"author": "Cocobug Inc.",
|
||||||
|
|
@ -20,8 +20,8 @@
|
||||||
"gridUnits": "m",
|
"gridUnits": "m",
|
||||||
"primaryTokenAttribute": "health",
|
"primaryTokenAttribute": "health",
|
||||||
"secondaryTokenAttribute": "power",
|
"secondaryTokenAttribute": "power",
|
||||||
"url": "https://github.com/Cocobug/vtt_sys_ravenous/",
|
"url": "https://proxy.dandaedre.com/gitea/Dandaedre/vtt_sys_ravenous",
|
||||||
"manifest": "https://raw.githubusercontent.com/Cocobug/vtt_sys_ravenous/0.0.1a/system.json",
|
"manifest": "https://proxy.dandaedre.com/gitea/Dandaedre/vtt_sys_ravenous/raw/branch/main/system.json",
|
||||||
"download": "https://github.com/Cocobug/vtt_sys_ravenous/archive/refs/tags/0.0.1a.zip",
|
"download": "https://proxy.dandaedre.com/gitea/Dandaedre/vtt_sys_ravenous/archive/main.zip",
|
||||||
"license": "LICENSE.txt"
|
"license": "LICENSE.txt"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,16 @@
|
||||||
"Actor": {
|
"Actor": {
|
||||||
"types": ["character"],
|
"types": ["character"],
|
||||||
"character": {
|
"character": {
|
||||||
|
"caracteristics": {
|
||||||
|
"str": 0,
|
||||||
|
"agi": 0,
|
||||||
|
"per": 0,
|
||||||
|
"chr": 0,
|
||||||
|
"int": 0,
|
||||||
|
"wpr": 0,
|
||||||
|
"psy": 0,
|
||||||
|
"chn": 0
|
||||||
|
},
|
||||||
"biography": "",
|
"biography": "",
|
||||||
"health": {
|
"health": {
|
||||||
"value": 10,
|
"value": 10,
|
||||||
|
|
@ -13,7 +23,9 @@
|
||||||
"min": 0,
|
"min": 0,
|
||||||
"max": 5
|
"max": 5
|
||||||
},
|
},
|
||||||
"attributes": {},
|
"attributes": {
|
||||||
|
"torque": 1
|
||||||
|
},
|
||||||
"groups": {}
|
"groups": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -2,21 +2,29 @@
|
||||||
|
|
||||||
{{!-- Sheet Header --}}
|
{{!-- Sheet Header --}}
|
||||||
<header class="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-container">
|
||||||
<div class="header-fields">
|
<div><input name="name" class="pc-name" type="text" placeholder="Name" value="{{data.name}}"></div>
|
||||||
<h1 class="charname">
|
<div class="caracs">
|
||||||
<input name="name" type="text" value="{{data.name}}" placeholder="Name" />
|
<div class="caracs-header"><h3>Caracteristiques</h3></div>
|
||||||
</h1>
|
<div><label for="strenght">Str</label></div>
|
||||||
<div class="resource">
|
<div><input name="data.caracteristics.str" id="strenght" type="number" value="{{systemData.caracteristics.str}}"></div>
|
||||||
<input type="number" name="data.health.value" value="{{systemData.health.value}}"/>
|
<div><label for="intelligence">Int</label></div>
|
||||||
<span> / </span>
|
<div><input name="data.caracteristics.int" id="intelligence" type="number" value="{{systemData.caracteristics.int}}"></div>
|
||||||
<input type="number" name="data.health.max" value="{{systemData.health.max}}"/>
|
<div><label for="agility">Agi</label></div>
|
||||||
</div>
|
<div><input name="data.caracteristics.agi" id="agility" type="number" value="{{systemData.caracteristics.agi}}"></div>
|
||||||
<div class="resource">
|
<div><label for="willpower">WP</label></div>
|
||||||
<input type="number" name="data.power.value" value="{{systemData.power.value}}"/>
|
<div><input name="data.caracteristics.wpr" id="willpower" type="number" value="{{systemData.caracteristics.wpr}}"></div>
|
||||||
<span> / </span>
|
<div><label for="psy">Psy</label></div>
|
||||||
<input type="number" name="data.power.max" value="{{systemData.power.max}}"/>
|
<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>
|
||||||
|
<div>Zone PV</div>
|
||||||
|
<div>Zone Armure</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
@ -25,6 +33,7 @@
|
||||||
<a class="item" data-tab="description">Description</a>
|
<a class="item" data-tab="description">Description</a>
|
||||||
<a class="item" data-tab="items">Items</a>
|
<a class="item" data-tab="items">Items</a>
|
||||||
<a class="item" data-tab="attributes">Attributes</a>
|
<a class="item" data-tab="attributes">Attributes</a>
|
||||||
|
<a class="item" data-tab="torque">Torque</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
|
|
@ -111,5 +120,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
Reference in New Issue