game.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. game:
  2. debug: True # Makes jobs complete instantly
  3. server:
  4. port: 6060
  5. general:
  6. resources:
  7. - gold
  8. - wood
  9. - stone
  10. storage: # Free storage
  11. gold: 1000
  12. wood: 1000
  13. start: # Starting resources
  14. gold: 1000
  15. units:
  16. -
  17. type: peasant
  18. level: 1
  19. -
  20. type: peasant
  21. level: 1
  22. building:
  23. palace:
  24. name: Palace
  25. levels:
  26. -
  27. cost:
  28. gold: 100
  29. wood: 100
  30. stone: 0
  31. time: 30
  32. requirements: {}
  33. -
  34. cost:
  35. gold: 500
  36. wood: 500
  37. stone: 100
  38. time: 120
  39. requirements: {}
  40. barracks:
  41. name: Barracks
  42. levels:
  43. -
  44. cost:
  45. gold: 50
  46. wood: 200
  47. time: 300
  48. requirements: {}
  49. goldmine:
  50. name: Gold Mine
  51. production: gold
  52. levels:
  53. -
  54. rate: 1 # Resources / second
  55. cost:
  56. gold: 20
  57. wood: 100
  58. time: 10
  59. requirements: {}
  60. vault:
  61. name: vault
  62. storage: gold
  63. levels:
  64. -
  65. capacity: 1000
  66. cost:
  67. wood: 10
  68. time: 10
  69. requirements: {}
  70. library:
  71. name: Library
  72. levels:
  73. -
  74. cost:
  75. gold: 1000
  76. wood: 1000
  77. time: 7200
  78. requirements: {}
  79. -
  80. cost:
  81. gold: 10000
  82. wood: 1000
  83. stone: 1000
  84. time: 43200 # 12 * 3600
  85. requirements: {}
  86. unit:
  87. peasant:
  88. name: Peasant
  89. levels:
  90. -
  91. hp: 1
  92. damage: 1
  93. range: 1
  94. speed: 1
  95. cost:
  96. gold: 100
  97. time: 1
  98. requirements: {}
  99. footman:
  100. name: Footman
  101. levels:
  102. -
  103. hp: 10
  104. damage: 3
  105. range: 1
  106. speed: 2
  107. cost:
  108. gold: 10
  109. time: 10
  110. requirements:
  111. buildings:
  112. barracks: 1
  113. archer:
  114. name: Archer
  115. levels:
  116. -
  117. hp: 6
  118. damage: 2
  119. range: 5
  120. speed: 3
  121. cost:
  122. gold: 5
  123. wood: 5
  124. time: 10
  125. requirements:
  126. buildings:
  127. barracks: 1
  128. research:
  129. archery: 1
  130. research:
  131. archery:
  132. name: Archery
  133. levels:
  134. -
  135. cost:
  136. time: 10
  137. gold: 100
  138. requirements:
  139. buildings:
  140. library: 1
  141. missions:
  142. -
  143. name: Got wood?
  144. type: gather
  145. cost:
  146. time: 5
  147. units:
  148. peasant: 3
  149. rewards:
  150. resources:
  151. wood: 200
  152. requirements: {}