Skip to content

Commit

Permalink
[#893] Adjust language to be Creature rather than Actor
Browse files Browse the repository at this point in the history
  • Loading branch information
arbron committed Feb 28, 2024
1 parent acbd36f commit a78f797
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1369,42 +1369,42 @@
"Configure": "Configure Summons",
"Remove": "Remove Profile"
},
"ActorChanges": {
"Label": "Actor Changes",
"Hint": "Changes that will be made to the actor being summoned. Any @ references used in the following formulas will be based on the summoner’s stats."
},
"ArmorClass": {
"Label": "Bonus Armor Class",
"Hint": "Bonus to the Armor Class set on the summoned actor added to what is specified in their statblock."
"Hint": "Bonus to the Armor Class set on the summoned creature added to what is specified in their statblock."
},
"Configuration": "Summoning Configuration",
"CreatureChanges": {
"Label": "Creature Changes",
"Hint": "Changes that will be made to the creature being summoned. Any @ references used in the following formulas will be based on the summoner's stats."
},
"DisplayName": "Display Name",
"DropHint": "Drop actor here",
"DropHint": "Drop creature here",
"HitPoints": {
"Label": "Bonus Hit Points",
"Hint": "Additional hit points added to the actor on top of what is specified in their statblock."
"Hint": "Additional hit points added to the creature on top of what is specified in their statblock."
},
"ItemChanges": {
"Label": "Item Changes",
"Hint": "Changes made to items on the summoned actor."
"Hint": "Changes made to items on the summoned creature."
},
"Match": {
"Attacks": {
"Label": "Match Attacks",
"Hint": "Modify to hit values on the summoned actor’s attacks to match that of the summoner."
"Hint": "Modify to hit values on the summoned creature's attacks to match that of the summoner."
},
"Proficiency": {
"Label": "Match Proficiency",
"Hint": "Modify the summoned actor’s proficiency to match that of the summoner."
"Hint": "Modify the summoned creature's proficiency to match that of the summoner."
},
"Saves": {
"Label": "Match Saves",
"Hint": "Modify to saving throw DCs on the summoned actor’s abilities to match that of the summoner."
"Hint": "Modify to saving throw DCs on the summoned creature's abilities to match that of the summoner."
}
},
"Profile": {
"Label": "Summons Profiles",
"Empty": "Click above to add a profile or drop an actor to summon here."
"Empty": "Click above to add a profile or drop an creature to summon here."
}
},
"DND5E.Supply": "Supply",
Expand Down
2 changes: 1 addition & 1 deletion module/applications/item/summoning-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default class SummoningConfig extends DocumentSheet {
const data = TextEditor.getDragEventData(event);

// Handle re-ordering of list
if ( data?.item && (data.item === this.document.uuid) ) return this._onSortEntry(event, data);
if ( data.item === this.document.uuid ) return this._onSortEntry(event, data);

// Handle dropping linked items
if ( data?.type !== "Actor" ) return;
Expand Down
6 changes: 3 additions & 3 deletions templates/apps/summoning-config.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<i class="fa-solid fa-trash fa-fw" inert></i>
</button>
</div>
<div class="drag-bar"><i class="fa-solid fa-grip-lines-vertical" inert"></i></div>
<div class="drag-bar"><i class="fa-solid fa-grip-lines-vertical" inert></i></div>
<input type="hidden" name="profiles.{{ id }}._id" value="{{ id }}">
<input type="hidden" name="profiles.{{ id }}.sort" value="{{ sort }}" data-dtype="Number">
<input type="hidden" name="profiles.{{ id }}.uuid" value="{{ uuid }}">
Expand All @@ -36,8 +36,8 @@
{{/each}}
</ul>

<h3 class="form-header">{{ localize "DND5E.Summoning.ActorChanges.Label" }}</h3>
<p class="hint">{{ localize "DND5E.Summoning.ActorChanges.Hint" }}</p>
<h3 class="form-header">{{ localize "DND5E.Summoning.CreatureChanges.Label" }}</h3>
<p class="hint">{{ localize "DND5E.Summoning.CreatureChanges.Hint" }}</p>
<div class="form-group">
<label>{{ localize "DND5E.Summoning.Match.Proficiency.Label" }}</label>
<input type="checkbox" name="match.proficiency" {{ checked summons.match.proficiency }}>
Expand Down

0 comments on commit a78f797

Please sign in to comment.