TrueWolves

IGM: Draconia

Jun 9th, 2019
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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:7/6/2019
  7. version:1
  8.  
  9. Settings
  10. background:https://i.imgur.com/uiubzMM.jpg
  11. building cost increase:115%
  12. building cost refund:50%
  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
  16.  
  17. Layout
  18. use default
  19.  
  20. *dragonBox
  21. contains:tag:Dragons
  22. header:Dragons
  23. in:buildings
  24. names:show
  25. icons:show
  26.  
  27. Buttons
  28. *theWorldButton
  29. name:Draconia
  30. desc:Clicking here will generate one random point of Mana.
  31. on click:anim icon wobble
  32. on click:yield 1 fire
  33. icon:stuff/bunny.png
  34. no text
  35. class:bigButton hasFlares
  36. icon class:shadowed
  37. tooltip origin:bottom
  38. tooltip class:red
  39.  
  40. Resources
  41. *Mortality
  42. name: Mortality Daemon
  43. desc: Mechanic - Tracks when dragons die of various natural causes.
  44. on tick:
  45. if (chance((0.04*egRd1Brd1Derg)%))
  46. lose 1 egRd1Brd1Derg
  47. toast Lost a Red Flame Dragon egg...
  48. end
  49. if (chance((0.02*chRd1Brd1Derg)%))
  50. lose 1 chRd1Brd1Derg
  51. toast A Red Flame Dragon child didn't make it...
  52. end
  53. if (chance((0.01*leRd1Brd1Derg)%))
  54. lose 1 leRd1Brd1Derg
  55. toast A Lesser Red Flame Dragon did something stupid...
  56. end
  57. if (chance((0.005*adRd1Brd1Derg)%))
  58. lose 1 adRd1Brd1Derg
  59. toast Lost an adult Red Flame Dragon tragically...
  60. end
  61. if (chance((0.01*grRd1Brd1Derg)%))
  62. lose 1 grRd1Brd1Derg
  63. toast Lost a Greater Red Flame dragon...
  64. end
  65. if (chance((0.02*anRd1Brd1Derg)%))
  66. lose 1 anRd1Brd1Derg
  67. toast Lost an Ancient Red Flame dragon, they will be remembered...
  68. end
  69. end
  70. always hidden
  71. *Growth
  72. name: Growth Daemon
  73. desc: Mechanic - Tracks when dragons lay eggs and grow up
  74. on tick:
  75. if (Rd1Brd1Breed>=max(100,(TotalDragons/TotalLand*100)))
  76. egRd1Brd1Derg = egRd1Brd1Derg + floor(Rd1Brd1Breed/100)
  77. Rd1Brd1Breed = (Rd1Brd1Breed % 100)
  78. end
  79. if (egRd1Brd1DergGrow>=300)
  80. chRd1Brd1Derg = chRd1Brd1Derg + floor(egRd1Brd1DergGrow/300)
  81. egRd1Brd1Derg = egRd1Brd1Derg - floor(egRd1Brd1DergGrow/300)
  82. egRd1Brd1DergGrow = (egRd1Brd1DergGrow % 300)
  83. end
  84. if (chRd1Brd1DergGrow>=1800)
  85. leRd1Brd1Derg = leRd1Brd1Derg + floor(chRd1Brd1DergGrow/1800)
  86. chRd1Brd1Derg = chRd1Brd1Derg - floor(chRd1Brd1DergGrow/1800)
  87. chRd1Brd1DergGrow = (chRd1Brd1DergGrow % 1800)
  88. end
  89. if (leRd1Brd1DergGrow>=3600)
  90. adRd1Brd1Derg = adRd1Brd1Derg + floor(leRd1Brd1DergGrow/3600)
  91. leRd1Brd1Derg = leRd1Brd1Derg - floor(leRd1Brd1DergGrow/3600)
  92. leRd1Brd1DergGrow = (leRd1Brd1DergGrow % 3600)
  93. end
  94. if (adRd1Brd1DergGrow>=7200)
  95. grRd1Brd1Derg = grRd1Brd1Derg + floor(adRd1Brd1DergGrow/7200)
  96. adRd1Brd1Derg = adRd1Brd1Derg - floor(adRd1Brd1DergGrow/7200)
  97. adRd1Brd1DergGrow = (adRd1Brd1DergGrow % 7200)
  98. end
  99. if (grRd1Brd1DergGrow>=14400)
  100. anRd1Brd1Derg = anRd1Brd1Derg + floor(grRd1Brd1DergGrow/14400)
  101. grRd1Brd1Derg = grRd1Brd1Derg - floor(grRd1Brd1DergGrow/14400)
  102. grRd1Brd1DergGrow = (grRd1Brd1DergGrow % 14400)
  103. end
  104. end
  105. always hidden
  106. *fire
  107. name:Fire Mana
  108. desc:Fire Mana is creative and passionate. Use Mana to create Lands for your dragons.
  109. icon:drakeicons[3,0]
  110. class:noBackground
  111. show earned
  112. *TotalDragons
  113. name:Total Dragon Population
  114. desc:Tracks the total dragon population for overcrowding purposes
  115. icon:drakeicons[1,0]
  116. class:noBackground
  117. is always:(chRd1Brd1Derg + leRd1Brd1Derg + adRd1Brd1Derg + grRd1Brd1Derg + anRd1Brd1Derg)
  118. *TotalLand
  119. name:Total Land
  120. desc:Tracks the total space for dragons to live in
  121. icon:drakeicons[0,1]
  122. class:noBackground
  123. is always:(desert * 10)
  124. *Rd1Brd1Breed
  125. name:Red Flame Dragons Breeding
  126. desc:Creates new Fire Dragons when it reaches 100.
  127. always hidden
  128. *egRd1Brd1DergGrow
  129. name:Red Flame Egg Growth
  130. desc:The egg wobbles, soon hatching.
  131. always hidden
  132. *chRd1Brd1DergGrow
  133. name:Child Red Flame Dragon Growth
  134. desc:Growing up is always tough.
  135. always hidden
  136. *leRd1Brd1DergGrow
  137. name:Lesser Red Flame Dragon Growth
  138. desc: Beginning a rebellious phase...
  139. always hidden
  140. *adRd1Brd1DergGrow
  141. name:Adult Red Flame Dragon Growth
  142. desc: Another year older, another year wiser, another year more powerful
  143. always hidden
  144. *grRd1Brd1DergGrow
  145. name:Greater Red Flame Dragon Growth
  146. desc: Becoming a venerable leader.
  147. always hidden
  148. Buildings
  149. *TEMPLATE
  150. on click:anim glow
  151.  
  152. *desert|deserts
  153. name:Desert|Deserts
  154. desc:A vast rolling sea of sand and dunes.<//><b>Effect:</b><.>Provides space for 10 Fire Dragons.
  155. icon:drakeicons[0,0]
  156. cost:25 fire
  157. on earn:egRd1Brd1Derg = (egRd1Brd1Derg + 1)
  158. unlocked
  159.  
  160. *egRd1Brd1Derg
  161. name:Red Flame Dragon Egg
  162. tags:Dragons FireDragons Chromatics Eggs
  163. desc:The egg of a lower-class dragon of the Flame breed. Will soon hatch into a bouncing baby derg.
  164. icon:icons[4,0]
  165. on tick:
  166. yield 1 egRd1Brd1DergGrow
  167. end
  168. no buy
  169.  
  170. *chRd1Brd1Derg
  171. name:Child Red Flame Dragon
  172. tags:Dragons FireDragons Chromatics Children
  173. desc:A growing baby lower-class dragon of the Flame breed, freshly hatched. Generates 1 Fire Mana per tick.
  174. icon:icons[4,0]
  175. on tick:
  176. yield 1 fire
  177. yield 1 chRd1Brd1DergGrow
  178. end
  179. no buy
  180.  
  181. *leRd1Brd1Derg
  182. name:Lesser Red Flame Dragon
  183. tags:Dragons FireDragons Chromatics Lesser
  184. desc:An adolescent lower-class dragon of the Flame breed, taking their first steps towards adulthood. Generates 2 Fire Mana per tick.
  185. icon:icons[4,0]
  186. on tick:
  187. yield 2 fire
  188. yield 1 leRd1Brd1DergGrow
  189. yield 0.15 Rd1Brd1Breed
  190. end
  191. no buy
  192.  
  193. *adRd1Brd1Derg
  194. name:Adult Red Flame Dragon
  195. tags:Dragons FireDragons Chromatics Adults
  196. desc:A fully fledged lower-class dragon of the Flame breed. Generates 3 Fire Mana per tick.
  197. icon:icons[4,0]
  198. on tick:
  199. yield 3 fire
  200. yield 1 adRd1Brd1DergGrow
  201. yield 0.25 Rd1Brd1Breed
  202. end
  203. no buy
  204.  
  205. *grRd1Brd1Derg
  206. name:Greater Red Flame Dragon
  207. tags:Dragons FireDragons Chromatics Greater
  208. desc:A venerable lower-class dragon of the Flame breed, generally seen as leaders and wisemen. Generates 4 Fire Mana per tick.
  209. icon:icons[4,0]
  210. on tick:
  211. yield 4 fire
  212. yield 1 grRd1Brd1DergGrow
  213. yield 0.05 Rd1Brd1Breed
  214. end
  215. no buy
  216.  
  217. *anRd1Brd1Derg
  218. name:Ancient Red Flame Dragon
  219. tags:Dragons FireDragons Chromatics Ancient
  220. desc:A massive, incredibly powerful lower-class dragon of the Flame breed. Generates 5 Fire Mana per tick.
  221. icon:icons[4,0]
  222. on tick:
  223. yield 5 fire
  224. end
  225. no buy
  226.  
  227. Upgrades
  228. *debugBirthRate
  229. name:Debug Birth Rate Boost
  230. desc: Click here to add 100 to all birth rates.
  231. on earn:yield 100 Rd1Brd1Breed
  232. on earn:lose 1 debugBirthRate
  233.  
  234. *debugEggGrowthRate
  235. name:Debug Egg Growth Rate Boost
  236. desc: Click here to add 300 to all egg growth rates.
  237. on earn:yield 300 egRd1Brd1DergGrow
  238. on earn:lose 1 debugEggGrowthRate
  239.  
  240. *debugChildGrowthRate
  241. name:Debug Child Growth Rate Boost
  242. desc: Click here to add 1800 to all egg growth rates.
  243. on earn:yield 1800 chRd1Brd1DergGrow
  244. on earn:lose 1 debugChildGrowthRate
  245.  
  246. *debugLesserGrowRate
  247. name:Debug Lesser Growth Rate Boost
  248. desc: Click here to add 3600 to all egg growth rates.
  249. on earn:yield 3600 leRd1Brd1DergGrow
  250. on earn:lose 1 debugLesserGrowRate
  251.  
  252. *debugAdultGrowRate
  253. name:Debug Adult Growth Rate Boost
  254. desc: Click here to add 7200 to all egg growth rates.
  255. on earn:yield 7200 adRd1Brd1DergGrow
  256. on earn:lose 1 debugAdultGrowRate
  257.  
  258. *debugGreaterGrowRate
  259. name:Debug Greater Growth Rate Boost
  260. desc: Click here to add 14400 to all egg growth rates.
  261. on earn:yield 14400 grRd1Brd1DergGrow
  262. on earn:lose 1 debugGreaterGrowRate
  263. *debugHaste
  264. name:Debug Time Boost
  265. desc: Click here to skip 10 seconds
  266. on click:
  267. do tick with :All
  268. do tick with :All
  269. do tick with :All
  270. do tick with :All
  271. do tick with :All
  272. do tick with :All
  273. do tick with :All
  274. do tick with :All
  275. do tick with :All
  276. do tick with :All
  277. end
  278. *debugFire
  279. name:Debug Fire Boost
  280. desc: Click here to gain unlimited (fire)power
  281. on click:
  282. yield 10000 fire
  283. end
Advertisement
Add Comment
Please, Sign In to add comment