mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-15 22:15:16 -05:00
%RUPEE% -> #RUPEE#
This commit is contained in:
parent
50b3038a13
commit
2283471b7b
@ -4628,16 +4628,16 @@ void CreateRupeeMessages() {
|
|||||||
for (u8 rupee : rupees) {
|
for (u8 rupee : rupees) {
|
||||||
switch (rupee) {
|
switch (rupee) {
|
||||||
case TEXT_BLUE_RUPEE:
|
case TEXT_BLUE_RUPEE:
|
||||||
rupeeText = "\x05\x03 5 %RUPEE%\x05\x00";
|
rupeeText = "\x05\x03 5 #RUPEE#\x05\x00";
|
||||||
break;
|
break;
|
||||||
case TEXT_RED_RUPEE:
|
case TEXT_RED_RUPEE:
|
||||||
rupeeText = "\x05\x01 20 %RUPEE%\x05\x00";
|
rupeeText = "\x05\x01 20 #RUPEE#\x05\x00";
|
||||||
break;
|
break;
|
||||||
case TEXT_PURPLE_RUPEE:
|
case TEXT_PURPLE_RUPEE:
|
||||||
rupeeText = "\x05\x05 50 %RUPEE%\x05\x00";
|
rupeeText = "\x05\x05 50 #RUPEE#\x05\x00";
|
||||||
break;
|
break;
|
||||||
case TEXT_HUGE_RUPEE:
|
case TEXT_HUGE_RUPEE:
|
||||||
rupeeText = "\x05\x06 200 %RUPEE%\x05\x00";
|
rupeeText = "\x05\x06 200 #RUPEE#\x05\x00";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
customMessageManager->CreateMessage(Randomizer::rupeeMessageTableID, rupee,
|
customMessageManager->CreateMessage(Randomizer::rupeeMessageTableID, rupee,
|
||||||
@ -4682,7 +4682,7 @@ std::string Randomizer::InsertRupeeName(std::string message, int language) {
|
|||||||
replaceWith = frenchRupeeNames[randomIndex];
|
replaceWith = frenchRupeeNames[randomIndex];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
std::string replaceString = "%RUPEE%";
|
std::string replaceString = "#RUPEE#";
|
||||||
size_t pos = message.find(replaceString);
|
size_t pos = message.find(replaceString);
|
||||||
size_t len = replaceString.length();
|
size_t len = replaceString.length();
|
||||||
message.replace(pos, len, replaceWith);
|
message.replace(pos, len, replaceWith);
|
||||||
|
Loading…
Reference in New Issue
Block a user