]> git.smokeofanarchy.ru Git - space-station-14.git/commit
reduced the number of slots in bookshelves (#37866)
authorMoomoobeef <62638182+Moomoobeef@users.noreply.github.com>
Tue, 27 May 2025 21:21:39 +0000 (14:21 -0700)
committerGitHub <noreply@github.com>
Tue, 27 May 2025 21:21:39 +0000 (14:21 -0700)
commit5051e9278a300abfa46d3b68a3155409cb65de79
tree759310cd4963b3ca4aa5abcb22395015b5492ff0
parent3c462ff4a037008c21113dc7f51997c6a6d3334f
reduced the number of slots in bookshelves (#37866)

* changed bookshelfs yml

I reduced the number of slots in bookshelves, now it has 40 slots, and since one book takes two slots, and there are 20 fill levels (not including empty) now each book corresponds to one sprite. I also increased the number of books that random bookshelves generate, so that bookshelves will be empty less often.

* increased minimum random book count

in testing there were still a lot of bookcases with very few books in them.

* too many

* still too many

decided it looks better with the variance of having some shelves sparse and some not, rather than all ~half-filled. Wish there was a way to do something about the distribution, rather than pure random maybe something like weighting it toward one of the ends of the scale. but alas, I don't know how to do that.

* guidebook chance is random too now

decided that guidebook chance should also be random. now we can have shelves that are truly empty. anyway, I set it as 0-2, so there is a 2/3 chance that a bookshelf has a guidebook in it anyway, this also means that some shelves will have two guidebooks, but hey; who can have *too many* guidebooks?

* this line shouldn't be here
Resources/Prototypes/Catalog/Fills/Books/bookshelf.yml
Resources/Prototypes/Entities/Structures/Furniture/bookshelf.yml