Improved ActionCountdown initial name to be 'Start Countdown'

This commit is contained in:
WBHarry 2025-11-20 11:24:20 +01:00
parent 30828cd6ee
commit dcb8cbdcc8
2 changed files with 3 additions and 1 deletions

View file

@ -78,7 +78,8 @@
"label": "Beastform" "label": "Beastform"
}, },
"countdown": { "countdown": {
"defaultOwnership": "Default Ownership" "defaultOwnership": "Default Ownership",
"startCountdown": "Start Countdown"
}, },
"damage": { "damage": {
"multiplier": "Multiplier", "multiplier": "Multiplier",

View file

@ -16,6 +16,7 @@ export default class DhCountdownAction extends DHBaseAction {
/** @inheritdoc */ /** @inheritdoc */
static getSourceConfig(parent) { static getSourceConfig(parent) {
const updateSource = game.system.api.data.actions.actionsTypes.base.getSourceConfig(parent); const updateSource = game.system.api.data.actions.actionsTypes.base.getSourceConfig(parent);
updateSource.name = game.i18n.localize('DAGGERHEART.ACTIONS.Config.countdown.startCountdown');
updateSource['countdown'] = [ updateSource['countdown'] = [
{ {
...game.system.api.data.countdowns.DhCountdown.defaultCountdown(), ...game.system.api.data.countdowns.DhCountdown.defaultCountdown(),