11package dev .jort .copilot ;
22
3- import net .runelite .api .SoundEffectID ;
43import net .runelite .api .SoundEffectVolume ;
54import net .runelite .client .config .*;
65
@@ -11,12 +10,11 @@ public interface CopilotConfig extends Config {
1110
1211 @ ConfigSection (
1312 name = "Settings" ,
14- description = "Set which activity you want assistance with. Only one selected item works ." ,
13+ description = "Configure settings which apply to all helpers ." ,
1514 position = 0
1615 )
1716 String settingsSection = "Settings" ;
1817
19-
2018 @ Range (
2119 max = SoundEffectVolume .HIGH
2220 )
@@ -32,13 +30,24 @@ default int alertVolume() {
3230 }
3331
3432 @ ConfigItem (
35- keyName = "soundId " ,
33+ keyName = "mainSoundId " ,
3634 name = "Alert sound ID" ,
3735 description = "Configures the sound to play for alerts. For inspiration: search 'sound id osrs'." ,
3836 section = settingsSection ,
3937 position = 2
4038 )
41- default int soundId () {
39+ default int mainSoundId () {
40+ return 3929 ;
41+ }
42+
43+ @ ConfigItem (
44+ keyName = "alternativeSoundId" ,
45+ name = "Alt alert sound ID" ,
46+ description = "Configures the sound to play when the inventory is full. Set to 0 to disable." ,
47+ section = settingsSection ,
48+ position = 3
49+ )
50+ default int alternativeSoundId () {
4251 return 1959 ;
4352 }
4453
@@ -47,7 +56,7 @@ default int soundId() {
4756 name = "Alert delay" ,
4857 description = "Configure after how many milliseconds of inactivity the alert go off." ,
4958 section = settingsSection ,
50- position = 3
59+ position = 4
5160 )
5261 default int alertDelayMs () {
5362 return 1000 ;
@@ -61,7 +70,7 @@ default int alertDelayMs() {
6170 position = 4
6271 )
6372 default int amountOfSoundAlerts () {
64- return 3 ;
73+ return 5 ;
6574 }
6675
6776
@@ -71,7 +80,7 @@ default int amountOfSoundAlerts() {
7180 name = "Notification color" ,
7281 description = "Set the notification overlay color" ,
7382 section = settingsSection ,
74- position = 5
83+ position = 6
7584 )
7685 default Color overlayColor () {
7786 return new Color (1.0f , 0.0f , 0.0f , 0.1f );
@@ -83,7 +92,7 @@ default Color overlayColor() {
8392 name = "Highlight color" ,
8493 description = "Set the color of the highlight for items to click." ,
8594 section = settingsSection ,
86- position = 6
95+ position = 7
8796 )
8897 default Color highlightColor () {
8998 return new Color (0.0f , 1.0f , 1.0f , 0.2f );
@@ -92,41 +101,30 @@ default Color highlightColor() {
92101 @ ConfigSection (
93102 name = "Activities" ,
94103 description = "Set which activity you want assistance with. Only one selected item works." ,
95- position = 7
104+ position = 8
96105 )
97106 String activitiesSection = "Activities" ;
98107
99108 @ ConfigItem (
100- keyName = "willowsDraynor " ,
101- name = "Willows @ Draynor bank " ,
102- description = "Chop down and bank willows next to the bank in Draynor Village ." ,
109+ keyName = "woodcuttingGeneral " ,
110+ name = "Woodcutting " ,
111+ description = "Highlights trees, logs and banks ." ,
103112 section = activitiesSection ,
104- position = 8
113+ position = 9
105114
106115 )
107- default boolean willowsDraynor () {
116+ default boolean woodcutting () {
108117 return false ;
109118 }
110119
111120 @ ConfigItem (
112121 keyName = "fishingBarbarianVillage" ,
113- name = "Fishing & Cooking @ Barbarians" ,
122+ name = "Fishing and Cooking at Barbarians" ,
114123 description = "Fish trout and salmon at Barbarian Village, cook it and then drop it." ,
115124 section = activitiesSection ,
116- position = 9
117- )
118- default boolean fishingBarbarian () {
119- return false ;
120- }
121-
122- @ ConfigItem (
123- keyName = "yewsWoodcuttingGuild" ,
124- name = "Yews @ Woodcutting Guild" ,
125- description = "Chop down and bank yew trees at the Woodcutting Guild" ,
126- section = activitiesSection ,
127125 position = 10
128126 )
129- default boolean yewsGuild () {
127+ default boolean fishingBarbarian () {
130128 return false ;
131129 }
132130}
0 commit comments