Advertisement
Stevehead25

Clicker

Feb 27th, 2020
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.23 KB | None | 0 0
  1. Let's make a game!
  2. name:Working
  3. version:1.0
  4.  
  5.  
  6.  
  7. Settings
  8. tiling background:https://png.pngtree.com/thumb_back/fw800/back_pic/03/73/24/6057b9dacef0403.jpg
  9. building cost increase:100%
  10.  
  11.  
  12. Layout
  13. *main
  14. contains:res, buttons
  15. *res
  16. contains:Resources
  17. class:fullWidth
  18. *buttons
  19. contains:Buttons
  20. *store
  21. contains:buildings, upgrades
  22. *buildings
  23. contains:BulkDisplay, Buildings
  24. header:Crafting
  25. tooltip origin:left
  26. *upgrades
  27. contains:Upgrades
  28. header:Skills
  29. costs:hide
  30. names:hide
  31.  
  32.  
  33.  
  34.  
  35.  
  36. Buttons
  37.  
  38. *coinClick
  39. name:Coin
  40. no text
  41. desc:Click me to make money!
  42. on click:yield 3 coins
  43. on click:if (random(1,5)=3) yield 1 xp
  44. tooltip origin:bottom
  45. icon:https://i.postimg.cc/zXVwCSpb/pixil-frame-0-4.png
  46. on click:anim icon wobble
  47. class:bigButton hasFlares
  48.  
  49.  
  50. *searchClick
  51. name:Search
  52. desc:Search for parts and materials. Cost: [100+(searchClick:clicks)*10] WARNING: CLICKING ME WITHOUT HAVING ENOUGH COINS WILL INCREASE THE COST REGARDLESS
  53. on click:if (coins > 99+(searchClick:clicks)*10) spawn chestBasic
  54. on click:if (coins > 99+(searchClick:clicks)*10) lose 100+(searchClick:clicks)*10 coins
  55.  
  56.  
  57. Resources
  58.  
  59. *xp
  60. name:XP
  61. desc:Skill points
  62. class:noBackground
  63.  
  64. *coin|coins|gold
  65. name:Coins
  66. desc:How many coins you have
  67. class:noBackground
  68.  
  69. *wood
  70. name:Wood
  71. desc:How much wood you have
  72. hidden when 0
  73. icon:https://i.postimg.cc/cJT1sz2r/pixil-frame-0-7.png
  74.  
  75. *stone
  76. name:Stone
  77. desc:How much stone you have
  78. hidden when 0
  79. icon:https://i.postimg.cc/L8Y7hfmd/pixil-frame-0-10.png
  80.  
  81. *rustyPlate
  82. name:Rusty Plate
  83. desc:An old plate that can be used to craft many things
  84. hidden when 0
  85. icon:https://i.postimg.cc/HsCj60Pz/pixil-frame-0-9.png
  86.  
  87. *rustyBlade
  88. name:Rusty Blade
  89. desc:Crafting material used for swords
  90. hidden when 0
  91. icon:https://i.postimg.cc/nh4VsN8H/pixil-frame-0-1.png
  92.  
  93.  
  94. *rustySword
  95. name:Rusty Sword
  96. desc:A sword left outside for too long. Funny how nature works, isn't it? Auto-kills goblins and loots them to give you a stream of gold.
  97. icon:https://i.postimg.cc/zvc05dDW/pixil-frame-0-6.png
  98. hidden when 0
  99.  
  100. *woodBinding
  101. name:Wood Binding
  102. desc:Literally just sticks.
  103. hidden when 0
  104. icon:https://i.postimg.cc/R0nrYDmk/pixil-frame-0-8.png
  105.  
  106. *metalPlate
  107. name:Metal Plate
  108. desc:Noice.
  109. hidden when 0
  110. icon:https://i.postimg.cc/k4M1WYkH/pixil-frame-0-11.png
  111.  
  112.  
  113. *cleaner
  114. name:Cleaner
  115. desc:One-time use brush that wipes the rust off of Rusty Plates!
  116. hidden when 0
  117. icon:https://i.postimg.cc/d1HqYqD6/pixil-frame-0-12.png
  118.  
  119. *swordBlade
  120. name:Sword Blade
  121. desc:You did it. You got the most generic sword blade in the game. GoodJob :DDD
  122. hidden when 0
  123. icon:https://i.postimg.cc/W4b9Fr22/pixil-frame-0-13.png
  124.  
  125. *sword
  126. name:Sword
  127. desc:You do whatever you want with it, but it generates 4 gold/second! (also occasionally generates EXP)
  128. hidden when 0
  129. icon:https://i.postimg.cc/jSFbjsbk/pixil-frame-0-14.png
  130.  
  131.  
  132.  
  133. Buildings
  134.  
  135. *computer
  136. name:Computer
  137. desc:Don't sell me
  138. cost:524288 gold
  139. start with:1
  140. always hidden
  141. on tick:
  142. rustyBlade is (rustyBladeCraft)
  143. woodBinding is (woodBindingCraft)
  144. rustySword is (rustySwordCraft)
  145. cleaner is (cleanerCraft)
  146. metalPlate is (metalPlateCraft)
  147. swordBlade is (swordBladeCraft)
  148. sword is (swordCraft)
  149. end
  150.  
  151.  
  152.  
  153. *rustyBladeCraft
  154. name:Rusty Blade
  155. desc:Crafting ingredient
  156. no text
  157. req:rustyPlate > 0 or rustyBlade>0
  158. cost:150 coins, 2 rustyPlate, 15 xp
  159. icon:https://i.postimg.cc/nh4VsN8H/pixil-frame-0-1.png
  160.  
  161. *woodBindingCraft
  162. name:Wood Binding
  163. desc:Crafting ingredient
  164. no text
  165. req:wood > 0, recipeWoodBinding or woodBinding>0
  166. cost:50 coins, 4 wood, 5 xp
  167. icon:https://i.postimg.cc/R0nrYDmk/pixil-frame-0-8.png
  168.  
  169. *cleanerCraft
  170. name:Cleaner
  171. desc:A one-use brush that cleans Rusty Plates.
  172. no text
  173. req:stone > 0, recipeCleaner or cleaner>0
  174. cost:500 coins, 2 wood, 2 stone, 2 rustyPlate, 25 xp, 2 woodBindingCraft
  175. icon:https://i.postimg.cc/d1HqYqD6/pixil-frame-0-12.png
  176.  
  177. *metalPlateCraft
  178. name:Metal Plate
  179. desc:Clean up a Rusty Plate!
  180. no text
  181. req:cleaner > 0
  182. cost:100 coins, 1 cleanerCraft, 1 rustyPlate, 50 xp
  183. icon:https://i.postimg.cc/k4M1WYkH/pixil-frame-0-11.png
  184.  
  185.  
  186. *swordBladeCraft
  187. name:Sword Blade
  188. desc:Craft yourself a sword!
  189. no text
  190. req:metalPlate > 0 or swordBlade>0
  191. cost:200 coins, 2 metalPlateCraft, 75 xp
  192. icon:https://i.postimg.cc/W4b9Fr22/pixil-frame-0-13.png
  193.  
  194.  
  195. *rustySwordCraft
  196. name:Rusty Sword
  197. desc:A neat sword that auto-kills goblins and loots them for gold.
  198. on tick:yield 0.5 coins
  199. no text
  200. req:rustyBlade > 0 or rustySword>0
  201. cost:500 coins, 1 rustyBladeCraft, 3 woodBindingCraft, 75 xp
  202. icon:https://i.postimg.cc/zvc05dDW/pixil-frame-0-6.png
  203.  
  204. *swordCraft
  205. name:Sword
  206. desc:Better metal = MORE COINS!!!
  207. on tick:yield 4 coins
  208. on tick:if (random(2,6)=4) yield 1 xp
  209. no text
  210. req:swordBlade > 0, have recipeSword or sword>0
  211. cost:500 coins, 1 swordBladeCraft, 5 woodBindingCraft, 3 stone, 125 xp
  212. icon:https://i.postimg.cc/jSFbjsbk/pixil-frame-0-14.png
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219. Shinies
  220.  
  221. *chestBasic
  222. name:Basic chest
  223. on click:yield (random(10,100)) coins
  224. movement:onMouse
  225. on click:
  226. $total=random(1,3)
  227. if ($total = 1) yield 1 rustyPlate
  228. if ($total = 1) toast You found a Rusty Plate! You now have [rustyPlate] x Rusty Plate
  229. if ($total = 2) yield 2 wood
  230. if ($total = 2) toast You found some Wood! You now have [wood] x Wood
  231. if ($total = 3) yield 1 stone
  232. if ($total = 3) toast You found a pebble! You now have [stone] x Stone
  233. end
  234.  
  235.  
  236. Upgrades
  237.  
  238. *refinedGold
  239. name:Refined Gold
  240. cost:100 gold, 10 xp
  241. desc:Make your gold mine give you 1 more gold than it would usually.
  242. passive:increase gold yield of coinClick by 1
  243. icon:https://i.postimg.cc/RFHdtxDR/pixil-frame-0-15.png
  244. no text
  245.  
  246.  
  247. *recipeSword
  248. name:Recipe: Sword
  249. cost:800 gold, 100 xp
  250. desc:One-time purchase to permanently unlock the Sword recipe.
  251. req:swordBlade>0,have recipeWoodBinding
  252. icon:https://i.postimg.cc/jSFbjsbk/pixil-frame-0-14.png
  253. no text
  254.  
  255. *recipeWoodBinding
  256. name:Recipe: Wood Binding
  257. cost:200 gold, 10 xp
  258. desc:One-time purchase to permanently unlock the Wood Binding recipe.
  259. req:wood>0
  260. icon:https://i.postimg.cc/R0nrYDmk/pixil-frame-0-8.png
  261. no text
  262.  
  263. *recipeCleaner
  264. name:Recipe: Cleaner
  265. cost:400 gold, 30 xp
  266. desc:One-time purchase to permanently unlock the Cleaner recipe.
  267. req:wood>0,have recipeWoodBinding
  268. icon:https://i.postimg.cc/d1HqYqD6/pixil-frame-0-12.png
  269. no text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement