View difference between Paste ID: mNGPw4Hg and dgWstj1m
SHOW: | | - or go back to the newest paste.
1
Let's make a game!
2
	name:Office Clicker
3
	by:Joe
4
	desc:A clicker. In an office setting.	
5
	created:21/06/2020
6
	updated:26/06/2020
7
	version:1.02
8
9
Settings
10
	background:https://images.unsplash.com/photo-1497366754035-f200968a6e72
11
	building cost increase:110%
12
	building cost refund:50%
13
	stylesheet:https://pastebin.com/epeZmuk7
14
15
Layout
16
	use default
17
18
Buttons
19
	*MainButton
20
		name:Do Work
21
		desc:Click this to do some work. Grants 1 Experience per click.
22-
		on click:yield 1 Money
22+
		on click:yield 10000 Money
23
		icon:https://image0.flaticon.com/icons/png/256/3003/3003095.png
24
		class:bigButton
25
		no text
26
		shown
27
28
Resources
29
	*Experience
30
		name:Experience|Experience
31
		desc:The amount of Experience you have. They say experience can't be measured, but you've proven them wrong.
32
		start with:0
33
		hidden when 0
34
		show earned
35
		icon:https://i.postimg.cc/LsX7fjd7/Experience.png
36
		//https://image0.flaticon.com/icons/png/512/3035/3035500.png
37
38
	*Money
39
		name:Money|Money
40
		desc:The amount of Money you have. They say Money can be measured, and they were right!
41
		start with:0
42
		show earned
43
		icon:https://i.postimg.cc/FHhwr2Th/Money.png
44
		//https://image.flaticon.com/icons/png/512/2916/2916115.png
45
46
	*Building1PS
47
		start with:0
48
		always hidden
49
50
	*Building2PS
51
		start with:0
52
		always hidden
53
54
	*Building3PS
55
		start with:0
56
		always hidden
57
58
	*Building4PS
59
		start with:0
60
		always hidden
61
62
	*Building5PS
63
		start with:0
64
		always hidden
65
66
	*Building6PS
67
		start with:0
68
		always hidden
69
70
	*Building7PS
71
		start with:0
72
		always hidden
73
74
	*Building8PS
75
		start with:0
76
		always hidden
77
		
78
79
80
Buildings
81
	*TEMPLATE
82
		on click:anim glow
83
84
	//General Idea:
85
		//Building yields increase 10 times with each jump
86
		//Building costs increase 11 times with each jump
87
		//Buildings are unlocked at 75% the cost
88
		//Store the buildings' PS value in separate resources for calculations
89
90
	*Building1
91
		name:Unpaid Intern|Unpaid Interns
92
		desc:They see it as experience, you see it as free labor. <//><b>Base Effect:</b><.>+0.1 Money per second <//><b>Current Effect:</b><.>+[(Building1PS:ps / Building1)] Money per second (rounded)
93
		on tick:yield 0.1 Money
94
		on tick:yield 0.1 Building1PS
95
		cost:10 Money
96
		icon:https://i.postimg.cc/cLQB16ZC/baby.png
97
		//https://www.flaticon.com/free-icon/avatar_1717992
98
99
	*Building2
100
		name:Receptionist|Receptionists
101
		desc:Someone else can finally answer those dang phones for you.<//><b>Effect:</b><.>+___ Money per second
102
		on tick:yield 1 Money
103
		on tick:yield 1 Building2PS
104
		cost:110 Money
105
		req:82.5 Money:earned
106
		icon:https://i.postimg.cc/BbzGm4v9/receptionist.png
107
		//https://www.flaticon.com/free-icon/receptionist_745555
108
109
	*Building3
110
		name:Salesperson|Salespeople
111
		desc:Someone else answering the phones AND making phone calls? You've got it made.<//><b>Effect:</b><.>+___ Money per second
112
		on tick:yield 10 Money
113
		on tick:yield 10 Building3PS
114
		cost:1210 Money
115
		req:907.5 Money:earned
116
		icon:https://i.postimg.cc/x810s6yH/phone.png
117
		//https://www.flaticon.com/free-icon/call-center_925076
118
119
	*Building4
120
		name:Manager|Managers
121
		desc:At some point in your career, your job is to make sure others are doing their jobs.<//><b>Effect:</b><.>+___ Money per second
122
		on tick:yield 100 Money
123
		on tick:yield 100 Building4PS
124
		cost:13310 Money
125
		req:9982.5 Money:earned
126
		icon:___
127
		//___
128
129
	*Building5
130
		name:Director|Directors
131
		desc:___ <//><b>Effect:</b><.>+___ Money per second
132
		on tick:yield 1000 Money
133
		on tick:yield 1000 Building5PS
134
		cost:146410 Money
135
		req:109807.5 Money:earned
136
		icon:___
137
		//___
138
139
	*Building6
140
		name:Vice President|Vice Presidents
141
		desc:___ <//><b>Effect:</b><.>+___ Money per second
142
		on tick:yield 10000 Money
