Rodents can be Faxecuted (executed via Fax machine) (#21461)
* Rodents can be Faxecuted (executed via Fax machine) * use brute instead of new group. * fax visuals now use tags for mouse and hamster instead of comps * fix for ubuntu, damn ubuntu bane of my life * cant copy hamlet, can now faxecute mothroaches. * fix * fix * fixes * removed ifs now using switch, removed hastag now using string. * fixes and no more switch * cleanup * more cleanup * fix * cleanup * moved damage out of faxmachine and into own system and component. * changes * fixes and done i think. * tidy * Fixes --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
19
Content.Shared/Fax/Components/FaxecuteComponent.cs
Normal file
19
Content.Shared/Fax/Components/FaxecuteComponent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Content.Shared.Damage;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Fax.Components;
|
||||
|
||||
/// <summary>
|
||||
/// A fax component which stores a damage specifier for attempting to fax a mob.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class FaxecuteComponent : Component
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Type of damage dealt when entity is faxecuted.
|
||||
/// </summary>
|
||||
[DataField(required: true), AutoNetworkedField]
|
||||
public DamageSpecifier Damage = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user