View difference between Paste ID: Dc8K92dz and x5bX4qPJ
SHOW: | | - or go back to the newest paste.
1
Let's make a game!
2
	name:Legend of Draconia: World Forge
3
	by:Blade Skydancer
4
	desc:You have drifted through nothingness for eons. Nothing but an endless sea of energies; untamed Fire, flowing Water, drifting Air, rumbling Earth, glowing Light and creeping Shadow. You pluck and weave these things together to create, making gems and rocks which float in space; the first physical objects. But now, you feel it's time for something new. Something different. For Life. You have created a very special rock, a planet, and imbued it with all of the elements. And now, your Children roam its surface.<//>Legend of Draconia: World Forge is a game about creating a world full of dragons, magic and monsters. Use Mana generated from your children, the Dragons, to give them Lands to live in and hold dominion over.
5
	created:7/6/2019
6
	updated:16/6/2019
7-
	version:1.2
7+
	version:1.3
8
	
9
Settings
10
    background:https://i.imgur.com/uiubzMM.jpg
11
    building cost increase:120%
12
    building cost refund:0.01%
13
    spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
14
    spritesheet:drakeicons, 48 by 48, https://i.imgur.com/nkRMIeF.png
15-
    stylesheet:stuff/bigBlue.css
15+
    stylesheet:https://pastebin.com/2YDvnnLw
16
17
Layout
18-
	use default
18+
19
//use default
20-
	*dragonBox
20+
21-
		contains:tag:Dragons
21+
*main
22-
		header:Dragons
22+
  contains:res, buttons
23-
		in:buildings
23+
  *res
24-
		names:show
24+
    contains:tag:mana
25-
		icons:show
25+
    class:fullWidth
26
  *buttons
27
    contains:Buttons
28
*sidebar
29
  contains:buildSidebar, popSidebar
30
  *buildSidebar
31
	contains:BulkDisplay, buildSidebarButtons, tag:lands, tag:upgrades
32
    header:World
33
    tooltip origin:left
34
	names:show
35
	*buildSidebarButtons
36
		contains:tag:buildMenuButton
37
  *popSidebar
38
	contains:popSidebarButtons, tag:Dragons, tag:FireDragons, tag:WaterDragons, tag:AirDragons, tag:LightDragons, tag:DarkDragons
39
    header:Population
40
    names:show
41
	*popSidebarButtons
42
		contains:tag:popMenuButton
43
		
44
Includes
45
	*include Dragon %id %name1 %name2 %name3 %type %mana="1" %breed="1" %growth="1" %crowd="1" %health="1"
46
		*Dragon[%id]00
47
			name:[%name1] Dragon Egg
48
			tags:Dragons [%type]Dragons Chromatics Egg
49
			class:noBackground
50
			on tick:
51
				if (chance((0.08/[%health]/TotalHealth*Dragon[%id]00)))
52
					if (Dragon[%id]00 < 25)
53
						toast Lost a [%name1] Dragon egg...
54
					end
55
					Dragon[%id]00 = (Dragon[%id]00 - (1+floor(Dragon[%id]00/(25*[%crowd]))))
56
				end
57
				yield (1*[%growth]*TotalGrowth) Dragon[%id]00Grow
58
			end
59
			hidden when 0
60
			no buy
61
		*Dragon[%id]01
62
			name:[%name1] Dragon Child
63
			tags:Dragons [%type]Dragons Chromatics Child
64
			class:noBackground
65
			on tick:
66
				if (chance((0.04/[%health]/TotalHealth*Dragon[%id]01)))
67
					if (Dragon[%id]01 < 25)
68
						toast A [%name1] Dragon child didn't make it...
69
					end
70
					Dragon[%id]01 = (Dragon[%id]01 - (1+floor(Dragon[%id]01/(25*[%crowd]))))
71
				end
72
				yield (1*[%mana]) [%type]
73
				yield (1*[%growth]*TotalGrowth) Dragon[%id]01Grow
74
			end
75
			hidden when 0
76
			no buy
77
		*Dragon[%id]02
78
			name:Adolescent [%name1] Dragon
79
			tags:Dragons [%type]Dragons Chromatics Adolescent
80
			class:noBackground
81
			on tick:
82
				if (chance((0.02/[%health]/TotalHealth*Dragon[%id]02)))
83
					if (Dragon[%id]02 < 25)
84
						toast An Adolescent [%name1] Dragon was too curious for their own good.
85
					end
86
					Dragon[%id]02 = (Dragon[%id]02 - (1+floor(Dragon[%id]02/(25*[%crowd]))))
87
				end
88
				yield (2*[%mana]) [%type]
89
				yield (1*[%growth]*TotalGrowth) Dragon[%id]02Grow
90
				yield (1*[%breed]*TotalBreed/4) Dragon[%id]0Breed
91
			end
92
			hidden when 0
93
			no buy
94
		*Dragon[%id]03
95
			name:Lesser [%name1] Dragon
96
			tags:Dragons [%type]Dragons Chromatics Lesser
97
			class:noBackground
98
			on tick:
99
				if (chance((0.01/[%health]/TotalHealth*Dragon[%id]03)))
100
					if (Dragon[%id]03 < 25)
101
						toast A Lesser [%name1] Dragon died before their prime.
102
					end
103
					Dragon[%id]03 = (Dragon[%id]03 - (1+floor(Dragon[%id]03/(25*[%crowd]))))
104
				end
105
				yield (3*[%mana]) [%type]
106
				yield (1*[%growth]*TotalGrowth) Dragon[%id]03Grow
107
				yield (1*[%breed]*TotalBreed/2) Dragon[%id]0Breed
108
			end
109
			hidden when 0
110
			no buy
111
		*Dragon[%id]04
112
			name:Adult [%name1] Dragon
113
			tags:Dragons [%type]Dragons Chromatics Adult
114
			class:noBackground
115
			on tick:
116
				if (chance((0.005/[%health]/TotalHealth*Dragon[%id]04)))
117
					if (Dragon[%id]04 < 25)
118
						toast Lost an Adult [%name1] Dragon tragically
119
					end
120
					Dragon[%id]04 = (Dragon[%id]04 - (1+floor(Dragon[%id]04/(25*[%crowd]))))
121
				end
122
				yield (4*[%mana]) [%type]
123
				yield (1*[%growth]*TotalGrowth) Dragon[%id]04Grow
124
				yield (1*[%breed]*TotalBreed) Dragon[%id]0Breed
125
			end
126
			hidden when 0
127
			no buy
128
		*Dragon[%id]05
129
			name:Mature [%name1] Dragon
130
			tags:Dragons [%type]Dragons Chromatics Mature
131
			class:noBackground
132
			on tick:
133
				if (chance((0.01/[%health]/TotalHealth*Dragon[%id]05)))
134
					if (Dragon[%id]05 < 25)
135
						toast A Matured [%name1] Dragon passed to the next world.
136
					end
137
					Dragon[%id]05 = (Dragon[%id]05 - (1+floor(Dragon[%id]05/(25*[%crowd]))))
138
				end
139
				yield (5*[%mana]) [%type]
140
				yield (1*[%growth]*TotalGrowth) Dragon[%id]05Grow
141
				yield (1*[%breed]*TotalBreed/3) Dragon[%id]0Breed