143
		on tick:yield 10000 Building6PS
144
		cost:1610510 Money
145
		req:1207882.5 Money:earned
146
		icon:___
147
		//___
148
149
	*Building7
150
		name:Executive|Executives
151
		desc:___ <//><b>Effect:</b><.>+___ Money per second
152
		on tick:yield 100000 Money
153
		on tick:yield 100000 Building7PS
154
		cost:17715610 Money
155
		req:13286707.5 Money:earned
156
		icon:___
157
		//___
158
159
	*Building8
160
		name:Board Member|Board Members
161
		desc:___ <//><b>Effect:</b><.>+____ Money per second
162
		on tick:yield 1000000 Money
163
		on tick:yield 1000000 Building8PS
164
		cost:194871710 Money
165
		req:146153782.5 Money:earned
166
		icon:
167
		//
168
	
169
170
171
Upgrades
172
	*TEMPLATE
173
		on click:anim glow
174
175
	//General Ideas:
176
		//Click Upgrades:
177
			//Add an upgrade for each Money:ps threshold (1, 10, 100, etc.)
178
			//The upgrade adds 10% of the Money:ps value at each threshold, starting with 1000 (i.e. the 1000 upgrade would get the click to 100 per click)
179
			//Increase the cost for each upgrade by 110% starting at the 10 threshold
180
		//Building Upgrades:
181
			//Increase productivity of a building at 25, 50, 75, 100, 150, 200, 250, 300, 350, 400, 450, 500, 600, 700, 800, 900, 1000, 1250, 1500, 1750, 2000, 2250, and 2500
182
			//The upgrades increase the productivity by the number of buildings since last upgrade divided by 10 at each stage (so at 25, 50, 75, and 100, it's x2.5. At 150, 200, 250 and 300, it's x5.)
183
			//The cost calculation for the upgrade at these thresholds are 5 times the cost of a building at that threshold (I can use the initial cost of the building times 1.1 to the power of the number associated with the threshold). I.e. the cost of the Building 1 at 25 threshold is 5 * (10 * (1.1 ^ 25)). (10 * 1.1^25) gets the cost of the building on the 25th building, with 10 being the initial building cost, 1.1 being the building increase cost, and 25 being the number of buildings.
184
185
	*ClickAtPS0
186
		name:Water Cooler
187
		desc:You obtain a water cooler. Although the staff can't get as much done, you can accomplish more in the silence.<//><b>Effect:</b><.>+1 Money per click
188
		cost:100 Money
189
		passive:increase yield of MainButton by 1
190
		icon:https://i.postimg.cc/8s8BJ4zz/Water-Cooler.png
191
//		//
192
193
	*ClickAtPS1
194
		name:Glasses
195
		desc:You finally listened to your ophthalmologist and got some glasses. You should have done this before!<//><b>Effect:</b><.>+1 Money per click
196
		req:Money:ps >= 1
197
		cost:250 Money
198
		passive:increase yield of MainButton by 1
199
		icon:https://i.postimg.cc/MHZnVgj0/glasses-1.png
200
		//https://www.flaticon.com/free-icon/glasses_2943412
201
202
//	*ClickAtPS10
203
//		name:___
204
//		desc:___<//><b>Effect:</b><.>+2 Money per click.
205
//		req:Money:ps >= 10
206
//		cost:1000 Money
207
//		passive:increase yield of MainButton by 2
208
//		icon:___
209
//		//___
210
211
//	*ClickAtPS100
212
//		name:___
213
//		desc:___<//><b>Effect:</b><.>+6 Money per click.
214
//		req:Money:ps >= 100
215
//		cost:11000 Money
216
//		passive:increase yield of MainButton by 15
217
//		icon:___
218
//		//___
219
220
//	*ClickAtPS1000
221
//		name:___
222
//		desc:___<//><b>Effect:</b><.>+90 Money per click.
223
//		req:Money:ps >= 1000
224
//		cost:121000 Money
225
//		passive:increase yield of MainButton by 80
226
//		icon:___
227
//		//___
228
229
//	*ClickAtPS10000
230
//		name:___
231
//		desc:___<//><b>Effect:</b><.>+900 Money per click.
232
//		req:Money:ps >= 10000
233
//		cost:1331000 Money
234
//		passive:increase yield of MainButton by 900
235
//		icon:___
236
//		//___
237
238
//	*ClickAtPS100000
239
//		name:___
240
//		desc:___<//><b>Effect:</b><.>+9000 Money per click.
241
//		req:Money:ps >= 100000
242
//		cost:14641000 Money
243
//		passive:increase yield of MainButton by 9000
244
//		icon:___
245
//		//___
246
247
//	*ClickAtPS1000000
248
//		name:___
249
//		desc:___<//><b>Effect:</b><.>+90000 Money per click.
250
//		req:Money:ps >= 1000000
251
//		cost:161051000 Money
252
//		passive:increase yield of MainButton by 90000
253
//		icon:___
254
//		//___
255
256
//	*ClickAtPS10000000
257
//		name:___
258
//		desc:___<//><b>Effect:</b><.>+900000 Money per click.
259
//		req:Money:ps >= 10000000
260
//		cost:1771561000 Money
261
//		passive:increase yield of MainButton by 900000
262
//		icon:___
263
//		//___
264
265
//	*ClickAtPS100000000
266
//		name:___
267
//		desc:___<//><b>Effect:</b><.>+9000000 Money per click.
268
//		req:Money:ps >= 100000000
269
//		cost:19487171000 Money
270
//		passive:increase yield of MainButton by 9000000
271
//		icon:___
272
//		//___
273
274
//	*ClickAtPS1000000000
275
//		name:___
276
//		desc:___<//><b>Effect:</b><.>+90000000 Money per click.
277
//		req:Money:ps >= 1000000000
278
//		cost:214358881000 Money
279
//		passive:increase yield of MainButton by 90000000
280
//		icon:___
281
//		//___
282
283
	*Building1At25
