-
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
Add Find Isherwood Farm mission #46821
Add Find Isherwood Farm mission #46821
Conversation
@curstwist I'm not sure that under current standard world settings the Isherwood Farm can spawn. Right now my new gaming laptop hangs for between 1 minute 40 seconds and 2 minutes 20 seconds while it searches and then it errors as follows ERROR : src/mission_util.cpp:249 [cata::optional<coords::coord_point<tripoint, (coords::origin)1, (coords::scale)2> > find_or_create_om_terrain(const tripoint_abs_omt&, const mission_target_params&)] Unable to find and assign mission target farm_isherwood_2. |
#46701 has Isherwood Farms 40% of the time, although Lapin Cabin only 20% of the time. |
I see it spawn when I'm map hopping so I know its possible. Does the act of revealing it try to force one to spawn? Can it have a more generous range like the refugee center? |
When I look at the stats I'm not seeing that they checked how often Isherwood actually spawns compared to them setting it to spawn 40% of the time it can spawn . I'd be very surprised if it was actually showing up in 4/10 overmaps. But I'd be fairly happy with that in a lot of ways. Am I misunderstanding their PR? |
Currently I have it set to a range of 280 which I think is more generous than the refugee center search unless I'm mistaken. I thought Refugee Center search goes out 120. |
No, I don't think so; I may not have been thinking clearly. But it's a lot more likely to actually spawn 4/10 times with the modifications in that PR, I suspect. @Venera3, I don't suppose you have any of the overmap files from your testing still around? |
If I understand things correctly, that large search range may be why it was taking so long... see #35376. |
Doubled the search range to 560 from 280 and it not only found it but found it in under 20 seconds. This is victory. |
Looking at my notes I either lumped them in with the farms in general or not seen them spawn ( I definitely counted Lapin as a cabin, so let's go with that). I'll set up the test branch again and get back to you in a few hours. |
Okay, so there's definitely something up with Isherwood specifically, if I had to guess it's because it spans more than 4 special "chunks" and the worldgen might not be able to make heads or tails of it. I...can't really explain that without diving into the code deeper. I'd assume that there's a mechanism to disqualify specials from overlapping, but that would not be my first wrong assumption. |
I set it to |
Summary
SUMMARY: Content "Quest to find Isherwood Farms"
Purpose of change
I wanted to tie in Mr Lapin to the surrounding communities but since the Evac Center hates the visibly mutant. That seemed to only leave groups that are fiercely independent and might respect someone who can survive on their own.
Describe the solution
Adds dialogue and quest to Lapin to find Isherwood.
Describe alternatives you've considered
none
Testing
Tested successfully
Additional context