Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local MenuButtons = {
- {
- ID = 1;
- Parent = FRAME:
- Pos = { ScrW() * 0.05, 50 };
- Size = { ScrW() * 0.1 , 50 };
- RelativeColor = Color( 56, 56 ,56, 128 );
- OriginalColor = Color( 56, 56 ,56, 128 );
- HoveredColor = Color( 255, 255 , 255, 255 );
- PressedColor = Color( 25, 25 , 25, 128 );
- Text = "Message of the Day";
- ShowToolTip = true;
- DoAlpha = true;
- OnPressed = function( self )
- for _, x in pairs( FRAME.Tabs ) do
- if ispanel( x ) then
- x:SetVisible( false )
- x._tabAlpha = 0;
- end
- end
- FRAME.Tabs[self.ID].DoCloseAlpha = false;
- FRAME.Tabs[self.ID]._tabAlpha = 0;
- FRAME.Tabs[self.ID]:SetVisible( true )
- FRAME.Tabs[self.ID].DoAlpha = true
- end;
- ToolTipBox = {
- Title = "Message of the Day";
- Size = { 230 , 115 };
- Description = {
- "This button will lead you to the our website";
- "located at www.560rp.com.";
- "";
- "You can check out our home-page or find";
- "more about in-game content here!";
- };
- //BackgroundColor = Color (0,0,0,240);
- }
- };
- {
- ID = 2;
- Parent = FRAME:
- Pos = { ScrW() * 0.15, 50 };
- Size = { ScrW() * 0.1 , 50 };
- RelativeColor = Color( 56, 56 ,56, 128 );
- OriginalColor = Color( 56, 56 ,56, 128 );
- HoveredColor = Color( 255, 255 , 255, 255 );
- PressedColor = Color( 25, 25 , 25, 128 );
- Text = "Development Cycle";
- DoAlpha = true;
- ShowToolTip = true;
- DisableOnInit = false;
- OnPressed = function( self )
- for _, x in pairs( FRAME.Tabs ) do
- if ispanel( x ) then
- x:SetVisible( false )
- x._tabAlpha = 0;
- end
- end
- FRAME.Tabs[self.ID].DoCloseAlpha = false;
- FRAME.Tabs[self.ID]._tabAlpha = 0;
- FRAME.Tabs[self.ID]:SetVisible( true )
- FRAME.Tabs[self.ID].DoAlpha = true
- end;
- ToolTipBox = {
- Title = "Development Cycle";
- Size = { 230 , 115 };
- Description = {
- "This is our over-view of the alpha. Updates-";
- "as well as developer commentary is posted";
- "in this menu for ease-of-access.";
- "";
- "(Note: This is an alpha gamemode, Suggest";
- "-your ideas or invest to bring them to life.)";
- };
- }
- };
- {
- ID = 3;
- Parent = FRAME:
- Pos = { ScrW() * 0.25, 50 };
- Size = { ScrW() * 0.1 , 50 };
- RelativeColor = Color( 56, 56 ,56, 128 );
- OriginalColor = Color( 56, 56 ,56, 128 );
- HoveredColor = Color( 255, 255 , 255, 255 );
- PressedColor = Color( 25, 25 , 25, 128 );
- Text = "My Character";
- DoAlpha = true;
- DisableOnInit = false;
- ShowToolTip = true;
- OnPressed = function( self )
- for _, x in pairs( FRAME.Tabs ) do
- if ispanel( x ) then
- x:SetVisible( false )
- x._tabAlpha = 0;
- end
- end
- FRAME.Tabs[self.ID].DoCloseAlpha = false;
- FRAME.Tabs[self.ID]._tabAlpha = 0;
- timer.Simple( 0.2, function()
- FRAME.Tabs[self.ID]:SetVisible( true )
- FRAME.Tabs[self.ID].DoAlpha = true
- end)
- end;
- ToolTipBox = {
- Title = "My Character";
- Size = { 230 , 110 };
- Description = {
- "This is the over-view of your character.";
- "You can extract useful information to find";
- "out new things about yourself through game-";
- "play. We encourage trying out jobs to access";
- "special information about them here.";
- };
- }
- };
- {
- ID = 4;
- Parent = FRAME:
- Pos = { ScrW() * 0.35, 50 };
- Size = { ScrW() * 0.1 , 50 };
- RelativeColor = Color( 56, 56 ,56, 128 );
- OriginalColor = Color( 56, 56 ,56, 128 );
- HoveredColor = Color( 255, 255 , 255, 255 );
- PressedColor = Color( 25, 25 , 25, 128 );
- Text = "Quests";
- DoAlpha = true;
- DisableOnInit = false;
- OnPressed = function( self )
- for _, x in pairs( FRAME.Tabs ) do
- if ispanel( x ) then
- x:SetVisible( false )
- x._tabAlpha = 0;
- end
- end
- FRAME.Tabs[self.ID].DoCloseAlpha = false;
- FRAME.Tabs[self.ID]._tabAlpha = 0;
- timer.Simple( 0.2, function()
- FRAME.Tabs[self.ID]:SetVisible( true )
- FRAME.Tabs[self.ID].DoAlpha = true
- end)
- end;
- ShowToolTip = true;
- ToolTipBox = {
- Title = "Quests";
- Size = { 230 , 100 };
- Description = {
- "You can look up your quest progress here.";
- "There is no archive of quests because we";
- "are working on perfecting the questing system";
- "to perfection."
- };
- }
- };
- {
- ID = 5;
- Parent = FRAME:
- Pos = { ScrW() * 0.45, 50 };
- Size = { ScrW() * 0.1 , 50 };
- RelativeColor = Color( 56, 56 ,56, 128 );
- OriginalColor = Color( 56, 56 ,56, 128 );
- HoveredColor = Color( 255, 255 , 255, 255 );
- PressedColor = Color( 25, 25 , 25, 128 );
- Text = "My Inventory";
- DoAlpha = true;
- DisableOnInit = false;
- OnPressed = function( self )
- for _, x in pairs( FRAME.Tabs ) do
- if ispanel( x ) then
- x:SetVisible( false )
- x._tabAlpha = 0;
- end
- end
- FRAME.Tabs[self.ID].DoCloseAlpha = false;
- FRAME.Tabs[self.ID]._tabAlpha = 0;
- FRAME.Tabs[self.ID]:SetVisible( true )
- FRAME.Tabs[self.ID].DoAlpha = true
- end;
- ShowToolTip = true;
- ToolTipBox = {
- Title = "My Inventory";
- Size = { 230 , 150 };
- Description = {
- "With your inventory you may equip, drop";
- "and use items that receive during game-play.";
- "Some items are more common than others and ";
- "certain quests will give you an item as a";
- "reward for completing them.";
- "";
- "(Note: Your crafting tab directly links to your";
- "-inventory.)";
- };
- }
- };
- {
- ID = 6;
- Parent = FRAME:
- Pos = { ScrW() * 0.55, 50 };
- Size = { ScrW() * 0.1 , 50 };
- RelativeColor = Color( 56, 56 ,56, 128 );
- OriginalColor = Color( 56, 56 ,56, 128 );
- HoveredColor = Color( 255, 255 , 255, 255 );
- PressedColor = Color( 25, 25 , 25, 128 );
- Text = "My Businesses";
- DoAlpha = true;
- DisableOnInit = false;
- OnPressed = function( self )
- for _, x in pairs( FRAME.Tabs ) do
- if ispanel( x ) then
- x:SetVisible( false )
- x._tabAlpha = 0;
- end
- end
- FRAME.Tabs[self.ID].DoCloseAlpha = false;
- FRAME.Tabs[self.ID]._tabAlpha = 0;
- FRAME.Tabs[self.ID]:SetVisible( true )
- FRAME.Tabs[self.ID].DoAlpha = true
- end;
- ShowToolTip = true;
- ToolTipBox = {
- Title = "My Businesses";
- Size = { 230 , 90 };
- Description = {
- "You can see your status of your invested";
- "businesses here. If you do not own any";
- "shares in a business then you can try";
- "finding the mysterious slav around town.";
- };
- }
- };
- {
- ID = 7;
- Parent = FRAME:
- Pos = { ScrW() * 0.65, 50 };
- Size = { ScrW() * 0.1 , 50 };
- RelativeColor = Color( 56, 56 ,56, 128 );
- OriginalColor = Color( 56, 56 ,56, 128 );
- HoveredColor = Color( 255, 255 , 255, 255 );
- PressedColor = Color( 25, 25 , 25, 128 );
- Text = "Crafting";
- DoAlpha = true;
- DisableOnInit = false;
- OnPressed = function( self )
- for _, x in pairs( FRAME.Tabs ) do
- if ispanel( x ) then
- x:SetVisible( false )
- x._tabAlpha = 0;
- end
- end
- FRAME.Tabs[self.ID].DoCloseAlpha = false;
- FRAME.Tabs[self.ID]._tabAlpha = 0;
- FRAME.Tabs[self.ID]:SetVisible( true )
- FRAME.Tabs[self.ID].DoAlpha = true
- end;
- ShowToolTip = true;
- ToolTipBox = {
- Title = "Crafting";
- Size = { 230 , 150 };
- Description = {
- "Together with your gathered items in your";
- "inventory, you can put them together to make";
- "special items that will help you with what you";
- "require.";
- "";
- "(Note: What you can craft is directly";
- "dependent on your skills and research.";
- "Not all items may be legal to craft).";
- };
- }
- };
- {
- ID = 8;
- Parent = FRAME:
- Pos = { ScrW() * .75, 50 };
- Size = { ScrW() * 0.1 , 50 };
- RelativeColor = Color( 56, 56 ,56, 128 );
- OriginalColor = Color( 56, 56 ,56, 128 );
- HoveredColor = Color( 255, 255 , 255, 255 );
- PressedColor = Color( 25, 25 , 25, 128 );
- Text = "Skill & Research";
- DoAlpha = true;
- DisableOnInit = false;
- OnPressed = function( self )
- for _, x in pairs( FRAME.Tabs ) do
- if ispanel( x ) then
- x:SetVisible( false )
- x._tabAlpha = 0;
- end
- end
- FRAME.Tabs[self.ID].DoCloseAlpha = false;
- FRAME.Tabs[self.ID]._tabAlpha = 0;
- FRAME.Tabs[self.ID]:SetVisible( true )
- FRAME.Tabs[self.ID].DoAlpha = true
- end;
- ShowToolTip = true;
- ToolTipBox = {
- Title = "Skill's & Research";
- Size = { 230 , 100 };
- Description = {
- "Through research your can receive status";
- "upgrades & bonuses that will help you find";
- "your own path in the world.";
- "";
- "(Note: Some research can strain you.)"
- };
- }
- };
- {
- ID = 9;
- Parent = FRAME:
- Pos = { ScrW() * .85, 50 };
- Size = { ScrW() * 0.1 , 50 };
- RelativeColor = Color( 56, 56 ,56, 128 );
- OriginalColor = Color( 56, 56 ,56, 128 );
- HoveredColor = Color( 255, 255 , 255, 255 );
- PressedColor = Color( 25, 25 , 25, 128 );
- Text = "Settings";
- DoAlpha = true;
- DisableOnInit = false;
- OnPressed = function( self )
- for _, x in pairs( FRAME.Tabs ) do
- if ispanel( x ) then
- x:SetVisible( false )
- x._tabAlpha = 0;
- end
- end
- FRAME.Tabs[self.ID].DoCloseAlpha = false;
- FRAME.Tabs[self.ID]._tabAlpha = 0;
- FRAME.Tabs[self.ID]:SetVisible( true )
- FRAME.Tabs[self.ID].DoAlpha = true
- end;
- ShowToolTip = true;
- ToolTipBox = {
- Title = "Settings";
- Size = { 230 , 50 };
- Description = {
- "With this menu you can adjust all client-side";
- "options.";
- };
- }
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement