mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 05:59:03 +03:00
# Description - Generalizes cocooning - Allows any mob to be cocooned - Cocoon bloodsucking moved to vampirism system - Any blood sucker can drink from cocoons - Vampirism no longer fails if bloodstream isn't normal blood, but gives a pop up - Vampirism `WebRequired` actually works in a way that makes sense - Adds cocooning and bloodsucker to all spider mobs + Arachnids resolves #978 --- # Changelog 🆑 - tweak: All spiders, arachne, and arachnids can cocoon mobs, and drink their blood. --------- Co-authored-by: VMSolidus <evilexecutive@gmail.com>
15 lines
367 B
C#
15 lines
367 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Cocoon
|
|
{
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class CocoonerComponent : Component
|
|
{
|
|
[DataField("cocoonDelay")]
|
|
public float CocoonDelay = 12f;
|
|
|
|
[DataField("cocoonKnockdownMultiplier")]
|
|
public float CocoonKnockdownMultiplier = 0.5f;
|
|
}
|
|
}
|