142
			end
143
			hidden when 0
144
			no buy
145
		*Dragon[%id]06
146
			name:Greater [%name1] Dragon
147
			tags:Dragons [%type]Dragons Chromatics Greater
148
			class:noBackground
149
			on tick:
150
				if (chance((0.02/[%health]/TotalHealth*Dragon[%id]06)))
151
					if (Dragon[%id]06 < 25)
152
						toast A Greater [%name1] Dragon's age caught up with them.
153
					end
154
					Dragon[%id]06 = (Dragon[%id]06 - (1+floor(Dragon[%id]06/(25*[%crowd]))))
155
				end
156
				yield (6*[%mana]) [%type]
157
				yield (1*[%growth]*TotalGrowth) Dragon[%id]06Grow
158
				yield (1*[%breed]*TotalBreed/9) Dragon[%id]0Breed
159
			end
160
			hidden when 0
161
			no buy
162
		*Dragon[%id]07
163
			name:Venerable [%name1] Dragon
164
			tags:Dragons [%type]Dragons Chromatics Venerable
165
			class:noBackground
166
			on tick:
167
				if (chance((0.04/[%health]/TotalHealth*Dragon[%id]07)))
168
					if (Dragon[%id]07 < 25)
169
						toast A Venerable [%name1] Dragon passed on their last legend.
170
					end
171
					Dragon[%id]07 = (Dragon[%id]07 - (1+floor(Dragon[%id]07/(25*[%crowd]))))
172
				end
173
				yield (7*[%mana]) [%type]
174
				yield (1*[%growth]*TotalGrowth) Dragon[%id]07Grow
175
			end
176
			hidden when 0
177
			no buy
178
		*Dragon[%id]08
179
			name:Ancient [%name1] Dragon
180
			tags:Dragons [%type]Dragons Chromatics Ancient
181
			class:noBackground
182
			on tick:
183
				if (chance((0.08/[%health]/TotalHealth*Dragon[%id]08)))
184
					if (Dragon[%id]08 < 25)
185
						toast One of your [%name1] Dragons left a grand legacy peacefully in their sleep. They will be remembered.
186
					end
187
					Dragon[%id]08 = (Dragon[%id]08 - (1+floor(Dragon[%id]08/(25*[%crowd]))))
188
				end
189
				yield (8*[%mana]) [%type]
190
			end
191
			hidden when 0
192
			no buy
193
		*Dragon[%id]10
194
			name:[%name2] Dragon Egg
195
			tags:Dragons [%type]Dragons Gem Egg
196
			class:noBackground
197
			on tick:
198
				if (chance((0.04/[%health]/TotalHealth*Dragon[%id]10)))
199
					if (Dragon[%id]10 < 25)
200
						toast Lost a [%name2] Dragon egg...
201
					end
202
					Dragon[%id]10 = (Dragon[%id]10 - (1+floor(Dragon[%id]10/(25*[%crowd]))))
203
				end
204
				yield (1*[%growth]*TotalGrowth) Dragon[%id]10Grow
205
			end
206
			hidden when 0
207
			no buy
208
		*Dragon[%id]11
209
			name:[%name2] Dragon Child
210
			tags:Dragons [%type]Dragons Gem Child
211
			class:noBackground
212
			on tick:
213
				if (chance((0.02/[%health]/TotalHealth*Dragon[%id]11)))
214
					if (Dragon[%id]11 < 25)
215
						toast A [%name2] Dragon child didn't make it...
216
					end
217
					Dragon[%id]11 = (Dragon[%id]11 - (1+floor(Dragon[%id]11/(25*[%crowd]))))
218
				end
219
				yield (1.5*[%mana]) [%type]
220
				yield (1*[%growth]*TotalGrowth) Dragon[%id]11Grow
221
			end
222
			hidden when 0
223
			no buy
224
		*Dragon[%id]12
225
			name:Adolescent [%name2] Dragon
226
			tags:Dragons [%type]Dragons Gem Adolescent
227
			class:noBackground
228
			on tick:
229
				if (chance((0.01/[%health]/TotalHealth*Dragon[%id]12)))
230
					if (Dragon[%id]12 < 25)
231
						toast An Adolescent [%name2] Dragon was too curious for their own good.
232
					end
233
					Dragon[%id]12 = (Dragon[%id]12 - (1+floor(Dragon[%id]12/(25*[%crowd]))))
234
				end
235
				yield (3*[%mana]) [%type]
236
				yield (1*[%growth]*TotalGrowth) Dragon[%id]12Grow
237
				yield (1*[%breed]*TotalBreed/4) Dragon[%id]1Breed
238
			end
239
			hidden when 0
240
			no buy
241
		*Dragon[%id]13
242
			name:Lesser [%name2] Dragon
243
			tags:Dragons [%type]Dragons Gem Lesser
244
			class:noBackground
245
			on tick:
246
				if (chance((0.005/[%health]/TotalHealth*Dragon[%id]13)))
247
					if (Dragon[%id]13 < 25)
248
						toast A Lesser [%name2] Dragon died before their prime.
249
					end
250
					Dragon[%id]13 = (Dragon[%id]13 - (1+floor(Dragon[%id]13/(25*[%crowd]))))
251
				end
252
				yield (4.5*[%mana]) [%type]
253
				yield (1*[%growth]*TotalGrowth) Dragon[%id]13Grow
254
				yield (1*[%breed]*TotalBreed/2) Dragon[%id]1Breed
255
			end
256
			hidden when 0
257
			no buy
258
		*Dragon[%id]14
259
			name:Adult [%name2] Dragon
260
			tags:Dragons [%type]Dragons Gem Adult
261
			class:noBackground
262
			on tick:
263
				if (chance((0.0025/[%health]/TotalHealth*Dragon[%id]14)))
264
					if (Dragon[%id]14 < 25)
265
						toast Lost an Adult [%name2] Dragon tragically
266
					end
267
					Dragon[%id]14 = (Dragon[%id]14 - (1+floor(Dragon[%id]14/(25*[%crowd]))))
268
				end
269
				yield (6*[%mana]) [%type]
270
				yield (1*[%growth]*TotalGrowth) Dragon[%id]14Grow
271
				yield (1*[%breed]*TotalBreed) Dragon[%id]1Breed
272
			end
273
			hidden when 0
274
			no buy
275
		*Dragon[%id]15
276
			name:Mature [%name2] Dragon
277
			tags:Dragons [%type]Dragons Gem Mature
278
			class:noBackground
279
			on tick:
280
				if (chance((0.005/[%health]/TotalHealth*Dragon[%id]15)))
281
					if (Dragon[%id]15 < 25)
282
						toast A Matured [%name2] Dragon passed on to the next world.
283
					end
284
					Dragon[%id]15 = (Dragon[%id]15 - (1+floor(Dragon[%id]15/(25*[%crowd]))))
285
				end
286
				yield (7.5*[%mana]) [%type]
287
				yield (1*[%growth]*TotalGrowth) Dragon[%id]15Grow
288
				yield (1*[%breed]*TotalBreed/3) Dragon[%id]1Breed
289
			end
290
			hidden when 0
291
			no buy
292
		*Dragon[%id]16
293
			name:Greater [%name2] Dragon
294
			tags:Dragons [%type]Dragons Gem Greater
295
			class:noBackground
296
			on tick:
297
				if (chance((0.01/[%health]/TotalHealth*Dragon[%id]16)))
298
					if (Dragon[%id]16 < 25)
299
						toast A Greater [%name2] Dragon's age caught up with them.
300
					end
301
					Dragon[%id]16 = (Dragon[%id]16 - (1+floor(Dragon[%id]16/(25*[%crowd]))))
302
				end
303
				yield (9*[%mana]) [%type]
304
				yield (1*[%growth]*TotalGrowth) Dragon[%id]16Grow
305
				yield (1*[%breed]*TotalBreed/9) Dragon[%id]1Breed
306
			end
307
			hidden when 0
308
			no buy
309
		*Dragon[%id]17
310
			name:Venerable [%name2] Dragon
311
			tags:Dragons [%type]Dragons Gem Venerable
312
			class:noBackground
313
			on tick:
314
				if (chance((0.02/[%health]/TotalHealth*Dragon[%id]17)))
315
					if (Dragon[%id]17 < 25)
316
						toast A Venerable [%name2] Dragon passed on their last legend.
317
					end
318
					Dragon[%id]17 = (Dragon[%id]17 - (1+floor(Dragon[%id]17/(25*[%crowd]))))
319
				end
320
				yield (10.5*[%mana]) [%type]
321
				yield (1*[%growth]*TotalGrowth) Dragon[%id]17Grow
322
			end
323
			hidden when 0
324
			no buy
325
		*Dragon[%id]18
326
			name:Ancient [%name2] Dragon
327
			tags:Dragons [%type]Dragons Gem Ancient
328
			class:noBackground
329
			on tick:
330
				if (chance((0.04/[%health]/TotalHealth*Dragon[%id]18)))
331
					if (Dragon[%id]18 < 25)
332
						toast One of your [%name2] Dragons has ascended beyond the realm. They will be honored.
333
					end
334
					Dragon[%id]18 = (Dragon[%id]18 - (1+floor(Dragon[%id]18/(25*[%crowd]))))
335
				end
336
				yield (12*[%mana]) [%type]
337
			end
338
			hidden when 0
339
			no buy
340
		*Dragon[%id]20
341
			name:[%name3] Dragon Egg
342
			tags:Dragons [%type]Dragons Pure Egg
343
			class:noBackground
344
			on tick:
345
				if (chance((0.02/[%health]/TotalHealth*Dragon[%id]20)))
346
					if (Dragon[%id]20 < 25)
347
						toast Lost a [%name3] Dragon egg...
348
					end
349
					Dragon[%id]20 = (Dragon[%id]20 - (1+floor(Dragon[%id]20/(25*[%crowd]))))
350
				end
351
				yield (1*[%growth]*TotalGrowth) Dragon[%id]20Grow
352
			end
353
			hidden when 0
354
			no buy
355
		*Dragon[%id]21
356
			name:[%name3] Dragon Child
357
			tags:Dragons [%type]Dragons Pure Child
358
			class:noBackground
359
			on tick:
360
				if (chance((0.01/[%health]/TotalHealth*Dragon[%id]21)))
361
					if (Dragon[%id]21 < 25)
362
						toast A [%name3] Dragon child didn't make it...
363
					end
364
					Dragon[%id]21 = (Dragon[%id]21 - (1+floor(Dragon[%id]21/(25*[%crowd]))))
365
				end
366
				yield (2*[%mana]) [%type]
367
				yield (1*[%growth]*TotalGrowth) Dragon[%id]21Grow
368
			end
369
			hidden when 0
370
			no buy
371
		*Dragon[%id]22
372
			name:Adolescent [%name3] Dragon
373
			tags:Dragons [%type]Dragons Pure Adolescent
374
			class:noBackground
375
			on tick:
376
				if (chance((0.005/[%health]/TotalHealth*Dragon[%id]22)))
377
					if (Dragon[%id]22 < 25)
378
						toast An Adolescent [%name3] Dragon was too curious for their own good.
379
					end
380
					Dragon[%id]22 = (Dragon[%id]22 - (1+floor(Dragon[%id]22/(25*[%crowd]))))
381
				end
382
				yield (4*[%mana]) [%type]
383
				yield (1*[%growth]*TotalGrowth) Dragon[%id]22Grow
384
				yield (1*[%breed]*TotalBreed/4) Dragon[%id]2Breed
385
			end
386
			hidden when 0
387
			no buy
388
		*Dragon[%id]23
389
			name:Lesser [%name3] Dragon
390
			tags:Dragons [%type]Dragons Pure Lesser
391
			class:noBackground
392
			on tick:
393
				if (chance((0.0025/[%health]/TotalHealth*Dragon[%id]23)))
394
					if (Dragon[%id]23 < 25)
395
						toast A Lesser [%name3] Dragon died before their prime.
396
					end
397
					Dragon[%id]23 = (Dragon[%id]23 - (1+floor(Dragon[%id]23/(25*[%crowd]))))
398
				end
399
				yield (6*[%mana]) [%type]
400
				yield (1*[%growth]*TotalGrowth) Dragon[%id]23Grow
401
				yield (1*[%breed]*TotalBreed/2) Dragon[%id]2Breed
402
			end
403
			hidden when 0
404
			no buy
405
		*Dragon[%id]24
406
			name:Adult [%name3] Dragon
407
			tags:Dragons [%type]Dragons Pure Adult
408
			class:noBackground
409
			on tick:
410
				if (chance((0.00125/[%health]/TotalHealth*Dragon[%id]24)))
411
					if (Dragon[%id]24 < 25)
412
						toast Lost an Adult [%name3] Dragon tragically
413
					end
414
					Dragon[%id]24 = (Dragon[%id]24 - (1+floor(Dragon[%id]24/(25*[%crowd]))))
415
				end
416
				yield (8*[%mana]) [%type]
417
				yield (1*[%growth]*TotalGrowth) Dragon[%id]24Grow
418
				yield (1*[%breed]*TotalBreed) Dragon[%id]2Breed
419
			end
420
			hidden when 0
421
			no buy
422
		*Dragon[%id]25
423
			name:Mature [%name3] Dragon
424
			tags:Dragons [%type]Dragons Pure Mature
425
			class:noBackground
426
			on tick:
427
				if (chance((0.0025/[%health]/TotalHealth*Dragon[%id]25)))
428
					if (Dragon[%id]25 < 25)
429
						toast A Matured [%name3] Dragon passed on to the next world.
430
					end
431
					Dragon[%id]25 = (Dragon[%id]25 - (1+floor(Dragon[%id]25/(25*[%crowd]))))
432
				end
433
				yield (10*[%mana]) [%type]
434
				yield (1*[%growth]*TotalGrowth) Dragon[%id]25Grow
435
				yield (1*[%breed]*TotalBreed/3) Dragon[%id]2Breed
436
			end
437
			hidden when 0
438
			no buy
439
		*Dragon[%id]26
440
			name:Greater [%name3] Dragon
441
			tags:Dragons [%type]Dragons Pure Greater
442
			class:noBackground
443
			on tick:
444
				if (chance((0.005/[%health]/TotalHealth*Dragon[%id]26)))
445
					if (Dragon[%id]26 < 25)
446
						toast A Greater [%name3] Dragon's age caught up with them.
447
					end
448
					Dragon[%id]26 = (Dragon[%id]26 - (1+floor(Dragon[%id]26/(25*[%crowd]))))
449
				end
450
				yield (12*[%mana]) [%type]
451
				yield (1*[%growth]*TotalGrowth) Dragon[%id]26Grow
452
				yield (1*[%breed]*TotalBreed/9) Dragon[%id]2Breed
453
			end
454
			hidden when 0
455
			no buy
456
		*Dragon[%id]27
457
			name:Venerable [%name3] Dragon
458
			tags:Dragons [%type]Dragons Pure Venerable
459
			class:noBackground
460
			on tick:
461
				if (chance((0.01/[%health]/TotalHealth*Dragon[%id]27)))
462
					if (Dragon[%id]27 < 25)
463
						toast A Venerable [%name3] Dragon passed on their last legend.
464
					end
465
					Dragon[%id]27 = (Dragon[%id]27 - (1+floor(Dragon[%id]27/(25*[%crowd]))))
466
				end
467
				yield (14*[%mana]) [%type]
468
				yield (1*[%growth]*TotalGrowth) Dragon[%id]27Grow
469
			end
470
			hidden when 0
471
			no buy
472
		*Dragon[%id]28
473
			name:Ancient [%name3] Dragon
474
			tags:Dragons [%type]Dragons Pure Ancient
475
			class:noBackground
476
			on tick:
477
				if (chance((0.02/[%health]/TotalHealth*Dragon[%id]28)))
478
					if (Dragon[%id]28 < 25)
479
						toast One of your [%name3] Dragons has left the world peacefully in their sleep. They will join beside you.
480
					end
481
					Dragon[%id]28 = (Dragon[%id]28 - (1+floor(Dragon[%id]28/(25*[%crowd]))))
482
				end
483
				yield (16*[%mana]) [%type]
484
			end
485
			hidden when 0
486
			no buy
487
488
	*include DragonBreed %id %name1 %name2 %name3 %type %land="1" %rare="1"
489
		*Dragon[%id]BreedRate
490
			name: [%id] Dragon Breed Rate
491
			is always:(max(pow(((((Total[%type]Dragons+1)/(Total[%type]Land+1))+([%land]-1))/[%land]),3),pow(((Total[%type]Dragons+1)/(Total[%type]Land+1)),(1/3)))*600)
492
			hidden
493
		*Dragon[%id]Total
494
			name: [%id] Dragon Population Total
495
			is always:(Dragon[%id]01 + Dragon[%id]02 + Dragon[%id]03 + Dragon[%id]04 + Dragon[%id]05 + Dragon[%id]06 + Dragon[%id]07 + Dragon[%id]08 + Dragon[%id]11 + Dragon[%id]12 + Dragon[%id]13 + Dragon[%id]14 + Dragon[%id]15 + Dragon[%id]16 + Dragon[%id]17 + Dragon[%id]18 + Dragon[%id]21 + Dragon[%id]22 + Dragon[%id]23 + Dragon[%id]24 + Dragon[%id]25 + Dragon[%id]26 + Dragon[%id]27 + Dragon[%id]28)
496
			hidden
497
		*Dragon[%id]0Breed
498
			name: [%name1] Dragon Breeding
499
			on tick:
500
				if (Dragon[%id]0Breed>=Dragon[%id]BreedRate)
501
					if (chance((4*[%rare])%))
502
						Dragon[%id]10 = Dragon[%id]10 + floor(Dragon[%id]0Breed/Dragon[%id]BreedRate)
503
					else
504
						Dragon[%id]00 = Dragon[%id]00 + floor(Dragon[%id]0Breed/Dragon[%id]BreedRate)
505
					end
506
					Dragon[%id]0Breed = (Dragon[%id]0Breed % Dragon[%id]BreedRate)
507
				end
508
			end
509
			hidden
510
		*Dragon[%id]1Breed
511
			name: [%name2] Dragon Breeding
512
			on tick:
513
				if (Dragon[%id]1Breed>=(Dragon[%id]BreedRate*(5/6)))
514
					if (chance((0.8*[%rare])%))
515
						Dragon[%id]20 = Dragon[%id]20 + floor(Dragon[%id]1Breed/(Dragon[%id]BreedRate*(5/6)))
516
					else if (chance((11.1*[%rare])%))
517
						Dragon[%id]10 = Dragon[%id]10 + floor(Dragon[%id]1Breed/(Dragon[%id]BreedRate*(5/6)))
518
					else
519
						Dragon[%id]00 = Dragon[%id]00 + floor(Dragon[%id]1Breed/(Dragon[%id]BreedRate*(5/6)))
520
					end
521
					Dragon[%id]1Breed = (Dragon[%id]1Breed % (Dragon[%id]BreedRate*(5/6)))
522
				end
523
			end
524
			hidden
525
		*Dragon[%id]2Breed
526
			name: [%name3] Dragon Breeding
527
			on tick:
528
				if (Dragon[%id]2Breed>=(Dragon[%id]BreedRate*(25/36)))
529
					if (chance((3.7*[%rare])%))
530
						Dragon[%id]20 = Dragon[%id]20 + floor(Dragon[%id]2Breed/(Dragon[%id]BreedRate*(25/36)))
531
					else if (chance((22.2*[%rare])%))
532
						Dragon[%id]10 = Dragon[%id]10 + floor(Dragon[%id]2Breed/(Dragon[%id]BreedRate*(25/36)))
533
					else
534
						Dragon[%id]00 = Dragon[%id]00 + floor(Dragon[%id]2Breed/(Dragon[%id]BreedRate*(25/36)))
535
					end
536
					Dragon[%id]2Breed = (Dragon[%id]2Breed % (Dragon[%id]BreedRate*(25/36)))
537
				end
538
			end
539
			hidden
540
		*Dragon[%id]00Grow
541
			name: [%name1] Dragon Egg Growth
542
			on tick:
543
				if (Dragon[%id]00Grow>=300)
544
					Dragon[%id]01 = Dragon[%id]01 + floor(Dragon[%id]00Grow/300)
545
					Dragon[%id]00 = Dragon[%id]00 - floor(Dragon[%id]00Grow/300)
546
					Dragon[%id]00Grow = (Dragon[%id]00Grow % 300)
547
				end
548
			end
549
			hidden
550
		*Dragon[%id]10Grow
551
			name: [%name2] Dragon Egg Growth
552
			on tick:
553
				if (Dragon[%id]10Grow>=400)
554
					Dragon[%id]11 = Dragon[%id]11 + floor(Dragon[%id]10Grow/400)
555
					Dragon[%id]10 = Dragon[%id]10 - floor(Dragon[%id]10Grow/400)
556
					Dragon[%id]10Grow = (Dragon[%id]10Grow % 400)
557
				end
558
			end
559
			hidden
560
		*Dragon[%id]20Grow
561
			name: [%name3] Dragon Egg Growth
562
			on tick:
563
				if (Dragon[%id]20Grow>=500)
564
					Dragon[%id]21 = Dragon[%id]21 + floor(Dragon[%id]20Grow/500)
565
					Dragon[%id]20 = Dragon[%id]20 - floor(Dragon[%id]20Grow/500)
566
					Dragon[%id]20Grow = (Dragon[%id]20Grow % 500)
