Ajout sorts + saisie
This commit is contained in:
parent
3a5a3e9cc5
commit
58f692447e
13
RdD.geany
13
RdD.geany
@ -27,17 +27,18 @@ long_line_behaviour=1
|
||||
long_line_column=72
|
||||
|
||||
[files]
|
||||
current_page=0
|
||||
FILE_NAME_0=8694;JSON;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplate.json;0;2
|
||||
current_page=5
|
||||
FILE_NAME_0=9147;JSON;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplate.json;0;2
|
||||
FILE_NAME_1=3682;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor-sheet.js;0;2
|
||||
FILE_NAME_2=17891;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Factor-sheet.html;0;2
|
||||
FILE_NAME_3=13913;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Factor.js;0;2
|
||||
FILE_NAME_4=416;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fdialog-roll-carac.html;0;2
|
||||
FILE_NAME_5=20216;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-utility.js;0;2
|
||||
FILE_NAME_5=5840;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-utility.js;0;2
|
||||
FILE_NAME_6=135;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Frdd-main.js;0;2
|
||||
FILE_NAME_7=1639;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-competence-sheet.html;0;2
|
||||
FILE_NAME_8=487;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-armure-sheet.html;0;2
|
||||
FILE_NAME_9=1122;Javascript;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Fmodule%2Fitem-sheet.js;0;2
|
||||
FILE_NAME_7=617;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-competence-sheet.html;0;2
|
||||
FILE_NAME_8=1217;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fitem-sort-sheet.html;0;2
|
||||
FILE_NAME_9=160;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fsort-draconic.html;0;2
|
||||
FILE_NAME_10=284;HTML;0;EUTF-8;0;1;0;%2Fhome%2Fsigmar%2Fwork%2Ffoundryvtt%2Ffoundryvtt-reve-de-dragon%2Ftemplates%2Fsort-tmr.html;0;2
|
||||
|
||||
[VTE]
|
||||
last_dir=/home/sigmar
|
||||
|
@ -80,10 +80,13 @@ export class RdDUtility {
|
||||
'systems/foundryvtt-reve-de-dragon/templates/item-armure-sheet.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/item-objet-sheet.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/item-conteneur-sheet.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/item-sort-sheet.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/competence-categorie.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/competence-carac-defaut.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/competence-base.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/arme-competence.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/sort-draconic.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html',
|
||||
// Dialogs
|
||||
'systems/foundryvtt-reve-de-dragon/templates/dialog-competence.html',
|
||||
'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.html'
|
||||
|
@ -2,10 +2,10 @@
|
||||
"name": "foundryvtt-reve-de-dragon",
|
||||
"title": "Rêve de Dragon",
|
||||
"description": "L'implémentation de Rêve de Dragon pour FoundryVTT",
|
||||
"version": "0.7.6",
|
||||
"version": "0.7.7",
|
||||
"minimumCoreVersion": "0.6.0",
|
||||
"compatibleCoreVersion": "0.6.2",
|
||||
"templateVersion": 15,
|
||||
"templateVersion": 16,
|
||||
"author": "LeRatierBretonnien",
|
||||
"esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ],
|
||||
"styles": ["styles/simple.css"],
|
||||
|
@ -346,13 +346,20 @@
|
||||
"sort": {
|
||||
"description": "",
|
||||
"draconic": "",
|
||||
"difficulte": 0,
|
||||
"portée": 0
|
||||
"duree": "",
|
||||
"JR": "",
|
||||
"cible": "",
|
||||
"difficulte": "",
|
||||
"portée": "",
|
||||
"caseTMR": "",
|
||||
"caseTMRspeciale": "",
|
||||
"ptreve": ""
|
||||
},
|
||||
"herbe": {
|
||||
"description": "",
|
||||
"niveau": 0,
|
||||
"base": 0,
|
||||
"quantite": 1,
|
||||
"cout": 0
|
||||
},
|
||||
"ingredient": {
|
||||
@ -360,6 +367,7 @@
|
||||
"niveau": 0,
|
||||
"encombrement": 0,
|
||||
"base": 0,
|
||||
"quantite": 1,
|
||||
"cout": 0
|
||||
},
|
||||
"tache": {
|
||||
@ -372,6 +380,7 @@
|
||||
"livre": {
|
||||
"description": "",
|
||||
"auteur": "",
|
||||
"quantite": 1,
|
||||
"difficulte": 0,
|
||||
"points_de_tache": 0,
|
||||
"encombrement": 0,
|
||||
@ -379,6 +388,7 @@
|
||||
},
|
||||
"potion": {
|
||||
"description": "",
|
||||
"quantite": 1,
|
||||
"encombrement": 0,
|
||||
"cout": 0
|
||||
}
|
||||
|
63
templates/item-sort-sheet.html
Normal file
63
templates/item-sort-sheet.html
Normal file
@ -0,0 +1,63 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<div class="form-group">
|
||||
<label for="categorie">Draconic </label>
|
||||
<select name="data.draconic" id="draconic" data-dtype="String">
|
||||
{{#select item.data.draconic}}
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-draconic.html"}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">Case TMR </label>
|
||||
<select name="data.caseTMR" id="caseTMR" data-dtype="String">
|
||||
{{#select item.data.caseTMR}}
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html"}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">Case TMR Spéciale </label>
|
||||
<input class="attribute-value" type="text" name="data.caseTMRspeciale" value="{{data.caseTMRspeciale}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">Difficulté </label>
|
||||
<input class="attribute-value" type="text" name="data.difficulte" value="{{data.difficulte}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">Coût en Rêve </label>
|
||||
<input class="attribute-value" type="text" name="data.ptreve" value="{{data.ptreve}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">Durée </label>
|
||||
<input class="attribute-value" type="text" name="data.duree" value="{{data.duree}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">Portée </label>
|
||||
<input class="attribute-value" type="text" name="data.portee" value="{{data.portee}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">Cible </label>
|
||||
<input class="attribute-value" type="text" name="data.cible" value="{{data.cible}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">Jet de Resistance</label>
|
||||
<input class="attribute-value" type="text" name="data.JR" value="{{data.JR}}" data-dtype="String"/>
|
||||
</div>
|
||||
<header class="header-field">
|
||||
<span>Description : </span>
|
||||
</header>
|
||||
<div class="form-group" style="height:200px">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</form>
|
4
templates/sort-draconic.html
Normal file
4
templates/sort-draconic.html
Normal file
@ -0,0 +1,4 @@
|
||||
<option value="oniros">Oniros</option>
|
||||
<option value="hypnos">Hypnos</option>
|
||||
<option value="narcos">Narcos</option>
|
||||
<option value="thanatos">Thanatos</option>
|
15
templates/sort-tmr.html
Normal file
15
templates/sort-tmr.html
Normal file
@ -0,0 +1,15 @@
|
||||
<option value="cite">Cité</option>
|
||||
<option value="collines">Collines</option>
|
||||
<option value="desert">Désert</option>
|
||||
<option value="desolation">Désolation</option>
|
||||
<option value="fleuve">Fleuve</option>
|
||||
<option value="foret">Forêt</option>
|
||||
<option value="gouffre">Gouffre</option>
|
||||
<option value="lac">Lac</option>
|
||||
<option value="marais">Marais</option>
|
||||
<option value="monts">Monts</option>
|
||||
<option value="necropole">Nécropole</option>
|
||||
<option value="plaines">Plaines</option>
|
||||
<option value="pont">Pont</option>
|
||||
<option value="sanctuaire">Sanctuaire</option>
|
||||
<option value="special">Case spéciale TMR (saisie ci-dessous)</option>
|
Loading…
Reference in New Issue
Block a user