Logo
Explore Help
Register Sign In
Cinka/OldThink
1
0
Fork 0
You've already forked OldThink
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
master
OldThink/Content.Server/Zombies/NonSpreaderZombieComponent.cs

11 lines
241 B
C#
Raw Permalink Normal View History

Tiny mobs can no longer pass on the zombie disease (#21676) This reverts f391ff28 and implements an alternate messure where mice and other small animals can no longer infect people as zombies. This is done through a component which if present cancels the check that would cause zombie components to be added on people that get infected due to a bite. This still allows other special stuff that happens in that function that may affect already infected individuals. This is a compromise between what's discussed in discord which would much rather see mice and other animals just die from the infection and people on github which would see no change happen. Since bats can't go under doors it may not be necessary to make them non spreaders. If someone disagrees please tell me to just add it back.
2023-11-19 22:28:05 +00:00
namespace Content.Server.Zombies;
/// <summary>
/// Zombified entities with this component cannot infect other entities by attacking.
/// </summary>
[RegisterComponent]
public sealed partial class NonSpreaderZombieComponent: Component
{
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 1630ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API