284
		name:Headphones
285
		desc:Your company can now provide staff with headphones. Now your staff can get more work done and look cool while doing it. Unlocked at 25 [n:Building1].<//><b>Effect:</b><.>2.5x Unpaid Interns productivity
286
		req:Building1 >= 25
287
		cost:5*(10*pow(1.1, 25)) Money
288
		passive:multiply yield of Building1 by 2.5
289
		icon:https://i.postimg.cc/zvdVjpns/headphones.png
290
		//https://www.flaticon.com/free-icon/headphones_2727131
291
292
	*Building1At50
293
		name:ID Card
294
		desc:Your company now provides ID cards. So fancy! Unlocked at 50 [n:Building1].<//><b>Effect:</b><.>2.5x Unpaid Interns productivity
295
		req:Building1 >= 50
296
		cost:5870 Money
297
		passive:multiply yield of Building1 by 2.5
298
		icon:https://i.postimg.cc/26Db81kK/id-card.png
299
		//https://www.flaticon.com/free-icon/id-card_2726862
300
301
//	*Building1At___
302
//		name:___
303
//		desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
304
//		req:Building1 >= ___
305
//		cost:___ Money
306
//		passive:multiply yield of Building1 by ___
307
//		icon:
308
//		//
309
310
//	*Building1At___
311
//		name:___
312
//		desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
313
//		req:Building1 >= ___
314
//		cost:___ Money
315
//		passive:multiply yield of Building1 by ___
316
//		icon:
317
//		//
318
319
//	*Building1At___
320
//		name:___
321
//		desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
322
//		req:Building1 >= ___
323
//		cost:___ Money
324
//		passive:multiply yield of Building1 by ___
325
//		icon:
326
//		//
327
328
//	*Building1At___
329
//		name:___
330
//		desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
331
//		req:Building1 >= ___
332
//		cost:___ Money
333
//		passive:multiply yield of Building1 by ___
334
//		icon:
335
//		//
336
337
//	*Building1At___
338
//		name:___
339
//		desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
340
//		req:Building1 >= ___
341
//		cost:___ Money
342
//		passive:multiply yield of Building1 by ___
343
//		icon:
344
//		//
345
346
//	*Building1At___
347
//		name:___
348
//		desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
349
//		req:Building1 >= ___
350
//		cost:___ Money
351
//		passive:multiply yield of Building1 by ___
352
//		icon:
353
//		//
354
355
//	*Building1At___
356
//		name:___
357
//		desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
358
//		req:Building1 >= ___
359
//		cost:___ Money
360
//		passive:multiply yield of Building1 by ___
361
//		icon:
362
//		//
363
364
//	*Building1At___
365
//		name:___
366
//		desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
367
//		req:Building1 >= ___
368
//		cost:___ Money
369
//		passive:multiply yield of Building1 by ___
370
//		icon:
371
//		//
372
373
//	*Building1At450
374
//		name:___
375
//		desc:___ Unlocked at 450 [n:Building1].<//><b>Effect:</b><.>5x Unpaid Interns productivity
376
//		req:Building1 >= 450
377
//		cost:___ Money
378
//		passive:multiply yield of Building1 by 5
379
//		icon:
380
//		//
381
382
//	*Building1At500
383
//		name:___
384
//		desc:___ Unlocked at 500 [n:Building1].<//><b>Effect:</b><.>5x Unpaid Interns productivity
385
//		req:Building1 >= 500
386
//		cost:___ Money
387
//		passive:multiply yield of Building1 by 5
388
//		icon:
389
//		//
390
391
	*Building2At25
392
		name:Push Papers
393
		desc:You teach your receptionists to move around papers on their desks to appear busier for customers. Unlocked at 25 [n:Building2].<//><b>Effect:</b><.>2.5x Receptionists productivity
394
		req:Building2 >= 25
395
		cost:5959 Money
396
		passive:multiply yield of Building2 by 2.5
397
		icon:https://i.postimg.cc/Fsy2Q9gP/Push-Paper.png
398
		//https://image.flaticon.com/icons/png/512/3056/3056316.png