vgstation-coders / vgstation13

Butts
GNU Affero General Public License v3.0
266 stars 544 forks source link

Fixes cows mutated by phazon being clogged with old chemicals #37293

Closed noirogen closed 3 weeks ago

noirogen commented 4 weeks ago

What this does

This makes it so that when phazon changes the milktype of a cow, their udders also get emptied.

Closes #37292.

Why it's good

This prevents mutated cows from being overfilled with milk/random chemicals, which removes the potential for a mutated cow to be softlocked in a state where it is full, but cannot be milked.

How it was tested

  1. Spawn a cow
  2. Check that its udders were filled with milk using VV
  3. Inject it with phazon
  4. Check again, ensuring that the milk was emptied, and that the new chemical was produced.

Changelog

:cl: