Advertisement
FabLonic

Untitled

May 26th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.30 KB | None | 0 0
  1. Let's make a game!
  2. name:FabLonic Clicker
  3. by:FabLonic
  4. desc:This is a simple idle game to showcase some of the basic functionalities of Idle Game Maker.<//>Make FabLonics and dab on the stars!
  5. created:25/7/2017
  6. updated:24/10/2017
  7. version:1
  8.  
  9. Settings
  10. background:stuff/meadow.jpg
  11. building cost increase:115%
  12. building cost refund:50%
  13. spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
  14. stylesheet:stuff/bigBlue.css
  15.  
  16. Layout
  17. use default
  18.  
  19. Buttons
  20. *FabLonicButton
  21. name:Make a FabLonic
  22. desc:Click this little FabLonic to get more FabLonics!
  23. on click:anim icon wobble
  24. on click:yield 1 FabLonic
  25. on click:if (have goldenTouch and chance(1%)) yield 1 goldenFabLonic
  26. icon:https://yt3.ggpht.com/-W9yr2mmtLOg/AAAAAAAAAAI/AAAAAAAAAAA/vAEpx_WvM6M/s288-mo-c-c0xffffffff-rj-k-no/photo.jpg
  27. no text
  28. class:bigButton hasFlares
  29. icon class:shadowed
  30. tooltip origin:bottom
  31. tooltip class:red
  32.  
  33. Resources
  34. *FabLonic|FabLonics
  35. name:FabLonic|FabLonics
  36. desc:These are your FabLonics. You can use them to purchase things. Your goal is to have as many FabLonics as possible!
  37. icon:https://yt3.ggpht.com/-W9yr2mmtLOg/AAAAAAAAAAI/AAAAAAAAAAA/vAEpx_WvM6M/s288-mo-c-c0xffffffff-rj-k-no/photo.jpg
  38. class:noBackground
  39. show earned
  40.  
  41. *goldenFabLonic|goldenFabLonics
  42. name:Golden FabLonic|Golden FabLonics
  43. desc:These shiny FabLonics are terribly rare, terribly precious and terribly Fab!
  44. icon:http://drive.google.com/uc?export=view&id=1rX72u1FT2jRt6a59YPDavOwx2w9QDp7A
  45. class:noBackground
  46. hidden when 0
  47.  
  48. Shinies
  49. *luckyFabLonic
  50. on click:log Woop
  51. movement:onRight moveLeft fade bounce:0.05
  52. frequency:1
  53. frequency variation:0
  54. icon:http://drive.google.com/uc?export=view&id=1rX72u1FT2jRt6a59YPDavOwx2w9QDp7A
  55. class:bigButton
  56. on click:
  57. $boost=1
  58. if (have clover) $boost=4
  59. if (chance(25%))
  60. //get at least 7, or between 1 and 3 minutes of our FabLonic production
  61. $amount=max(7,random(FabLonics:ps*60*1,FabLonics:ps*60*3))*$boost
  62. toast The lucky FabLonic grants you<//><b>[$amount] FabLonics</b>.
  63. yield $amount FabLonics
  64. else
  65. $amount=1*$boost
  66. toast The lucky FabLonic grants you<//><b>[$amount] golden FabLonic[s?$amount]</b>!
  67. yield $amount goldenFabLonic
  68. end
  69. end
  70.  
  71. Buildings
  72. *TEMPLATE
  73. on click:anim glow
  74.  
  75. *cage|cages
  76. name:Dab|Dabs
  77. desc:A dab.<//><b>Effect:</b><.>Produces 1 FabLonic every 10 seconds.
  78. icon:icons[3,0]
  79. cost:15 FabLonics
  80. on tick:yield 0.1 FabLonic
  81. unlocked
  82.  
  83. *hutch|hutches
  84. name:FabLonic hutch|FabLonic hutches
  85. desc:A bit roomier than a cage, with enough space to hop around.<//><b>Effect:</b><.>Produces 1 FabLonic every 2 seconds.
  86. icon:icons[3,1]
  87. cost:100 FabLonics
  88. on tick:yield 0.5 FabLonics
  89. req:100 FabLonics:earned
  90.  
  91. *coop|coops
  92. name:FabLonic coop|FabLonic coops
  93. desc:A much nicer FabLonic home where full FabLonic families can live.<//><b>Effect:</b><.>Produces 5 FabLonics per second.
  94. icon:icons[3,2]
  95. cost:600 FabLonics
  96. on tick:yield 5 FabLonics
  97. req:600 FabLonics:earned
  98.  
  99. *pen|pens
  100. name:FabLonic pen|FabLonic pens
  101. desc:A lovely enclosure with plenty of green space.<//><b>Effect:</b><.>Produces 12 FabLonics per second.
  102. icon:icons[3,3]
  103. cost:4000 FabLonics
  104. on tick:yield 12 FabLonics
  105. req:4000 FabLonics:earned
  106.  
  107. *meadow|meadows
  108. name:FabLonic meadow|FabLonic meadows
  109. desc:A wide open space full of shade and lush grass.<//><b>Effect:</b><.>Produces 90 FabLonics per second.
  110. icon:icons[3,4]
  111. cost:20000 FabLonics
  112. on tick:yield 90 FabLonics
  113. req:20000 FabLonics:earned
  114.  
  115. *village|villages
  116. name:FabLonic village|FabLonic villages
  117. desc:Your FabLonics are building their own villages now!<//><b>Effect:</b><.>Produces 300 FabLonics per second.
  118. icon:icons[3,5]
  119. cost:200000 FabLonics, 1 goldenFabLonic
  120. on tick:yield 300 FabLonics
  121. req:200000 FabLonics:earned and independenceDay
  122.  
  123. *city|cities
  124. name:FabLonic city|FabLonic cities
  125. desc:A bustling little city, populated with busy FabLonics.<//><b>Effect:</b><.>Produces 1000 FabLonics per second.
  126. icon:icons[3,6]
  127. cost:3000000 FabLonics, 4 goldenFabLonics
  128. on tick:yield 1000 FabLonics
  129. req:3000000 FabLonics:earned and independenceDay
  130.  
  131. *citadel|citadels
  132. name:FabLonic citadel|FabLonic citadels
  133. desc:An ornate palace standing on the moon, ruled by FabLonic kings and queens and staffed with royal FabLonic guards.<//><b>Effect:</b><.>Produces 4000 FabLonics per second.
  134. icon:icons[3,7]
  135. cost:70000000 FabLonics, 16 goldenFabLonics
  136. on tick:yield 4000 FabLonics
  137. on tick:if (have moonGardens) yield 0.01 goldenFabLonic
  138. req:70000000 FabLonics:earned and independenceDay
  139.  
  140. *fortress
  141. name:Freedom fortress
  142. text:Freedom fortress ([this]%)
  143. desc:A huge FabLonic castle. A monument to the adventurous spirit of FabLonickind, which will take time and effort to complete.<//><b>The fortress is [this]% complete.</b>
  144. icon:icons[3,8]
  145. cost:300000000 FabLonics, 100 goldenFabLonics
  146. req:70000000 FabLonics:earned and independenceDay
  147. limit:100
  148. cost increase:105%
  149.  
  150. *fabcage|fabcages
  151. name:Fab Dab|Fab Dabs
  152. desc:A Fab dab.<//><b>Effect:</b><.>Produces 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 FabLonic per second.
  153. icon:icons[3,0]
  154. cost:999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 FabLonics
  155. on tick:yield 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 FabLonic
  156. unlocked
  157.  
  158. *Zachary|Zacharys
  159. name:Zachary|Zacharys
  160. desc:A Zachary.<//><b>Effect:</b><.>Produces 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 FabLonic per second.
  161. icon:icons[3,0]
  162. cost:0 FabLonics
  163. on tick:yield 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 FabLonic
  164. unlocked
  165.  
  166. *Connor|Connors
  167. name:Connor|Connors
  168. desc:A Connor.<//><b>Effect:</b><.>Produces 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 FabLonic per second.
  169. icon:icons[3,0]
  170. cost:0 FabLonics
  171. on tick:yield 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 FabLonic
  172. unlocked
  173.  
  174. Upgrades
  175. *TEMPLATE
  176. on click:anim glow
  177.  
  178. //food upgrades
  179. //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
  180.  
  181. *parsley
  182. name:Parsley
  183. desc:A nice little supplement to your FabLonics' diet.<//><b>Effect:</b><.>+1 FabLonic/click
  184. icon:icons[1,1]
  185. cost:100 FabLonics
  186. passive:increase FabLonic yield of FabLonicButton by 1
  187. req:10 FabLonics:earned
  188.  
  189. *spinach
  190. name:Spinach
  191. desc:Big tasty leaves, perfect for hungry FabLonics.<//><b>Effect:</b><.>+1 FabLonic/click
  192. icon:icons[1,2]
  193. cost:200 FabLonics
  194. passive:increase FabLonic yield of FabLonicButton by 1
  195. req:50 FabLonics:earned
  196.  
  197. *lettuce
  198. name:Lettuce
  199. desc:Frilly greens loved by all FabLonics.<//><b>Effect:</b><.>+1 FabLonic/click
  200. icon:icons[1,3]
  201. cost:400 FabLonics
  202. passive:increase FabLonic yield of FabLonicButton by 1
  203. req:200 FabLonics:earned
  204.  
  205. *broccoli
  206. name:Broccoli
  207. desc:Crunchy greens that look like little trees.<//><b>Effect:</b><.>FabLonics/click x2<.>FabLonic production +5%
  208. icon:icons[1,4]
  209. cost:3000 FabLonics
  210. passive:multiply FabLonic yield of FabLonicButton by 2
  211. passive:multiply yield of FabLonics by 1.05
  212. req:1000 FabLonics:earned
  213.  
  214. *apple
  215. name:Apple
  216. desc:Nice pieces of juicy red apples.<//><b>Effect:</b><.>FabLonics/click x1.5<.>FabLonic production +5%
  217. icon:icons[1,5]
  218. cost:10000 FabLonics
  219. passive:multiply FabLonic yield of FabLonicButton by 1.5
  220. passive:multiply yield of FabLonics by 1.05
  221. req:1000 FabLonics:earned
  222.  
  223. *radish
  224. name:Radish
  225. desc:Purple, crunchy, and strangely spicy.<//><b>Effect:</b><.>FabLonics/click x1.5<.>FabLonic production +5%
  226. icon:icons[1,6]
  227. cost:50000 FabLonics
  228. passive:multiply FabLonic yield of FabLonicButton by 1.5
  229. passive:multiply yield of FabLonics by 1.05
  230. req:10000 FabLonics:earned
  231.  
  232. *mint
  233. name:Mint
  234. desc:Tasty, and gives your FabLonics a lovely breath.<//><b>Effect:</b><.>FabLonics/click x1.5<.>FabLonic production +5%
  235. icon:icons[1,7]
  236. cost:100000 FabLonics
  237. passive:multiply FabLonic yield of FabLonicButton by 1.5
  238. passive:multiply yield of FabLonics by 1.05
  239. req:50000 FabLonics:earned
  240.  
  241. *chard
  242. name:Chard
  243. desc:Broad leaves that make for a tasty salad.<//><b>Effect:</b><.>FabLonics/click x1.5<.>FabLonic production +5%
  244. icon:icons[1,8]
  245. cost:500000 FabLonics
  246. passive:multiply FabLonic yield of FabLonicButton by 1.5
  247. passive:multiply yield of FabLonics by 1.05
  248. req:100000 FabLonics:earned
  249.  
  250. *cherry
  251. name:Cherry
  252. desc:Your FabLonics look like little vampires when they start munching on these!<//><b>Effect:</b><.>FabLonics/click x1.5<.>FabLonic production +5%
  253. icon:icons[1,9]
  254. cost:1000000 FabLonics
  255. passive:multiply FabLonic yield of FabLonicButton by 1.5
  256. passive:multiply yield of FabLonics by 1.05
  257. req:500000 FabLonics:earned
  258.  
  259. *carrot
  260. name:Carrot
  261. desc:The quintessential FabLonic food! Crunchy, orange, and perfect.<//><b>Effect:</b><.>FabLonics/click x2<.>FabLonic production +10%
  262. icon:icons[1,0]
  263. cost:100000000 FabLonics
  264. passive:multiply FabLonic yield of FabLonicButton by 2
  265. passive:multiply yield of FabLonics by 1.1
  266. req:1000000 FabLonics:earned
  267.  
  268. //building upgrades
  269.  
  270. *buildingUpgrade1
  271. name:Sippy bottles
  272. desc:Your FabLonics can drink their fill!<//><b>Effect:</b><.>FabLonic cage production x2<.>FabLonic hutch production x2<.>FabLonic coop production x2
  273. icon:icons[2,0] icons[3,0]
  274. cost:1000 FabLonics
  275. passive:multiply yield of cage by 2
  276. passive:multiply yield of hutch by 2
  277. passive:multiply yield of coop by 2
  278. req:(cages>=10 or hutches>=10 or coops>=10)
  279.  
  280. *buildingUpgrade2
  281. name:Prime grade hay
  282. desc:Not just for horses anymore!<//><b>Effect:</b><.>FabLonic cage production x2<.>FabLonic hutch production x2<.>FabLonic coop production x2
  283. icon:icons[2,0] icons[3,1]
  284. cost:100000 FabLonics
  285. passive:multiply yield of cage by 2
  286. passive:multiply yield of hutch by 2
  287. passive:multiply yield of coop by 2
  288. req:(cages>=50 or hutches>=50 or coops>=50)
  289.  
  290. *buildingUpgrade3
  291. name:Shredded newspapers
  292. desc:You'd think they just poop on these, but they really enjoy reading the Sunday comics.<//><b>Effect:</b><.>FabLonic cage production x2<.>FabLonic hutch production x2<.>FabLonic coop production x2
  293. icon:icons[2,0] icons[3,2]
  294. cost:5000000 FabLonics
  295. passive:multiply yield of cage by 2
  296. passive:multiply yield of hutch by 2
  297. passive:multiply yield of coop by 2
  298. req:(cages>=100 or hutches>=100 or coops>=100)
  299.  
  300. *buildingUpgrade4
  301. name:Pretty fences
  302. desc:Just the right size so your FabLonics can peek through but not hop over!<//><b>Effect:</b><.>FabLonic pen production x2<.>FabLonic meadow production x2
  303. icon:icons[2,0] icons[3,3]
  304. cost:50000 FabLonics
  305. passive:multiply yield of pen by 2
  306. passive:multiply yield of meadow by 2
  307. req:(pens>=10 or meadows>=10)
  308.  
  309. *buildingUpgrade5
  310. name:FabLonic playground
  311. desc:If your FabLonics are outside, they might as well get some exercise!<//><b>Effect:</b><.>FabLonic pen production x2<.>FabLonic meadow production x2
  312. icon:icons[2,0] icons[3,4]
  313. cost:5000000 FabLonics
  314. passive:multiply yield of pen by 2
  315. passive:multiply yield of meadow by 2
  316. req:(pens>=50 or meadows>=50)
  317.  
  318. *buildingUpgrade6
  319. name:FabLonic TVs
  320. desc:Televisions that broadcast FabLonic cartoons, FabLonic sitcoms, and FabLonic news bulletins.<//><b>Effect:</b><.>FabLonic village production x2<.>FabLonic city production x2
  321. icon:icons[2,0] icons[3,5]
  322. cost:1000000 FabLonics
  323. passive:multiply yield of village by 2
  324. passive:multiply yield of city by 2
  325. req:(villages>=10 or cities>=10)
  326.  
  327. *buildingUpgrade7
  328. name:Wee little FabLonic cars
  329. desc:Your FabLonics drive around in these. How nice!<//><b>Effect:</b><.>FabLonic village production x2<.>FabLonic city production x2
  330. icon:icons[2,0] icons[3,6]
  331. cost:500000000 FabLonics
  332. passive:multiply yield of village by 2
  333. passive:multiply yield of city by 2
  334. req:(villages>=50 or cities>=50)
  335.  
  336. *buildingUpgrade8
  337. name:Soothing moon crystals
  338. desc:Just really nice to be around.<//><b>Effect:</b><.>moon citadel production x2
  339. icon:icons[2,0] icons[3,7]
  340. cost:1000000000 FabLonics
  341. passive:multiply yield of citadel by 2
  342. req:10 citadels
  343.  
  344. //golden carrot upgrades
  345.  
  346. *goldenTouch
  347. name:Golden touch
  348. desc:The delicate art of finding vegetables made of precious metals.<//><b>Effect:</b><.>1% chance of gaining 1 golden FabLonic per FabLonic click
  349. icon:icons[2,5]
  350. cost:1 goldenFabLonic
  351. req:1 goldenFabLonic:earned
  352.  
  353. *rabbitHaste
  354. name:FabLonic's haste
  355. desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>lucky FabLonics appear 30% more often
  356. icon:icons[2,6]
  357. passive:multiply frequency of luckyFabLonic by 0.7
  358. cost:5 goldenFabLonics
  359. req:1 goldenFabLonic:earned
  360.  
  361. *independenceDay
  362. name:Independence day
  363. desc:Your FabLonics are making their first step towards declaring their independence from the oppressive shackles of pens and cages.<//><b>Effect:</b><.>unlocks new buildings
  364. icon:icons[2,7]
  365. cost:10 goldenFabLonics
  366. req:5 goldenFabLonics:earned
  367.  
  368. *clover
  369. name:Clover
  370. desc:A delicious herb that tastes lucky.<//><b>Effect:</b><.>lucky FabLonic effects are 4 times more powerful
  371. icon:icons[2,8]
  372. cost:100 goldenFabLonics
  373. req:50 goldenFabLonics:earned
  374.  
  375. *moonGardens
  376. name:Moon gardens
  377. desc:The royal botanists in your moon citadels have found new ways of cultivating plants in reduced gravity!<//><b>Effect:</b><.>moon citadels now produce 1 golden FabLonic every 100 seconds
  378. icon:icons[2,9]
  379. cost:100 goldenFabLonics
  380. req:50 goldenFabLonics:earned
  381.  
  382. Achievements
  383. *TEMPLATE
  384. on click:anim glow
  385.  
  386. *bunnyAchiev1
  387. name:Run FabLonic run
  388. desc:Have <b>1</b> FabLonic.
  389. req:1 FabLonic
  390. icon:icons[2,4] icons[0,2] icons[0,6]
  391. *bunnyAchiev2
  392. name:FabLoniciest home videos
  393. desc:Have <b>1000</b> FabLonics.
  394. req:1000 FabLonics
  395. icon:icons[2,4] icons[0,3] icons[0,6]
  396. *bunnyAchiev3
  397. name:You got skillz, hun
  398. desc:Have <b>1000000</b> FabLonics.
  399. req:10000000 FabLonics
  400. icon:icons[2,4] icons[0,4] icons[0,6]
  401.  
  402. *clickAchiev1
  403. name:That tickles
  404. desc:Click the FabLonic <b>10</b> times.
  405. req:10 FabLonicButton clicks
  406. icon:icons[2,2] icons[0,2] icons[0,6]
  407. *clickAchiev2
  408. name:Don't squeeze me I'll fart
  409. desc:Click the FabLonic <b>100</b> times.
  410. req:100 FabLonicButton clicks
  411. icon:icons[2,2] icons[0,3] icons[0,6]
  412. *clickAchiev3
  413. name:You're cruising for a bruising, dude
  414. desc:Click the FabLonic <b>2000</b> times.
  415. req:2000 FabLonicButton clicks
  416. icon:icons[2,2] icons[0,4] icons[0,6]
  417.  
  418. *bunnyPsAchiev1
  419. name:Be vewy vewy quiet
  420. desc:Produce <b>10</b> FabLonics per second.
  421. req:10 FabLonics per second
  422. icon:icons[2,3] icons[0,2] icons[0,6]
  423. *bunnyPsAchiev2
  424. name:Hop and a skip
  425. desc:Produce <b>1000</b> FabLonics per second.
  426. req:1000 FabLonics per second
  427. icon:icons[2,3] icons[0,3] icons[0,6]
  428. *bunnyPsAchiev3
  429. name:Go forth and multiply
  430. desc:Produce <b>100000</b> FabLonics per second.
  431. req:100000 FabLonics per second
  432. icon:icons[2,3] icons[0,4] icons[0,6]
  433.  
  434. *carrotAchiev1
  435. name:Isn't it neat
  436. desc:Have <b>1</b> golden FabLonic.
  437. req:1 goldenFabLonic
  438. icon:icons[0,1] icons[0,2]
  439. *carrotAchiev2
  440. name:All that glitters
  441. desc:Have <b>100</b> golden FabLonics.
  442. req:100 goldenFabLonic
  443. icon:icons[0,1] icons[0,3]
  444. *carrotAchiev3
  445. name:Zero nutritional value
  446. desc:Have <b>1000</b> golden FabLonics.
  447. req:1000 goldenFabLonic
  448. icon:icons[0,1] icons[0,4]
  449.  
  450. *fortressAchiev
  451. name:Freedom!
  452. desc:Complete building the <b>freedom fortress</b>.<//>This is it. You beat the game!
  453. req:100 fortress
  454. icon:icons[3,8] icons[0,4]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement