Guest User

Untitled

a guest
Jan 16th, 2024
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 30.14 KB | None | 0 0
  1. ---------------------------------------
  2. ---------------------------------------
  3. --           GalacticSystem          --
  4. --                                   --
  5. --                                   --
  6. --                                   --
  7. --              Author:              --
  8. --      Fabian 'Mekphen' Zimber      --
  9. --                                   --
  10. ---------------------------------------
  11. ---------------------------------------
  12.  
  13. ---------------------------------------
  14. --       Config  | GalacticSystem    --
  15. ---------------------------------------
  16.  
  17. GalacticSystem = GalacticSystem or {}
  18.  
  19. -- Base Speed --
  20. -- You can test around with this number. Sets how long the travel time for a fleet is --
  21. GalacticSystem.BaseSpeed                = 10
  22.  
  23. -- Command Enabled --
  24. -- If you want the players to only use the new consoles, you can disaable the command with "Disabled" --
  25. GalacticSystem.UseCommand = "Enabled"
  26.  
  27. -- Mine Earning --
  28. -- Every mine of a faction gives this value in the mine intervall. Remember that a faction can have multiple planets with multiple mines --
  29. GalacticSystem.MineEarning              = 200
  30.  
  31. -- Mine Intervall --
  32. -- Sets how often the mines should payout their earning, in seconds --
  33. GalacticSystem.MineIntervall            = 120
  34.  
  35. -- Mine Price --
  36. -- How much one mine should cost --
  37. GalacticSystem.MinePrice                = 2000
  38.  
  39. -- Base Income per Planet --
  40. -- How much money a planet itself generates (this is also payed out with the mine intervall) --
  41. GalacticSystem.BaseIncomePerPlanet      = 100
  42.  
  43. -- Faction Edit Permission --
  44. -- The Permission required to edit the faction name and description --
  45. GalacticSystem.EditFactionPermission    = 3
  46.  
  47. -- Faction Start Money --
  48. -- The money a new faction has at beginning --
  49. GalacticSystem.FactionStartMoney        = 50000
  50.  
  51. -- Override get Faction Method --
  52. -- If you are using a custom faction system, you can override the get faction (see optional method below) --
  53. GalacticSystem.OverrideGetFactionMethod = false
  54.  
  55. -- Color for Planet Labels shown in the Map --
  56. GalacticSystem.OwnColor                 = Color(0, 255, 0) -- Color of own planets
  57. GalacticSystem.FriendlyColor            = Color(0, 0, 255) -- Color of allied faction planets
  58. GalacticSystem.EnemyColor               = Color(255, 0, 0) -- Color of enemy planets
  59. GalacticSystem.NeutralColor             = Color(255, 255, 0) -- Color of neutral planets
  60.  
  61. -- Fonts --
  62. GalacticSystem.FontSmall                = "Trebuchet18"
  63. GalacticSystem.FontMedium               = "Trebuchet24"
  64. GalacticSystem.FontBig                  = "Trebuchet24"
  65. GalacticSystem.FontTitle                = "Trebuchet24"
  66.  
  67. -- Persistence --
  68. -- If the data should be stored in txt files, every time something changes. If this is false, the setup factions / planets / fleets will reset on restart --
  69. GalacticSystem.Persistence              = true
  70.  
  71. -- Map Background --
  72. GalacticSystem.MapBackground            = "planets/overview.png"
  73.  
  74. -- Optional, Override Get Faction Method --
  75. --[[
  76. function GalacticSystem:OverrideGetFaction(ply)
  77.     -- return [id - string] from ply's Faction
  78. end
  79. ]]
  80.  
  81. -- Optional, Ovverride Get Permission Method --
  82. --[[
  83. function GalacticSystem:OverrideGetPermission(ply)
  84.     -- return [table] from ply's permissionlevel
  85. end
  86. ]]
  87.  
  88. -- Optional, Ovverride Is Diplomat Method --
  89. --[[
  90. function GalacticSystem:OverrideIsDiplomat(ply)
  91.     -- return [boolean] is ply diplomat?
  92. end
  93. ]]  
  94.  
  95. -- Optional, Edit this hook for your gamemode --
  96. hook.Add("GalacticSystem.OnPurchase", "GalacticSystem.OnPurchaseConfigHook", function(buildtype, type, factionId) -- BuildType = ("ship" or "spacestation" or "mine")
  97.     if false then
  98.         return false, "this is an example to block purchase"
  99.     else
  100.         return true
  101.     end
  102. end)
  103.  
  104. -- Get Money Method --
  105. -- If your using DarkRP you should be fine, otherwise edit the method, so that it returns the number of given players money --
  106. function GalacticSystem:GetPlayerMoney(ply)
  107.     if DarkRP then
  108.         return ply:getDarkRPVar("money")
  109.     else
  110.         -- Insert you GetMoney Method for your custom Gamemode here
  111.         return 0
  112.     end
  113. end
  114.  
  115. -- Add Money Method --
  116. -- Again if you have darkrp your fine, otherwise edit this method, that the given player received the given money (its important that the method also support negative values, since there is no removemoney method) --
  117. if SERVER then
  118.     function GalacticSystem:AddMoney(ply, money)
  119.         if DarkRP then
  120.             ply:addMoney(money)
  121.         end
  122.         --Insert your custom AddMoney Method for your custom Gamemode here
  123.     end
  124. end
  125.  
  126. GalacticSystem.PermissionLevels = {
  127.     none = {
  128.         Name            = "None", -- Name that is shown in the /addjobtofaction Window
  129.         ViewPlanets     = false, -- Can open the overview of a planet
  130.         MoveFleets      = false, -- Can move fleets to other planets (includes also starting battles with a movement)
  131.         EditFleets      = false, -- Can Rename Fleets
  132.         EditShips       = false, -- Can assign Ships to Fleets / Rename Ships
  133.         CreateFleets    = false, -- Can Create new Fleets from a single Ship
  134.         DestroyFleets   = false, -- Can destroy existing fleets
  135.         Deposit         = false, -- Can deposit money on the faction bankaccount
  136.         Withdraw        = false, -- Can Withdraw money from the faction bankaccount
  137.         BuildMine       = false, -- Can build a mine on a planet
  138.         BuildStation    = false, -- Can build / upgrade spacestations on a planet
  139.         Retreat         = false, -- Can retreat from battles
  140.         CommanderMsg    = false, -- Receives Chat Messages for Commander
  141.     },
  142.    
  143.     viewer = {
  144.         Name            = "Viewer",
  145.         ViewPlanets     = true,
  146.         MoveFleets      = false,
  147.         EditFleets      = false,
  148.         EditShips       = false,
  149.         CreateFleets    = false,
  150.         DestroyFleets   = false,
  151.         Deposit         = true,
  152.         Withdraw        = false,
  153.         BuildMine       = false,
  154.         BuildStation    = false,
  155.         Retreat         = false,
  156.         CommanderMsg    = false,
  157.     },
  158.     basic = {
  159.         Name            = "Basic",
  160.         ViewPlanets     = true,
  161.         MoveFleets      = true,
  162.         EditFleets      = true,
  163.         EditShips       = true,
  164.         CreateFleets    = false,
  165.         DestroyFleets   = false,
  166.         Deposit         = true,
  167.         Withdraw        = false,
  168.         BuildMine       = true,
  169.         BuildStation    = false,
  170.         Retreat         = true,
  171.         CommanderMsg    = true,
  172.     },
  173.     manager = {
  174.         Name            = "Manager",
  175.         ViewPlanets     = true,
  176.         MoveFleets      = true,
  177.         EditFleets      = true,
  178.         EditShips       = true,
  179.         CreateFleets    = true,
  180.         DestroyFleets   = true,
  181.         Deposit         = true,
  182.         Withdraw        = false,
  183.         BuildMine       = true,
  184.         BuildStation    = true,
  185.         Retreat         = true,
  186.         CommanderMsg    = true,
  187.     },
  188.     leader = {
  189.         Name            = "Leader",
  190.         ViewPlanets     = true,
  191.         MoveFleets      = true,
  192.         EditFleets      = true,
  193.         EditShips       = true,
  194.         CreateFleets    = true,
  195.         DestroyFleets   = true,
  196.         Deposit         = true,
  197.         Withdraw        = true,
  198.         BuildMine       = true,
  199.         BuildStation    = true,
  200.         Retreat         = true,
  201.         CommanderMsg    = true,
  202.     }
  203. }
  204.  
  205. -- Faction Config --
  206. GalacticSystem.FactionInformation = {
  207.     rep = {
  208.         Name = "Republic",
  209.         Description = "Join the republic! Fight against the KUS!"
  210.     },
  211.     kus = {
  212.         Name = "KUS",
  213.         Description = "Join the kus! Fight against republic!"
  214.     }
  215. }
  216. -- Ship Config --
  217. GalacticSystem.ShipTypes = {
  218.     starDestroyerClass1 = {                                                     -- Ship Class Name, (No Spaces, no Special character, etc.)
  219.         hp = 50000,                                                             -- HP, Number - In Battle the firepower value is deducted from the hp
  220.         firepower = 6500,                                                       -- Firepower
  221.         model = "models/props/starwars/furniture/scale_stardestroyer.mdl",      -- Should be a spawnable model of the ship. NOTE: This is not an entity! This must be a prop model, not the copy to clipboard from an entity!
  222.         defaultName = "Class-1 Stardestroyer",                                  -- Name of the Ship
  223.         price = 35000000,                                                       -- Price of the ship
  224.     },
  225.     starDestroyerClass2 = {
  226.         hp = 65000,
  227.         firepower = 12000,
  228.         model = "models/props/starwars/furniture/scale_stardestroyer.mdl",
  229.         defaultName = "Class-2 Stardestroyer",
  230.         price = 45000000,
  231.     },
  232.     ventatorClass = {
  233.         hp = 35000,
  234.         firepower = 4000,
  235.         model = "models/starwars/ships/republic/republic attack cruiser.mdl",
  236.         defaultName = "Venator Class",
  237.         price = 20000000,
  238.     },
  239.     cruiser = {
  240.         hp = 10000,
  241.         firepower = 1500,
  242.         model = "models/bsp_raider/bsp_raider.mdl",
  243.         defaultName = "Cruiser",
  244.         price = 3000000,
  245.     },
  246.     attackCruiser = {
  247.         hp = 8000,
  248.         firepower = 3000,
  249.         model = "models/sweaw/ships/rep_corvette_1st_servius.mdl",
  250.         defaultName = "Attack-Cruiser",
  251.         price = 3200000,
  252.     },
  253.     gozantiClass = {
  254.         hp = 6000,
  255.         firepower = 500,
  256.         model = "models/skipray/skipray1.mdl",
  257.         defaultName = "Gozanti-Class",
  258.         price = 1000000,
  259.     },
  260.     razorClass = {
  261.         hp = 6000,
  262.         firepower = 500,
  263.         model = "models/sfp_ig2000/sfp_ig2000.mdl",
  264.         defaultName = "Razor-Class",
  265.         price = 800000,
  266.     },
  267.     tieFighter = {
  268.         hp = 200,
  269.         firepower = 50,
  270.         model = "models/tie2/tie2.mdl",
  271.         defaultName = "TIE-Fighter",
  272.         price = 20000,
  273.     },
  274.     tieAdvanced = {
  275.         hp = 500,
  276.         firepower = 20,
  277.         model = "models/tiead/tiead1.mdl",
  278.         defaultName = "TIE-Advanced",
  279.         price = 15000,
  280.     },
  281.     nebulonB = {
  282.         hp = 35000,
  283.         firepower = 5000,
  284.         model = "models/swbf3/vehicles/reb_nebulon.mdl",
  285.         defaultName = "Nebulon-B Frigate",
  286.         price = 12000000,
  287.     },
  288.     crKorvette = {
  289.         hp = 15000,
  290.         firepower = 1500,
  291.         model = "models/sweaw/ships/rep_corvette_2nd_servius.mdl",
  292.         defaultName = "CR90-Corvette",
  293.         price = 1000000,
  294.     },
  295.     stormClass = {
  296.         hp = 20000,
  297.         firepower = 1000,
  298.         model = "models/sweaw/ships/rep_corvette_3rd_servius.mdl",
  299.         defaultName = "Storm Class-2",
  300.         price = 800000,
  301.     },
  302.     xwing = {
  303.         hp = 100,
  304.         firepower = 50,
  305.         model = "models/min3r/x-wing.mdl",
  306.         defaultName = "X-Wing",
  307.         price = 15000,
  308.     },
  309.     uwing = {
  310.         hp = 200,
  311.         firepower = 250,
  312.         model = "models/sfp_r41/sfp_r41.mdl",
  313.         defaultName = "U-Wing",
  314.         price = 25000,
  315.     },
  316.    
  317.     starDestroyerClassKanzler = {
  318.         hp = 80000,
  319.         firepower = 15000,
  320.         model = "models/props/starwars/furniture/scale_stardestroyer.mdl",
  321.         defaultName = "Liberator-Klasse Sternzerstörer",
  322.         price = 10000000,
  323.     },
  324.     starDestroyerClassLiberator = {
  325.         hp = 65000,
  326.         firepower = 12000,
  327.         model = "models/props/starwars/furniture/scale_stardestroyer.mdl",
  328.         defaultName = "Kanzler-Klasse Sternzerstörer",
  329.         price = 850000,
  330.     },
  331.     ValiantVentatorClass = {
  332.         hp = 35000,
  333.         firepower = 4000,
  334.         model = "models/starwars/ships/republic/republic attack cruiser.mdl",
  335.         defaultName = "Valiant-Venator-Klasse Sternenzerstörer",
  336.         price = 100000,
  337.     },
  338.     VenatorClass = {
  339.         hp = 10000,
  340.         firepower = 1500,
  341.         model = "models/bsp_raider/bsp_raider.mdl",
  342.         defaultName = "Venator-Klasse Sternenzerstörer",
  343.         price = 50000,
  344.     },
  345.     AcclamatorCruiser = {
  346.         hp = 8000,
  347.         firepower = 3000,
  348.         model = "models/sweaw/ships/rep_corvette_1st_servius.mdl",
  349.         defaultName = "Acclamator-Klasse Angriffskreuzer",
  350.         price = 32000,
  351.     },
  352.     GuardianClass = {
  353.         hp = 6000,
  354.         firepower = 500,
  355.         model = "models/skipray/skipray1.mdl",
  356.         defaultName = "Guardian-Klasse",
  357.         price = 22000,
  358.     },
  359.     SabreClass = {
  360.         hp = 6000,
  361.         firepower = 500,
  362.         model = "models/sfp_ig2000/sfp_ig2000.mdl",
  363.         defaultName = "Sabre-Klasse",
  364.         price = 10000,
  365.     },
  366.       lucrehulkClass = {
  367.         hp = 35000,
  368.         firepower = 1000,
  369.         model = "models/props/starwars/furniture/scale_stardestroyer.mdl",
  370.         defaultName = "Lucrehulk-Klasse Blockaden Raumstation",
  371.         price = 90000,
  372.     },
  373.     subjugatorClass = {
  374.         hp = 20000,
  375.         firepower = 5000,
  376.         model = "models/props/starwars/furniture/scale_stardestroyer.mdl",
  377.         defaultName = "Subjugator-Klasse Schwerer Sternzerstörer",
  378.         price = 70000,
  379.     },
  380.     dreadnoughtClass = {
  381.         hp = 20000,
  382.         firepower = 4000,
  383.         model = "models/starwars/ships/republic/republic attack cruiser.mdl",
  384.         defaultName = "Dreadnought-Providence-Klasse Sternenzerstörer",
  385.         price = 50000,
  386.     },
  387.     providenceClass = {
  388.         hp = 10000,
  389.         firepower = 1500,
  390.         model = "models/bsp_raider/bsp_raider.mdl",
  391.         defaultName = "Providence-Klasse Sternenzerstörer",
  392.         price = 30000,
  393.     },
  394.     munificentClass = {
  395.         hp = 8000,
  396.         firepower = 3000,
  397.         model = "models/sweaw/ships/rep_corvette_1st_servius.mdl",
  398.         defaultName = "Munificent-Klasse Sternenfrigatte",
  399.         price = 30000,
  400.     },
  401.     recusantClass = {
  402.         hp = 6000,
  403.         firepower = 500,
  404.         model = "models/skipray/skipray1.mdl",
  405.         defaultName = "Recusant-Klasse Leichter Zerstörer",
  406.         price = 15000,
  407.     },
  408.     sabaothClass = {
  409.         hp = 6000,
  410.         firepower = 500,
  411.         model = "models/sfp_ig2000/sfp_ig2000.mdl",
  412.         defaultName = "Sabaoth-Kreuzer",
  413.         price = 15000,
  414.     },
  415.     --[[REP - Fighter]]
  416.     arc170 = {
  417.         hp = 200,
  418.         firepower = 90,
  419.         model = "models/sdog/arc170ch.mdl",
  420.         defaultName = "ARC-170",
  421.         price = 1600,
  422.     },
  423.     btlbYwing = {
  424.         hp = 900,
  425.         firepower = 60,
  426.         model = "models/ywing/ywing_btlb_test.mdl",
  427.         defaultName = "BTLB Y-Wing",
  428.         price = 2000,
  429.     },
  430.     V19 = {
  431.         hp = 500,
  432.         firepower = 20,
  433.         model = "models/sweaw/ships/rep_v19torrent.mdl",
  434.         defaultName = "V-19 Torrent Starfighter",
  435.         price = 500,
  436.     },
  437.     Vwing = {
  438.         hp = 160,
  439.         firepower = 60,
  440.         model = "models/vwing/vwing1.mdl",
  441.         defaultName = "V-Wing",
  442.         price = 700,
  443.     },
  444.     Z95 = {
  445.         hp = 500,
  446.         firepower = 40,
  447.         model = "models/z95/z951.mdl",
  448.         defaultName = "Z-95 Headhunter",
  449.         price = 1000,
  450.     },
  451.     Laat = {
  452.         hp = 1200,
  453.         firepower = 5,
  454.         model = "models/blu/laat.mdl",
  455.         defaultName = "Laat/i",
  456.         price = 500,
  457.     },
  458.     --[[KUS - Fighter]]
  459.       trifighter = {
  460.         hp = 200,
  461.         firepower = 90,
  462.         model = "models/sdog/arc170ch.mdl",
  463.         defaultName = "Droiden Tri-Fighter",
  464.         price = 250,
  465.     },
  466.     hyenaBomber = {
  467.         hp = 900,
  468.         firepower = 60,
  469.         model = "models/ywing/ywing_btlb_test.mdl",
  470.         defaultName = "Hyena-Class Bomber",
  471.         price = 1000,
  472.     },
  473.     advancedbomber = {
  474.         hp = 500,
  475.         firepower = 20,
  476.         model = "models/sweaw/ships/rep_v19torrent.mdl",
  477.         defaultName = "Vulture Advanced Bomber",
  478.         price = 500,
  479.     },
  480.     hmpGunship = {
  481.         hp = 160,
  482.         firepower = 60,
  483.         model = "models/vwing/vwing1.mdl",
  484.         defaultName = "HMP Droiden Gunship",
  485.         price = 500,
  486.     },
  487.     Vulture = {
  488.         hp = 500,
  489.         firepower = 40,
  490.         model = "models/z95/z951.mdl",
  491.         defaultName = "Vulture Droid",
  492.         price = 500,
  493.     },
  494. }
  495.  
  496. GalacticSystem.SpaceStations = {
  497.     imperialSmall = {                   -- Class Name, (again no special characters, no spaces etc.)
  498.         factionId = "imp",                  -- ID for which faction this space station will be used
  499.         ships = {                      
  500.             "tieFighter",               -- list of ship class names (defined above), that can be build
  501.             "tieAdvanced",
  502.         },
  503.         hp = 1000,                      -- HP of the spacestation
  504.         firepower = 25,                 -- Firepower of the spacestation
  505.         upgradesTo = "imperialMedium",  -- class name of what the spacestation upgrades to leave "" if this is the highest stages
  506.         name = "Small Spacestation",    -- Shown Name of spacestation
  507.         starter = true,                 -- Is this the first spacestation, this faction can build?
  508.         price = 500,                    -- Price of this spacestation
  509.     },
  510.     imperialMedium = {
  511.         factionId = "imp",
  512.         ships = {
  513.             "tieFighter",
  514.             "tieAdvanced",
  515.             "razorClass",
  516.             "gozantiClass",
  517.             "cruiser",
  518.         },
  519.         hp = 5000,
  520.         firepower = 500,
  521.         upgradesTo = "imperialBig",
  522.         name = "Medium Spacestation",
  523.         starter = false,
  524.         price = 500000,
  525.     },
  526.     imperialBig = {
  527.         factionId = "imp",
  528.         ships = {
  529.             "tieFighter",
  530.             "tieAdvanced",
  531.             "razorClass",
  532.             "gozantiClass",
  533.             "cruiser",
  534.             "ventatorClass",
  535.             "starDestroyerClass1",
  536.         },
  537.         hp = 12000,
  538.         firepower = 1000,
  539.         upgradesTo = "imperialHuge",
  540.         name = "Big Spacestation",
  541.         starter = false,
  542.         price = 3000000,
  543.     },
  544.     imperialHuge = {
  545.         factionId = "imp",
  546.         ships = {
  547.             "tieFighter",
  548.             "tieAdvanced",
  549.             "razorClass",
  550.             "gozantiClass",
  551.             "cruiser",
  552.             "ventatorClass",
  553.             "starDestroyerClass1",
  554.             "starDestroyerClass2",
  555.         },
  556.         hp = 30000,
  557.         firepower = 2000,
  558.         upgradesTo = "",
  559.         name = "Huge Spacestation",
  560.         starter = false,
  561.         price = 15000000,
  562.     },
  563.     rebellSmall = {
  564.         factionId = "reb",
  565.         ships = {
  566.             "xwing",
  567.             "uwing",
  568.         },
  569.         hp = 2000,
  570.         firepower = 100,
  571.         upgradesTo = "rebellMedium",
  572.         name = "Small Spacestation",
  573.         starter = true,
  574.         price = 500,
  575.     },
  576.     rebellMedium = {
  577.         factionId = "reb",
  578.         ships = {
  579.             "xwing",
  580.             "uwing",
  581.             "stormClass",
  582.             "crKorvette",
  583.         },
  584.         hp = 10000,
  585.         firepower = 500,
  586.         upgradesTo = "rebellBig",
  587.         name = "Medium Spacestation",
  588.         starter = true,
  589.         price = 500000,
  590.     },
  591.     rebellBig = {
  592.         factionId = "reb",
  593.         ships = {
  594.             "xwing",
  595.             "uwing",
  596.             "stormClass",
  597.             "crKorvette",
  598.             "nebulonB",
  599.         },
  600.         hp = 35000,
  601.         firepower = 1000,
  602.         upgradesTo = "",
  603.         name = "Big Spacestation",
  604.         starter = true,
  605.         price = 3000000,
  606.     },
  607.     RepublicSectorSmall = {
  608.         factionId = "rep",
  609.         ships = {
  610.             "Vwing",
  611.             "Z95",
  612.             "Laat",
  613.         },
  614.         hp = 1000,
  615.         firepower = 25,
  616.         upgradesTo = "RepublicSectorMedium",
  617.         name = "Kleine Sektor Raumstation",
  618.         starter = true,
  619.         price = 500,
  620.       },
  621.       RepublicSectorMedium = {
  622.         factionId = "rep",
  623.         ships = {
  624.             "Vwing",
  625.             "Z95",
  626.             "Laat",
  627.             "SabreClass",
  628.             "GuardianClass",
  629.             "AcclamatorCruiser",
  630.         },
  631.         hp = 5000,
  632.         firepower = 500,
  633.         upgradesTo = "RepublicSektorBig",
  634.         name = "Mittlere Sektor Raumstation",
  635.         starter = false,
  636.         price = 50000,
  637.       },
  638.       RepublicSektorBig = {
  639.         factionId = "rep",
  640.         ships = {
  641.             "arc170",
  642.             "Vwing",
  643.             "Z95",
  644.             "Laat",
  645.             "SabreClass",
  646.             "GuardianClass",
  647.             "AcclamatorCruiser",
  648.             "VenatorClass",
  649.         },
  650.         hp = 12000,
  651.         firepower = 1000,
  652.         upgradesTo = "RepublicHuge",
  653.         name = "Kleine Haupt Raumstation",
  654.         starter = false,
  655.         price = 300000,
  656.       },
  657.    
  658.       RepublicHuge = {
  659.         factionId = "rep",
  660.         ships = {
  661.             "arc170",
  662.             "btlbYwing",
  663.             "V19",
  664.             "Vwing",
  665.             "Z95",
  666.             "Laat",
  667.             "SabreClass",
  668.             "GuardianClass",
  669.             "AcclamatorCruiser",
  670.             "VenatorClass",
  671.             "ValiantVentatorClass",
  672.         },
  673.         hp = 30000,
  674.         firepower = 2000,
  675.         upgradesTo = "RepublicGiant",
  676.         name = "Haupt Raumstation",
  677.         starter = false,
  678.         price = 500000,
  679.       },
  680.    
  681.       RepublicGiant = {
  682.         factionId = "rep",
  683.         ships = {
  684.             "arc170",
  685.             "btlbYwing",
  686.             "V19",
  687.             "Vwing",
  688.             "Z95",
  689.             "Laat",
  690.             "SabreClass",
  691.             "GuardianClass",
  692.             "AcclamatorCruiser",
  693.             "VenatorClass",
  694.             "ValiantVentatorClass",
  695.             "starDestroyerClassLiberator",
  696.             "starDestroyerClassKanzler",
  697.         },
  698.         hp = 40000,
  699.         firepower = 3000,
  700.         name = "Große Haupt Raumstation",
  701.         starter = false,
  702.         price = 2000000,
  703.       },
  704.         KusSmall = {
  705.         factionId = "kus",
  706.         ships = {
  707.             "Vulture",
  708.             "hyenaBomber",
  709.             "trifighter",
  710.             "lucrehulkClass",
  711.             "dreadnoughtClass",
  712.                 "munificentClass",
  713.                 "sabaothClass",
  714.         },
  715.         hp = 2000,
  716.         firepower = 205,
  717.         upgradesTo = "KusMedium",
  718.         name = "KUS Kleine Raumstation",
  719.         starter = true,
  720.         price = 500,
  721.       },
  722.       KusMedium = {
  723.         factionId = "kus",
  724.         ships = {
  725.             "Vulture",
  726.             "hmpGunship",
  727.             "hyenaBomber",
  728.             "trifighter",
  729.             "lucrehulkClass",
  730.             "dreadnoughtClass",
  731.             "providenceClass",
  732.             "munificentClass",
  733.             "sabaothClass",
  734.         },
  735.         hp = 15000,
  736.         firepower = 1500,
  737.         upgradesTo = "KusBig",
  738.         name = "KUS Sektor Raumstation",
  739.         starter = false,
  740.         price = 50000,
  741.       },
  742.       KusBig = {
  743.         factionId = "kus",
  744.         ships = {
  745.             "Vulture",
  746.             "hmpGunship",
  747.             "advancedbomber",
  748.             "hyenaBomber",
  749.             "trifighter",
  750.             "lucrehulkClass",
  751.             "subjugatorClass",
  752.             "dreadnoughtClass",
  753.             "providenceClass",
  754.             "munificentClass",
  755.             "recusantClass",
  756.             "sabaothClass",
  757.         },
  758.         hp = 100000,
  759.         firepower = 5000,
  760.         name = "KUS Haupt Raumstation",
  761.         starter = false,
  762.         price = 600000,
  763.       },
  764. }
  765.  
  766. GalacticSystem.PlanetInformation = {
  767.     coruscant = {
  768.         PositionX = 485,
  769.         PositionY = 210,
  770.         BuildSlotGround = 5,
  771.         BuildSlotSpace = 3,
  772.         SlotSpace = 5,
  773.         Name = "Coruscant",
  774.         Icon = "planets/coruscant.png",
  775.         BasePlanet = true,
  776.         Faction = "rep",
  777.     },
  778.     geonosis = {
  779.         PositionX = 900,
  780.         PositionY = 600,
  781.         BuildSlotGround = 4,
  782.         BuildSlotSpace = 1,
  783.         SlotSpace = 4,
  784.         Name = "Geonosis",
  785.         Icon = "planets/geonosis.png",
  786.         BasePlanet = true,
  787.         Faction = "kus",
  788.     },
  789.     tython = {
  790.         PositionX = 485,
  791.         PositionY = 285,
  792.         BuildSlotGround = 3,
  793.         BuildSlotSpace = 3,
  794.         SlotSpace = 3,
  795.         Name = "Tython",
  796.         Icon = "planets/tython.png"
  797.     },
  798.     korriban = {
  799.         PositionX = 790,
  800.         PositionY = 150,
  801.         BuildSlotGround = 3,
  802.         BuildSlotSpace = 1,
  803.         SlotSpace = 3,
  804.         Name = "Korriban",
  805.         Icon = "planets/korriban.png"
  806.     },
  807.     tatooine = {
  808.         PositionX = 850,
  809.         PositionY = 550,
  810.         BuildSlotGround = 4,
  811.         BuildSlotSpace = 1,
  812.         SlotSpace = 2,
  813.         Name = "Tatooine",
  814.         Icon = "planets/tatooine.png"
  815.     },
  816.     kashyyyk = {
  817.         PositionX = 700,
  818.         PositionY = 210,
  819.         BuildSlotGround = 1,
  820.         BuildSlotSpace = 1,
  821.         SlotSpace = 3,
  822.         Name = "Kashyyyk",
  823.         Icon = "planets/kashyyk.png"
  824.     },
  825.     ordmandell = {
  826.         PositionX = 490,
  827.         PositionY = 130,
  828.         BuildSlotGround = 2,
  829.         BuildSlotSpace = 1,
  830.         SlotSpace = 3,
  831.         Name = "Ord Mantell",
  832.         Icon = "planets/ordmandell.png"
  833.     },
  834.     dantooine = {
  835.         PositionX = 510,
  836.         PositionY = 10,
  837.         BuildSlotGround = 1,
  838.         BuildSlotSpace = 1,
  839.         SlotSpace = 3,
  840.         Name = "Dantooine",
  841.         Icon = "planets/dantooine.png"
  842.     },
  843.     alderaan = {
  844.         PositionX = 600,
  845.         PositionY = 210,
  846.         BuildSlotGround = 2,
  847.         BuildSlotSpace = 1,
  848.         SlotSpace = 3,
  849.         Name = "Alderaan",
  850.         Icon = "planets/alderaan.png"
  851.     },
  852.     kuat = {
  853.         PositionX = 660,
  854.         PositionY = 285,
  855.         BuildSlotGround = 2,
  856.         BuildSlotSpace = 1,
  857.         SlotSpace = 3,
  858.         Name = "Kuat",
  859.         Icon = "planets/kuat.png"
  860.     },
  861.     naboo = {
  862.         PositionX = 670,
  863.         PositionY = 630,
  864.         BuildSlotGround = 2,
  865.         BuildSlotSpace = 1,
  866.         SlotSpace = 3,
  867.         Name = "Naboo",
  868.         Icon = "planets/naboo.png"
  869.     },
  870.     rishi = {
  871.         PositionX = 1050,
  872.         PositionY = 480,
  873.         BuildSlotGround = 2,
  874.         BuildSlotSpace = 1,
  875.         SlotSpace = 3,
  876.         Name = "Rishi",
  877.         Icon = "planets/rishi.png"
  878.     },
  879.     zeffo = {
  880.         PositionX = 980,
  881.         PositionY = 550,
  882.         BuildSlotGround = 2,
  883.         BuildSlotSpace = 1,
  884.         SlotSpace = 3,
  885.         Name = "Zeffo",
  886.         Icon = "planets/zeffo.png"
  887.     },
  888.     hoth = {
  889.         PositionX = 580,
  890.         PositionY = 650,
  891.         BuildSlotGround = 2,
  892.         BuildSlotSpace = 1,
  893.         SlotSpace = 3,
  894.         Name = "Hoth",
  895.         Icon = "planets/hoth.png"
  896.     },
  897.     rhenvar = {
  898.         PositionX = 790,
  899.         PositionY = 230,
  900.         BuildSlotGround = 2,
  901.         BuildSlotSpace = 1,
  902.         SlotSpace = 3,
  903.         Name = "Rhen Var",
  904.         Icon = "planets/rhenvar.png"
  905.     },
  906.     anaxes = {
  907.         PositionX = 550,
  908.         PositionY = 170,
  909.         BuildSlotGround = 3,
  910.         BuildSlotSpace = 1,
  911.         SlotSpace = 2,
  912.         Name = "Anaxes",
  913.         Icon = "planets/anaxes.png"
  914.     },
  915.     christophsis = {
  916.         PositionX = 850,
  917.         PositionY = 615,
  918.         BuildSlotGround = 2,
  919.         BuildSlotSpace = 1,
  920.         SlotSpace = 1,
  921.         Name = "Christophsis",
  922.         Icon = "planets/christophsis.png"
  923.     },
  924.     felucia = {
  925.         PositionX = 835,
  926.         PositionY = 210,
  927.         BuildSlotGround = 2,
  928.         BuildSlotSpace = 1,
  929.         SlotSpace = 1,
  930.         Name = "Felucia",
  931.         Icon = "planets/felucia.png"
  932.     },
  933.     florrum = {
  934.         PositionX = 850,
  935.         PositionY = 140,
  936.         BuildSlotGround = 2,
  937.         BuildSlotSpace = 1,
  938.         SlotSpace = 1,
  939.         Name = "Florrum",
  940.         Icon = "planets/florrum.png"
  941.     },
  942.     fondor = {
  943.         PositionX = 490,
  944.         PositionY = 360,
  945.         BuildSlotGround = 2,
  946.         BuildSlotSpace = 1,
  947.         SlotSpace = 1,
  948.         Name = "Fondor",
  949.         Icon = "planets/fondor.png"
  950.     },
  951.     kamino = {
  952.         PositionX = 1025,
  953.         PositionY = 530,
  954.         BuildSlotGround = 4,
  955.         BuildSlotSpace = 1,
  956.         SlotSpace = 4,
  957.         Name = "Kamino",
  958.         Icon = "planets/kamino.png"
  959.     },
  960.     mandalore = {
  961.         PositionX = 660,
  962.         PositionY = 100,
  963.         BuildSlotGround = 2,
  964.         BuildSlotSpace = 1,
  965.         SlotSpace = 3,
  966.         Name = "Mandalore",
  967.         Icon = "planets/mandalore.png"
  968.     },
  969.     mustafa = {
  970.         PositionX = 470,
  971.         PositionY = 700,
  972.         BuildSlotGround = 1,
  973.         BuildSlotSpace = 1,
  974.         SlotSpace = 3,
  975.         Name = "Mustafar",
  976.         Icon = "planets/mustafa.png"
  977.     },
  978.     mygeeto = {
  979.         PositionX = 450,
  980.         PositionY = 70,
  981.         BuildSlotGround = 2,
  982.         BuildSlotSpace = 1,
  983.         SlotSpace = 1,
  984.         Name = "Mygeeto",
  985.         Icon = "planets/mygeeto.png",
  986.     },
  987.     ryloth = {
  988.         PositionX = 960,
  989.         PositionY = 630,
  990.         BuildSlotGround = 2,
  991.         BuildSlotSpace = 1,
  992.         SlotSpace = 1,
  993.         Name = "Ryloth",
  994.         Icon = "planets/ryloth.png",
  995.     },
  996.     taris = {
  997.         PositionX = 615,
  998.         PositionY = 110,
  999.         BuildSlotGround = 2,
  1000.         BuildSlotSpace = 1,
  1001.         SlotSpace = 3,
  1002.         Name = "Taris",
  1003.         Icon = "planets/taris.png"
  1004.     },
  1005.     trandosha = {
  1006.         PositionX = 740,
  1007.         PositionY = 180,
  1008.         BuildSlotGround = 1,
  1009.         BuildSlotSpace = 1,
  1010.         SlotSpace = 3,
  1011.         Name = "Trandosha",
  1012.         Icon = "planets/trandosha.png"
  1013.     },
  1014.     narshaddaa = {
  1015.         PositionX = 700,
  1016.         PositionY = 380,
  1017.         BuildSlotGround = 1,
  1018.         BuildSlotSpace = 1,
  1019.         SlotSpace = 3,
  1020.         Name = "Nar Shaddaa",
  1021.         Icon = "planets/rhenvar.png"
  1022.     },
  1023.     utapau = {
  1024.         PositionX = 530,
  1025.         PositionY = 700,
  1026.         BuildSlotGround = 1,
  1027.         BuildSlotSpace = 1,
  1028.         SlotSpace = 3,
  1029.         Name = "Utapau",
  1030.         Icon = "planets/ordmantell.png"
  1031.     },
  1032.     corellia = {
  1033.         PositionX = 580,
  1034.         PositionY = 330,
  1035.         BuildSlotGround = 2,
  1036.         BuildSlotSpace = 1,
  1037.         SlotSpace = 1,
  1038.         Name = "Corellia",
  1039.         Icon = "planets/rhenvar.png"
  1040.     },
  1041. }
  1042.  
  1043.  
Add Comment
Please, Sign In to add comment