mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Added givemesunshine
command to force summer
This commit is contained in:
parent
1676ea0d2b
commit
2110edb9c2
@ -730,5 +730,6 @@
|
||||
"chatbot-cannot_accept_any_more_of_gift": "You cannot accept any more of this gift",
|
||||
"chatbot-forced_event_enabled": "%s event has been enabled, restart your game client before starting a raid",
|
||||
"chatbot-added_stash_rows_please_restart": "Added 2 rows to stash, please restart your game to see them",
|
||||
"chatbot-snow_enabled": "Snow is enabled for all subsequent raids until the server is restarted"
|
||||
"chatbot-snow_enabled": "Snow is enabled for all subsequent raids until the server is restarted",
|
||||
"chatbot-summer_enabled": "Summer has been enabled for all subsequent raids until the server is restarted"
|
||||
}
|
||||
|
@ -169,6 +169,16 @@ export class SptDialogueChatBot implements IDialogueChatBot {
|
||||
);
|
||||
}
|
||||
|
||||
if (requestInput === "givemesunshine") {
|
||||
this.weatherConfig.overrideSeason = Season.SUMMER;
|
||||
|
||||
this.mailSendService.sendUserMessageToPlayer(
|
||||
sessionId,
|
||||
sptFriendUser,
|
||||
this.randomUtil.getArrayValue([this.localisationService.getText("chatbot-summer_enabled")]),
|
||||
);
|
||||
}
|
||||
|
||||
if (requestInput === "veryspooky") {
|
||||
const enableEventResult = this.seasonalEventService.forceSeasonalEvent(SeasonalEventType.HALLOWEEN);
|
||||
if (enableEventResult) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user