567
				end
568
			end
569
			hidden
570
		*Dragon[%id]01Grow
571
			name: Child [%name1] Dragon Growth
572
			on tick:
573
				if (Dragon[%id]01Grow>=1800)
574
					Dragon[%id]02 = Dragon[%id]02 + floor(Dragon[%id]01Grow/1800)
575
					Dragon[%id]01 = Dragon[%id]01 - floor(Dragon[%id]01Grow/1800)
576
					Dragon[%id]01Grow = (Dragon[%id]01Grow % 1800)
577
				end
578
			end
579
			hidden
580
		*Dragon[%id]11Grow
581
			name: Child [%name2] Dragon Growth
582
			on tick:
583
				if (Dragon[%id]11Grow>=2400)
584
					Dragon[%id]12 = Dragon[%id]12 + floor(Dragon[%id]11Grow/2400)
585
					Dragon[%id]11 = Dragon[%id]11 - floor(Dragon[%id]11Grow/2400)
586
					Dragon[%id]11Grow = (Dragon[%id]11Grow % 2400)
587
				end
588
			end
589
			hidden
590
		*Dragon[%id]21Grow
591
			name: Child [%name3] Dragon Growth
592
			on tick:
593
				if (Dragon[%id]21Grow>=3000)
594
					Dragon[%id]22 = Dragon[%id]22 + floor(Dragon[%id]21Grow/3000)
595
					Dragon[%id]21 = Dragon[%id]21 - floor(Dragon[%id]21Grow/3000)
596
					Dragon[%id]21Grow = (Dragon[%id]21Grow % 3000)
597
				end
598
			end
599
			hidden
600
		*Dragon[%id]02Grow
601
			name: Adolescent [%name1] Dragon Growth
602
			on tick:
603
				if (Dragon[%id]02Grow>=3600)
604
					Dragon[%id]03 = Dragon[%id]03 + floor(Dragon[%id]02Grow/3600)
605
					Dragon[%id]02 = Dragon[%id]02 - floor(Dragon[%id]02Grow/3600)
606
					Dragon[%id]02Grow = (Dragon[%id]02Grow % 3600)
607
				end
608
			end
609
			hidden
610
		*Dragon[%id]12Grow
611
			name: Adolescent [%name2] Dragon Growth
612
			on tick:
613
				if (Dragon[%id]12Grow>=4800)
614
					Dragon[%id]13 = Dragon[%id]13 + floor(Dragon[%id]12Grow/4800)
615
					Dragon[%id]12 = Dragon[%id]12 - floor(Dragon[%id]12Grow/4800)
616
					Dragon[%id]12Grow = (Dragon[%id]12Grow % 4800)
617
				end
618
			end
619
			hidden
620
		*Dragon[%id]22Grow
621
			name: Adolescent [%name3] Dragon Growth
622
			on tick:
623
				if (Dragon[%id]22Grow>=6000)
624
					Dragon[%id]23 = Dragon[%id]23 + floor(Dragon[%id]22Grow/6000)
625
					Dragon[%id]22 = Dragon[%id]22 - floor(Dragon[%id]22Grow/6000)
626
					Dragon[%id]22Grow = (Dragon[%id]22Grow % 6000)
627
				end
628
			end
629
			hidden
630
		*Dragon[%id]03Grow
631
			name: Lesser [%name1] Dragon Growth
632
			on tick:
633
				if (Dragon[%id]03Grow>=7200)
634
					Dragon[%id]04 = Dragon[%id]04 + floor(Dragon[%id]03Grow/7200)
635
					Dragon[%id]03 = Dragon[%id]03 - floor(Dragon[%id]03Grow/7200)
636
					Dragon[%id]03Grow = (Dragon[%id]03Grow % 7200)
637
				end
638
			end
639
			hidden
640
		*Dragon[%id]13Grow
641
			name: Lesser [%name2] Dragon Growth
642
			on tick:
643
				if (Dragon[%id]13Grow>=9600)
644
					Dragon[%id]14 = Dragon[%id]14 + floor(Dragon[%id]13Grow/9600)
645
					Dragon[%id]13 = Dragon[%id]13 - floor(Dragon[%id]13Grow/9600)
646
					Dragon[%id]13Grow = (Dragon[%id]13Grow % 9600)
647
				end
648
			end
649
			hidden
650
		*Dragon[%id]23Grow
651
			name: Lesser [%name3] Dragon Growth
652
			on tick:
653
				if (Dragon[%id]23Grow>=12000)
654
					Dragon[%id]24 = Dragon[%id]24 + floor(Dragon[%id]23Grow/12000)
655
					Dragon[%id]23 = Dragon[%id]23 - floor(Dragon[%id]23Grow/12000)
656
					Dragon[%id]23Grow = (Dragon[%id]23Grow % 12000)
657
				end
658
			end
659
			hidden
660
		*Dragon[%id]04Grow
661
			name: Adult [%name1] Dragon Growth
662
			on tick:
663
				if (Dragon[%id]04Grow>=14400)
664
					Dragon[%id]05 = Dragon[%id]05 + floor(Dragon[%id]04Grow/14400)
665
					Dragon[%id]04 = Dragon[%id]04 - floor(Dragon[%id]04Grow/14400)
666
					Dragon[%id]04Grow = (Dragon[%id]04Grow % 14400)
667
				end
668
			end
669
			hidden
670
		*Dragon[%id]14Grow
671
			name: Adult [%name2] Dragon Growth
672
			on tick:
673
				if (Dragon[%id]14Grow>=19200)
674
					Dragon[%id]15 = Dragon[%id]15 + floor(Dragon[%id]14Grow/19200)
675
					Dragon[%id]14 = Dragon[%id]14 - floor(Dragon[%id]14Grow/19200)
676
					Dragon[%id]14Grow = (Dragon[%id]14Grow % 19200)
677
				end
678
			end
679
			hidden
680
		*Dragon[%id]24Grow
681
			name: Adult [%name3] Dragon Growth
682
			on tick:
683
				if (Dragon[%id]24Grow>=24000)
684
					Dragon[%id]25 = Dragon[%id]25 + floor(Dragon[%id]24Grow/24000)
685
					Dragon[%id]24 = Dragon[%id]24 - floor(Dragon[%id]24Grow/24000)
686
					Dragon[%id]24Grow = (Dragon[%id]24Grow % 24000)
687
				end
688
			end
689
			hidden
690
		*Dragon[%id]05Grow
691
			name: Mature [%name1] Dragon Growth
692
			on tick:
693
				if (Dragon[%id]05Grow>=28800)
694
					Dragon[%id]06 = Dragon[%id]06 + floor(Dragon[%id]05Grow/28800)
695
					Dragon[%id]05 = Dragon[%id]05 - floor(Dragon[%id]05Grow/28800)
696
					Dragon[%id]05Grow = (Dragon[%id]05Grow % 28800)
697
				end
698
			end
699
			hidden
700
		*Dragon[%id]15Grow
701
			name: Mature [%name2] Dragon Growth
702
			on tick:
703
				if (Dragon[%id]15Grow>=38400)
704
					Dragon[%id]16 = Dragon[%id]16 + floor(Dragon[%id]15Grow/38400)
705
					Dragon[%id]15 = Dragon[%id]15 - floor(Dragon[%id]15Grow/38400)
