mrcake2005

Library

Feb 17th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. Let's make a game!
  2. name: Ancient Library
  3. by: Elton
  4. desc: You are the proud owner of this ancient library. It is your job to collect books from the barbarians entering your kingdom and to expand your library.
  5. created: 02/16/19
  6. updated: 02/16/19
  7. version: 1
  8. Layout
  9. *main
  10. contains:res, buttons
  11. *res
  12. contains:Resources
  13. class:fullWidth
  14. *buttons
  15. contains:Buttons
  16. *store
  17. contains:buildings, upgrades
  18. *buildings
  19. contains:BulkDisplay, Buildings
  20. header:Buildings
  21. tooltip origin:left
  22. *upgrades
  23. contains:Upgrades
  24. header:Upgrades
  25. costs:hide
  26. names:hide
  27. Resources
  28. *books
  29. name: Books
  30. desc: The amount of books in your library.
  31. *money
  32. name: Money
  33. desc: The amount of money you have earned from your books.
  34. Buildings
  35. *Pcob
  36. name: Reader
  37. desc: People who check out and read your books.
  38. on tick:yield random(0,2) money
  39. no buy
  40. is always:1
  41. *Guards
  42. name: Guards
  43. desc: They take books from people entering your port.
  44. on tick:yield random(0,3) books
  45. cost:10 money
  46. cost increase:120%
  47. *BookShelves
  48. name:Book Shelves
  49. desc:Shelves to hold your many books! It also bring in more people.
  50. passive:increase yield of Pcob by 1
  51. cost:10 books
  52. cost increase:150%
  53. Shinies
  54. *Barb
  55. name:Barbarians
  56. on click:
  57. if (chance(75%)) yield random(20,400) books
  58. else
  59. lose 500 books
  60. toast You lost 500 books to a terrible fire that the barbarians started.
  61. end
  62. end
  63. movement:anywhere fade
  64. frequency: 120
  65. duration:20
Add Comment
Please, Sign In to add comment