Skip to content

Commit

Permalink
edit window upadtes
Browse files Browse the repository at this point in the history
* We can load the config, and directly edit any of the events and channels.
* Deleting the channels and events is not implimented yet.
* You can add new channels and event lines.
  • Loading branch information
grimmier378 committed Mar 15, 2024
1 parent afedb84 commit 2854b23
Show file tree
Hide file tree
Showing 2 changed files with 445 additions and 186 deletions.
337 changes: 218 additions & 119 deletions default_settings.lua
@@ -1,121 +1,220 @@
return {
['Channels'] = {
['Exp AA pts'] = {
['Events'] = {
['2'] = {
['color'] = {0.78, 0.20, 0.05, 0.8,1},
['eventString'] = '#*#gained an ability point#*#',
},
['1'] = {
['color'] = {1.0, 1.0, 0.0,1},
['eventString'] = '#*#You have gained#*#experience!#*#',
},
},
['enabled'] = true,
},
['Group'] = {
['Events'] = {
['2'] = {
['color'] = {0.5, 0.5, 0.5,1},
['eventString'] = '#*#You tell your party, \'#*#',
},
['1'] = {
['color'] = {0.0, 0.5, 0.5,1},
['eventString'] = '#*#tells the group#*#',
},
},
['enabled'] = true,
},
['Say'] = {
['Events'] = {
['2'] = {
['color'] = {0.5, 0.5, 0.5,1},
['eventString'] = '#*#You say, \'#*#',
},
['1'] = {
['color'] = {1.0, 1.0, 1.0,1},
['eventString'] = '#*#says,#*#',
},
},
['enabled'] = true,
},
['Tells'] = {
['Events'] = {
['2'] = {
['color'] = {0.5, 0.5, 0.5,1},
['eventString'] = '#*#You told #1#,#*#',
},
['1'] = {
['color'] = {1.0, 0.5, 0.1,1},
['eventString'] = '#*#tells you,#*#',
},
},
['enabled'] = true,
},
['OOC'] = {
['Events'] = {
['2'] = {
['color'] = {0.5, 0.5, 0.5,1},
['eventString'] = '#*#You say out of character,#*#',
},
['1'] = {
['color'] = {0.0, 0.8, 0.3,1},
['eventString'] = '#*#say#*# out of character,#*#',
},
},
['enabled'] = true,
},
['Shout'] = {
['Events'] = {
['2'] = {
['color'] = {0.5, 0.5, 0.5,1},
['eventString'] = '#*#You shout, \'#*#',
},
['1'] = {
['color'] = {1.0, 0.0, 0.0,1},
['eventString'] = '#*#shouts,#*#',
},
},
['enabled'] = false,
},
['Raid'] = {
['Events'] = {
['2'] = {
['color'] = {0.5, 0.5, 0.5,1},
['eventString'] = '#You tell your raid,#*#',
},
['1'] = {
['color'] = {0.5, 0.7, 1.0,1},
['eventString'] = '#*#tells the raid#*#',
},
},
['enabled'] = false,
},
['Guild'] = {
['Events'] = {
['2'] = {
['color'] = {0.5, 0.5, 0.5,1},
['eventString'] = '#*#You say to your guild, \'#*#',
},
['1'] = {
['color'] = {0.0, 1.0, 0.0,1},
['eventString'] = '#*#tells the guild#*#',
},
},
['enabled'] = false,
},
['Auction'] = {
['Events'] = {
['2'] = {
['color'] = {0.5, 0.5, 0.5,1},
['eventString'] = '#*#You auction,#*#',
},
['1'] = {
['color'] = {0.0, 0.8, 0.3,1},
['eventString'] = '#*#auctions,#*#',
},
},
['enabled'] = true,
},
},
['Channels'] = {
[1] = {
['Name'] = 'Exp AA pts',
['Events'] = {
['1'] = {
['color'] = {
[1] = 1,
[2] = 1,
[3] = 0,
[4] = 1,
},
['eventString'] = '#*#You have gained#*#experience!#*#',
},
['2'] = {
['color'] = {
[1] = 0.7799999713897704,
[2] = 0.20000000298023224,
[3] = 0.05000000074505806,
[4] = 0.800000011920929,
},
['eventString'] = '#*#gained an ability point#*#',
},
},
['enabled'] = true,
},
[2] = {
['Name'] = 'Tells',
['Events'] = {
['1'] = {
['color'] = {
[1] = 1,
[2] = 0.5,
[3] = 0.10000000149011612,
[4] = 1,
},
['eventString'] = '#*#tells you,#*#',
},
['2'] = {
['color'] = {
[1] = 0.5,
[2] = 0.5,
[3] = 0.5,
[4] = 1,
},
['eventString'] = '#*#You told #1#,#*#',
},
},
['enabled'] = true,
},
[3] = {
['Name'] = 'Guild',
['Events'] = {
['1'] = {
['color'] = {
[1] = 0,
[2] = 1,
[3] = 0,
[4] = 1,
},
['eventString'] = '#*#tells the guild#*#',
},
['2'] = {
['color'] = {
[1] = 0.5,
[2] = 0.5,
[3] = 0.5,
[4] = 1,
},
['eventString'] = '#*#You say to your guild, \'#*#',
},
},
['enabled'] = true,
},
[4] = {
['Name'] = 'Say',
['Events'] = {
['1'] = {
['color'] = {
[1] = 1,
[2] = 1,
[3] = 1,
[4] = 1,
},
['eventString'] = '#*#says,#*#',
},
['2'] = {
['color'] = {
[1] = 0.5,
[2] = 0.5,
[3] = 0.5,
[4] = 1,
},
['eventString'] = '#*#You say, \'#*#',
},
},
['enabled'] = true,
},
[5] = {
['Name'] = 'Shout',
['Events'] = {
['1'] = {
['color'] = {
[1] = 1,
[2] = 0,
[3] = 0,
[4] = 1,
},
['eventString'] = '#*#shouts,#*#',
},
['2'] = {
['color'] = {
[1] = 0.5,
[2] = 0.5,
[3] = 0.5,
[4] = 1,
},
['eventString'] = '#*#You shout, \'#*#',
},
},
['enabled'] = true,
},
[6] = {
['Name'] = 'Auction',
['Events'] = {
['1'] = {
['color'] = {
[1] = 0,
[2] = 0.800000011920929,
[3] = 0.30000001192092896,
[4] = 1,
},
['eventString'] = '#*#auctions,#*#',
},
['2'] = {
['color'] = {
[1] = 0.5,
[2] = 0.5,
[3] = 0.5,
[4] = 1,
},
['eventString'] = '#*#You auction,#*#',
},
},
['enabled'] = true,
},
[7] = {
['Name'] = 'Raid',
['Events'] = {
['1'] = {
['color'] = {
[1] = 0.5,
[2] = 0.6999999880790709,
[3] = 1,
[4] = 1,
},
['eventString'] = '#*#tells the raid#*#',
},
['2'] = {
['color'] = {
[1] = 0.5,
[2] = 0.5,
[3] = 0.5,
[4] = 1,
},
['eventString'] = '#You tell your raid,#*#',
},
},
['enabled'] = true,
},
[8] = {
['Name'] = 'Group',
['Events'] = {
['1'] = {
['color'] = {
[1] = 0,
[2] = 0.5,
[3] = 0.5,
[4] = 1,
},
['eventString'] = '#*#tells the group#*#',
},
['2'] = {
['color'] = {
[1] = 0.5,
[2] = 0.5,
[3] = 0.5,
[4] = 1,
},
['eventString'] = '#*#You tell your party, \'#*#',
},
},
['enabled'] = true,
},
[9] = {
['Name'] = 'OOC',
['Events'] = {
['1'] = {
['color'] = {
[1] = 0,
[2] = 0.800000011920929,
[3] = 0.30000001192092896,
[4] = 1,
},
['eventString'] = '#*#say#*# out of character,#*#',
},
['2'] = {
['color'] = {
[1] = 0.5,
[2] = 0.5,
[3] = 0.5,
[4] = 1,
},
['eventString'] = '#*#You say out of character,#*#',
},
},
['enabled'] = true,
},
},
}

0 comments on commit 2854b23

Please sign in to comment.