706
					Dragon[%id]15Grow = (Dragon[%id]15Grow % 38400)
707
				end
708
			end
709
			hidden
710
		*Dragon[%id]25Grow
711
			name: Mature [%name3] Dragon Growth
712
			on tick:
713
				if (Dragon[%id]25Grow>=48000)
714
					Dragon[%id]26 = Dragon[%id]26 + floor(Dragon[%id]25Grow/48000)
715
					Dragon[%id]25 = Dragon[%id]25 - floor(Dragon[%id]25Grow/48000)
716
					Dragon[%id]25Grow = (Dragon[%id]25Grow % 48000)
717
				end
718
			end
719
			hidden
720
		*Dragon[%id]06Grow
721
			name: Greater [%name1] Dragon Growth
722
			on tick:
723
				if (Dragon[%id]06Grow>=57600)
724
					Dragon[%id]07 = Dragon[%id]07 + floor(Dragon[%id]06Grow/57600)
725
					Dragon[%id]06 = Dragon[%id]06 - floor(Dragon[%id]06Grow/57600)
726
					Dragon[%id]06Grow = (Dragon[%id]06Grow % 57600)
727
				end
728
			end
729
			hidden
730
		*Dragon[%id]16Grow
731
			name: Greater [%name2] Dragon Growth
732
			on tick:
733
				if (Dragon[%id]16Grow>=76800)
734
					Dragon[%id]17 = Dragon[%id]17 + floor(Dragon[%id]16Grow/76800)
735
					Dragon[%id]16 = Dragon[%id]16 - floor(Dragon[%id]16Grow/76800)
736
					Dragon[%id]16Grow = (Dragon[%id]16Grow % 76800)
737
				end
738
			end
739
			hidden
740
		*Dragon[%id]26Grow
741
			name: Greater [%name3] Dragon Growth
742
			on tick:
743
				if (Dragon[%id]26Grow>=96000)
744
					Dragon[%id]27 = Dragon[%id]27 + floor(Dragon[%id]26Grow/96000)
745
					Dragon[%id]26 = Dragon[%id]26 - floor(Dragon[%id]26Grow/96000)
746
					Dragon[%id]26Grow = (Dragon[%id]26Grow % 96000)
747
				end
748
			end
749
			hidden
750
		*Dragon[%id]07Grow
751
			name: Venerable [%name1] Dragon Growth
752
			on tick:
753
				if (Dragon[%id]07Grow>=115200)
754
					Dragon[%id]08 = Dragon[%id]08 + floor(Dragon[%id]07Grow/115200)
755
					Dragon[%id]07 = Dragon[%id]07 - floor(Dragon[%id]07Grow/115200)
756
					Dragon[%id]07Grow = (Dragon[%id]07Grow % 115200)
757
				end
758
			end
759
			hidden
760
		*Dragon[%id]17Grow
761
			name: Venerable [%name2] Dragon Growth
762
			on tick:
763
				if (Dragon[%id]17Grow>=153600)
764
					Dragon[%id]18 = Dragon[%id]18 + floor(Dragon[%id]17Grow/153600)
765
					Dragon[%id]17 = Dragon[%id]17 - floor(Dragon[%id]17Grow/153600)
766
					Dragon[%id]17Grow = (Dragon[%id]17Grow % 153600)
767
				end
768
			end
769
			hidden
770
		*Dragon[%id]27Grow
771
			name: Venerable [%name3] Dragon Growth
772
			on tick:
773
				if (Dragon[%id]27Grow>=192000)
774
					Dragon[%id]28 = Dragon[%id]28 + floor(Dragon[%id]27Grow/192000)
775
					Dragon[%id]27 = Dragon[%id]27 - floor(Dragon[%id]27Grow/192000)
776
					Dragon[%id]27Grow = (Dragon[%id]27Grow % 192000)
777
				end
778
			end
779
			hidden
780
781
Buttons
782
	*theWorldButton
783
		name:Draconia
784
		desc:Clicking here will generate one random point of Mana.
785
		on click:
786
			anim icon wobble
787
			if (chance((100/6)%))
788
				yield 1 Fire
789
			else if (chance((100/5)%))
790
				yield 1 Water
791
			else if (chance((100/4)%))
792
				yield 1 Air
793
			else if (chance((100/3)%))
794
				yield 1 Earth
795
			else if (chance((100/2)%))
796
				yield 1 Light
797
			else
798
				yield 1 Dark
799
			end
800
		end
801
		icon:https://i.imgur.com/0L2Ukqg.png
802
		no text
803
		class:bigButton hasFlares
804
		icon class:shadowed
805
		tooltip origin:bottom
806
		tooltip class:red
807
808
809
810
		
811
Resources
812
813
//Buttons
814
	*viewAllCreatures
815
		name:All
816
		text:All
817
		desc:Click to show all creatures. (Warning: giant list)
818
		on click:
819
			show tag:Dragons
820
			show tag:FireDragons
821
			show tag:WaterDragons
822
			show tag:AirDragons
823
			show tag:EarthDragons
824
			show tag:LightDragons
825
			show tag:DarkDragons
826
		end
827
		tags:menuButton popMenuButton
828
829
	*viewFireDragons
830
		name:Fire
831
		text:Fire
832
		desc:Click to show all Fire-aligned creatures.
833
		on click:
834
			hide tag:Dragons
835
			show tag:FireDragons
836
			hide tag:WaterDragons
837
			hide tag:AirDragons
838
			hide tag:EarthDragons
839
			hide tag:LightDragons
840
			hide tag:DarkDragons
841
		end
842
		tags:menuButton popMenuButton
843
844
	*viewWaterDragons
845
		name:Water
846
		text:Water
847
		desc:Click to show all Water-aligned creatures.
848
		on click:
849
			hide tag:Dragons
850
			hide tag:FireDragons
851
			show tag:WaterDragons
852
			hide tag:AirDragons
853
			hide tag:EarthDragons
854
			hide tag:LightDragons
855
			hide tag:DarkDragons
856
		end
857
		tags:menuButton popMenuButton
858
859
	*viewAirDragons
860
		name:Air
861
		text:Air
862
		desc:Click to show all Air-aligned creatures.
863
		on click:
864
			hide tag:Dragons
865
			hide tag:FireDragons
866
			hide tag:WaterDragons
867
			show tag:AirDragons
868
			hide tag:EarthDragons
869
			hide tag:LightDragons
870
			hide tag:DarkDragons
871
		end
872
		tags:menuButton popMenuButton
873
874
	*viewEarthDragons
875
		name:Earth
876
		text:Earth
877
		desc:Click to show all Earth-aligned creatures.
878
		on click:
879
			hide tag:Dragons
880
			hide tag:FireDragons
881
			hide tag:WaterDragons
882
			hide tag:AirDragons
883
			show tag:EarthDragons
884
			hide tag:LightDragons
885
			hide tag:DarkDragons
886
		end
887
		tags:menuButton popMenuButton
888
889
	*viewLightDragons
890
		name:Light
891
		text:Light
892
		desc:Click to show all Light-aligned creatures.
893
		on click:
894
			hide tag:Dragons
895
			hide tag:FireDragons
896
			hide tag:WaterDragons
897
			hide tag:AirDragons
