[Money Messages] Cleanup quest::givecash(), split, and task reward messages. (#2205)

* [Money Messages] Cleanup quest::givecash(), split, and task reward messages.
- Cleans up all the money messages using ConvertMoneyToString().
- Allows quest::givecash() to have optional parameters other than copper.

* Commification.

* Corpse messages.

* String IDs and cleanup.
This commit is contained in:
Kinglykrab
2022-05-29 14:33:18 -04:00
committed by GitHub
parent 9e9ef6809b
commit bcf7ccefcd
11 changed files with 243 additions and 271 deletions
+6 -1
View File
@@ -35,7 +35,12 @@ void command_givemoney(Client *c, const Seperator *sep)
Chat::White,
fmt::format(
"Added {} to {}.",
ConvertMoneyToString(platinum, gold, silver, copper),
ConvertMoneyToString(
platinum,
gold,
silver,
copper
),
c->GetTargetDescription(target)
).c_str()
);