From 38be7492d8fd626f7cb94947ccec8f36c712d9a3 Mon Sep 17 00:00:00 2001 From: VT-14 Date: Mon, 2 Oct 2023 21:38:40 -0400 Subject: [PATCH] Added Death Massages Vanilla now handles them using the Damage Type data system. --- src/generated/resources/assets/bloodmagic/lang/en_us.json | 3 ++- .../wayoftime/bloodmagic/common/data/GeneratorLanguage.java | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/generated/resources/assets/bloodmagic/lang/en_us.json b/src/generated/resources/assets/bloodmagic/lang/en_us.json index f8d39db29..8ba93c2a8 100644 --- a/src/generated/resources/assets/bloodmagic/lang/en_us.json +++ b/src/generated/resources/assets/bloodmagic/lang/en_us.json @@ -111,7 +111,6 @@ "bloodmagic.keybind.cycle_holding_neg": "Cycle Sigil (-)", "bloodmagic.keybind.cycle_holding_pos": "Cycle Sigil (+)", "bloodmagic.keybind.open_holding": "Open Sigil of Holding", - "chat.bloodmagic.damageSource": "%s's soul became too weak", "chat.bloodmagic.diviner.blockedBuild": "Unable to replace block at %d, %d, %d.", "chat.bloodmagic.living_upgrade_level_increase": "%s has leveled up to %d!", "chat.bloodmagic.ritual.activate": "A rush of energy flows through the ritual!", @@ -125,6 +124,8 @@ "chat.bloodmagic.routing.same": "Invalid - cannot link a node with itself.", "chat.bloodmagic.routing.set": "Setting node location.", "curios.identifier.living_armour_socket": "Living Armour Socket", + "death.attack.ritual": "%1$s died in a Well of Suffering", + "death.attack.sacrifice": "%1$s sacrificed a bit too much LP", "effect.bloodmagic.bounce": "Bounce", "effect.bloodmagic.flight": "Flight", "effect.bloodmagic.gravity": "Gravity", diff --git a/src/main/java/wayoftime/bloodmagic/common/data/GeneratorLanguage.java b/src/main/java/wayoftime/bloodmagic/common/data/GeneratorLanguage.java index bd37526a2..1b158270c 100644 --- a/src/main/java/wayoftime/bloodmagic/common/data/GeneratorLanguage.java +++ b/src/main/java/wayoftime/bloodmagic/common/data/GeneratorLanguage.java @@ -24,7 +24,10 @@ protected void addTranslations() add("itemGroup.bloodmagic.creativeTab", "Blood Magic"); add("itemGroup.bloodmagic.upgradeTab", "Blood Magic Living Upgrades"); - add("chat.bloodmagic.damageSource", "%s's soul became too weak"); + // Death Messages + //add("chat.bloodmagic.damageSource", "%s's soul became too weak"); + add("death.attack.sacrifice", "%1$s sacrificed a bit too much LP"); + add("death.attack.ritual", "%1$s died in a Well of Suffering"); // Tile Entitites add("tile.bloodmagic.soulforge.name", "Hellfire Forge");