898
			hide tag:EarthDragons
899
			show tag:LightDragons
900
			hide tag:DarkDragons
901
		end
902
		tags:menuButton popMenuButton
903
904
	*viewDarkDragons
905
		name:Dark
906
		text:Dark
907
		desc:Click to show all Darkness-aligned creatures.
908
		on click:
909
			hide tag:Dragons
910
			hide tag:FireDragons
911
			hide tag:WaterDragons
912
			hide tag:AirDragons
913
			hide tag:EarthDragons
914
			hide tag:LightDragons
915
			show tag:DarkDragons
916
		end
917
		tags:menuButton popMenuButton
918
919
	*viewLands
920
		name:Lands
921
		text:Lands
922
		desc:Click to show the Land Sidebar.
923
		on click:
924
			show tag:lands
925
			hide tag:upgrades
926
		end
927
		tags:menuButton buildMenuButton
928
929
	*viewUpgrades
930
		name:Upgrades
931
		text:Upgrades
932
		desc:Click to show the Upgrades Sidebar.
933
		on click:
934
			hide tag:lands
935
			show tag:upgrades
936
		end
937
		tags:menuButton buildMenuButton
938
939
	*TEMPLATE
940
		class:noBackground
941
		show earned
942
943
	*Fire
944
		name:Fire Mana
945
		tag:mana
946
		desc:Fire Mana is creative and passionate. Use Mana to create Lands for your dragons.
947
		icon:drakeicons[4,0]
948
		start with:1
949
	*Water
950
		name:Water Mana
951
		tag:mana
952
		desc:Water Mana is compassionate and empathic. Use Mana to create Lands for your dragons.
953
		icon:drakeicons[4,1]
954
		start with:1
955
	*Air
956
		name:Air Mana
957
		tag:mana
958
		desc:Air Mana is innovative and gregarious. Use Mana to create Lands for your dragons.
959
		icon:drakeicons[4,3]
960
		start with:1
961
	*Earth
962
		name:Earth Mana
963
		tag:mana
964
		desc:Earth Mana is determined and unyielding. Use Mana to create Lands for your dragons.
965
		icon:drakeicons[4,2]
966
		start with:1
967
	*Light
968
		name:Light Mana
969
		tag:mana
970
		desc:Light Mana is altruistic and just. Use Mana to create Lands for your dragons.
971
		icon:drakeicons[4,4]
972
		start with:1
973
	*Dark
974
		name:Dark Mana
975
		tag:mana
976
		desc:Dark Mana is ambitious and mysterious. Use Mana to create Lands for your dragons.
977
		icon:drakeicons[4,5]
978
		start with:1
979
980
	*TEMPLATE
981
		class:noBackground
982
		hidden when 0 
983
984
	*TotalFireDragons
985
		name:Fire Dragon Population
986
		desc:Tracks the total Fire Dragon population.
987
		icon:drakeicons[1,0]
988
		is always:DragonFTotal
989
	*TotalFireLand
990
		name:Fire Habitability
991
		desc:Tracks the total space for Fire Dragons to live in
992
		icon:drakeicons[2,0]
993
		is always:(desert * 7)
994
	*TotalWaterDragons
995
		name:Water Dragon Population
996
		desc:Tracks the total Water Dragon population.
997
		icon:drakeicons[1,2]
998
		is always:DragonWTotal
999
	*TotalWaterLand
1000
		name:Water Habitability
1001
		desc:Tracks the total space for Water Dragons to live in
1002
		icon:drakeicons[2,2]
1003
		is always:(ocean * 7)
1004
	*TotalAirDragons
1005
		name:Air Dragon Population
1006
		desc:Tracks the total Air Dragon population.
1007
		icon:drakeicons[1,1]
1008
		is always:DragonATotal
1009
	*TotalAirLand
1010
		name:Air Habitability
1011
		desc:Tracks the total space for Air Dragons to live in
1012
		icon:drakeicons[2,1]
1013
		is always:(plain * 7)
1014
	*TotalEarthDragons
1015
		name:Earth Dragon Population
1016
		desc:Tracks the total Earth Dragon population.
1017
		icon:drakeicons[1,1]
1018
		is always:DragonETotal
1019
	*TotalEarthLand
1020
		name:Earth Habitability
1021
		desc:Tracks the total space for Earth Dragons to live in
1022
		icon:drakeicons[2,1]
1023
		is always:(mountain * 7)
1024
	*TotalLightDragons
1025
		name:Light Dragon Population
1026
		desc:Tracks the total Light Dragon population.
1027
		icon:drakeicons[1,3]
1028
		is always:DragonLTotal
1029
	*TotalLightLand
1030
		name:Light Habitability
1031
		desc:Tracks the total space for Light Dragons to live in
1032
		icon:drakeicons[2,3]
1033
		is always:(steppe * 7)
1034
	*TotalDarkDragons
1035
		name:Dark Dragon Population
1036
		desc:Tracks the total Dark Dragon population.
1037
		icon:drakeicons[1,3]
1038
		is always:DragonDTotal
1039
	*TotalDarkLand
1040
		name:Dark Habitability
1041
		desc:Tracks the total space for Dark Dragons to live in
1042
		icon:drakeicons[2,3]
1043
		is always:(swamp * 7)
1044
	*TotalBreed
1045
		name:Upgrade Breed Multiplier
1046
		desc:Tracks the total Breeding Multiplier from all Upgrades
1047
		is always:1
1048
		hidden
1049
	*TotalGrowth
1050
		name:Upgrade Growth Multiplier
1051
		desc:Tracks the total Growth Multiplier from all Upgrades
1052
		is always:1
1053
		hidden
1054
	*TotalHealth
1055
		name:Upgrade Health Multiplier
1056
		desc:Tracks the total Health Multiplier from all Upgrades
1057
		is always:1
1058
		hidden
1059
	*desertCost
1060
		name:debug
1061
		is always:50
1062
		hidden
1063
1064
	[include DragonBreed %id="F" %name1="Red Flame" %name2="Ruby Flame" %name3="Flame Incarnate" %type="Fire"]
1065
	[include DragonBreed %id="W" %name1="Blue Sea" %name2="Sapphire Sea" %name3="Sea Incarnate" %type="Water"]
1066
	[include DragonBreed %id="A" %name1="Yellow Cloud" %name2="Citrine Cloud" %name3="Cloud Incarnate" %type="Air"]
1067
	[include DragonBreed %id="E" %name1="Green Mountain" %name2="Emerald Mountain" %name3="Mountain Incarnate" %type="Earth"]
1068
	[include DragonBreed %id="L" %name1="Luminous White" %name2="Luminous Diamond" %name3="Luminous Incarnate" %type="Light" %land="1.5"]
1069
	[include DragonBreed %id="D" %name1="Umbral Black" %name2="Umbral Opal" %name3="Umbral Incarnate" %type="Dark" %rare="1.5"]
1070
1071
1072
Buildings
1073
	*TEMPLATE
1074
		on click:anim glow
1075
1076
	*desert|deserts
1077
        name:Desert|Deserts
1078
		tags:lands fireLands
1079
        desc:A vast rolling sea of sand and dunes.<//><b>Effect:</b><.>Provides space for 7 Fire Dragons.
1080
        icon:drakeicons[0,0]
