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