From 9fba5a5e2a43ba768ba29528819b991888e82b6d Mon Sep 17 00:00:00 2001 From: Sinflower Date: Thu, 6 Nov 2025 23:03:33 +0100 Subject: [PATCH] Translated item get messages and passive skill learning --- js/plugins/CBR_core.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/js/plugins/CBR_core.js b/js/plugins/CBR_core.js index c5150da..745324b 100644 --- a/js/plugins/CBR_core.js +++ b/js/plugins/CBR_core.js @@ -856,22 +856,22 @@ var SDN_ActChest = function (itemType, itemId, itemvalue) { if (setKey == "I") { $gameParty.gainItem($dataItems[itemId], itemvalue); //インフォ用の文字列取得 - $gameVariables.setValue(4, "『" + $dataItems[itemId].name + "』×" + itemvalue + " 入手!"); + $gameVariables.setValue(4, "Got 『" + $dataItems[itemId].name + "』×" + itemvalue + "!"); $gameVariables.setValue(5, $dataItems[itemId].iconIndex); } else if (setKey == "W") { $gameParty.gainItem($dataWeapons[itemId], itemvalue); //インフォ用の文字列取得 - $gameVariables.setValue(4, "『" + $dataWeapons[itemId].name + "』×" + itemvalue + " 入手!"); + $gameVariables.setValue(4, "Got 『" + $dataWeapons[itemId].name + "』×" + itemvalue + "!"); $gameVariables.setValue(5, $dataWeapons[itemId].iconIndex); } else if (setKey == "A") { $gameParty.gainItem($dataArmors[itemId], itemvalue); //インフォ用の文字列取得 if ($dataArmors[itemId].atypeId == 1) { - var chaTarget = "白雪が"; + var chaTarget = "Shirayuki"; } else { - var chaTarget = "夜鶴が"; + var chaTarget = "Yotsuru"; } - $gameVariables.setValue(4, chaTarget + "パッシブスキル『" + $dataArmors[itemId].name + "』を習得した"); + $gameVariables.setValue(4, chaTarget + " mastered the passive skill 『" + $dataArmors[itemId].name + "』"); $gameVariables.setValue(5, $dataArmors[itemId].iconIndex); //説明用のコモンイベントトリガーを入れる処理 if (!$gameSwitches.value(164)) { @@ -880,7 +880,7 @@ var SDN_ActChest = function (itemType, itemId, itemvalue) { } else if (setKey == "M") { $gameParty.gainGold(itemvalue); //インフォ用の文字列取得 - $gameVariables.setValue(4, itemvalue + "円" + " 入手!"); + $gameVariables.setValue(4, "Got " + itemvalue + " Yen!"); $gameVariables.setValue(5, 87); } };