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:
@@ -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" ))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user