mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +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
291 B
C#
15 lines
291 B
C#
namespace Content.Shared.Cocoon
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class CocoonComponent : Component
|
|
{
|
|
public string? OldAccent;
|
|
|
|
public EntityUid? Victim;
|
|
|
|
[DataField("damagePassthrough")]
|
|
public float DamagePassthrough = 0.5f;
|
|
|
|
}
|
|
}
|