Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name: Ancient Library
- by: Elton
- 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.
- created: 02/16/19
- updated: 02/16/19
- version: 1
- Layout
- *main
- contains:res, buttons
- *res
- contains:Resources
- class:fullWidth
- *buttons
- contains:Buttons
- *store
- contains:buildings, upgrades
- *buildings
- contains:BulkDisplay, Buildings
- header:Buildings
- tooltip origin:left
- *upgrades
- contains:Upgrades
- header:Upgrades
- costs:hide
- names:hide
- Resources
- *books
- name: Books
- desc: The amount of books in your library.
- *money
- name: Money
- desc: The amount of money you have earned from your books.
- Buildings
- *Pcob
- name: Reader
- desc: People who check out and read your books.
- on tick:yield random(0,2) money
- no buy
- is always:1
- *Guards
- name: Guards
- desc: They take books from people entering your port.
- on tick:yield random(0,3) books
- cost:10 money
- cost increase:120%
- *BookShelves
- name:Book Shelves
- desc:Shelves to hold your many books! It also bring in more people.
- passive:increase yield of Pcob by 1
- cost:10 books
- cost increase:150%
- Shinies
- *Barb
- name:Barbarians
- on click:
- if (chance(75%)) yield random(20,400) books
- else
- lose 500 books
- toast You lost 500 books to a terrible fire that the barbarians started.
- end
- end
- movement:anywhere fade
- frequency: 120
- duration:20
Add Comment
Please, Sign In to add comment