mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
* Create base-damage.cfg * Update base-damage.cfg * spellfix grievers changed to griefers * Create admin.cfg needs editing * Create announcements.cfg * Update announcements.cfg * needs translatoin * needs translation still in English * needs translation * needs translation * Create inventory-search.cfg * translation fixed not much more to write * translation fixed * needs translation * needs translation * needs translation * needs translation * needs translation * needs translation * needs translation * needs translation * needs translation * translation fixed * unfinishied * Translation mostly fixed Couldnt find the right words to correctly translate the emotions and genuine feelings behind "loops" and #fear the aids", they are so genuine as they are now. * translation fixed * translation fixed * translation fixed * translation fixed * translation fixed * translation fixed * hopefully correctly translated (read my comment) not sure if "not enough credentials" is correctly translated. I supposed you meant not enough security clearance or somthing like that. I could have written (Access denied due to invalid rank= Tillgång nekas på grund av otillräcklig rang) * translation fixed * translation fixed * translation fixed * grammar fix * grammer fix Yeah, I copied the grammar error from original English file and made a similiar error in the swedish version. * spell fix * better grammar * estetical language change * added order pizza * order pizza * fix * Update chat-bot.cfg * spelfix * Update auto-chat.lua * added make-cofee * added make cofee * fix because I cant spell apperantly * spell fix because I cant spell apperantly * missing = * coffee * make coffee * make coffee * food I find it quite funny that arty would pin that message on discord and it is still there. * food I wonder how long that pin will stay about the random food suggestion generator... * food changed to what to eat * food changed to whattoeat * Update chat-bot.cfg * Coffee on twise * mead and snaps added * !mead please * a fix * !pass some snaps * get-cocktail * !make cocktail * fix? * fix? * rhd (thadius suggestion) * lhd message added * Fixed Comment and indentation * rhd changed from shout to messages * I am also a lazy bastard * Update colours.lua * Not needed in commands if present in messages * Fixed missing comma * !make popcorn need more shouts. Somebody tried this without result so why not. * get-popcorn added * addition * looks better this way * -added wiki message to chat bot (only as a global shout !wiki) -added wiki to links in readme -minor language change in one of the jokes and a couple of translations for swedish version * caps5 (wiki) added * merge error * merge error * merge * merge * colon * colon * asdf
133 lines
4.4 KiB
Lua
133 lines
4.4 KiB
Lua
--[[
|
|
Explosive Gaming
|
|
|
|
This file can be used with permission but this and the credit below must remain in the file.
|
|
Contact a member of management on our discord to seek permission to use our code.
|
|
Any changes that you may make to the code are yours but that does not make the script yours.
|
|
Discord: https://discord.gg/r6dC2uK
|
|
]]
|
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
|
|
|
local function format_label(label)
|
|
label.style.maximal_width = 480
|
|
label.style.single_line = false
|
|
end
|
|
|
|
Gui.center.add{
|
|
name='readme',
|
|
caption='utility/questionmark',
|
|
tooltip={'readme.tooltip'}
|
|
}:add_tab('guildlines',{'readme.guildlines-name'},{'readme.guildlines-tooltip'},function(frame)
|
|
for i = 1,10 do
|
|
local style=nil; if i == 1 then style = 'caption_label' end
|
|
format_label(frame.add{
|
|
type='label',
|
|
caption={'readme.guildlines-line'..tostring(i)},
|
|
style=style
|
|
})
|
|
end
|
|
end):add_tab('chat',{'readme.chat-name'},{'readme.chat-tooltip'},function(frame)
|
|
format_label(frame.add{
|
|
type='label',
|
|
caption={'readme.chat-singleline'}
|
|
})
|
|
end):add_tab('commands',{'readme.commands-name'},{'readme.commands-tooltip'},function(frame)
|
|
format_label(frame.add{
|
|
type='label',
|
|
caption={'readme.commands-singleline'}
|
|
})
|
|
Gui.bar(frame,480)
|
|
local table = frame.add{name='command_table',type='table',column_count=2}
|
|
table.add{
|
|
type='label',
|
|
caption={'readme.commands-col1'},
|
|
style='caption_label'
|
|
}
|
|
table.add{
|
|
type='label',
|
|
caption={'readme.commands-col2'},
|
|
style='caption_label'
|
|
}
|
|
table.style.width = 480
|
|
table.draw_vertical_lines = true
|
|
table.draw_horizontal_line_after_headers = true
|
|
for _,command in pairs(commands.get_commands(frame.player_index)) do
|
|
table.add{
|
|
type='label',
|
|
caption='/'..command.name
|
|
}
|
|
local discription = table.add{
|
|
type='label',
|
|
caption=command.description,
|
|
}
|
|
discription.style.maximal_width = 400
|
|
discription.style.single_line = false
|
|
end
|
|
end):add_tab('links',{'readme.links-name'},{'readme.links-tooltip'},function(frame)
|
|
local links={
|
|
'https://discord.explosivegaming.nl',
|
|
'https://explosivegaming.nl',
|
|
'http://steamcommunity.com/groups/tntexplosivegaming',
|
|
'https://www.patreon.com/badgamernl',
|
|
'https://wiki.explosivegaming.nl/'
|
|
}
|
|
local function format(text_box)
|
|
text_box.style.minimal_width=400
|
|
text_box.read_only = true
|
|
text_box.word_wrap = true
|
|
text_box.selectable = true
|
|
end
|
|
for i,link in pairs(links) do
|
|
frame.add{
|
|
type="label",
|
|
caption={'readme.links-cap'..tostring(i)},
|
|
style='caption_label'
|
|
}
|
|
format(frame.add{
|
|
type='text-box',
|
|
text=link
|
|
})
|
|
end
|
|
end):add_tab('servers',{'readme.servers-name'},{'readme.servers-tooltip'},function(frame)
|
|
format_label(frame.add{
|
|
type='label',
|
|
caption={'readme.servers-singleline'}
|
|
})
|
|
Gui.bar(frame,480)
|
|
for i = 1,6 do
|
|
frame.add{
|
|
type='label',
|
|
caption={'readme.servers-format',tostring(i),{'readme.servers-cap'..tostring(i)}},
|
|
style='caption_label'
|
|
}
|
|
format_label(frame.add{
|
|
type='label',
|
|
caption={'readme.servers-des'..tostring(i)}
|
|
})
|
|
end
|
|
end):add_tab('rules',{'readme.rules-name'},{'readme.rules-tooltip'},function(frame)
|
|
format_label(frame.add{
|
|
type='label',
|
|
caption={'readme.rules-singleline'}
|
|
})
|
|
Gui.bar(frame,480)
|
|
for i = 1,20 do
|
|
format_label(frame.add{
|
|
type='label',
|
|
caption={'readme.rules-format',i,{'readme.rules-rule'..tostring(i)}}
|
|
})
|
|
end
|
|
end)
|
|
|
|
Sync.add_to_gui(Gui.inputs.add_button('readme-sync-guildlines','View Guildlines','View the guildlines in the readme',function(player,element)
|
|
Gui.center.open_tab(player,'readme','guildlines')
|
|
end))
|
|
|
|
Sync.add_to_gui(Gui.inputs.add_button('readme-sync-links','View Other Links','View the links in the readme',function(player,element)
|
|
Gui.center.open_tab(player,'readme','links')
|
|
end))
|
|
|
|
Sync.add_to_gui(Gui.inputs.add_button('readme-sync-rules','View All Rules','View the all rules in the readme',function(player,element)
|
|
Gui.center.open_tab(player,'readme','rules')
|
|
end))
|