e0717daa99
* This is to address [Issue 652](https://dev.sp-tarkov.com/SPT/Issues/issues/652). * Added messages with gift codes inside project/assets/database/locales/server/en.json * Update pmcchatresponse.json to include new pity message type. * Update logic in project/src/services/PmcChatResponseService.ts to now account for pity messages that are sent. The message's %giftcode% will now be replaced with a random gift code from assets\configs\gifts.json * Example: - ![image](/attachments/ade2686a-8dcb-4c11-9457-88e003a47416) Co-authored-by: Scuvy <Scuvy@gmail.com> Co-authored-by: chomp <chomp@noreply.dev.sp-tarkov.com> Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/359 Co-authored-by: Scuvy <scuvy@noreply.dev.sp-tarkov.com> Co-committed-by: Scuvy <scuvy@noreply.dev.sp-tarkov.com> |
||
---|---|---|
.. | ||
airdrop.json | ||
bot.json | ||
btr.json | ||
core.json | ||
gifts.json | ||
health.json | ||
hideout.json | ||
http.json | ||
inraid.json | ||
insurance.json | ||
inventory.json | ||
item.json | ||
locale.json | ||
location.json | ||
loot.json | ||
lostondeath.json | ||
match.json | ||
playerscav.json | ||
pmc.json | ||
pmcchatresponse.json | ||
quest.json | ||
ragfair.json | ||
repair.json | ||
scavcase.json | ||
seasonalevents.json | ||
trader.json | ||
weather.json |