Show / Hide Table of Contents

Class NinjaSuitComponent

Component for ninja suit abilities and power consumption. As an implementation detail, dashing with katana is a suit action which isn't ideal.

Inheritance
System.Object
NinjaSuitComponent
Namespace: Content.Shared.Ninja.Components
Assembly: Content.Shared.dll
Syntax
public sealed class NinjaSuitComponent : Component

Fields

| Improve this Doc View Source

CloakWattage

Battery charge used while cloaked, stacks with passive. Will last 200 seconds while cloaked on a small-capacity power cell.

Declaration
public float CloakWattage
Field Value
Type Description
System.Single
| Improve this Doc View Source

CreateThrowingStarAction

The action id for creating throwing stars.

Declaration
public string CreateThrowingStarAction
Field Value
Type Description
System.String
| Improve this Doc View Source

CreateThrowingStarActionEntity

Declaration
public EntityUid? CreateThrowingStarActionEntity
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

DisableTime

How long to disable all abilities for when revealed. This adds a UseDelay to the ninja so it should not be set by anything else.

Declaration
public TimeSpan DisableTime
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

EmpAction

The action id for creating an EMP burst

Declaration
public string EmpAction
Field Value
Type Description
System.String
| Improve this Doc View Source

EmpActionEntity

Declaration
public EntityUid? EmpActionEntity
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

EmpCharge

Battery charge used to create an EMP burst. Can do it 2 times on a small-capacity power cell.

Declaration
public float EmpCharge
Field Value
Type Description
System.Single
| Improve this Doc View Source

EmpConsumption

Power consumed from batteries by the EMP

Declaration
public float EmpConsumption
Field Value
Type Description
System.Single
| Improve this Doc View Source

EmpDuration

How long the EMP effects last for, in seconds

Declaration
public float EmpDuration
Field Value
Type Description
System.Single
| Improve this Doc View Source

EmpRange

Range of the EMP in tiles.

Declaration
public float EmpRange
Field Value
Type Description
System.Single
| Improve this Doc View Source

PassiveWattage

Battery charge used passively, in watts. Will last 1000 seconds on a small-capacity power cell.

Declaration
public float PassiveWattage
Field Value
Type Description
System.Single
| Improve this Doc View Source

RecallCharge

Battery charge used per tile the katana teleported. Uses 1% of a default battery per tile.

Declaration
public float RecallCharge
Field Value
Type Description
System.Single
| Improve this Doc View Source

RecallKatanaAction

The action id for recalling a bound energy katana

Declaration
public string RecallKatanaAction
Field Value
Type Description
System.String
| Improve this Doc View Source

RecallKatanaActionEntity

Declaration
public EntityUid? RecallKatanaActionEntity
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

RevealSound

Sound played when a ninja is hit while cloaked.

Declaration
public SoundSpecifier RevealSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

ThrowingStarCharge

Battery charge used to create a throwing star. Can do it 25 times on a small-capacity power cell.

Declaration
public float ThrowingStarCharge
Field Value
Type Description
System.Single
| Improve this Doc View Source

ThrowingStarPrototype

Throwing star item to create with the action

Declaration
public string ThrowingStarPrototype
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