1234abcdcba4321

magic game

Mar 3rd, 2014
622
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.16 KB | None | 0 0
  1. Let's make a game!
  2. Magic game (Needs better name)
  3. by 1234abcdcba4321
  4. Settings :
  5. resources are visible by default
  6. clickables are hidden by default
  7. upgrades are hidden by default
  8. achievements are hidden by default
  9. buildings are hidden by default
  10. //hide log
  11. custom stylesheet : http://pastebin.com/raw.php?i=TqdgBKhc
  12. Resources :
  13. *Explored
  14. displayed as You've explored %a of the planet!
  15. *TimePlayed
  16. displayed as You've played this game for %a seconds!
  17. *RDisp1
  18. starts at 1
  19. displayed as You have:
  20. *Magic
  21. named Magic
  22. *WaterMagic
  23. named Water Magic
  24. *EarthMagic
  25. named Earth Magic
  26. *FireMagic
  27. named Fire Magic
  28. *AirMagic
  29. named Air Magic
  30. *LightMagic
  31. named Light Magic
  32. *DarkMagic
  33. named Dark Magic
  34. *CompressMagic
  35. named Compressed Magic
  36. *LifeEnergy
  37. named Life Energy
  38. *Material
  39. named Material
  40. Clickables :
  41. *MagicClick1
  42. named Gain Magic
  43. gives 1 Magic
  44. "Gives you some magic."
  45. unlocks Mage1
  46. visible
  47. *EarthMagicClick1
  48. gives 1 EarthMagic for 0.5 Magic
  49. "Gives you some Earth magic, for a bit of regular magic."
  50. named Convert to Earth
  51. *WaterMagicClick1
  52. gives 1 WaterMagic for 0.5 Magic
  53. "Gives you some Water magic, for a bit of regular magic."
  54. named Convert to Water
  55. *FireMagicClick1
  56. gives 1 FireMagic for 0.5 Magic
  57. "Gives you some Fire magic, for a bit of regular magic."
  58. named Convert to Fire
  59. *AirMagicClick1
  60. gives 1 AirMagic for 0.5 Magic
  61. "Gives you some Air magic, for a bit of regular magic."
  62. named Convert to Air
  63. *LightMagicClick1
  64. gives 1 LightMagic for 1.5 AirMagic, 0.1 FireMagic
  65. "Gives you some Light magic, for some other magics."
  66. named Convert to Light
  67. *DarkMagicClick1
  68. gives 1 DarkMagic for 1.5 EarthMagic, 0.1 WaterMagic
  69. "Gives you some Dark magic, for some other magics."
  70. named Convert to Dark
  71. *CompressMagicClick1
  72. gives 1 CompressMagic for 1000 Magic
  73. "Compress 1000 magic."
  74. named Compress Magic
  75. unlocks CompressMage1, MageUpg2
  76. *LifeEnergyClick1
  77. gives 1 LifeEnergy for 2 CompressMagic, 50 WaterMagic, 75 AirMagic, 5 EarthMagic, 30 LightMagic, 5 DarkMagic
  78. "Convert many types of magic into life energy!<br>2 compressed, 50 water, 75 air, 5 earth, 30 light, 5 dark"
  79. unlocks Life1
  80. *ExploreClick1
  81. unlocks LifeEnergyClick1
  82. requires 3 CompressMagic
  83. "Explore the planet for 3 compressed magic."
  84. takes 3 CompressMagic
  85. gives 1 Explored,1000 Material
  86. locks ExploreClick1 requiring 100 Explored
  87. Buildings :
  88. *System
  89. gives 1 TimePlayed
  90. abstract
  91. starts at 1
  92. *CompressMage1
  93. gives 0.01 CompressMagic for 5 Magic
  94. "Compresses magic very slowly at an efficient rate."
  95. costs 50 CompressMagic
  96. unlocks ExploreUpg1
  97. *Mage1
  98. "Mages slowly produce a tiny bit of Magic."
  99. gives 0.1 Magic
  100. costs 20 Magic
  101. unlocks EarthUpg1, WaterUpg1, FireUpg1, AirUpg1
  102. named Mage
  103. gains 20% per MageBoost1
  104. *MageBoost1
  105. "Basic mages produce more magic the more of me there is! Time for some exponential growth!"
  106. costs 20 CompressMagic, 1 Material
  107. named Mage Booster
  108. *EarthMage1
  109. "Produces Earth magic for a tiny bit of Magic."
  110. gives 0.1 EarthMagic for 0.05 Magic
  111. costs 30 Magic
  112. named Earth Mage
  113. *WaterMage1
  114. "Produces Water magic for a tiny bit of Magic."
  115. gives 0.1 WaterMagic for 0.05 Magic
  116. costs 30 Magic
  117. named Water Mage
  118. *FireMage1
  119. "Produces Fire magic for a tiny bit of Magic."
  120. gives 0.1 FireMagic for 0.05 Magic
  121. costs 30 Magic
  122. named Fire Mage
  123. *AirMage1
  124. "Produces Air magic for a tiny bit of Magic."
  125. gives 0.1 AirMagic for 0.05 Magic
  126. costs 30 Magic
  127. named Air Mage
  128. *OmniMage1
  129. unlocks at 1 EarthMage1, 1 WaterMage1, 1 FireMage1, 1 AirMage1
  130. "Produces all elements of magic for a bit of magic."
  131. costs 5 Magic, 5 WaterMagic, 5 EarthMagic, 5 FireMagic, 5 AirMagic
  132. named Omni-mage
  133. gives 0.05 EarthMagic, 0.05 WaterMagic, 0.05 FireMagic, 0.05 AirMagic for 0.1 Magic
  134. unlocks OmniClickUpg1, ClickUpg1, TierUpg1
  135. *LightMage1
  136. "Produces Light magic for a bit of fire and some air."
  137. costs 1 FireMagic, 15 AirMagic
  138. named Light Mage
  139. gives 0.1 LightMagic for 0.01 FireMagic, 0.15 AirMagic
  140. *DarkMage1
  141. "Produces Dark magic for a bit of water and some earth."
  142. costs 1 WaterMagic, 15 EarthMagic
  143. named Dark Mage
  144. gives 0.1 DarkMagic for 0.01 WaterMagic, 0.15 EarthMagic
  145. *Mage2
  146. unlocks at 1 LightMage1, 1 DarkMage1
  147. named Converger
  148. "Converges light and dark magic back to normal magic at an efficient rate.<br>(This is supposed to be used for when your mages are getting really expensive.)"
  149. costs 50 Magic, 5 LightMagic, 5 DarkMagic
  150. gives 0.4 Magic for 0.05 LightMagic, 0.05 DarkMagic
  151. unlocks OmniClickUpg2, OmniMageUpg3, TierUpg2
  152. gains 20% per MageBoost1
  153. *Mage3
  154. named Strong Mage
  155. "Produces more magic."
  156. costs 100 Magic
  157. gives 0.5 Magic
  158. gains 20% per MageBoost1
  159. *EarthMage2
  160. named Strong Earth Mage
  161. costs 100 EarthMagic
  162. gives 0.4 EarthMagic
  163. "Produces Earth Magic without the need of regular magic!"
  164. *WaterMage2
  165. named Strong Water Mage
  166. costs 100 WaterMagic
  167. gives 0.4 WaterMagic
  168. "Produces Water Magic without the need of regular magic!"
  169. *FireMage2
  170. named Strong Fire Mage
  171. costs 100 FireMagic
  172. gives 0.4 FireMagic
  173. "Produces Fire Magic without the need of regular magic!"
  174. *AirMage2
  175. named Strong Air Mage
  176. costs 100 AirMagic
  177. gives 0.4 AirMagic
  178. "Produces Air Magic without the need of regular magic!"
  179. *Life1
  180. named Virus
  181. costs 1 LifeEnergy
  182. gives 0.01 LifeEnergy for 0.02 CompressMagic, 0.25 WaterMagic, 0.2 LightMagic, 0.05 DarkMagic
  183. "Slowly produces life energy. Uses no air or earth magic and uses reduced water and light magic."
  184. unlocks Life2
  185. *Life2
  186. named Human
  187. costs 50 LifeEnergy,2 CompressMagic
  188. gives 1 LifeEnergy for 2 CompressMagic, 50 WaterMagic, 75 AirMagic, 5 EarthMagic, 30 LightMagic, 5 DarkMagic
  189. "Produces life energy. Can be turned into other things."
  190. unlocks HumanMine1,HumanReligon1
  191. *HumanMine1
  192. costs 1 Life2,1000 Material
  193. gives 1 Material for 0.5 LifeEnergy
  194. gains 9% per Explored
  195. "Mines more Material for you.<br>Takes 1 life energy every 2 seconds."
  196. unlocks HumanMine2
  197. named Miner
  198. gives 0.1 LifeEnergy for 0.2 CompressMagic, 5 WaterMagic, 7.5 AirMagic, 0.5 EarthMagic, 3 LightMagic, 0.5 DarkMagic
  199. *HumanMine2
  200. costs 1 Life2,1000 Material
  201. gives 0.5 LifeEnergy for 50 Material
  202. "Uses 50 material a second to make 1 life energy every 2 seconds!"
  203. gives 1 LifeEnergy for 2 CompressMagic, 50 WaterMagic, 75 AirMagic, 5 EarthMagic, 30 LightMagic, 5 DarkMagic
  204. named Materializer
  205. *HumanReligon1
  206. costs 1 Life2,10 LifeEnergy,1 CompressMagic
  207. "Produces some magic, using life energy. Efficient.<br>Yes it still provides regular life energy from humans."
  208. gives 300 Magic, 5 WaterMagic, 7.5 AirMagic, 0.5 EarthMagic, 3 LightMagic, 0.5 DarkMagic for 0.1 LifeEnergy
  209. gives 1 LifeEnergy for 2 CompressMagic, 50 WaterMagic, 75 AirMagic, 5 EarthMagic, 30 LightMagic, 5 DarkMagic
  210. unlocks HumanReligon2
  211. named Religious Man
  212. *HumanReligon2
  213. costs 5 HumanReligion1,20 CompressMagic
  214. "A group of religious people. Produces magic faster.<br>Also, it does give the regular human gives - This time, a little faster."
  215. gives 1500 Magic, 25 WaterMagic, 37.5 AirMagic, 2.5 EarthMagic, 15 LightMagic, 2.5 DarkMagic for 0.4 LifeEnergy
  216. gives 5 LifeEnergy for 10 CompressMagic, 250 WaterMagic, 375 AirMagic, 25 EarthMagic, 150 LightMagic, 25 DarkMagic
  217. unlocks HumanReligon3
  218. named Religious Group
  219. *HumanReligon3
  220. costs 3 HumanReligon2,50 LifeEnergy,100 CompressMagic
  221. "Draws people into religion. Also produces some magic. Draws people into groups, too."
  222. gives 2 CompressMagic, 50 WaterMagic, 75 AirMagic, 5 EarthMagic, 30 LightMagic, 5 DarkMagic for 0.8 LifeEnergy
  223. builds 0.01 HumanReligon1, 0.002 HumanReligon2 for 0.02 Life2
  224. named Temple
  225. Upgrades :
  226. *EarthUpg1
  227. "Allows you to get Earth mages."
  228. costs 40 Magic
  229. unlocks EarthMage1
  230. named Unlock Earth
  231. *WaterUpg1
  232. "Allows you to get Water mages."
  233. costs 40 Magic
  234. unlocks WaterMage1
  235. named Unlock Water
  236. *FireUpg1
  237. "Allows you to get Fire mages."
  238. costs 40 Magic
  239. unlocks FireMage1
  240. named Unlock Fire
  241. *AirUpg1
  242. "Allows you to get Air mages."
  243. costs 40 Magic
  244. unlocks AirMage1
  245. named Unlock Air
  246. *OmniClickUpg1
  247. "Allows you to generate elemental magic by just clicking!"
  248. named Elemental Clicks
  249. costs 10 WaterMagic, 10 EarthMagic, 10 FireMagic, 10 AirMagic
  250. unlocks WaterMagicClick1, EarthMagicClick1, FireMagicClick1, AirMagicClick1
  251. *OmniClickUpg2
  252. "Gives you access to light and dark clicking converters."
  253. costs 20 LightMagic, 20 DarkMagic
  254. named Lightness Clicks
  255. unlocks LightMagicClick1, DarkMagicClick1
  256. *ClickUpg1
  257. "Gain more magic every click! (Doesn't work on elemental clicks)"
  258. named Better Clicks
  259. costs 100 Magic
  260. multiplies efficiency of MagicClick1 by 200%
  261. unlocks ClickUpg2, MageUpg1
  262. *ClickUpg2
  263. "Get EVEN MORE magic!"
  264. named Even Better Clicks
  265. costs 500 Magic, 5 WaterMagic, 5 EarthMagic, 5 FireMagic, 5 AirMagic
  266. multiplies efficiency of MagicClick1 by 250%
  267. multiplies efficiency of WaterMagicClick1, EarthMagicClick1, FireMagicClick1, AirMagicClick1 by 150%
  268. unlocks OmniMageUpg1
  269. *MageUpg1
  270. "Makes mages produce a lot more magic. (Especially basic ones)"
  271. named Better Mages
  272. costs 250 Magic, 25 WaterMagic, 25 EarthMagic, 25 FireMagic, 25 AirMagic
  273. multiplies efficiency of Mage1 by 400%
  274. multiplies efficiency of WaterMage1, EarthMage1, FireMage1, AirMage1, OmniMage1 by 200%
  275. *OmniMageUpg1
  276. "Elemental mages are better."
  277. named Efficient Mages
  278. costs 75 WaterMagic, 75 EarthMagic, 75 FireMagic, 75 AirMagic
  279. multiplies efficiency of WaterMage1, EarthMage1, FireMage1, AirMage1 by 200%
  280. *TierUpg1
  281. named Tier 2
  282. "Light manipulation. Plus a bit more, if you need it..."
  283. costs 500 Magic, 75 WaterMagic, 75 EarthMagic, 75 FireMagic, 75 AirMagic
  284. unlocks LightUpg1, DarkUpg1, Tier2Ach
  285. *LightUpg1
  286. named Unlock Light
  287. "Light mages to produce nice light magic."
  288. costs 1 FireMagic, 15 AirMagic, 50 Magic
  289. unlocks LightMage1
  290. *DarkUpg1
  291. named Unlock Dark
  292. "Dark mages to produce nice dark magic."
  293. costs 1 WaterMagic, 15 EarthMagic, 50 Magic
  294. unlocks DarkMage1
  295. *OmniMageUpg2
  296. "Tier 2 mages produce faster."
  297. named Power UP!
  298. costs 20 LightMagic, 20 DarkMagic, 100 Magic
  299. multiplies efficiency of LightMage1, DarkMage1, Mage2 by 200%
  300. *OmniMageUpg3
  301. "Tier 2 and omni-mages are more better."
  302. named Efficient Mages MK2
  303. costs 30 LightMagic, 30 DarkMagic, 200 Magic, 10 WaterMagic, 10 EarthMagic, 10 FireMagic, 10 AirMagic
  304. multiplies efficiency of OmniMage1, LightMage1, DarkMage1, Mage2 by 150%
  305. *TierUpg2
  306. named Tier 3
  307. "It's time to start a settlement."
  308. costs 100 LightMagic, 100 DarkMagic
  309. unlocks CompressClickUpg1, EarthUpg2, WaterUpg2, FireUpg2, AirUpg2, Mage3, TierMageUpg1, Tier3Ach
  310. *TierMageUpg1
  311. named Weakness Boost
  312. "Your tier 1 and 2 mages are 30% more powerful."
  313. costs 2000 Magic, 200 EarthMagic, 200 AirMagic, 200 FireMagic, 200 WaterMagic, 150 LightMagic, 150 DarkMagic
  314. multiplies efficiency of EarthMage1, FireMage1, WaterMage1, AirMage1, Mage1, Mage2, LightMage1, DarkMage1, OmniMage1 by 130%
  315. unlocks TierMageUpg2
  316. *TierMageUpg2
  317. named Strength Boost
  318. "Tier 3 mages are 50% more powerful!"
  319. costs 2000 Magic, 10 CompressMagic, 600 EarthMagic, 600 AirMagic, 600 FireMagic, 600 WaterMagic
  320. multiplies efficiency of Mage3, EarthMage2, FireMage2, WaterMage2, AirMage2, CompressMage1 by 150%
  321. *CompressClickUpg1
  322. named Compression
  323. "Allows you to compress magic!"
  324. costs 20000 Magic
  325. unlocks CompressMagicClick1, MageUpg2
  326. *MageUpg2
  327. named Faster Magic Production
  328. "Normal mages and Convergers produce 50% faster."
  329. costs 5 CompressMagic
  330. multiplies efficiency of Mage1, Mage2, Mage3 by 150%
  331. unlocks MageUpg3, MageUpg4, MageUpg5, ClickUpg3
  332. *ClickUpg3
  333. named Click Boost
  334. "Clicking is 5x more efficient.<br>25 total per click, now.<br>Unlocks a new upgrade!"
  335. costs 50 CompressMagic
  336. multiplies efficiency of MagicClick1 by 500%
  337. unlocks ClickUpg4
  338. *ClickUpg4
  339. named Super Click Boost 1
  340. "Clicking is another 2x more efficient.<br>Unlocks another upgrade..."
  341. costs 100 CompressMagic, 1 Material
  342. multiplies efficiency of MagicClick1 by 200%
  343. unlocks ClickUpg5
  344. *ClickUpg5
  345. named Super Click Boost 2
  346. "Clicking is yet another 2x as efficient.<br>100 per click, if you have all upgrades so far."
  347. costs 200 CompressMagic, 100000 Material
  348. multiplies efficiency of MagicClick1 by 200%
  349. *MageUpg3
  350. named First Mage Boost
  351. "The basic mage is 4x more efficient."
  352. costs 50 CompressMagic
  353. multiplies efficiency of Mage1 by 400%
  354. *MageUpg4
  355. named Converger Boost
  356. "Convergers are 4x more efficient.<br>Unlocks a new upgrade."
  357. costs 100 CompressMagic
  358. multiplies efficiency of Mage2 by 400%
  359. unlocks MageUpg6
  360. *MageUpg5
  361. named Second Mage Boost
  362. "The second mage is 4x more efficient.<br>Unlocks a new building(!!!)"
  363. costs 150 CompressMagic
  364. multiplies efficiency of Mage3 by 400%
  365. unlocks MageBoost1
  366. *MageUpg6
  367. named Converger Efficiency
  368. "Convergers are better."
  369. multiplies efficiency of Mage2 by 200%
  370. costs 250 CompressMagic
  371. *EarthUpg2
  372. named Better Earth
  373. "Allows you to get better earth mages!"
  374. costs 1000 Magic, 1000 EarthMagic
  375. unlocks EarthMage2
  376. *WaterUpg2
  377. named Better Water
  378. "Allows you to get better water mages!"
  379. costs 1000 Magic, 1000 WaterMagic
  380. unlocks WaterMage2
  381. *FireUpg2
  382. named Better Fire
  383. "Allows you to get better fire mages!"
  384. costs 1000 Magic, 1000 FireMagic
  385. unlocks FireMage2
  386. *AirUpg2
  387. named Better Air
  388. "Allows you to get better air mages!"
  389. costs 1000 Magic, 1000 AirMagic
  390. unlocks AirMage2
  391. *ExploreUpg1
  392. named EXPLORATION!!!
  393. "Allows you to explore the planet."
  394. costs 100 CompressMagic
  395. unlocks ExploreClick1
  396. Achievements :
  397. *1MagicAch
  398. unlocks at 1 Magic
  399. named The First Drop
  400. "Awarded for getting 1 Magic."
  401. *10MagicAch
  402. unlocks at 10 Magic
  403. named Halfway There!
  404. "You're halfway to your first mage! Keep going!"
  405. *30MagicAch
  406. unlocks at 30 Magic
  407. named Time for an Upgrade!
  408. "So, which one do you want first?"
  409. *100MagicAch
  410. unlocks at 100 Magic
  411. named Triple Digits!
  412. "Awarded for getting 100 Magic."
  413. *1000MagicAch
  414. unlocks at 1000 Magic
  415. named Quadruple Digits!
  416. "Whoa! 1000 Magic already?"
  417. *5MageAch
  418. unlocks at 5 Mage1
  419. named Five Mages
  420. "Awarded for getting 5 Mages."
  421. *25MageAch
  422. unlocks at 25 Mage1
  423. named The 25 Great Mages
  424. "Awarded for getting 25 Mages."
  425. *100MageAch
  426. unlocks at 100 Mage1
  427. named Expensive Mages
  428. "100 Mages. Good job, it takes a while to get the magic!"
  429. *1LifeAch
  430. unlocks at 1 LifeEnergy
  431. named A Spout of Life
  432. "Hmmm, what will you do this this life?"
  433. *Tier2Ach
  434. named Second Tier
  435. "Awarded for getting to tier 2! You're now about 2% done."
  436. *Tier3Ach
  437. named Third Tier
  438. "Awarded for reaching tier 3. You have a huge block in front of you; you'll be farther soon."
  439. *ExploreAch1
  440. named Explored
  441. "Wow! You explored the whole planet!"
Advertisement
Add Comment
Please, Sign In to add comment