-
Notifications
You must be signed in to change notification settings - Fork 22
Barnacles kill NPCs on grab #298
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
Conversation
|
Hi @ampreeT. Unfortunately so far it didn't work for me. Using your command and spawning a Human Grunt just right the bottom of the Barnacle's tongue, it still requires completely swallowing/eating the grunt after pulling up only then it works. Again, if you kill the Barnacle before it could eat/kill the Human Grunt, it will not count (kill messages also won't shows up "Barnacle killed Human Grunt"). Thus it will not trigger the red glow. So far just tried out listen server. Will do this again in dedicated server and update you a bit. |
Hey I wasn't able to reproduce the issue while using this PR on a Linux Dedicated Server. Were you seeing any errors in the console? See video below on map Screencast_20251221_150653.webm |
|
I've just tried it in my Linux dedicated server and yes it worked. Also works well for other NPCs like Zombies and Headcrabs too. However, it still doesn't work on listen server. Though I would like to stress that I'm using Windows when compiling the scripts and playing it locally. So in this part, its either listen version that doesn't work, or its the Windows issue. |
|
Slightly unrelated question, are you able to look into the part when Barnacles are spawned via spawnmaking entities like It's not an extremely priority fix since I had workarounds though, but would be good if there's a patch for it. |
|
The barnacle might be missing this call, since it stays in the world. |
UPDATE: Windows/listen seems to work now after re-testing again. So looks good now. |
Alienmario
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm codewise.
Yeah, I'll look into this and address it in a new PR. |
Barnacles will now be instantly rewarded for a NPC kill and also trigger the NPC's outputs on grab. Tested on a Linux dedicated server with the following commands:
Fixes half of #254.
Changes: