mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Added rules tab
This commit is contained in:
@@ -107,6 +107,22 @@ welcome-roles=We run a custom role system to help protect the work of others. As
|
|||||||
welcome-chat=Chatting can be difficult for new players because it’s different than other games! It’s very simple, the button you need to press is the “GRAVE/TILDE” key (which is located under the “ESC key”) - If you would like to change the key, go to your Controls tab in options.\nThe setting you need to change is “Toggle chat (and Lua console)” you currently have it set to "__CONTROL__toggle-console__"
|
welcome-chat=Chatting can be difficult for new players because it’s different than other games! It’s very simple, the button you need to press is the “GRAVE/TILDE” key (which is located under the “ESC key”) - If you would like to change the key, go to your Controls tab in options.\nThe setting you need to change is “Toggle chat (and Lua console)” you currently have it set to "__CONTROL__toggle-console__"
|
||||||
rules-tab=Rules
|
rules-tab=Rules
|
||||||
rules-tooltip=Rules for our server
|
rules-tooltip=Rules for our server
|
||||||
|
rules-general=By playing on our servers you accept the rules below. If you are supected of breaking a rule then you will be questioned by one of our moderators. If required you will be banned from our servers, appeals can be made by contacting an Administrator on our discord.
|
||||||
|
rules-1=Hacking / cheating / abusing bugs will not be tolerated.
|
||||||
|
rules-2=Any bugs or exploits found should be reported to our staff members.
|
||||||
|
rules-3=Be respectful to other players in chat, this includes any other forms of communication.
|
||||||
|
rules-4=Taking all items from a belt or logistics network is forbidden: sharing resources is mandatory.
|
||||||
|
rules-5=Spamming of chat, bots, unlimited chests, or concrete is not allowed.
|
||||||
|
rules-6=Before removing major parts of the factory tell other players why you are removing it.
|
||||||
|
rules-7=Do not cause unnecessary lag by placing/removing tiles with bots or using active provider chests, if think some thing might cause lag please ask staff first.
|
||||||
|
rules-8=Do not walk in random directions with no reason, this is to reduce map download times.
|
||||||
|
rules-9=Do not use speakers on global or with alerts without prior permission, no one wants to hear your music at full volume without knowing where the off switch is.
|
||||||
|
rules-10=Do not rotate belts, deactivate belts with wires, or cause production to stop without good reason, this goes for inserters and spliters as well.
|
||||||
|
rules-11=Do not make train roundabouts. Other loops such as RoRo stations are allowed.
|
||||||
|
rules-12=When using trains, use the same size other players have used, many players use 1-2-1, 2-4-2, or 3-8-3, meaning 1 engine 2 cargo 1 engine.
|
||||||
|
rules-13=Trains are Left Hand Drive (LHD) only, this means trains drive on the left side of the tracks.
|
||||||
|
rules-14=Do not beg for roles, advertise other servers, or link to harmful sites.
|
||||||
|
rules-15=Use common sense, report rule breakers, and Administrators have the final word.
|
||||||
commands-tab=Commands
|
commands-tab=Commands
|
||||||
commands-tooltip=Commands which you are able to use
|
commands-tooltip=Commands which you are able to use
|
||||||
servers-tab=Servers
|
servers-tab=Servers
|
||||||
|
|||||||
@@ -90,10 +90,36 @@ end))
|
|||||||
--- Content area for the rules tab
|
--- Content area for the rules tab
|
||||||
-- @element rules_content
|
-- @element rules_content
|
||||||
Tab({'readme.rules-tab'},{'readme.rules-tooltip'},
|
Tab({'readme.rules-tab'},{'readme.rules-tooltip'},
|
||||||
Gui.element{
|
Gui.element(function(_,parent)
|
||||||
|
local container = parent.add{ type='flow', direction='vertical' }
|
||||||
|
|
||||||
|
-- Add the title to the content
|
||||||
|
local title_flow = container.add{ type='flow' }
|
||||||
|
title_flow.style.vertical_align = 'center'
|
||||||
|
Gui.bar(title_flow,267)
|
||||||
|
title_flow.add{
|
||||||
type = 'label',
|
type = 'label',
|
||||||
caption = 'Rules'
|
caption = {'readme.rules-tab'},
|
||||||
})
|
style = 'heading_1_label'
|
||||||
|
}
|
||||||
|
Gui.bar(title_flow,267)
|
||||||
|
|
||||||
|
-- Add the tab description
|
||||||
|
description_label(container,575,{'readme.rules-general'})
|
||||||
|
Gui.bar(container)
|
||||||
|
|
||||||
|
-- Add a table for the rules
|
||||||
|
local rules = Gui.scroll_table(container,275,1)
|
||||||
|
rules.style = 'bordered_table'
|
||||||
|
rules.style.top_margin = 2
|
||||||
|
|
||||||
|
-- Add the rules to the table
|
||||||
|
for i = 1,15 do
|
||||||
|
description_label(rules,545,{'readme.rules-'..i})
|
||||||
|
end
|
||||||
|
|
||||||
|
return container
|
||||||
|
end))
|
||||||
|
|
||||||
--- Content area for the commands tab
|
--- Content area for the commands tab
|
||||||
-- @element commands_content
|
-- @element commands_content
|
||||||
|
|||||||
Reference in New Issue
Block a user