Advertisement
Guest User

FortMorning

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