1081
        cost:5 Fire, 1 Water, 1 Air, 1 Earth, 1 Light, 1 Dark
1082
        on earn:DragonF00 = (DragonF00 + 1)
1083
        unlocked
1084
1085
	*ocean
1086
        name:Ocean
1087
		tags:lands waterLands
1088
        desc:A deep expanse of seemingly endless water.<//><b>Effect:</b><.>Provides space for 7 Water Dragons.
1089
        icon:drakeicons[0,2]
1090
        cost:1 Fire, 5 Water, 1 Air, 1 Earth, 1 Light, 1 Dark
1091
        on earn:DragonW00 = (DragonW00 + 1)
1092
        unlocked
1093
1094
	*plain|plains
1095
        name:Plain|Plains
1096
		tags:lands airLands
1097
        desc:Gentle hills and grass as far as the eye can see.<//><b>Effect:</b><.>Provides space for 7 Air Dragons.
1098
        icon:drakeicons[0,1]
1099
        cost:1 Fire, 1 Water, 5 Air, 1 Earth, 1 Light, 1 Dark
1100
        on earn:DragonA00 = (DragonA00 + 1)
1101
        unlocked
1102
1103
	*mountain|mountains
1104
        name:Mountain|Mountains
1105
		tags:lands earthLands
1106
        desc:Earth towering in a gradual spire that can be seen over the horizen.<//><b>Effect:</b><.>Provides space for 7 Earth Dragons.
1107
        icon:drakeicons[0,1]
1108
        cost:1 Fire, 1 Water, 1 Air, 5 Earth, 1 Light, 1 Dark
1109
        on earn:DragonE00 = (DragonE00 + 1)
1110
        unlocked
1111
1112
	*steppe
1113
        name:Steppe
1114
		tags:lands lightLands
1115
        desc:Brightly lit field of shrubs and stone, where you can see out for days.<//><b>Effect:</b><.>Provides space for 7 Light Dragons.
1116
        icon:drakeicons[0,3]
1117
        cost:1 Fire, 1 Water, 1 Air, 1 Earth, 5 Light, 1 Dark
1118
        on earn:DragonL00 = (DragonL00 + 1)
1119
        unlocked
1120
1121
	*swamp|swamps
1122
        name:Swamp|Swamps
1123
		tags:lands darkLands
1124
        desc:A dim tumble of vegitation and growth that chokes out most vision and sunlight.<//><b>Effect:</b><.>Provides space for 7 Dark Dragons.
1125
        icon:drakeicons[0,3]
1126
        cost:1 Fire, 1 Water, 1 Air, 1 Earth, 1 Light, 5 Dark
1127
        on earn:DragonD00 = (DragonD00 + 1)
1128
        unlocked
1129
1130
	[include Dragon %id="F" %name1="Red Flame" %name2="Ruby Flame" %name3="Flame Incarnate" %type="Fire" %breed="1.5"]
1131
	[include Dragon %id="W" %name1="Blue Sea" %name2="Sapphire Sea" %name3="Sea Incarnate" %type="Water" %growth="1.5"]
1132
	[include Dragon %id="A" %name1="Yellow Cloud" %name2="Citrine Cloud" %name3="Cloud Incarnate" %type="Air" %crowd="1.5"]
1133
	[include Dragon %id="E" %name1="Green Mountain" %name2="Emerald Mountain" %name3="Mountain Incarnate" %type="Earth" %health="1.5"]
1134
	[include Dragon %id="L" %name1="Luminous White" %name2="Luminous Diamond" %name3="Luminous Incarnate" %type="Light"]
1135
	[include Dragon %id="D" %name1="Umbral Black" %name2="Umbral Opal" %name3="Umbral Incarnate" %type="Dark"]
1136
1137
Upgrades
1138
	*debugFire
1139
		name:Debug Fire Boost
1140
		tag:upgrades
1141
		desc: Click here to gain unlimited (fire)power
1142
		on click:
1143
			yield 10000 Fire
1144
		end
1145
1146
Achievements
1147
    *TEMPLATE
1148
        on click:anim glow
1149
        icon:drakeicons[1,0]
1150
		on earn:toast New Dragon unlocked in the Bestiary!
1151
    *DragonF00Award
1152
        name:Red Flame Dragon Egg
1153
        desc:Your first one. The egg wobbles, soon hatching.
1154
        req:1 DragonF00
1155
    *DragonF01Award
1156
        name:Child Red Flame Dragon
1157
        desc:The dragon hatches from its egg!
1158
        req:1 DragonF01
1159
    *DragonF02Award
1160
        name:Lesser Red Flame Dragon
1161
        desc:Beginning a rebellious phase...
1162
        req:1 DragonF02
1163
    *DragonF03Award
1164
        name:Adult Red Flame Dragon
1165
        desc:Ready to take on the world.
1166
        req:1 DragonF03
1167
    *DragonF04Award
1168
        name:Greater Red Flame Dragon
1169
        desc:Another year older, another year wiser, another year more powerful
1170
        req:1 DragonF04
1171
    *DragonF05Award
1172
        name:Ancient Red Flame Dragon
1173
        desc:Even rarer dragons respect the power and knowledge that comes with age.
1174
        req:1 DragonF05
1175
    *DragonF10Award
1176
        name:Ruby Flame Dragon Egg
1177
        desc:Awww, look at this little gem!
1178
        req:1 DragonF10
1179
    *DragonF11Award
1180
        name:Child Ruby Flame Dragon
1181
        desc:Growing up is always tough.
1182
        req:1 DragonF11
1183
    *DragonF12Award
1184
        name:Lesser Ruby Flame Dragon
1185
        desc:Ruby dragons have a touch of the divine in their otherwise mortal bodies
1186
        req:1 DragonF12
1187
    *DragonF13Award
1188
        name:Adult Ruby Flame Dragon
1189
        desc:Harder, better, faster, stronger.
1190
        req:1 DragonF13
1191
    *DragonF14Award
1192
        name:Greater Ruby Flame Dragon
1193
        desc:Becoming a venerable leader.
1194
        req:1 DragonF14
1195
    *DragonF15Award
1196
        name:Ancient Ruby Flame Dragon
1197
        desc:An extremely rare dragon, likely to rule over even other dragons in their power.
1198
        req:1 DragonF15
1199
    *DragonF20Award
1200
        name:Pure Flame Dragon Egg
1201
        desc:owo what's this?
1202
        req:1 DragonF20
1203
    *DragonF21Award
1204
        name:Child Pure Flame Dragon
1205
        desc:Not entirely mortal, this little baby dragon has a great future.
1206
        req:1 DragonF21
1207
    *DragonF22Award
1208
        name:Lesser Pure Flame Dragon
1209
        desc:Some people just want to watch the world burn.
1210
        req:1 DragonF22
1211
    *DragonF23Award
1212
        name:Adult Pure Flame Dragon
1213
        desc:Somehow, there are still higher plateaus to reach.
1214
        req:1 DragonF23
1215
    *DragonF24Award
1216
        name:Greater Pure Flame Dragon
1217
        desc:Approaching the peak of power.
1218
        req:1 DragonF24
1219
    *DragonF25Award
1220
        name:Greater Pure Flame Dragon
1221
        desc:A literal demigod of living fire now watches over your world.
1222
        req:1 DragonF25