Issue #26495: Hostile tame horkers near Windstad
According to the comments in BYOHHouseHorkerScript, the horkers near the hatchery at Windstad are supposed to become tame once the hatchery is built. In reality, the scripts surrounding this are rather buggy and tend to produce fairly random hostility/tameness, at least one of which I can't even figure out (see "second problem" ).
First problem: the script wants the hatchery to actually be producing, rather than just built (myHatchery.iSpawnCount > 0).
Second problem: I'm not sure why, but sometimes, the script seems to violate even that rule. On repeated visits from the same re-loaded game, horkers were often part of WEPlayerFriend but sometimes not, and this sometimes even differed from one horker to the next. This despite the fact that the hatchery's iSpawnCount was set to 0, so nobody should have been part of that faction at all. The fact that it changed from one reload to the next is even more confusing, since it rules out that some previous visit added me to the faction. Maybe some kind of random off-screen death, resetting the factions?
Third problem: Even ignoring all that, iSpawnCount is unreliable, being set (in BYOHHouseFishHatcheryScript) only when fish are actually ready, but also being decremented for fish that aren't, conceivably reducing iSpawnCount to 0 or lower.
My suggestion would be to just eliminate the iSpawnCount check in the horker script, but fixing the count in the fish container may also be necessary, depending how else it's used (if at all).
Disabling the iSpawnCount check should be enough for this. There's no logical reason for those horkers to remain hostile once the hatchery is built. Even if there are no fish.
Showing Comments 1 - 1 of 1