Add language entries; include prefix placeholders

Include the default prefix as a placeholder when deserializing messages (LanguageManager). Pass the invincibility time placeholder in GameManager broadcasts. Unify GoblinKit action bar messages to a single "ability_charged" language key. ScoreboardManager now imports legacySerializer and serializes the selected kit display name for the scoreboard. Large update to en_US.yml: added many game/timer/title/antirunner/build/craft/commands translations, updated player welcome and scoreboard title coloring, and added kits.goblin names, lore, items and messages.
This commit is contained in:
TDSTOS
2026-03-25 03:09:17 +01:00
parent 72c461ab28
commit cc265a1dea
5 changed files with 72 additions and 11 deletions

View File

@@ -149,7 +149,7 @@ class GoblinKit : Kit() {
player: Player
) {
player.playSound( player.location, Sound.BLOCK_ANVIL_USE, 0.8f, 1.5f )
player.sendActionBar(player.trans( "kits.goblin.messages.steal_kit_charged" ))
player.sendActionBar(player.trans( "kits.goblin.messages.ability_charged" ))
}
}
@@ -203,7 +203,7 @@ class GoblinKit : Kit() {
player: Player
) {
player.playSound( player.location, Sound.BLOCK_ANVIL_USE, 0.8f, 1.5f )
player.sendActionBar(player.trans( "kits.goblin.messages.bunker_charged" ))
player.sendActionBar(player.trans( "kits.goblin.messages.ability_charged" ))
}
}