mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 07:46:20 +00:00
## About The Pull Request 1. Mappers can disable bookshelf randomization 2. Bookshelves which are not explicitly marked as "adult bookshelves" can no longer randomly load "adult" books 3. Random books can no longer random into "adult" books ## Why It's Good For The Game 1. If a mapper is placing a bookshelf with the express attention only x type books will be in that bookshelf, they can guarantee that by changing `category_prob`. 2. If the intention behind bookshelves are that "you have to go out of your way to find the adult category to read an adult book", we probably shouldn't add flat 25% chance for all bookshelves to be unmarked adult bookshelves? 3. Similar logic - if you get a random book in the mail and crack it open and it's an adult book, you can't really say you were "asking" for it ## Changelog 🆑 Melbert qol: Mappers can now disable bookshelf randomization qol: Random books found via mail or in maint will no longer random into books from the "adult" section qol: Bookshelf randomization will now exclude adult books unless marked as adult /🆑
19 lines
709 B
Plaintext
19 lines
709 B
Plaintext
#define DEFAULT_UPLOAD_CATAGORY "Fiction"
|
|
#define DEFAULT_SEARCH_CATAGORY "Any"
|
|
|
|
///How many books should we load per page?
|
|
#define BOOKS_PER_PAGE 18
|
|
///How many checkout records should we load per page?
|
|
#define CHECKOUTS_PER_PAGE 17
|
|
///How many inventory items should we load per page?
|
|
#define INVENTORY_PER_PAGE 19
|
|
|
|
// Book categories, used in SQL so don't change randomly
|
|
#define BOOK_CATEGORY_FICTION "Fiction"
|
|
#define BOOK_CATEGORY_NONFICTION "Non-fiction"
|
|
#define BOOK_CATEGORY_RELIGION "Religion"
|
|
#define BOOK_CATEGORY_ADULT "Adult"
|
|
#define BOOK_CATEGORY_REFERENCE "Reference"
|
|
/// If making a book of this category it will be randomly selected from all categories
|
|
#define BOOK_CATEGORY_RANDOM "Random"
|