Files
roll20-character-sheets/Warpland/Warpland.html
T
2024-06-03 13:15:14 -04:00

382 lines
21 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- 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 larme" />
<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 dattaque" 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 lobjet" />
<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é dusage" 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>