Advertisement
Guest User

Dog clicker game.

a guest
Jul 21st, 2019
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.94 KB | None | 0 0
  1. Let's make a game!
  2. name:Dog Clicker
  3. by:Crunchy1003
  4. desc:This is a clicker game. You will click because it is a clicker game!!!
  5. created:7/212019
  6. updated:7/212019
  7. version:1
  8.  
  9. Settings
  10. background:stuff/Doghouse.jpg
  11. building cost increase:115%
  12. building cost refund:50%
  13. spritesheet:icons, 48 by 48, stuff/dogsIcons.png
  14. stylesheet:stuff/bigBlue.css
  15. Layout
  16. use default
  17.  
  18. Buttons
  19. *dogButton
  20. name:Make a dog
  21. desc:Click this little dog to get more dogs!
  22. on click:anim icon wobble
  23. on click:yield 1 dog
  24. on click:if (have goldenTouch and chance(1%)) yield 1 goldenbone
  25. icon:stuff/dog.png
  26. no text
  27. class:bigButton hasFlares
  28. icon class:shadowed
  29. tooltip origin:bottom
  30. tooltip class:red
  31.  
  32. Resources
  33. *dog|dogs
  34. name:dog|dogs
  35. desc:These are your dogs. You can use them to purchase things. Your goal is to have as many dogs as possible!
  36. icon:icons[0,0]
  37. class:noBackground
  38. show earned
  39.  
  40. *goldenBone|goldenBones
  41. name:GoldenBone|GoldenBones
  42. desc:These shiny bones are terribly rare, terribly precious and terribly delicious!
  43. icon:icons[0,1]
  44. class:noBackground
  45. hidden when 0
  46.  
  47. Shinies
  48. *luckysquirrels
  49. on click:log Woop
  50. movement:onRight moveLeft fade run:0.05
  51. frequency:60
  52. frequency variation:30
  53. icon:stuff/luckysquirrels.png
  54. class:bigButton
  55. on click:
  56. $boost=1
  57. if (have clover) $boost=4
  58. if (chance(25%))
  59. //get at least 7, or between 1 and 3 minutes of our dog production
  60. $amount=max(7,random(dogs:ps*60*1,dogs:ps*60*3))*$boost
  61. toast The luckysquirrel grants you<//><b>[$amount] dogs</b>.
  62. yield $amount dogs
  63. else
  64. $amount=1*$boost
  65. toast The luckysquirrel grants you<//><b>[$amount] golden bone[s?$amount]</b>!
  66. yield $amount goldenbones
  67. end
  68. end
  69.  
  70. Buildings
  71. *TEMPLATE
  72. on click:anim glow
  73.  
  74. *cage|cages
  75. name:dog cage|dog cages
  76. desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 dog every 10 seconds.
  77. icon:icons[3,0]
  78. cost:15 dogs
  79. on tick:yield 0.1 dog
  80. unlocked
  81.  
  82. *house|houses
  83. name:Dog house|Dog houses
  84. desc:A bit roomier than a cage.<//><b>Effect:</b><.>Produces 1 dog every 2 seconds.
  85. icon:icons[3,1]
  86. cost:100 Dogs
  87. on tick:yield 0.5 Dogs
  88. req:100 Dogs:earned
  89.  
  90. *kennel|kennels
  91. name:Dog kennel|Dog kennels
  92. desc:A bigger area then a cage in which two or three dogs can live.<//><b>Effect:</b><.>Produces 5 dogs per second.
  93. icon:icons[3,2]
  94. cost:600 Dogs
  95. on tick:yield 5 Dogs
  96. req:600 Dogs:earned
  97.  
  98. *mansion|mansions
  99. name:Dog mansion|Dog mansions
  100. desc:Larger then the kennels, it includes 5 rooms.<//><b>Effect:</b><.>Produces 12 dogs per second.
  101. icon:icons[3,3]
  102. cost:4000 Dogs
  103. on tick:yield 12 Dogs
  104. req:4000 Dogs:earned
  105.  
  106. *Field|Fields
  107. name:Dog Field|Dog Fields
  108. desc:A wide open space with tons of room to run.<//><b>Effect:</b><.>produces 90 dogs per second.
  109. icon:icons[3,4]
  110. cost:20000 dogs
  111. on tick:yield 90 dogs
  112. req:20000 dogs:earned
  113.  
  114. *village|villages
  115. name:dog village|dog villages
  116. desc:Your dogs are building their own villages now!<//><b>Effect:</b><.>Produces 300 dogs per second.
  117. icon:icons[3,5]
  118. cost:200000 dogs:earned, 1 goldenBone
  119. on tick:yield 300 dogs
  120. req:200000 dogs:earned and independenceDay
  121.  
  122. *city|cities
  123. name:Dog city|Dog cities
  124. desc:A bustling little city, populated with busy dogs.<//><b>Effect:</b><.>Produces 1000 dogs per second.
  125. icon:icons[3,6]
  126. cost:3000000 dogs, 4 goldenBones
  127. on tick:yield 1000 dogs
  128. req:3000000 dogs:earned and independenceDay
  129.  
  130. *citadel|citadels
  131. name:Moon citadel|Moon citadels
  132. desc:An ornate palace standing on the moon, ruled by dog kings and queens and staffed with royal dog guards.<//><b>Effect:</b><.>Produces 4000 dogs per second.
  133. icon:icons[3,7]
  134. cost:70000000 dogs, 16 goldenBones
  135. on tick:yield 4000 dogs
  136. on tick:if (have moonGardens) yield 0.01 goldenBone
  137. req:70000000 dogs:earned and independenceDay
  138.  
  139. *fortress
  140. name:Freedom fortress
  141. text:Freedom fortress ([this]%)
  142. desc:A huge dog castle. A monument to the adventurous spirit of dogkind, which will take time and effort to complete.<//><b>The fortress is [this]% complete.</b>
  143. icon:icons[3,8]
  144. cost:300000000 dogs, 100 goldenBones
  145. req:70000000 dogs:earned and independenceDay
  146. limit:100
  147. cost increase:105%
  148.  
  149. Upgrades
  150. *TEMPLATE
  151. on click:anim glow
  152.  
  153. //food upgrades
  154. //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
  155.  
  156. *kibble
  157. name:kibble
  158. desc:A nice little supplement to your dogs' diet.<//><b>Effect:</b><.>+1 dog/click
  159. icon:icons[1,1]
  160. cost:100 dogs
  161. passive:increase dog yield of dogButton by 1
  162. req:10 dogs:earned
  163.  
  164. *Pepperoni
  165. name:Pepperoni
  166. desc:Tasty meat that dogs love.<//><b>Effect:</b><.>+1 dogs/click
  167. icon:icons[1,2]
  168. cost:200 dogs
  169. passive:increase dog yield of dogButton by 1
  170. req:50 dogs:earned
  171.  
  172. *bacon
  173. name:Bacon
  174. desc:Wavy meaty goodness that everyone loves.<//><b>Effect:</b><.>dogs/click x2<.>dog production +5%
  175. icon:icons[1,4]
  176. cost:3000 dogs
  177. passive:multiply dog yield of dogsbutton by 2
  178. passive:multiply yield of dogs by 1.05
  179. req:1000 dogs:earned
  180.  
  181. *sausage
  182. name:Sausage
  183. desc:Cooked just right it is tasty.<//><b>Effect:</b><.>dogs/click x1.5<.>dog production +5%
  184. icon:icons[1,5]
  185. cost:10000 dogs
  186. passive:multiply dog yield of dogButton by 1.5
  187. passive:multiply yield of dogs by 1.05
  188. req:1000 dogs:earned
  189.  
  190. *turkey
  191. name:Turkey
  192. desc:Just like thanksgiving droppings.<//><b>Effect:</b><.>dogs/click x1.5<.>dog production +5%
  193. icon:icons[1,6]
  194. cost:50000 dogs
  195. passive:multiply dog yield of dogButton by 1.5
  196. passive:multiply yield of dogs by 1.05
  197. req:10000 dogs:earned
  198.  
  199. *pork
  200. name:Pork
  201. desc:Tasty, and if you get lucky you may get a Bone!!<//><b>Effect:</b><.>dogs/click x1.5<.>dog production +5%
  202. icon:icons[1,7]
  203. cost:100000 dogs
  204. passive:multiply dog yield of dogButton by 1.5
  205. passive:multiply yield of dogs by 1.05
  206. req:50000 dogs:earned
  207.  
  208. *ham
  209. name:Ham
  210. desc:Ham Ham Ham Delicious soooo good.<//><b>Effect:</b><.>dogs/click x1.5<.>dog production +5%
  211. icon:icons[1,8]
  212. cost:500000 dogs
  213. passive:multiply dog yield of dogButton by 1.5
  214. passive:multiply yield of dogs by 1.05
  215. req:100000 dogs:earned
  216.  
  217. *beef
  218. name:Beef
  219. desc:Tastes so good dogs would die for it.<//><b>Effect:</b><.>dogs/click x1.5<.>dogs production +5%
  220. icon:icons[1,9]
  221. cost:1000000 dogs
  222. passive:multiply dog yield of dogButton by 1.5
  223. passive:multiply yield of dogs by 1.05
  224. req:500000 dogs:earned
  225.  
  226. *Steak
  227. name:Steak
  228. desc:Commonly called the best food ever by dogs!!!<//><b>Effect:</b><.>bunnies/click x2<.>bunny production +10%
  229. icon:icons[1,0]
  230. cost:100000000 bunnies
  231. passive:multiply bunny yield of bunnyButton by 2
  232. passive:multiply yield of bunnies by 1.1
  233. req:1000000 bunnies:earned
  234.  
  235. //building upgrades
  236.  
  237. *buildingUpgrade1
  238. name:Water bowls
  239. desc:Your dogs can drink their fill!<//><b>Effect:</b><.>dog cage production x2<.>dog house production x2<.>dog kennels production x2
  240. icon:icons[2,0] icons[3,0]
  241. cost:1000 dogs
  242. passive:multiply yield of cage by 2
  243. passive:multiply yield of house by 2
  244. passive:multiply yield of kennel by 2
  245. passive:multiply yield of mansion by 2
  246. req:(cages>=10 or houses>=10 or kennels>=10 or mansions>=10)
  247.  
  248. *buildingUpgrade2
  249. name:Prime rib
  250. desc:Not just for humans anymore!<//><b>Effect:</b><.>dog cage production x2<.>dog house production x2<.>dog kennel production x2<.>dog mansion production x2
  251. icon:icons[2,0] icons[3,1]
  252. cost:100000 dogs
  253. passive:multiply yield of cage by 2
  254. passive:multiply yield of house by 2
  255. passive:multiply yield of kennel by 2
  256. passive:multiply yield of mansion by 2
  257. req:(cages>=50 or houses>=50 or kennels>=50 or Mansions>=50)
  258.  
  259. *buildingUpgrade3
  260. name:Newspapers
  261. desc:You'd think they just poop on these, but they really enjoy reading the Sunday comics.<//><b>Effect:</b><.>dog cage production x2<.>dog house production x2<.>dog kennel production x2<.>dog mansion production x2
  262. icon:icons[2,0] icons[3,2]
  263. cost:5000000 dogs
  264. passive:multiply yield of cage by 2
  265. passive:multiply yield of house by 2
  266. passive:multiply yield of kennel by 2
  267. passive:multiply yield of mansion by 2
  268. req:(cages>=100 or houses>=100 or kennels>=100 or Mansions>=100)
  269.  
  270. *buildingUpgrade4
  271. name:Pretty fences
  272. desc:Just the right size so your dogs can peek through but not jump over!<//><b>Effect:</b><.>dog field production x2
  273. icon:icons[2,0] icons[3,3]
  274. cost:50000 dogs
  275. passive:multiply yield of field by 2
  276. req:(fields>=10)
  277.  
  278. *buildingUpgrade5
  279. name:Dog playground
  280. desc:If your dogs are outside, they might as well get some exercise!<//><b>Effect:</b><.>dogs field production x2
  281. icon:icons[2,0] icons[3,4]
  282. cost:5000000 dogs
  283. passive:multiply yield of field by 2
  284. req:(fields>=50)
  285.  
  286. *buildingUpgrade6
  287. name:Dog TVs
  288. desc:Televisions that broadcast dog cartoons, dog sitcoms, and dog news bulletins.<//><b>Effect:</b><.>dog village production x2<.>dog city production x2
  289. icon:icons[2,0] icons[3,5]
  290. cost:1000000 dogs
  291. passive:multiply yield of village by 2
  292. passive:multiply yield of city by 2
  293. req:(villages>=10 or cities>=10)
  294.  
  295. *buildingUpgrade7
  296. name:Dog cars!
  297. desc:Your dogs drive around in these. How nice!<//><b>Effect:</b><.>dog villages production x2 <.> dog cities production x2
  298. icon:icons[2,0] icons[3,6]
  299. cost:500000000 dogs
  300. passive:multiply yield of village by 2
  301. passive:multiply yield of city by 2
  302. req:(villages>=50 or cities>=50)
  303.  
  304. *buildingUpgrade8
  305. name:Soothing moon crystals
  306. desc:Just really nice to be around.<//><b>Effect:</b><.>moon citadel production x2
  307. icon:icons[2,0] icons[3,7]
  308. cost:1000000000 dogs
  309. passive:multiply yield of citadel by 2
  310. req:10 citadels
  311.  
  312. //golden bone upgrades
  313.  
  314. *goldenTouch
  315. name:Golden touch
  316. desc:The delicate art of finding bones made of precious metals.<//><b>Effect:</b><.>1% chance of gaining 1 goldenBone per dog click
  317. icon:icons[2,5]
  318. cost:1 goldenBone
  319. req:1 goldenBone:earned
  320.  
  321. *squirrels Haste
  322. name:squirrelss haste
  323. desc:squirrel!<//><b>Effect:</b><.>luckysquirrels appear 30% more often
  324. icon:icons[2,6]
  325. passive:multiply frequency of luckysquirrels by 0.7
  326. cost:5 goldenBones
  327. req:1 goldenBones:earned
  328.  
  329. *independenceDay
  330. name:Independence day
  331. desc:Your dogs are making their first step towards declaring their independence from the oppressive shackles of kennels and cages.<//><b>Effect:</b><.>unlocks new buildings
  332. icon:icons[2,7]
  333. cost:10 goldenCarrots
  334. req:5 goldenCarrots:earned
  335.  
  336. *goldensquirrels
  337. name:Goldensquirrels
  338. desc:A very rare type of squirrel.<//><b>Effect:</b><.>luckysquirrels effects are 4 times more powerful
  339. icon:icons[2,8]
  340. cost:100 goldenBones
  341. req:50 goldenBones:earned
  342.  
  343. *moonGardens
  344. name:Moon gardens
  345. desc:The royal botanists in your moon citadels have found a way of cultivating meats in reduced gravity!<//><b>Effect:</b><.>moon citadels now produce 1 goldenBone every 100 seconds
  346. icon:icons[2,9]
  347. cost:100 goldenBones
  348. req:50 goldenBones:earned
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement