Advertisement
ForbodingAngel

Untitled

Jan 30th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. local options= {
  2. {
  3. key = 'startingresources',
  4. name = 'Starting Resources',
  5. desc = 'Sets storage and amount of resources that players will start with',
  6. type = 'section',
  7. },
  8. {
  9. key = 'startmetal',
  10. name = 'Starting Metal',
  11. desc = 'Determines amount of metal and metal storage that each player will start with',
  12. type = 'number',
  13. section= 'Starting Resources',
  14. def = 100,
  15. min = 0,
  16. max = 1000,
  17. step = 1, -- quantization is aligned to the def value
  18. -- (step <= 0) means that there is no quantization
  19. },
  20. {
  21. key = 'startenergy',
  22. name = 'Starting Energy',
  23. desc = 'Determines amount of energy and energy storage that each player will start with',
  24. type = 'number',
  25. section= 'Starting Resources',
  26. def = 250,
  27. min = 0,
  28. max = 1000,
  29. step = 1, -- quantization is aligned to the def value
  30. -- (step <= 0) means that there is no quantization
  31. },
  32.  
  33. {
  34. key = 'gameplayoptions',
  35. name = 'Gameplay Options',
  36. desc = 'Sets storage and amount of resources that players will start with',
  37. type = 'section',
  38. },
  39. {
  40. key="gameplayspeed",
  41. name="Gameplay Speed",
  42. desc="Modifies buildtimes based upon cost",
  43. type="list",
  44. def="faster",
  45. section="gameplayoptions",
  46. items={
  47. {key="normal", name="Normal", desc="Unit buildtimes are equal to their metal cost"},
  48. {key="fast", name="Fast", desc="Unit buildtimes are equal to their metal cost divided by 2"},
  49. {key="faster", name="Faster", desc="Unit buildtimes are equal to their metal cost divided by 4"},
  50. {key="fastest", name="Fastest", desc="All units have a buildtime of 5 seconds"},
  51. }
  52. },
  53.  
  54.  
  55. {
  56. key="aidifficulty",
  57. name="AI Difficulty",
  58. desc="Modifies how much Shard cheats",
  59. type="list",
  60. def="medium",
  61. section="gameplayoptions",
  62. items={
  63. {key="veryeasy", name="Very Easy", desc="AI gets a gift of 5 metal every 5 seconds"},
  64. {key="easy", name="Easy", desc="AI gets a gift of 10 metal every 5 seconds"},
  65. {key="medium", name="Medium", desc="AI gets a gift of 25 metal every 5 seconds"},
  66. {key="hard", name="Hard", desc="AI gets a gift of 50 metal every 5 seconds"},
  67. {key="insane", name="Insane", desc="AI gets a gift of 100 metal every 5 seconds"},
  68. }
  69. },
  70.  
  71. }
  72.  
  73. return options
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement