Skip to content

Commit

Permalink
v1.6.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
drewg13 committed May 31, 2021
1 parent b0450c8 commit 3589a18
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 32 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ v1.6.3 Fix Vice rolls
v1.6.4 Fix createItem hook issues in 0.8.x, switch XP triggers to tooltip on hover

v1.6.5 Bug fix for item import from compendiums

v1.6.6 Add tooltips to traumas, bug fixes for tooltips
10 changes: 9 additions & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,21 @@
"BITD.AtWar": "At War!",
"BITD.Trauma": "Trauma",
"BITD.TraumaCold": "Cold",
"BITD.TraumaColdTip": "You're unmoved by emotional appeals or social bonds",
"BITD.TraumaHaunted": "Haunted",
"BITD.TraumaHauntedTip": "You're often lost in reverie, reliving past horrors or seeing things others may not see",
"BITD.TraumaObsessed": "Obsessed",
"BITD.TraumaObsessedTip": "You're enthralled by one thing: an activity, a person, a goal, an ideology",
"BITD.TraumaParanoid": "Paranoid",
"BITD.TraumaParanoidTip": "You imagine danger everywhere and can't trust others",
"BITD.TraumaReckless": "Reckless",
"BITD.TraumaRecklessTip": "You have little regard for your own safety, best interests, or well-being",
"BITD.TraumaSoft": "Soft",
"BITD.TraumaSoftTip": "You lose your edge, becoming sentimental, passive, or gentle",
"BITD.TraumaUnstable": "Unstable",
"BITD.TraumaUnstableTip": "Your emotional state is volatile. You can instantly rage, fall into despair, act impulsively, or freeze up",
"BITD.TraumaVicious": "Vicious",
"BITD.TraumaViciousTip": "You seek out opportunities to hurt people, even for no good reason",
"BITD.Harm": "Harm",
"BITD.Healing": "Healing",
"BITD.Armor": "Armor",
Expand Down Expand Up @@ -124,7 +132,7 @@
"BITD.RollPartialSuccessPositionRisky": "You do it, but there’s a consequence: you suffer <strong>harm</strong>, a <strong>complication</strong> occurs, you have <strong>reduced effect</strong>, you end up in a <strong>desperate</strong> position.",
"BITD.RollPartialSuccessPosition": "You do it, but there’s a consequence: you suffer <strong>severe harm</strong>, a <strong>serious complication</strong> occurs, you have <strong>reduced effect</strong>.",
"BITD.RollFailurePositionControlled": "You falter. Press on by seizing a <strong>risky</strong> opportunity, or withdraw and try a different approach.",
"BITD.RollFailurePositionRisky": "Things go badly. You suffer <strong>harm</strong> a <strong>complication</strong> occurs, you end up in a <strong>desperate</strong> position, you <strong>lose this opportunity</strong>.",
"BITD.RollFailurePositionRisky": "Things go badly. You suffer <strong>harm</strong>, a <strong>complication</strong> occurs, you end up in a <strong>desperate</strong> position, you <strong>lose this opportunity</strong>.",
"BITD.RollFailurePositionDesperate": "It’s the worst outcome. You suffer <strong>severe harm</strong>, a <strong>serious complication occurs</strong>, you <strong>lose this opportunity for action</strong>.",
"BITD.RollGambit": "If you didn't spend a <strong>gambit</strong> on this roll, gain one <strong>gambit</strong>.",
"BITD.RollXP": "Mark <strong>XP</strong> for the related attribute.",
Expand Down
17 changes: 12 additions & 5 deletions styles/sav.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions system.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"authors": ["megastruktur", "Andrew Garinger [agaringer#6498]"],
"url": "https://github.com/drewg13/foundryvtt-scum-and-villainy/",
"flags": {},
"version": "1.6.5",
"version": "1.6.6",
"minimumCoreVersion": "0.7.2",
"compatibleCoreVersion": "0.8.5",
"system": [],
"dependencies": [],
"socket": false,
"manifest": "https://raw.githubusercontent.com/drewg13/foundryvtt-scum-and-villainy/master/system.json",
"download": "https://github.com/drewg13/foundryvtt-scum-and-villainy/archive/v1.6.5.zip",
"download": "https://github.com/drewg13/foundryvtt-scum-and-villainy/archive/v1.6.6.zip",
"protected": false,
"scripts": [],
"esmodules": [
Expand Down
34 changes: 17 additions & 17 deletions templates/actor-sheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,37 +149,37 @@
</div>

<div id="trauma-list">
<label>
<label class="tooltip">
<input type="checkbox" name="data.trauma.list.cold" value="cold" {{checked data.trauma.list.cold}}>
<span class="checkmark">{{localize "BITD.TraumaCold"}}</span>
<span class="checkmark">{{localize "BITD.TraumaCold"}}<span class="tooltiptext bottom">{{{localize "BITD.TraumaColdTip"}}}</span></span>
</label>
<label>
<label class="tooltip">
<input type="checkbox" name="data.trauma.list.haunted" value="haunted" {{checked data.trauma.list.haunted}}>
<span class="checkmark">{{localize "BITD.TraumaHaunted"}}</span>
<span class="checkmark">{{localize "BITD.TraumaHaunted"}}<span class="tooltiptext bottom">{{{localize "BITD.TraumaHauntedTip"}}}</span></span>
</label>
<label>
<label class="tooltip">
<input type="checkbox" name="data.trauma.list.obsessed" value="obsessed" {{checked data.trauma.list.obsessed}}>
<span class="checkmark">{{localize "BITD.TraumaObsessed"}}</span>
<span class="checkmark">{{localize "BITD.TraumaObsessed"}}<span class="tooltiptext bottom">{{{localize "BITD.TraumaObsessedTip"}}}</span></span>
</label>
<label>
<label class="tooltip">
<input type="checkbox" name="data.trauma.list.paranoid" value="paranoid" {{checked data.trauma.list.paranoid}}>
<span class="checkmark">{{localize "BITD.TraumaParanoid"}}</span>
<span class="checkmark">{{localize "BITD.TraumaParanoid"}}<span class="tooltiptext bottom">{{{localize "BITD.TraumaParanoidTip"}}}</span></span>
</label>
<label>
<label class="tooltip">
<input type="checkbox" name="data.trauma.list.reckless" value="reckless" {{checked data.trauma.list.reckless}}>
<span class="checkmark">{{localize "BITD.TraumaReckless"}}</span>
<span class="checkmark">{{localize "BITD.TraumaReckless"}}<span class="tooltiptext bottom">{{{localize "BITD.TraumaRecklessTip"}}}</span></span>
</label>
<label>
<label class="tooltip">
<input type="checkbox" name="data.trauma.list.soft" value="soft" {{checked data.trauma.list.soft}}>
<span class="checkmark">{{localize "BITD.TraumaSoft"}}</span>
<span class="checkmark">{{localize "BITD.TraumaSoft"}}<span class="tooltiptext bottom">{{{localize "BITD.TraumaSoftTip"}}}</span></span>
</label>
<label>
<label class="tooltip">
<input type="checkbox" name="data.trauma.list.unstable" value="unstable" {{checked data.trauma.list.unstable}}>
<span class="checkmark">{{localize "BITD.TraumaUnstable"}}</span>
<span class="checkmark">{{localize "BITD.TraumaUnstable"}}<span class="tooltiptext bottom">{{{localize "BITD.TraumaUnstableTip"}}}</span></span>
</label>
<label>
<label class="tooltip">
<input type="checkbox" name="data.trauma.list.vicious" value="vicious" {{checked data.trauma.list.vicious}}>
<span class="checkmark">{{localize "BITD.TraumaVicious"}}</span>
<span class="checkmark">{{localize "BITD.TraumaVicious"}}<span class="tooltiptext bottom">{{{localize "BITD.TraumaViciousTip"}}}</span></span>
</label>
</div>

Expand Down Expand Up @@ -287,7 +287,7 @@
<p><a class="item-add-popup" data-item-type="ability" data-limiter=data.character_class><i class="fas fa-plus-square"></i></a></p>
<div id="character-experience" class="teeth-experience tooltip">
<label for="character-{{actor._id}}-experience-0">{{localize "BITD.PExperience"}}<i class="fab fa-creative-commons-zero nullifier"></i>
<span class="tooltiptext delay left">{{localize "BITD.ClassExpClueDescription"}}<br />{{localize "BITD.ClassExpClue2"}}<br />{{localize "BITD.ClassExpClue3"}}<br />
<span class="tooltiptext left">{{localize "BITD.ClassExpClueDescription"}}<br />{{localize "BITD.ClassExpClue2"}}<br />{{localize "BITD.ClassExpClue3"}}<br />
{{#each actor.items as |item id|}}
{{#if (eq item.type "class")}}
{{item.data.experience_clues}}
Expand Down
4 changes: 2 additions & 2 deletions templates/parts/attributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div id="attributes-{{attribute_name}}" class="attribute">
<div id="attributes-{{attribute_name}}-title" class="attributes-exp">
<div class="stripe">
<a class="attribute-label roll-die-attribute rollable-text tooltip" data-roll-attribute="{{attribute_name}}">{{localize (concat attribute.label 'Short')}}<span class="tooltiptext delay left">{{{localize attribute.tip}}}</span>{{#if (eq ../data.forged 1)}}<span style="color: red;"> (+1)</span>{{/if}}</a>
<a class="attribute-label roll-die-attribute rollable-text tooltip" data-roll-attribute="{{attribute_name}}">{{localize (concat attribute.label 'Short')}}<span class="tooltiptext left">{{{localize attribute.tip}}}</span>{{#if (eq ../data.forged 1)}}<span style="color: red;"> (+1)</span>{{/if}}</a>
</div>
<div class="stripe-tooth-body-blue">
{{#multiboxes attribute.exp}}
Expand Down Expand Up @@ -39,7 +39,7 @@
<label for="attributes-{{../../../actor._id}}-{{skill_name}}-{{this}}"></label>
{{/times_from_0}}

<div class="attribute-skill-label roll-die-attribute rollable-text tooltip" data-roll-attribute="{{skill_name}}">{{localize skill.label}}<span class="tooltiptext delay">{{{localize skill.tip}}}</span></div>
<div class="attribute-skill-label roll-die-attribute rollable-text tooltip" data-roll-attribute="{{skill_name}}">{{localize skill.label}}<span class="tooltiptext bottom">{{{localize skill.tip}}}</span></div>
{{/multiboxes}}
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions templates/ship-sheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
<p><a class="item-add-popup" data-item-type="crew_ability" data-limiter=data.ship_class><i class="fas fa-plus-square"></i></a></p>
<div id="character-experience" class="teeth-experience tooltip">
<label for="character-{{actor._id}}-experience-0">{{localize "BITD.PExperience"}}<i class="fab fa-creative-commons-zero nullifier"></i>
<span class="tooltiptext delay left">{{localize "BITD.ClassExpClueDescription"}}<br />{{localize "BITD.ClassExpClue2"}}<br />{{localize "BITD.ClassExpClue3"}}<br />
<span class="tooltiptext left">{{localize "BITD.CrewExpClueDescription"}}<br />{{localize "BITD.CrewExpClue2"}}<br />{{localize "BITD.CrewExpClue3"}}<br />{{localize "BITD.CrewExpClue4"}}<br />
{{#each actor.items as |item id|}}
{{#if (eq item.type "crew_type")}}
{{item.data.experience_clues}}
Expand Down Expand Up @@ -284,25 +284,25 @@
<div class="stripe flex-horizontal system-label">
{{#if (eq system_name "upkeep")}}
<a class="roll-die-attribute rollable-text tooltip" data-roll-attribute="{{system_name}}">{{localize (concat system.label 'Short')}}
<span class="tooltiptext delay left">{{{localize system.tip}}}</span>
<span class="tooltiptext left">{{{localize system.tip}}}</span>
</a>
<span style="margin-right: 5px;"> = {{system.value}} {{localize "BITD.Coin"}}</span>
{{/if}}
{{#if (eq system_name "shields")}}
<span class="tooltip">{{localize (concat system.label 'Short')}}
<span class="tooltiptext delay left">{{{localize system.tip}}}</span>
<span class="tooltiptext left">{{{localize system.tip}}}</span>
</span>
{{/if}}
{{#if (eq system_name "encryptor")}}
<span class="tooltip">{{localize (concat system.label 'Short')}}
<span class="tooltiptext delay left">{{{localize system.tip}}}</span>
<span class="tooltiptext left">{{{localize system.tip}}}</span>
</span>
{{/if}}
{{#unless (eq system_name "upkeep")}}
{{#unless (eq system_name "shields")}}
{{#unless (eq system_name "encryptor")}}
<a class="system-label roll-die-attribute rollable-text tooltip" data-roll-attribute="{{system_name}}">{{localize (concat system.label 'Short')}}
<span class="tooltiptext delay left">{{{localize system.tip}}}</span>
<span class="tooltiptext left">{{{localize system.tip}}}</span>
</a>
{{/unless}}
{{/unless}}
Expand Down

0 comments on commit 3589a18

Please sign in to comment.