1234abcecba4321

igm AD

Oct 24th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. Let's make a game!
  2. name:Antimatter Dimensions
  3. //author:slabdrill
  4. desc:A game about making antimatter.
  5. //forum post:
  6. created:24/10/2017
  7. updated:24/10/2017
  8. version:0
  9.  
  10. Settings
  11. building cost increase:100%
  12. building cost refund:0%
  13.  
  14. Includes
  15. *include b10c %num %ci
  16. if (d[%num]b >= 10)
  17. d[%num]b = 0
  18. gain 10 d[%num]
  19. yield d[%num]c
  20. end
  21. multiply cost of d[%num]b by pow([%ci],d[%num]c)
  22. multiply yield of d[%num] by pow(2,d[%num]c)
  23. multiply yield of d[%num] by max(pow(2,resets-[%num]+1),1)
  24. multiply yield of d[%num] by pow(1/0.9,ts)
  25. if (d[%num]p >= 10)
  26. gain floor(d[%num]p/10) d[%num]
  27. d[%num]p = d[%num]p%10
  28. end
  29.  
  30. //Buttons
  31.  
  32. Resources
  33. *m|d0
  34. tag:rl
  35. start with:10
  36. name: Antimatter
  37. *resets
  38.  
  39. //maybe make these an include?
  40. *TEMPLATE
  41. tags:dc rl
  42. always hidden
  43. *d1c
  44. *d2c
  45. *d3c
  46. *d4c
  47. *d5c
  48. *d6c
  49. *d7c
  50. *d8c
  51. *TEMPLATE
  52. tags:dp rl
  53. always hidden
  54. *d1p
  55. *d2p
  56. *d3p
  57. *d4p
  58. *d5p
  59. *d6p
  60. *d7p
  61. *d8p
  62.  
  63. Buildings
  64. *ts
  65. tag:rl
  66. cost:1000 m
  67. cost increase:1000%
  68. req:1 d2
  69. *TEMPLATE
  70. no buy
  71. tags:d rl
  72. hidden when 0
  73. *d1
  74. on tick:gain 1 m
  75. *d2
  76. on tick:gain 1 d1p
  77. *d3
  78. on tick:gain 1 d2p
  79. *d4
  80. on tick:gain 1 d3p
  81. *d5
  82. on tick:gain 1 d4p
  83. *d6
  84. on tick:gain 1 d5p
  85. *d7
  86. on tick:gain 1 d6p
  87. *d8
  88. on tick:gain 1 d7p
  89.  
  90. *TEMPLATE
  91. limit:10
  92. tags:db rl
  93. *d1b
  94. name:First Dimension
  95. cost:10 m
  96. passive:grant 1 d1
  97. *d2b
  98. name:Second Dimension
  99. cost:100 m
  100. passive:grant 1 d2
  101. req:1 d1
  102. *d3b
  103. name:Third Dimension
  104. cost:1e4 m
  105. passive:grant 1 d3
  106. req:1 d2
  107. *d4b
  108. name:Fourth Dimension
  109. cost:1e6 m
  110. passive:grant 1 d4
  111. req:1 d3
  112. *d5b
  113. name:Fifth Dimension
  114. cost:1e9 m
  115. passive:grant 1 d5
  116. req:1 d4, 1 resets
  117. *d6b
  118. name:Sixth Dimension
  119. cost:1e13 m
  120. passive:grant 1 d6
  121. req:1 d5, 2 resets
  122. *d7b
  123. name:Seventh Dimension
  124. cost:1e18 m
  125. passive:grant 1 d7
  126. req:1 d6, 3 resets
  127. *d8b
  128. name:Eighth Dimension
  129. cost:1e24 m
  130. passive:grant 1 d8
  131. req:1 d7, 4 resets
  132.  
  133. Upgrades
  134. *cheat
  135. cost:10 m
  136. passive:grant 1e6 m
  137.  
  138. //Items
  139.  
  140. Achievements
  141. *core
  142. owned
  143. always hidden
  144. passive:
  145. [include b10c %num="1" %ci="1e3"]
  146. [include b10c %num="2" %ci="1e4"]
  147. [include b10c %num="3" %ci="1e5"]
  148. [include b10c %num="4" %ci="1e6"]
  149. [include b10c %num="5" %ci="1e8"]
  150. [include b10c %num="6" %ci="1e10"]
  151. [include b10c %num="7" %ci="1e12"]
  152. [include b10c %num="8" %ci="1e15"]
  153. end
  154.  
  155. Shinies
Add Comment
Please, Sign In to add comment