-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathSettings.lua
42 lines (37 loc) · 1.68 KB
/
Settings.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
local Settings: {
DefaultTheme: {
[number]: {
MinimumViewportWidth: number;
MinimumViewportHeight: number;
ThemeName: string;
}
};
ShowResponsesAfterMessageFinished: boolean;
DefaultClickSound: number;
MinimumDistanceFromCharacter: number;
KeybindsEnabled: boolean;
DefaultChatTriggerKey: Enum.KeyCode;
DefaultChatTriggerKeyGamepad: Enum.KeyCode;
DefaultChatContinueKey: Enum.KeyCode;
DefaultChatContinueKeyGamepad: Enum.KeyCode;
} = {
-- [ Theme Settings ] --
DefaultTheme = {
{
MinimumViewportWidth = 0,
MinimumViewportHeight = 0,
ThemeName = "BigAndBoldDialogue"
}
}; -- This is the default theme that will be used when talking with NPCs
-- [ Response Settings ] --
ShowResponsesAfterMessageFinished = true; -- Prevents the player from selecting responses without first viewing the dialogue
DefaultClickSound = 0; -- Replace this with an audio ID that'll play every time a player continues a conversation or selects a response. Replace with 0 to not play any sound.
-- [ Chat Triggers and Keybinds ] --
MinimumDistanceFromCharacter = 10; -- Minimum distance from a character required for keybinds should work
KeybindsEnabled = true; -- Whether or not keybinds should work
DefaultChatTriggerKey = Enum.KeyCode.F; -- Keyboard keybind to start a conversation with an NPC
DefaultChatTriggerKeyGamepad = Enum.KeyCode.ButtonX; -- Gamepad keybind to start a conversation with an NPC
DefaultChatContinueKey = Enum.KeyCode.F; -- Keyboard keybind to continue a conversation with an NPC
DefaultChatContinueKeyGamepad = Enum.KeyCode.ButtonA; -- Gamepad keybind to continue a conversation with an NPC
};
return Settings;