1234abcdcba4321

IGM: Complex stuff examples

May 14th, 2014
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.45 KB | None | 0 0
  1. Let's make a game!
  2. Complex stuff examples
  3. by 1234abcdcba4321
  4.  
  5. //stuff here is quite complex. Proceed at your own risk.
  6. Settings :
  7. resources are visible by default
  8. clickables are hidden by default
  9. upgrades are hidden by default
  10. achievements are hidden by default
  11. buildings are hidden by default
  12. //hide log
  13. //custom stylesheet : http://pastebin.com/raw.php?i=TqdgBKhc
  14.  
  15. //okay, so you're going for it. Nice to know that you're interested!
  16. Resources :
  17. *RTime
  18. abstract
  19. *RPhase
  20. abstract
  21. *RFast
  22. abstract
  23. *TCur
  24. starts at 9e99
  25. named Money
  26. *GCTime
  27. abstract
  28. *GCTime2
  29. abstract
  30. starts at 14
  31. *GCSpawn2
  32. abstract
  33. *GCMult
  34. abstract
  35. *GCMultTime
  36. abstract
  37. *AGCMultTime
  38. abstract
  39. starts at 77
  40. *wrCount
  41. named Wrinklers
  42. *AwrCount
  43. abstract
  44. starts at 10
  45. *wr1c
  46. abstract
  47. *wr2c
  48. abstract
  49. *wr3c
  50. abstract
  51. *wr4c
  52. abstract
  53. *wr5c
  54. abstract
  55. *wr6c
  56. abstract
  57. *wr7c
  58. abstract
  59. *wr8c
  60. abstract
  61. *wr9c
  62. abstract
  63. *wr10c
  64. abstract
  65. *temp1
  66. abstract
  67. *temp2
  68. abstract
  69. *temp3
  70. abstract
  71. *temp4
  72. abstract
  73. //Do you think that's enough abstract resources?
  74.  
  75. Clickables :
  76. *GCur
  77. visible
  78. named Get Money
  79. gives 9e99 TCur
  80. //I'm not sure when you'll need this.
  81. *GCSpawn
  82. visible
  83. named spawn a golden cookie
  84. gives 600 GCtime, 9e99 GCTime2
  85. *RAdv
  86. locks RAdv
  87. named Advance Research
  88. multiplies RTime 0%
  89. gives 1 RPhase
  90. gives 540 RTime requiring 1 RFast
  91. //That 540 can be changed to whatever you want. You could also just make the faster research multiply the speed of the RAbst.
  92. *GC
  93. visible at 1 GCSpawn
  94. named GOLDEN COOKIE!!!
  95. gives 1 temp1 for 1 GCSpawn
  96. gives 6 GCMult, 77 GCMultTime for 1 temp1, 77 AGCMultTime 70% of the time
  97. gives 665 GCMult, 6 GCMultTime for 1 temp1, 6 AGCMultTime 5% of the time
  98. multiplies GCTime 0%
  99. multiplies GCTime2 0%
  100. gives 14 GCTime2
  101. unlocks GCUpg1, GCUpg2, GCUpg3
  102. //I do believe the problem is that visible at isn't quite refined.
  103. *GC2
  104. named CLICK ME (instant cookie boost)
  105. visible at 1 temp1
  106. multiplies GCur 100.1%
  107. takes 1 temp1
  108. //I'll add a money/sec cap sometime later when i implement that (Yeah, I found a way. A very roundabout way...)
  109. //GCs can give: Frenzy effect (70%), Elder Frenzy effect (1.5%), +money effect (28.5%)
  110. *GC3
  111. named CLICK ME (resume production)
  112. visible at 1 temp2
  113. takes 1 temp2
  114. multiplies GCMult 0%
  115. *wrPop
  116. named Pop a wrinkler
  117. visible at 1 wrCount
  118. gives 1 AwrCount for 1 wrCount
  119. converts wr1c to TCur
  120. converts wr2c to wr1c
  121. converts wr3c to wr2c
  122. converts wr4c to wr3c
  123. converts wr5c to wr4c
  124. converts wr6c to wr5c
  125. converts wr7c to wr6c
  126. converts wr8c to wr7c
  127. converts wr9c to wr8c
  128. converts wr10c to wr9c
  129. Buildings :
  130. *TInfo
  131. visible
  132. "Check the source code for notes."
  133. named Info
  134. gives 10000 TCur
  135. gives 500 wr1c for 500 TCur requiring 1 wrCount
  136. gives 500 wr2c for 500 TCur requiring 2 wrCount
  137. gives 500 wr3c for 500 TCur requiring 3 wrCount
  138. gives 500 wr4c for 500 TCur requiring 4 wrCount
  139. gives 500 wr5c for 500 TCur requiring 5 wrCount
  140. gives 500 wr6c for 500 TCur requiring 6 wrCount
  141. gives 500 wr7c for 500 TCur requiring 7 wrCount
  142. gives 500 wr8c for 500 TCur requiring 8 wrCount
  143. gives 500 wr9c for 500 TCur requiring 9 wrCount
  144. gives 500 wr10c for 500 TCur requiring 10 wrCount
  145. gains 100% per GCMult
  146. gains -100% per temp2
  147. //This is the building that all multipliers effect. (See the /s value on money)
  148. *RAbst
  149. gives 1 RTime
  150. gives 1 GCSpawn2 for 600 GCTime, 1 GCTime2
  151. starts at 1
  152. *GCAdv1
  153. gives 0.8 GCTime
  154. gives 0.2 GCTime 65% of the time
  155. //To make a random range of chances
  156. starts at 1
  157. *GCAdv2
  158. takes 1 GCTime2 requiring 600 GCTime
  159. starts at 1
  160. *GCAdv3h
  161. gives 1 AGCMultTime for 1 GCMultTime
  162. starts at 1
  163. *GCAdv4
  164. gives 1 temp2 for 77 AGCMultTime
  165. starts at 1
  166. *wrSpawn
  167. gives 1 wrCount for 1 awrCount 0.01% of the time requiring 10 awrCount
  168. gives 1 wrCount for 1 awrCount 0.005% of the time requiring 9 awrCount, 1 wrCount
  169. gives 1 wrCount for 1 awrCount 0.003333333333333333333333% of the time requiring 8 awrCount, 2 wrCount
  170. gives 1 wrCount for 1 awrCount 0.0025% of the time requiring 7 awrCount, 3 wrCount
  171. gives 1 wrCount for 1 awrCount 0.002% of the time requiring 6 awrCount, 4 wrCount
  172. gives 1 wrCount for 1 awrCount 0.001666666666666666666667% of the time requiring 5 awrCount, 5 wrCount
  173. gives 1 wrCount for 1 awrCount 0.00142857142857142857142857% of the time requiring 4 awrCount, 6 wrCount
  174. gives 1 wrCount for 1 awrCount 0.00125% of the time requiring 3 awrCount, 8 wrCount
  175. gives 1 wrCount for 1 awrCount 0.001111111111111111111111% of the time requiring 2 awrCount, 7 wrCount
  176. gives 1 wrCount for 1 awrCount 0.001% of the time requiring 1 awrCount, 9 wrCount
  177. starts at 1
  178.  
  179. Upgrades :
  180. *GCUpg1
  181. named Upgrade Golden Cookies (spawn rate)
  182. costs 100 TCur
  183. multiplies efficiency of GCAdv1 by 150%
  184. *GCUpg2
  185. named Upgrade Golden Cookies (duration)
  186. costs 100 TCur
  187. multiplies efficiency of GCAdv2 by 50%
  188. *GCupg3
  189. named Upgrade Golden Cookies (effect duration)
  190. costs 100 TCur
  191. multiplies efficiency of GCAdv3 by 75%
  192. *RUpg1
  193. visible
  194. costs 100 TCur
  195. unlocks RAdv, RUpgFast
  196. named Research 1
  197. *RUpgFast
  198. costs 100 TCur, -1 RFast
  199. named Faster Research
  200. *RUpg2
  201. unlocks at 600 RTime, 1 RPhase
  202. costs 100 TCur
  203. unlocks RAdv
  204. named Research 2
  205. //Note: You can add any effect you want with these upgrades.
  206. //You can also change the amount of time each.
  207. *RUpg3
  208. unlocks at 600 RTime, 2 RPhase
  209. costs 100 TCur
  210. unlocks RAdv
  211. named Research 3
  212. *RUpg4
  213. unlocks at 600 RTime, 3 RPhase
  214. costs 100 TCur
  215. unlocks RAdv
  216. named Research 4
  217. *RUpg5
  218. unlocks at 600 RTime, 4 RPhase
  219. costs 100 TCur
  220. named Research 5
  221. "The end of the test research chain."
Advertisement
Add Comment
Please, Sign In to add comment