diff --git a/lang/en.json b/lang/en.json index f7f4aba4..dfb0f7b9 100755 --- a/lang/en.json +++ b/lang/en.json @@ -677,21 +677,34 @@ }, "TagTeamSelect": { "title": "Tag Team Roll", + "FIELDS": { + "initiator": { + "memberId": { "label": "Initiating Character" }, + "cost": { "label": "Initiation Cost" } + } + }, "leaderTitle": "Initiating Character", "membersTitle": "Participants", "partyTeam": "Party Team", "hopeCost": "Hope Cost", "initiatingCharacter": "Initiating Character", + "selectParticipants": "Select the two participants", + "startTagTeamRoll": "Start Tag Team Roll", + "openDialogForAll": "Open Dialog For All", + "rollType": "Roll Type", + "makeYourRoll": "Make your roll", + "cancelTagTeamRoll": "Cancel Tag Team Roll", + "finishTagTeamRoll": "Finish Tag Team Roll", "linkMessageHint": "Make a roll from your character sheet to link it to the Tag Team Roll", "damageNotRolled": "Damage not rolled in chat message yet", "insufficientHope": "The initiating character doesn't have enough hope", - "createTagTeam": "Create TagTeam Roll", + "createTagTeam": "Create Tag Team Roll", "chatMessageRollTitle": "Roll", - "cancelConfirmTitle": "Cancel TagTeam Roll", - "cancelConfirmText": "Are you sure you want to cancel the TagTeam Roll? This will close it for all other players too.", + "cancelConfirmTitle": "Cancel Tag Team Roll", + "cancelConfirmText": "Are you sure you want to cancel the Tag Team Roll? This will close it for all other players too.", "hints": { "completeRolls": "Set up and complete the rolls for the characters", - "selectRoll": "Select which roll value to be used for the Tagteam" + "selectRoll": "Select which roll value to be used for the Tag Team" } }, "TokenConfig": { diff --git a/module/data/tagTeamData.mjs b/module/data/tagTeamData.mjs index 120894d5..25158606 100644 --- a/module/data/tagTeamData.mjs +++ b/module/data/tagTeamData.mjs @@ -5,8 +5,15 @@ export default class TagTeamData extends foundry.abstract.DataModel { return { initiator: new fields.SchemaField( { - memberId: new fields.StringField({ required: true, label: 'Initiating Character' }), - cost: new fields.NumberField({ integer: true, initial: 3, label: 'Initiation Cost' }) + memberId: new fields.StringField({ + required: true, + label: 'DAGGERHEART.APPLICATIONS.TagTeamSelect.FIELDS.initiator.memberId.label' + }), + cost: new fields.NumberField({ + integer: true, + initial: 3, + label: 'DAGGERHEART.APPLICATIONS.TagTeamSelect.FIELDS.initiator.cost.label' + }) }, { nullable: true, initial: null } ), diff --git a/styles/less/sheets/actors/party/sheet.less b/styles/less/sheets/actors/party/sheet.less index 0ed80744..6b51de53 100644 --- a/styles/less/sheets/actors/party/sheet.less +++ b/styles/less/sheets/actors/party/sheet.less @@ -7,8 +7,12 @@ background-image: url('../assets/parchments/dh-parchment-dark.png'); } }, { - &.party { + &.sheet.actor.dh-style.party { background: url('../assets/parchments/dh-parchment-light.png'); + + .tab .actions-section .active-action { + animation: glow-dark 0.75s infinite alternate; + } } }); diff --git a/templates/dialogs/tagTeamDialog/initialization.hbs b/templates/dialogs/tagTeamDialog/initialization.hbs index 63ef2d73..9079f468 100644 --- a/templates/dialogs/tagTeamDialog/initialization.hbs +++ b/templates/dialogs/tagTeamDialog/initialization.hbs @@ -1,5 +1,5 @@
-

{{localize "Select the two participants"}}

+

{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.selectParticipants"}}

{{#each memberSelection as |member|}}
- +
diff --git a/templates/dialogs/tagTeamDialog/tagTeamRoll.hbs b/templates/dialogs/tagTeamDialog/tagTeamRoll.hbs index 5b03c0da..5ac6796b 100644 --- a/templates/dialogs/tagTeamDialog/tagTeamRoll.hbs +++ b/templates/dialogs/tagTeamDialog/tagTeamRoll.hbs @@ -11,7 +11,7 @@
- + @@ -21,7 +21,7 @@ {{#if (eq member.rollType 'trait')}}
- + @@ -30,7 +30,7 @@ {{else if (eq member.rollType 'abilityDamage')}}
- + @@ -39,7 +39,7 @@ {{else}}
- + @@ -85,7 +85,7 @@
{{/with}} {{else}} - {{localize "Make your roll"}} + {{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.makeYourRoll"}} {{/if}}
{{/if}} @@ -133,7 +133,7 @@
{{/each}} {{else}} - {{localize "Make your roll"}} + {{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.makeYourRoll"}} {{/if}}
{{/if}} @@ -179,8 +179,8 @@
- - + +
\ No newline at end of file