Merge pull request #10795 from ChocoLanoar/warpland-new-sheet
[Warpland] New sheet first commit
This commit is contained in:
@@ -0,0 +1,337 @@
|
||||
/*
|
||||
.sheet-container * {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
*/
|
||||
|
||||
.sheet-container {
|
||||
padding: 21px;
|
||||
margin: -21px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
|
||||
input.sheet-theme[value="dark"]:checked ~ div.sheet-container,
|
||||
input.sheet-theme[value="dark"]:checked ~ div.sheet-container div {
|
||||
background-color: darkslategrey;
|
||||
color: gainsboro;
|
||||
font-family: Verdana, sans-serif;
|
||||
}
|
||||
|
||||
input.sheet-theme[value="light"]:checked ~ div.sheet-container,
|
||||
input.sheet-theme[value="light"]:checked ~ div.sheet-container div {
|
||||
background-color: gainsboro;
|
||||
color: darkslategrey;
|
||||
font-family: Verdana, sans-serif;
|
||||
}
|
||||
|
||||
input.sheet-theme[value="dark"]:checked ~ div.sheet-container input,
|
||||
input.sheet-theme[value="dark"]:checked ~ div.sheet-container select,
|
||||
input.sheet-theme[value="dark"]:checked ~ div.sheet-container textarea {
|
||||
color: gainsboro;
|
||||
background: #333;
|
||||
border: 1px solid gainsboro;
|
||||
font-family: cursive;
|
||||
}
|
||||
|
||||
input.sheet-theme[value="light"]:checked ~ div.sheet-container input,
|
||||
input.sheet-theme[value="light"]:checked ~ div.sheet-container select,
|
||||
input.sheet-theme[value="light"]:checked ~ div.sheet-container textarea {
|
||||
color: darkslategrey;
|
||||
background: floralwhite;
|
||||
border: 1px solid darkslategrey;
|
||||
font-family: cursive;
|
||||
}
|
||||
|
||||
input.sheet-fontSize[value="small"]:checked ~ div.sheet-container textarea {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
input.sheet-fontSize[value="normal"]:checked ~ div.sheet-container textarea {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
|
||||
.sheet-container div {
|
||||
|
||||
/*
|
||||
background-color: black;
|
||||
color: white;
|
||||
*/
|
||||
}
|
||||
|
||||
.sheet-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sheet-sectionTitle {
|
||||
font-size: 160%;
|
||||
font-weight: bold;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
.sheet-sectionSubtitle {
|
||||
font-size: 130%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.sheet-bio {
|
||||
text-align: right;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
div.sheet-bio input[type="text"] {
|
||||
margin: 0;
|
||||
width: 39%;
|
||||
}
|
||||
|
||||
div.sheet-attributes, div.sheet-health{
|
||||
text-align: center;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
div.sheet-colAttributes {
|
||||
text-align: right;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
div.sheet-attribute {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
div.sheet-attribute2 {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sheet-attributeTitle {
|
||||
margin-left: 2px;
|
||||
margin-right: 1px;
|
||||
display: inline-block;
|
||||
font-size: 150%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.sheet-inventory select {
|
||||
width: 60px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
input, select {
|
||||
/*
|
||||
background: #333;
|
||||
color: white;
|
||||
*/
|
||||
}
|
||||
|
||||
div.sheet-spells, div.sheet-inventory {
|
||||
/* border-bottom: 1px solid black; */
|
||||
}
|
||||
|
||||
input.sheet-narrowTextField {
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
input.sheet-wideTextField {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
input[type="number"] {
|
||||
text-align: center;
|
||||
}
|
||||
input[type="number"].sheet-attributeInput {
|
||||
width: 30px;
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
.sheet-oneThird {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.sheet-half {
|
||||
width: 49%;
|
||||
}
|
||||
|
||||
.sheet-twoThirds {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.sheet-full {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
|
||||
div.sheet-notes .repitem {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
textarea {
|
||||
height: 50px;
|
||||
width: calc(100% - 11px);
|
||||
display: inline-block;
|
||||
resize: both;
|
||||
min-width: 20px;
|
||||
max-width: 100%;
|
||||
min-height: 50px;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
line-height: 1.25em;
|
||||
|
||||
}
|
||||
|
||||
textarea.sheet-description {
|
||||
display: block;
|
||||
width: 90%;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
div.sheet-preferences {
|
||||
margin-top: 21px;
|
||||
font-size: smaller;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div.sheet-preferences > div {
|
||||
width: 45%;
|
||||
margin:0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* --------------------- */
|
||||
/* ---- SWITCH PJ/MJ --- */
|
||||
/* --------------------- */
|
||||
div.sheet-blockB {
|
||||
display: none;
|
||||
}
|
||||
.sheet-blockSwitch:checked ~ div.sheet-blockA {
|
||||
display: none;
|
||||
}
|
||||
.sheet-blockSwitch:checked ~ div.sheet-blockB {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
_/_/_/ _/ _/ _/_/_/_/_/ _/_/_/_/_/ _/_/ _/ _/ _/_/_/
|
||||
_/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/
|
||||
_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/
|
||||
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/
|
||||
_/_/_/ _/_/ _/ _/ _/_/ _/ _/ _/_/_/
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
.repcontrol {
|
||||
min-height: 27px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.repcontrol .btn {
|
||||
/* visibility: hidden; */ /* Doesn't work in Firefox! */
|
||||
border: medium none;
|
||||
color: transparent !important;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
float: none;
|
||||
display: inline-block;
|
||||
text-shadow: none !important;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.repcontrol .btn:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.repcontrol .repcontrol_edit {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.repcontrol .repcontrol_edit:after {
|
||||
content: '(';
|
||||
visibility: visible;
|
||||
font-family: pictos;
|
||||
background-color: white;
|
||||
border: 1px solid black;
|
||||
border-radius: 2px;
|
||||
font-size: 12px;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
padding: 2px 4px 2px 4px;
|
||||
color: black;
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
.editmode ~ .repcontrol .repcontrol_edit:after {
|
||||
content: ')';
|
||||
}
|
||||
|
||||
.repcontrol .repcontrol_add:before {
|
||||
content: '&';
|
||||
visibility: visible;
|
||||
font-family: pictos;
|
||||
background-color: #fff;
|
||||
border: 1px solid black;
|
||||
border-radius: 2px;
|
||||
font-size: 12px;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
padding: 2px 4px 2px 4px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.repcontrol .repcontrol_edit:hover:after,
|
||||
.repcontrol .repcontrol_add:hover:before
|
||||
{
|
||||
background-color: #EFEFEF;
|
||||
}
|
||||
|
||||
.sheet-resources .repcontrol {
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.itemcontrol {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.itemcontrol .repcontrol_del {
|
||||
font-size: 10px;
|
||||
margin-top: 3px;
|
||||
padding: 0px;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
.itemcontrol .repcontrol_move {
|
||||
font-size: 10px;
|
||||
margin-top: 3px;
|
||||
padding: 0px;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
/*---- attributeTest rolltemplate -----*/
|
||||
.sheet-rolltemplate-attributeTest .sheet-attrRollContainer {
|
||||
padding: 5px;
|
||||
border: 1px solid darkslategrey;
|
||||
border-radius: 10px;
|
||||
background-color: gainsboro;
|
||||
color: darkslategrey;
|
||||
font-family: Verdana, sans-serif;
|
||||
}
|
||||
|
||||
/* input.sheet-theme[value="dark"]:checked + .sheet-rolltemplate-attributeTest .sheet-attrRollContainer { */
|
||||
/* padding: 5px; */
|
||||
/* border: 1px solid gainsboro; */
|
||||
/* border-radius:10px; */
|
||||
/* background-color: darkslategrey; */
|
||||
/* color: gainsboro; */
|
||||
/* font-family: Verdana, sans-serif; */
|
||||
/* } */
|
||||
|
||||
.sheet-rolltemplate-attributeTest .sheet-attrRollText {
|
||||
/* height: 22px; */
|
||||
}
|
||||
@@ -0,0 +1,377 @@
|
||||
<!-- This sheet is based on a fork of The Black Hack sheet -->
|
||||
|
||||
<!-- Roll querries translation scripts -->
|
||||
<script type="text/worker">
|
||||
on("sheet:opened", function(eventInfo){
|
||||
setAttrs({
|
||||
difficultymacro: getTranslationByKey("ask-difficulty"),
|
||||
defensemacro: getTranslationByKey("ask-defense"),
|
||||
dodgemacro: getTranslationByKey("choice-dodge"),
|
||||
blockmacro: getTranslationByKey("choice-block"),
|
||||
towngenmacro: getTranslationByKey("town-generator"),
|
||||
travelevtmacro: getTranslationByKey("travel-events"),
|
||||
statewarpmacro: getTranslationByKey("state-of-warp"),
|
||||
rollmacro: getTranslationByKey("roll"),
|
||||
mutationsmacro: getTranslationByKey("mutations"),
|
||||
taintmacro: getTranslationByKey("taint"),
|
||||
agirollmacro: getTranslationByKey("agility-roll"),
|
||||
witrollmacro: getTranslationByKey("wits-roll"),
|
||||
migrollmacro: getTranslationByKey("might-roll"),
|
||||
lorrollmacro: getTranslationByKey("lore-roll"),
|
||||
wilrollmacro: getTranslationByKey("willpower-roll"),
|
||||
defrollmacro: getTranslationByKey("defense-roll"),
|
||||
attwithmacro: getTranslationByKey("attack-with"),
|
||||
usagemacro: getTranslationByKey("usage-die-of"),
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- Roll queries translation scripts END -->
|
||||
|
||||
<input type="checkbox" value="dark" name="attr_colorTheme" class="sheet-theme sheet-hidden"/>
|
||||
<input type="checkbox" value="light" name="attr_colorTheme" checked="checked" class="sheet-theme sheet-hidden"/>
|
||||
<input type="checkbox" value="small" name="attr_textareaFontSize" class="sheet-fontSize sheet-hidden"/>
|
||||
<input type="checkbox" value="normal" name="attr_textareaFontSize" checked="checked" class="sheet-fontSize sheet-hidden"/>
|
||||
<input type="checkbox" name="attr_switch" class="sheet-blockSwitch" value="1"><span data-i18n="gm-sheet">Fiche MJ</span>
|
||||
<div class="sheet-container sheet-blockA">
|
||||
|
||||
<div class='sheet-twoColRow'>
|
||||
<div class="sheet-col sheet-oneThird">
|
||||
<span style="font-size: 300%; font-weight: bold; font-family: Georgia, serif; color: firebrick">WARPLAND</span>
|
||||
</div>
|
||||
<div style="padding-right: 50px;" class="sheet-col sheet-twoThirds sheet-bio">
|
||||
<span data-i18n="name">Nom</span> <input type="text" style="width:300px" name="attr_character_name"/>
|
||||
<div style="display:block; margin-bottom: 10px;"><span data-i18n="aspect">Allure</span> <input type="text" style="width:300px" name="attr_allure"/></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-attributes sheet-row">
|
||||
<span data-i18n="flaws">Défauts</span> <input style="width:200px" type="text" name="attr_defauts" data-i18n-placeholder="flaw1-flaw2-etc" placeholder="Défaut 1, défaut 2, …"/>
|
||||
<span data-i18n="proverb">Devise</span> <input type="text" class="sheet-twoThirds" name="attr_education" data-i18n-placeholder="all-good-things-come-to-an-end" placeholder="Toutes les bonnes choses ont une fin."/>
|
||||
</div>
|
||||
|
||||
<div class="sheet-attributes">
|
||||
<div class="sheet-col sheet-colAttributes sheet-oneThird">
|
||||
<div class="sheet-attribute">
|
||||
<button type="roll" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{agirollmacro}}} {{attribute=[[@{Agility}[Attribute]+?{@{difficultymacro}|0}[Difficulty]]]}} {{rollResult=[[2d6cs0cf0]]}}"></button>
|
||||
<span class="sheet-attributeTitle" data-i18n="agility">Agilité</span> <input type="number" class="sheet-attributeInput" name="attr_Agility" value="5"/>
|
||||
</div>
|
||||
|
||||
<div class="sheet-attribute">
|
||||
<button type="roll" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{witrollmacro}}} {{attribute=[[@{Wits}[Attribute]+?{@{difficultymacro}|0}[Difficulty]]]}} {{rollResult=[[2d6cs0cf0]]}}"></button>
|
||||
<span class="sheet-attributeTitle" data-i18n="wits">Esprit</span> <input type="number" class="sheet-attributeInput" name="attr_Wits" value="5"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-col sheet-colAttributes sheet-oneThird">
|
||||
<div class="sheet-attribute">
|
||||
<button type="roll" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{migrollmacro}}} {{attribute=[[@{Might}[Attribute]+?{@{difficultymacro}|0}[Difficulty]]]}} {{rollResult=[[2d6cs0cf0]]}}"></button>
|
||||
<span class="sheet-attributeTitle" data-i18n="might">Puissance</span> <input type="number" class="sheet-attributeInput" name="attr_Might" value="5"/>
|
||||
</div>
|
||||
|
||||
<div class="sheet-attribute">
|
||||
<button type="roll" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{lorrollmacro}}} {{attribute=[[@{Lore}[Attribute]+?{@{difficultymacro}|0}[Difficulty]]]}} {{rollResult=[[2d6cs0cf0]]}}"></button>
|
||||
<span class="sheet-attributeTitle" data-i18n="lore">Savoir</span> <input type="number" class="sheet-attributeInput" name="attr_Lore" value="5"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sheet-col sheet-colAttributes sheet-oneThird">
|
||||
<div class="sheet-attribute2">
|
||||
<span data-i18n="hit-points">Points de vie</span> <input type="number" name="attr_hp"/> / <input type="number" style="margin-right: 20px;" name="attr_hpmax"/>
|
||||
</div>
|
||||
<div class="sheet-attribute2">
|
||||
<button type="roll" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{wilrollmacro}}} {{attribute=[[@{vol}+5]]}} {{rollResult=[[2d6cs0cf0]]}}"></button><span data-i18n="willpower">Volonté</span> <input type="number" name="attr_vol"/> / <input type="number" style="margin-right: 20px;" name="attr_volmax"/>
|
||||
</div>
|
||||
<div class="sheet-attribute2">
|
||||
<button type="roll" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{defrollmacro}}} {{defense=[[?{@{defensemacro}|@{dodgemacro},@{Agility}|@{blockmacro},@{Might}}[Attribute]+?{@{difficultymacro}|0}[Difficulty]]]}} {{damages=[[ [[2d6cs0cf0]] - [[?{@{defensemacro}|@{dodgemacro},@{Agility}|@{blockmacro},@{Might}} + ?{@{difficultymacro}|0}[Difficulty]]] ]]}} {{rollResult=$[[1]]}} {{armor=@{armor}}}"></button><span data-i18n="armor">Armure</span> <input type="text" style="width: 150px" name="attr_armor"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-health">
|
||||
<span data-i18n="wounded-u">BLESSÉ</span> <input type="checkbox" value="blesse" name="attr_blesse"/>
|
||||
<span data-i18n="heavily-wounded-u">GR. BLESSÉ</span> <input type="checkbox" value="grBlesse" name="attr_grBlesse"/>
|
||||
<span data-i18n="incapacitated-u">INCAPACITÉ</span> <input type="checkbox" value="incap" name="attr_incap"/>
|
||||
<span data-i18n="exhausted-u">ÉPUISÉ</span> <input type="checkbox" value="epuise" name="attr_epuise"/>
|
||||
</div>
|
||||
|
||||
<div class="sheet-spells" style="margin-top: 10px;">
|
||||
<span class="sheet-sectionTitle" data-i18n="skills">Expertises</span> <span data-i18n="one-for-each-point-above-five-in-lore">1 par point de Savoir > 5</span>
|
||||
<fieldset class="repeating_skill">
|
||||
<input type="text" name="attr_skillName" class="sheet-twoThird"/>
|
||||
<input type="text" name="attr_skillMacro" class="sheet-oneThird" placeholder="eg : 1d20"/>
|
||||
<button type="roll" name="roll_skillMacro" data-i18n-title="roll-macro" title="Lancer la macro" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{skillName}}} {{rollResult=[[@{skillMacro}]]}}"></button>
|
||||
<textarea type="text" name="attr_skillDesc" class="sheet-description" data-i18n-placeholder="description" placeholder="Description"></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="sheet-inventory" style="margin-top: 10px;">
|
||||
|
||||
<span class="sheet-sectionTitle" data-i18n="equipment">Équipement</span> <span data-i18n="capacity-equals-might">Capacité égale à la Puissance</span>
|
||||
|
||||
<div class="sheet-sectionSubtitle" data-i18n="weapons">Armes</div>
|
||||
<fieldset class="repeating_weapon">
|
||||
<input type="text" name="attr_weaponName" class="sheet-oneThird" data-i18n-placeholder="weapon-name" placeholder="Nom de l’arme" />
|
||||
<span data-i18n="damages">Dégats</span> <input type="number" name="attr_damBonus" value="0"/>
|
||||
<select name="attr_weapType" style="width: 100px;">
|
||||
<option value="@{Might}" data-i18n="melee">Mêlée</option>
|
||||
<option value="@{Agility}" data-i18n="ranged">À distance</option>
|
||||
</select>
|
||||
<span data-i18n="weight">Poids</span> <input type="number" name="attr_poids"/>
|
||||
<button type='roll' data-i18n-title="attack-roll" title="Jet d’attaque" value='&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{attwithmacro} @{weaponName}}} {{attack=[[@{weapType}[Attribute]+?{@{difficultymacro}|0}[Difficulty]]]}} {{rollResult=[[ [[1d6cf0]]+[[1d6cf0]] ]]}} {{dice1=$[[1]]}} {{dice2=$[[2]]}} {{damages=@{damBonus}}}' name='roll_attack'></button>
|
||||
<input type="text" name="attr_weaponCarac" class="sheet-full" style="display: block;" data-i18n-placeholder="features" placeholder="Caractéristiques"/>
|
||||
</fieldset>
|
||||
|
||||
<div class="sheet-sectionSubtitle" data-i18n="other">Autres</div>
|
||||
<fieldset class="repeating_inventory">
|
||||
<input type="text" name="attr_inventoryItemName" class="sheet-oneThird" data-i18n-placeholder="item-name" placeholder="Nom de l’objet" />
|
||||
<input type="text" name="attr_inventoryItemNotes" style="width: 40%;" data-i18n-placeholder="notes" placeholder="Notes" />
|
||||
<span data-i18n="weight">Poids</span> <input type="number" name="attr_poids"/>
|
||||
<select name="attr_usageDieType">
|
||||
<option value=""></option>
|
||||
<option value="d8">d8</option>
|
||||
<option value="d6">d6</option>
|
||||
<option value="d4">d4</option>
|
||||
|
||||
</select>
|
||||
<button type='roll' name='roll_usageDie' data-i18n-title="roll-usage-die" title="Lancer le dé d’usage" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{usagemacro} @{inventoryItemName}}} {{rollResult=[[@{usageDieType}cf<2cs0]]}}"></button>
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
|
||||
<div class='sheet-twoColRow' style="margin-top: 10px;">
|
||||
<div class="sheet-col sheet-half">
|
||||
<div class="sheet-spells">
|
||||
<span class="sheet-sectionTitle" data-i18n="gifts-from-the-warp">Dons du Warp</span> <button type="roll" name="roll_newMuta" data-i18n-title="roll-mutations" title="Tirer des mutations" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{mutationsmacro}}} {{rollResult=[[1d6cf<2]] [[1d6cf<2]] [[1d6cf<2]]}}"></button>
|
||||
<fieldset class="repeating_muta">
|
||||
<input type="text" name="attr_mutaName" class="sheet-twoThird" data-i18n-placeholder="mutation-name" placeholder="Mutation" />
|
||||
<input type="text" name="attr_mutaMacro" class="sheet-oneThird" placeholder="eg : 1d20"/>
|
||||
<button type="roll" name="roll_mutaMacro" data-i18n-title="roll-macro" title="Lancer la macro" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{mutaName}}} {{rollResult=[[@{mutaMacro}]]}}"></button>
|
||||
<textarea name="attr_mutaDesc" class="sheet-description" data-i18n-placeholder="description" placeholder="Description"></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sheet-col sheet-half">
|
||||
<div class="sheet-spells">
|
||||
<span class="sheet-sectionTitle" data-i18n="gifts-from-the-void">Dons du Néant</span>
|
||||
<fieldset class="repeating_spells">
|
||||
<input type="text" name="attr_spellName" class="sheet-twoThird" data-i18n-placeholder="spell-name" placeholder="Sortilège"/>
|
||||
<input type="text" name="attr_spellMacro" class="sheet-oneThird" placeholder="eg : 1d20"/>
|
||||
<button type="roll" name="roll_spellMacro" data-i18n-title="roll-macro" title="Lancer la macro" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{spellName}}} {{rollResult=[[@{spellMacro}]]}}"></button>
|
||||
<textarea name="attr_spellDesc" class="sheet-description" data-i18n-placeholder="description" placeholder="Description"></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='sheet-twoColRow' style="margin-top: 10px;">
|
||||
<div class="sheet-col sheet-half">
|
||||
<div class="sheet-notes">
|
||||
<span class="sheet-sectionTitle" data-i18n="notes">Notes</span>
|
||||
<fieldset class="repeating_notes">
|
||||
<textarea name="attr_note"></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sheet-col sheet-half">
|
||||
<div class="sheet-notes">
|
||||
<span class="sheet-sectionTitle" data-i18n="taints">Souillures</span> <button type="roll" name="roll_newTaint" data-i18n-title="roll-taint" title="Tirer une souillure" value="&{template:attributeTest} {{character=@{character_name}}} {{rollname=@{taintmacro}}} {{rollResult=[[1d6cf0cs0]]}}"></button>
|
||||
<fieldset class="repeating_souil">
|
||||
<textarea name="attr_souil"></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Sheet GM -->
|
||||
<div class="sheet-container sheet-blockB">
|
||||
<div class="sheet-row sheet-oneThird">
|
||||
<span style="font-size: 300%; font-weight: bold; font-family: Georgia, serif; color: firebrick">WARPLAND</span>
|
||||
</div>
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-notes">
|
||||
<span class="sheet-sectionTitle" data-i18n="npc">PNJ</span>
|
||||
<fieldset class="repeating_npc">
|
||||
<div style="display: inline-block; text-align: center; margin-right: 10px; width: 150px;">
|
||||
<input type="text" style="width: 150px; display: inline-block;" name="attr_npcName"/>
|
||||
<span data-i18n="hp">PV</span>
|
||||
<input type="number" name="attr_hpNpc"/> / <input type="number" name="attr_hpNpcMax"/>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-col">
|
||||
<span class="sheet-sectionSubtitle" data-i18n="travel">Voyage</span> <button type="roll" value="/w gm &{template:attributeTest} {{rollname=@{travelevtmacro}}} {{travel=[[1d6cs0cf0]]}} {{dice1=[[1d6cs0cf0]]}} {{dice2=[[1d12cs0cf0]]}}" name="roll_travel"></button>
|
||||
</div>
|
||||
<div class="sheet-col">
|
||||
<span class="sheet-sectionSubtitle" data-i18n="meteo">Météo</span> <button type="roll" value="/w gm &{template:attributeTest} {{rollname=@{statewarpmacro}}} {{meteo=[[1d12cs0cf0]]}} {{dice1=[[1d6cs0cf0]]}}" name="roll_meteo"></button>
|
||||
</div>
|
||||
<div class="sheet-col">
|
||||
<span class="sheet-sectionSubtitle" data-i18n="town-generator">Générateur de ville</span> <button type="roll" value="/w gm &{template:attributeTest} {{rollname=@{towngenmacro}}} {{town=[[1d6cs0cf0]]}} {{dice1=[[1d6cs0cf0]]}} {{dice2=[[1d6cs0cf0]]}} {{dice3=[[1d12cs0cf0]]}}" name="roll_town"></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-col">
|
||||
<span class="sheet-sectionSubtitle">1d6</span> <button type="roll" value="/w gm &{template:attributeTest} {{rollname=@{rollmacro} 1d6}} {{rollResult=[[1d6cs0cf0]]}}" name="roll_1d6"></button>
|
||||
</div>
|
||||
<div class="sheet-col">
|
||||
<span class="sheet-sectionSubtitle">2d6</span> <button type="roll" value="/w gm &{template:attributeTest} {{rollname=@{rollmacro} 2d6}} {{rollResult=[[2d6cs0cf0]]}}" name="roll_2d6"></button>
|
||||
</div>
|
||||
<div class="sheet-col">
|
||||
<span class="sheet-sectionSubtitle">3d6</span> <button type="roll" value="/w gm &{template:attributeTest} {{rollname=@{rollmacro} 2d6}} {{rollResult=[[3d6cs0cf0]]}}" name="roll_3d6"></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-col">
|
||||
<span class="sheet-sectionSubtitle">d12</span> <button type="roll" value="/w gm &{template:attributeTest} {{rollname=@{rollmacro} d12}} {{rollResult=[[1d12cs0cf0]]}}" name="roll_d12"></button>
|
||||
</div>
|
||||
<div class="sheet-col">
|
||||
<span class="sheet-sectionSubtitle">d20</span> <button type="roll" value="/w gm &{template:attributeTest} {{rollname=@{rollmacro} d20}} {{rollResult=[[1d20cs0cf0]]}}" name="roll_d20"></button>
|
||||
</div>
|
||||
<div class="sheet-col">
|
||||
<span class="sheet-sectionSubtitle">d100</span> <button type="roll" value="/w gm &{template:attributeTest} {{rollname=@{rollmacro} d100}} {{rollResult=[[1d100cs0cf0]]}}" name="roll_d100"></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-notes">
|
||||
<span class="sheet-sectionTitle" data-i18n="notes">Notes</span>
|
||||
<fieldset class="repeating_notesGM">
|
||||
<textarea name="attr_noteGM"></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-preferences">
|
||||
<div>
|
||||
<h5 data-i18n="theme">Thème</h5>
|
||||
<span data-i18n="light">Clair</span> <input type="radio" value="light" name="attr_colorTheme" checked="checked" class="sheet-theme"/>
|
||||
<span data-i18n="dark">Sombre</span> <input type="radio" value="dark" name="attr_colorTheme" class="sheet-theme"/>
|
||||
</div>
|
||||
<div>
|
||||
<h5 data-i18n="text-size-in-textareas">Taille du texte dans les zones de texte</h5>
|
||||
<span data-i18n="normal">Normale</span> <input type="radio" value="normal" name="attr_textareaFontSize" checked="checked" class="sheet-fontSize"/>
|
||||
<span data-i18n="small">Petite </span> <input type="radio" value="small" name="attr_textareaFontSize" class="sheet-fontSize"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Roll Templates -->
|
||||
|
||||
<rolltemplate class="sheet-rolltemplate-attributeTest">
|
||||
<div class="attrRollContainer">
|
||||
{{#character}}
|
||||
<div class="attrRollText"><b>{{character}}</b></div>
|
||||
{{/character}}
|
||||
{{#rollname}}
|
||||
<div class="attrRollText"><b>{{rollname}}</b></div>
|
||||
{{/rollname}}
|
||||
{{#attack}}
|
||||
<div class="attrRollText"><span data-i18n="attribute">Attribut</span> : {{attack}}</div>
|
||||
{{/attack}}
|
||||
{{#attribute}}
|
||||
<div class="attrRollText"><span data-i18n="attribute">Attribut</span> : {{attribute}}</div>
|
||||
{{/attribute}}
|
||||
{{#defense}}
|
||||
<div class="attrRollText"><span data-i18n="attribute">Attribut</span> : {{defense}}</div>
|
||||
{{/defense}}
|
||||
{{#rollResult}}
|
||||
<div class="attrRollText"><span data-i18n="dice-roll">Jet de dé</span> : {{rollResult}}</div>
|
||||
{{/rollResult}}
|
||||
{{#travel}}
|
||||
<div class="attrRollText"><span data-i18n="dice-roll">Jet de dé</span> : {{travel}}</div>
|
||||
{{#rollTotal() travel 1}}
|
||||
<i><b><span data-i18n="nothing">Rien</span></b></i>
|
||||
{{/rollTotal() travel 1}}
|
||||
{{#rollBetween() travel 2 3}}
|
||||
<div class="attrRollText"><b><span data-i18n="minor-event">Événement mineur</span> : {{dice1}}</b></div>
|
||||
{{/rollBetween() travel 2 3}}
|
||||
{{#rollBetween() travel 4 6}}
|
||||
<div class="attrRollText"><b><span data-i18n="major-event">Événement majeur</span> : {{dice2}}</b></div>
|
||||
{{/rollBetween() travel 4 6}}
|
||||
{{/travel}}
|
||||
{{#meteo}}
|
||||
<div class="attrRollText"><span data-i18n="color-during-nb-days." data-i18n-vars=" {{meteo}} | {{dice1}} ">Couleur{{0}}pendant{{1}}jours.</span></div>
|
||||
{{/meteo}}
|
||||
{{#town}}
|
||||
<div class="attrRollText"><span data-i18n="size">Taille</span> {{town}}</div>
|
||||
<div class="attrRollText"><span data-i18n="behaviour">Prédisposition</span> {{dice1}}</div>
|
||||
<div class="attrRollText"><span data-i18n="style-of-life">Mode de vie</span> {{dice2}}</div>
|
||||
<div class="attrRollText"><span data-i18n="trouble">Incident</span> {{dice3}}</div>
|
||||
{{/town}}
|
||||
{{#attribute}}
|
||||
<div class="attrRollText"><b><span data-i18n="roll-result">Résultat</span> :
|
||||
{{#^rollGreater() rollResult attribute}}
|
||||
<span style="color:green" data-i18n="success!">Réussite !</span>
|
||||
{{#^rollLess() rollResult 8}}
|
||||
<span style="color:green;" data-i18n="critical!"><i>Critique !</i></span>
|
||||
{{/^rollLess() rollResult 8}}
|
||||
{{/^rollGreater() rollResult attribute}}
|
||||
|
||||
{{#rollGreater() rollResult attribute}}
|
||||
<span style="color:red" data-i18n="failure!">Échec !</span>
|
||||
{{/rollGreater() rollResult attribute}}
|
||||
|
||||
{{#rollTotal() rollResult 2}}
|
||||
<span style="color:red;" data-i18n="complication!"><i>Complication !</i></span>
|
||||
{{/rollTotal() rollResult 2}}
|
||||
|
||||
{{#rollTotal() rollResult 12}}
|
||||
<span style="color:red;" data-i18n="complication!"><i>Complication !</i></span>
|
||||
{{/rollTotal() rollResult 12}}
|
||||
{{/attribute}}
|
||||
{{#attack}}
|
||||
<div class="attrRollText"><b><span data-i18n="roll-result">Résultat</span> :
|
||||
{{#^rollGreater() rollResult attack}}
|
||||
{{#^rollLess() dice1 dice2}}
|
||||
<span style="color:green">{{dice1}}+{{damages}} <span data-i18n="damages">Dégâts</span> !</span>
|
||||
{{/^rollLess() dice1 dice2}}
|
||||
{{#rollLess() dice1 dice2}}
|
||||
<span style="color:green">{{dice2}}+{{damages}} <span data-i18n="damages">Dégâts</span> !</span>
|
||||
{{/rollLess() dice1 dice2}}
|
||||
{{#^rollLess() rollResult 8}}
|
||||
<span style="color:green;" data-i18n="critical!"><i>Critique !</i></span>
|
||||
{{/^rollLess() rollResult 8}}
|
||||
{{/^rollGreater() rollResult attack}}
|
||||
|
||||
{{#rollGreater() rollResult attack}}
|
||||
<span style="color:red">Échec !</span>
|
||||
{{/rollGreater() rollResult attack}}
|
||||
|
||||
{{#rollTotal() rollResult 2}}
|
||||
<span style="color:red;" data-i18n="complication!"><i>Complication !</i></span>
|
||||
{{/rollTotal() rollResult 2}}
|
||||
|
||||
{{#rollTotal() rollResult 12}}
|
||||
<span style="color:red;" data-i18n="complication!"><i>Complication !</i></span>
|
||||
{{/rollTotal() rollResult 12}}
|
||||
{{/attack}}
|
||||
{{#defense}}
|
||||
<div class="attrRollText"><b><span data-i18n="roll-result">Résultat</span> :
|
||||
{{#^rollGreater() rollResult defense}}
|
||||
<span style="color:green">Réussite !</span>
|
||||
{{#^rollLess() rollResult 8}}
|
||||
<span style="color:green;" data-i18n="critical!"><i>Critique !</i></span>
|
||||
{{/^rollLess() rollResult 8}}
|
||||
{{/^rollGreater() rollResult defense}}
|
||||
|
||||
{{#rollGreater() rollResult defense}}
|
||||
<span style="color:red">{{damages}}+ <span data-i18n="damages">Dégâts</span> !</span>
|
||||
<div>Armure : {{armor}}</div>
|
||||
{{/rollGreater() rollResult defense}}
|
||||
|
||||
{{#rollTotal() rollResult 2}}
|
||||
<span style="color:red;" data-i18n="complication!"><i>Complication !</i></span>
|
||||
{{/rollTotal() rollResult 2}}
|
||||
|
||||
{{#rollTotal() rollResult 12}}
|
||||
<span style="color:red;" data-i18n="complication!"><i>Complication !</i></span>
|
||||
{{/rollTotal() rollResult 12}}
|
||||
{{/defense}}
|
||||
<!-- {{#allprops()}} -->
|
||||
<!-- <div>{{key}}</div><div>{{value}}</div> -->
|
||||
<!-- {{/allprops()}} -->
|
||||
</b></div>
|
||||
</div>
|
||||
|
||||
</rolltemplate>
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"html": "Warpland.html",
|
||||
"css": "Warpland.css",
|
||||
"authors": "Choco Lanoar",
|
||||
"roll20userid": "905172",
|
||||
"preview": "warpland.png",
|
||||
"instructions": "Character sheet for Warpland. Gavriel Qiroga, Pattern Recog Editions. Graphical part from Black Hack sheet.",
|
||||
"legacy": true
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"gm-sheet": "Fiche MJ",
|
||||
"name": "Nom",
|
||||
"aspect": "Allure",
|
||||
"flaws": "Défauts",
|
||||
"proverb": "Devise",
|
||||
"agility": "Agilité",
|
||||
"wits": "Esprit",
|
||||
"might": "Puissance",
|
||||
"lore": "Savoir",
|
||||
"hit-points": "Points de vie",
|
||||
"willpower": "Volonté",
|
||||
"armor": "Armure",
|
||||
"wounded-u": "BLESSÉ",
|
||||
"heavily-wounded-u": "GR. BLESSÉ",
|
||||
"incapacitated-u": "INCAPACITÉ",
|
||||
"exhausted-u": "ÉPUISÉ",
|
||||
"skills": "Expertises",
|
||||
"one-for-each-point-above-five-in-lore": "1 par point de Savoir > 5",
|
||||
"equipment": "Équipement",
|
||||
"capacity-equals-might": "Capacité égale à la Puissance",
|
||||
"weapons": "Armes",
|
||||
"damages": "Dégats",
|
||||
"weight": "Poids",
|
||||
"other": "Autres",
|
||||
"gifts-from-the-warp": "Dons du Warp",
|
||||
"gifts-from-the-void": "Dons du Néant",
|
||||
"notes": "Notes",
|
||||
"taints": "Souillures",
|
||||
"taint": "Souillure",
|
||||
"npc": "PNJ",
|
||||
"hp": "PV",
|
||||
"travel": "Voyage",
|
||||
"meteo": "Météo",
|
||||
"town-generator": "Générateur de ville",
|
||||
"theme": "Thème",
|
||||
"light": "Clair",
|
||||
"dark": "Sombre",
|
||||
"text-size-in-textareas": "Taille du texte dans les zones de texte",
|
||||
"normal": "Normale",
|
||||
"small": "Petite",
|
||||
"flaw1-flaw2-etc": "Défaut 1, défaut 2, …",
|
||||
"all-good-things-come-to-an-end": "Toutes les bonnes choses ont une fin.",
|
||||
"description": "Description",
|
||||
"weapon-name": "Nom de l’arme",
|
||||
"features": "Caractéristiques",
|
||||
"item-name": "Nom de l’objet",
|
||||
"mutation-name": "Mutation",
|
||||
"spell-name": "Sortilège",
|
||||
"attack-roll": "Jet d’attaque",
|
||||
"roll-usage-die": "Lancer le dé d’usage",
|
||||
"melee": "Mêlée",
|
||||
"ranged": "À distance",
|
||||
"ask-difficulty": "Difficulté",
|
||||
"ask-defense": "Défense",
|
||||
"choice-dodge": "Esquive",
|
||||
"choice-block": "Parade",
|
||||
"attribute": "Attribut",
|
||||
"dice-roll": "Jet de dé",
|
||||
"nothing": "Rien",
|
||||
"minor-event": "Événement mineur",
|
||||
"major-event": "Événement majeur",
|
||||
"color-during-nb-days.": "Couleur{{0}}pendant{{1}}jours.",
|
||||
"travel-events": "Événement de voyage",
|
||||
"state-of-warp": "État de l’Éther",
|
||||
"roll": "Jet",
|
||||
"size": "Taille",
|
||||
"behaviour": "Prédisposition",
|
||||
"style-of-life": "Mode de vie",
|
||||
"trouble": "Incident",
|
||||
"roll-result": "Résultat",
|
||||
"success!": "Réussite !",
|
||||
"failure!": "Échec !",
|
||||
"critical!": "Critique !",
|
||||
"complication!": "Complication !",
|
||||
"damages": "Dégâts",
|
||||
"roll-macro": "Lancer la macro",
|
||||
"roll-mutations": "Tirer des mutations",
|
||||
"mutations": "Mutations",
|
||||
"agility-roll": "Test d’Agilité",
|
||||
"wits-roll": "Test d’Esprit",
|
||||
"might-roll": "Test de Puissance",
|
||||
"lore-roll": "Test de Savoir",
|
||||
"willpower-roll": "Test de Volonté",
|
||||
"defense-roll": "Test de défense",
|
||||
"attack-with": "Attaque avec",
|
||||
"usage-die-of": "Dé d’usage de"
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 96 KiB |
Reference in New Issue
Block a user