Skip to content

Conversation

Kurfursten
Copy link
Collaborator

@Kurfursten Kurfursten commented Mar 1, 2025

image

How the event works

  • A special hog spawns in maintenance. This hog, unlike most hogs, does not attack, forage, headbutt, etc.
  • The hog wanders until attacked, at which point it sprints at VERY HIGH SPEED toward one of its other homes. It can have 5 homes.
  • It leaves a trail of 5-second-lube behind it.
  • It can squeeze through airlocks without pause and knock over people in the way.
  • It has 450 health.

🆑

  • rscadd: Idea Guy Events 1 - HOG. Stations with excess assistants or a chef may encounter a hog in maintenance that runs around but does not directly attack crewmen.

@Kurfursten Kurfursten added the Content Adds something. Neat! label Mar 1, 2025
@angryturnip
Copy link
Contributor

My prize... finally...

@jwhitak
Copy link
Collaborator

jwhitak commented Mar 1, 2025

I'll review on Monday unless West or someone beats me to it

@SonixApache
Copy link
Contributor

;HOG

@jwhitak jwhitak marked this pull request as draft March 4, 2025 00:31
Copy link
Collaborator

@jwhitak jwhitak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code wise, this looks great. Only found a list index runtime. Besides that, I do want to make a few notes - none that would stop me from merging this when you unmark it from draft to confirm it's ready to go. The HOG is currently waiting for release.

image

  1. The movement of the running hog looks terrible, likely because of the slipping-through-airlocks acting as diagonal teleporting at an even faster speed than the dash movement. I've got no immediate solution to this... Here's an example of the issue:
fastdiagonalhog.webm
  1. You already indicated this, but I'd like to confirm that the pork really should be increased. These things are sly AND tough! My testing with the hog netted me a whole 2 porks. Not a deal beaker, but how will a chef feed the crew on just that?

  2. There are no lube-safe shoes in the code. Galoshes, no-slips, magshoes, etc, all kneel before the lube. We have a clothing flag for it, but it remains unused. This lead me to hilarious HOG testing antics and my ultimate surrender: testing as a ghost with proccalls. This isn't your problem, but I wanted to make a note of it.

@Kurfursten
Copy link
Collaborator Author

Kurfursten commented Mar 4, 2025

Noted, I'll get to these sometime in the next few days. I think 12 meat seems to be fair for the amount of annoyance. And maybe lowering overall health on the boar since chasing it is such a hassle to kill. I think the lube annoyance is intended based on @angryturnip 's original request.

Regarding the diagonal movement -- yes, I agree. Worse, diagonal movement means that boars will usually move around people rather than run them over (they CAN run them over, but only as a last resort). The problem for this is that I use ASTAR for locating a new home and it allows for diagonal movement. I briefly tried modifying ASTAR to make diagonal movement optional based on args... but that ended up breaking ASTAR. I don't want to completely refactor ASTAR but if someone ever adds orthogonal-only routing, that'd be great for this.

@Kurfursten
Copy link
Collaborator Author

Fixes addressed

Reduced hog health by 33% (to 300)
Increased meat reward to a whopping 24 to reward for all that trouble

@Kurfursten Kurfursten marked this pull request as ready for review March 21, 2025 02:44
@west3436 west3436 merged commit 53dcc8f into vgstation-coders:Bleeding-Edge Mar 21, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content Adds something. Neat!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants