-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase the martial arts manuals spawn #75619
Conversation
This is irrelevant. If you want a style you start with it, the whole gametime Gathering any hard data on it is obviously going to run into problems, but you could check something like the print run size of a manual-like book irl. |
Not sure if that's easier, but I would suggest data around martial art schools. Like, how many karate schools do exist in New England by population? Something like that. Part of the reasoning is, today martial art manuals are sort of a proxy to learning, as AFAICT ideal state is learning from NPCs. For sure some MA will still be quite rare, soo... 🤷 |
Then shouldn't we be removing the manuals and add those NPCs instead? |
Is this still ongoing? |
Summary
Balance "Martial arts manuals spawn in libraries and houses"
Purpose of change
For some reason, martial arts manuals are almost impossible to find anywhere, which is odd, they should be present in libraries, bookstores and homes like archery books. Considering that there are quite a lot of fighting styles, it is almost impossible to get exactly the one that will be useful for your build.
In fact, at the moment, books spawn in houses with a probability of... well, consider that they do not spawn at all, 2% in a collection and about 1/1500 probability that this collection will be chosen for spawning. Grep also didn't find anywhere else where these books tried to spawn as a itemgroup.
Describe the solution
Create 2 itemgroups with manuals.
Unfortunately I didn't find any exact data, but I think accuracy is unnecessary here, on a small scale. It would be frustrating to find 100 manuals and have like 92 of them be boxing manuals.
book_martial_common
The first group with common MA manuals. In this group there are manuals on popular martial arts. Which are most often unarmed and thereforeabsolutely uselessvery situational.Boxing, karate, judo, kung fu (as a single style), krav maga, etc.
book_martial_rare
The second with rarer ones. This group contains either ancient martial arts or more useful weapon arts.Fencing, ninjutsu, medieval styles, etc. For testing I also included the MMA mod, the vanilla list is smaller.
fencing, eskrima, silat, bojutsu, ninjutsu, niten, zui_quan, sojutsu, barbaran, medievalpole, swordsmanship
Also, old itemgroups have been replaced with new ones where they were. The homebooks itemgroup was sorted, although only one entry was changed there.
Increase the chance of spawning in houses. But you're unlikely to stumble upon it, they are still quite rare.
I ran the group test many times before I noticed the manual.
But there is still a possibility, I was able to find one by teleporting around the city.
Dedicate one bookcase in libraries and bookstores to manuals.
Now you can find in a library 1-2 manuals on common arts, and probably one on rare ones.
Bookstore:
Library:
Now it should be easier to find manuals.
Describe alternatives you've considered
Change the probabilities?
(Remove them from dojo and dumpsters so that no one will ever find them.)
Testing
Looks okay. I spawned all variations of libraries and bookstores and made sure that books spawn correctly.
Additional context
Perhaps it is worth changing the weight of the vandalized libraries, this is literally the only destroyed building in the city. I will also change the incorrect spawns that I found in a separate PR.