Simanalix343

Country Clicker 0.3

May 14th, 2020
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.50 KB | None | 0 0
  1. /*
  2. New log:
  3. *Log
  4. start with
  5. always hidden
  6. name:Log
  7. on tick:
  8. if (hasstarted<=30 and Countries:earned=0) yield 1 hasstarted
  9. if (hasstarted is 2) clear log
  10. if (hasstarted is 2 and Countries:earned=0) log Welcome message!
  11. if (hasstarted is 30) clear log
  12. if ((hasstarted is 2) or (hasstarted is 30)) log Update messages.
  13. end
  14. on load:
  15. lose hasstarted hasstarted
  16. end
  17. */
  18. Let's make a game!
  19. /*
  20. Pastebin:
  21. https://pastebin.com/Cgx7XrCw
  22. Play:
  23. http://orteil.dashnet.org/igm/?g=Cgx7XrCw
  24. Pastebin 2:
  25. https://pastebin.com/J9tvHzJz
  26. Play 2
  27. http://orteil.dashnet.org/igm/?g=J9tvHzJz
  28. */
  29. name:Country Clicker
  30. by:thedarkwaterbun and Simanalix
  31. desc:Your goal is to fill this infinite flatland with a glorious empire of many countries. Get started by clicking Explore (the big flag button).
  32. /*date should be YYYY/MM/DD for clarity among countries*/
  33. created:2020/05/05
  34. updated:2020/05/05
  35. version:0.2
  36. /*
  37. Let's talk about the gimmick of this game.
  38. Story Logic:
  39. We start with a never ending flat world, with plenty of land to form new countries.
  40. We are an astounding grand president, who can make new countries with ease.
  41. We click to explore new land, and make new countries. We can set up
  42. Unions to make new countries. As our union grows it gets more powerful, but it also becomes increasingly difficult to get to new land, and control land we already have. For this reason, (in the beginning) Unions constantly produce the same amounts of countries.
  43. Continental, and World Unions can be set up, which are bigger and more efficient than normal Unions.
  44. Unions grow in price, or how many countries are needed to run them, because each Unions gets in the way of the last, and it is harder for us to maintain that many Unions.
  45. ----
  46. The story logic above is how we determine names and descriptions of things.
  47. ----
  48. Descriptions are to be formatted like this, to make them nice and fancy: <q>Fun description</q></><b>Effect:<b></>Effect Description
  49. Where Fun description and Effect description can be replaced by whatever the description of the thing is.
  50. This is a nice template:
  51. <q>.</q></><b>Effect:</b></>.
  52. */
  53. Settings
  54. stylesheet:https://pastebin.com/aJjQUHiH
  55. background:https://scx2.b-cdn.net/gfx/news/hires/2019/4-space.jpg
  56. cost refund:0.5%
  57. cost increase:120%
  58. /*---------------------------------------------------*/
  59. Layout
  60. *g1
  61. contains:Resources
  62. *g2
  63. contains:tag:inmainbox
  64. *g3
  65. contains:Achievements
  66. *g4
  67. contains:Buildings
  68. *g5
  69. contains:tag:inbulkandsellbox
  70. *g6
  71. contains:Upgrades
  72. *g7
  73. contains:Log
  74. /*---------------------------------------------------*/
  75. Resources
  76. *TEMPLATE
  77. always hidden
  78. *hasstarted
  79. *TEMPLATE
  80. show earned
  81. *Country|Countries
  82. name:Country|Countries
  83. desc:These are your countries. Make more of these to expand your world!
  84. icon:
  85. *PoliPoint|PoliPoints
  86. name:PoliPoint|PoliPoints
  87. desc:These are PoliPoints. They increase production (+1% per point to all buildings), and are lost when upgrades are bought!
  88. icon:
  89. req:have Politics
  90. *money
  91. name:Money
  92. desc:Coins, bills, this is general currency. It holds inherent economic and resource value. This stuff can be bad though!
  93. icon:
  94. req:have Politics
  95. Buttons
  96. *Explore
  97. name:Explore
  98. desc:<q>You are a <b>grand</b> president. Go out, and explore.</q></><b>Effect:</b></>Clicking this gives you 1 country.
  99. on click:yield 1 Country
  100. icon:
  101. class:bigButton hasFlares
  102. tags:inmainbox
  103. *Sell
  104. name:Sell
  105. desc:Click this to activate selling buildings instead of buying them (not a feature yet).
  106. /*
  107. on click:lose Sellmode-1 Sellmode
  108. */
  109. tags:inbulkandsellbox
  110. Buildings
  111. /*
  112. *thing
  113. name:
  114. desc:<q>.</q></><b>Effect:</b></>.
  115. icon:
  116. on tick:
  117. yield n Countries
  118. yield n0 money
  119. end
  120. cost:n Countries
  121. req:n n
  122. */
  123. *TEMPLATE
  124. on click:anim glow
  125. *Politician|Politicians
  126. name:Politician|Politicians
  127. desc:<q>These are your extra politicians</q></><b>Effect:</b></>Keep countries stable, and offer 1 PoliPoint per second, each costing 100 money.
  128. on tick:yield 1 PoliPoints
  129. icon:
  130. cost:10000 money
  131. req:have Politics
  132.  
  133. *StateUnion|StateUnions
  134. name:State Union|State Unions
  135. desc:<q>Isn't ‘United States’?</q></><b>Effect:</b></>Produces 1 Country every second (automatically), or 1 CountryPS.
  136. on tick:
  137. yield 1*(1+0.01*PoliPoints) Country
  138. yield 10 money
  139. end
  140. icon:
  141. cost:60 Countries
  142. req:10 Countries
  143. *NationUnion|NationUnions
  144. name:Nation Union|Nation Unions
  145. desc:<q>Bring together some nations into a bigger union.</q></><b>Effect:</b></>8 CountriesPS
  146. icon:
  147. on tick:
  148. yield 8*(1+0.01*PoliPoints) Countries
  149. yield 80 money
  150. end
  151. cost:640 Countries
  152. req:10 StateUnions
  153. *ContinentUnion|ContinentUnions
  154. name:Continent Union|Continent Unions
  155. desc:<q>Bring together a whole continent</q></><b>Effect:</b></>64 CountriesPS
  156. on tick:
  157. yield 64*(1+0.01*PoliPoints) Countries
  158. yield 640 money
  159. end
  160. icon:
  161. cost:6400 Countries
  162. req:10 NationUnions
  163. *WorldUnion|WorldUnions
  164. name:World Union|World Unions
  165. desc:<q>A huge empire made of many worlds.</q></><b>Effect:</b></>510 CountiresPS
  166. on tick:
  167. yield 510*(1+0.01*PoliPoints) Countries
  168. yield 5100 money
  169. end
  170. icon:
  171. cost:61200 Countries
  172. req:10 ContinentUnions
  173. *EmpireUnion|EmpireUnions
  174. name:Empire Union|Empire Unions
  175. desc:<q>Huge Empires, each of many worlds, put together!!</q></><b>Effect:</b></>4000 CountriesPS
  176. on tick:
  177. yield 4000*(1+0.01*PoliPoints) Countries
  178. yield 40000 money
  179. end
  180. icon:
  181. cost:560000 Countries
  182. req:10 WorldUnions
  183. Upgrades
  184. *TEMPLATE
  185. on click:anim glow
  186. /*
  187. *thing
  188. name:
  189. desc:<q>.</q></><b>Effect:</b></>.
  190. on earn:
  191. lose n PoliPoints
  192. //
  193. //
  194. end
  195. icon:
  196. cost:n n
  197. req:n n
  198. */
  199. *U0
  200. name:Personal Army
  201. desc:<q>Bring an army around with you when you explore!</q></><b>Effect:</b></>Get twice as many Countries per click (CountriesPC x2)
  202. on earn:lose 200 PoliPoints
  203. passive:multiply Country yield of Explore by 2
  204. icon:
  205. cost:250 Countries
  206. req:10 StateUnions
  207. *U1
  208. name:Constitutions
  209. desc:<q>With constitutions, your state unions can keep their states in chek</q></><b>Effect:</b></>double CountryPS from State Unions
  210. on earn:lose 200 PoliPoints
  211. passive:multiply Country yield of Explore by 2
  212. icon:
  213. cost:600 Countries
  214. req:5 StateUnions
  215. *Politics
  216. name:Politics
  217. desc:<q>Politics is inevitable, but be careful with it!</q></><b>Effect:</b></>Unlock a new building: <b>Politicians</b>
  218. icon:
  219. cost:2000 Countries
  220. req:10000 Countries:earned
  221. *Log
  222. start with
  223. always hidden
  224. name:Log
  225. on start:
  226. log <g>Welcome to Country Clicker. You are a <b>Grand</b> President, and your goal is to expand your empire, making new countries in this endless flatland.</q></> Click the Explore button (the globe) to get started!
  227. end
  228. on load:
  229. if (hasstarted>0) clear log
  230. log <i>This is the log. Info on every update can be found here.</i><//><b>Version 0.3</b></><.>Made the alpha game.<.>Added 2 upgrades<.>Added 3 Resources<.>Added 6 Unions<.>Added the Explore button, and a button that currently does nothing.
  231. yield 1 hasstarted
  232. end
  233. Achievements
  234. /*
  235. *A
  236. name:
  237. desc:<q>.</q></><b>Requirement:</b></>.
  238. icon:
  239. req:n n
  240. */
  241. *A0
  242. name:Whole World
  243. desc:<q>A world:</>A large collection of places and societies. </q></><b>Requirement:</b></>Have 1000 Countries
  244. icon:
  245. req:1000 Countries
Add Comment
Please, Sign In to add comment