Simanalix343

Experiment Game

Apr 23rd, 2020
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. Let's make a game!
  2. name:Test1
  3. desc:For testing new stuff.
  4. Layout
  5. use default
  6. stylesheet:stuff/bigBlue.css
  7. /*then we want our layout so the store AND building are on the right. A display goes in the middle. We can put achievements there. Oh, and the buttons and res go on the left.*/
  8. Resources:
  9. *money
  10. name:Money
  11. desc:Who dosen't like money.
  12. *gold
  13. name:Gold Brick
  14. desc:These are great. Money production is multiplied by gold bricks(+1)!
  15. *luck
  16. always hidden
  17. Buttons:
  18. *moneybox
  19. name:Money Box
  20. class:bigButton
  21. on click:yield 1+gold money
  22. on click:$goldchance=chance((luck)%)
  23. on click:if ($goldchance>0) yield 1 gold
  24. on click:if ($goldchance>0) los (luck-1) luck
  25. on click:if($goldchance<1) yield 1 luck
  26. Buildings:
  27. *dumbstuffAD
  28. name:Company
  29. desc:Your own new company. It makes 1 money for you every second (1 MoneyPS)!
  30. on tick:yield 1+gold money
  31. cost:20 money
  32. cost increase:110%
  33. Upgrades
  34. *marketingstrategies
  35. name:Marketing Strategies
  36. desc:You now have a chance of getting gold bricks when you click!
  37. cost:200 money
  38. req:1000 (money:earned)
  39. Achievements
  40. *rich
  41. name:Rich
  42. desc:You have made 10,000 money so far!
  43. req:10000 (money:earned)
Add Comment
Please, Sign In to add comment