mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-11 09:32:33 +00:00
Added Coping Mechanism Fields
A final feature that I overlooked... fields to record a character's "coping mechanisms" To implement this, I slightly reorganized the lower portions of the character sheet. I put "Links" & "Contacts" in their own row, side by side. Then I added fields for "Coping Mechanisms" next to "Directives." I also added a snazzy new pill icon for the coping mechanism list keeping in theme with the rest of the sheet =)
This commit is contained in:
@@ -242,14 +242,15 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="sheet-2colrow">
|
||||
<div class="sheet-col sheet-repeating">
|
||||
<div class="twoarea">
|
||||
<label for="attr_links" class="links_icon" data-i18n="links">Links</label>
|
||||
<fieldset class="repeating_links">
|
||||
<input type="text" name="attr_linkname" class="sheet-linkname" /><input type="number" name="attr_links" class="sheet-linksmargin" value="0" /><button type="roll" value='&{template:spr_desc} {{roll_tabledescname=@{name}}} {{roll_tabledescvalue=^{rolls-links-with} @{linkname}}} {{roll_imageurl=@{fileimg}}} {{roll_imagedesc=^{file-image}}} {{roll_value2name=^{total}}} {{roll_value2value=[[2d6+@{links}[links]+?{Forward|0}[forward]]]}} {{roll_value1name=^{forward}}} {{roll_value1value=[[(?{Forward|0})]]}}' class="sheet-linksmargin"></button>
|
||||
</fieldset>
|
||||
</div>
|
||||
<label for="attr_links" class="links_icon" data-i18n="links">Links</label>
|
||||
<fieldset class="repeating_links">
|
||||
<input type="text" name="attr_linkname" class="sheet-linkname" /><input type="number" name="attr_links" class="sheet-linksmargin" value="0" /><button type="roll" value='&{template:spr_desc} {{roll_tabledescname=@{name}}} {{roll_tabledescvalue=^{rolls-links-with} @{linkname}}} {{roll_imageurl=@{fileimg}}} {{roll_imagedesc=^{file-image}}} {{roll_value2name=^{total}}} {{roll_value2value=[[2d6+@{links}[links]+?{Forward|0}[forward]]]}} {{roll_value1name=^{forward}}} {{roll_value1value=[[(?{Forward|0})]]}}' class="sheet-linksmargin"></button>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="sheet-col sheet-repeating">
|
||||
<label for="attr_contacts" class="links-contacts" data-i18n="contacts">Contacts</label>
|
||||
<fieldset class="repeating_contacts">
|
||||
<div class="sheet-column_titles sheet-column_header">
|
||||
@@ -258,6 +259,34 @@
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="sheet-2colrow">
|
||||
<div class="sheet-col sheet-repeating">
|
||||
<label for="attr_copingmechanism" class="links-copingmechanisms" data-i18n="copingmechanisms">Coping Mechanisms</label>
|
||||
<div class="sheet-column_titles sheet-column_header">
|
||||
<div class="gear0"><span class="translate" data-i18n="name">Name</span></div>
|
||||
<div class="gear4d"><input type="text" name="attr_copingmechanism" /></div>
|
||||
<div class="gear5"><button type="roll" class="sheet-btn sheet-tochat" value='&{template:spr_desc} {{roll_tabledescname=@{name} - ^{directive}}} {{roll_tabledescvalue=@{directive}}} {{roll_value1name=^{details}}} {{roll_value1value=@{directive-details}}} {{roll_value1long=true}}'><span class="translate" data-i18n="broadcast">Broadcast</span></button></div>
|
||||
</div>
|
||||
<div class="sheet-column_titles sheet-column_header">
|
||||
<div class="gear0"><span class="translate" data-i18n="details">Details</span></div>
|
||||
<div class="gear2"><textarea name="attr_copingmechanism-details" cols="50" rows="5"></textarea></div>
|
||||
</div>
|
||||
<fieldset class="repeating_copingmechanisms">
|
||||
<div class="sheet-column_titles sheet-column_header">
|
||||
<div class="gear0"><span class="translate" data-i18n="name">Name</span></div>
|
||||
<div class="gear4d"><input type="text" name="attr_copingmechanism" /></div>
|
||||
<div class="gear5"><button type="roll" class="sheet-btn sheet-tochat" value='&{template:spr_desc} {{roll_tabledescname=@{name} - ^{directive}}} {{roll_tabledescvalue=@{directive}}} {{roll_value1name=^{details}}} {{roll_value1value=@{directive-details}}} {{roll_value1long=true}}'><span class="translate" data-i18n="broadcast">Broadcast</span></button></div>
|
||||
</div>
|
||||
<div class="sheet-column_titles sheet-column_header">
|
||||
<div class="gear0"><span class="translate" data-i18n="details">Details</span></div>
|
||||
<div class="gear2"><textarea name="attr_copingmechanism-details" cols="50" rows="5"></textarea></div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="sheet-col sheet-repeating">
|
||||
<label for="attr_directive" class="links-directives" data-i18n="directives">Directives</label>
|
||||
<div class="sheet-column_titles sheet-column_header">
|
||||
|
||||
Reference in New Issue
Block a user