mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-27 02:21:18 +03:00
Fix Error Logged in Graffana for SharedStaminaSystem (#40764)
* Added Appearance component to MobElementalBase * Added StunVisuals * Changed MobElementalBase to inherit from BaseMob and MobCombat * Fix linted error * Fix damage type * Apply suggestions from code review * Update Resources/Prototypes/Entities/Mobs/NPCs/elemental.yml --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
parent
6f02e6c19c
commit
8572fdf3ca
1 changed files with 2 additions and 26 deletions
|
|
@ -1,38 +1,17 @@
|
|||
- type: entity
|
||||
abstract: true
|
||||
parent: [BaseMob, MobCombat]
|
||||
id: MobElementalBase
|
||||
components:
|
||||
- type: LagCompensation
|
||||
- type: Reactive
|
||||
groups:
|
||||
Acidic: [Touch]
|
||||
- type: Clickable
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
- type: InteractionOutline
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.35
|
||||
density: 50
|
||||
mask:
|
||||
- MobMask
|
||||
layer:
|
||||
- MobLayer
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed : 2
|
||||
baseSprintSpeed : 3
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
drawdepth: Mobs
|
||||
- type: NpcFactionMember
|
||||
factions:
|
||||
- SimpleNeutral
|
||||
- type: MovedByPressure
|
||||
- type: Physics
|
||||
bodyType: KinematicController # Same for all inheritors
|
||||
- type: StatusEffects
|
||||
allowed:
|
||||
- Electrocution
|
||||
|
|
@ -58,12 +37,9 @@
|
|||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Input
|
||||
context: "human"
|
||||
- type: InputMover
|
||||
- type: MobMover
|
||||
- type: ZombieImmune
|
||||
- type: ProtectedFromStepTriggers
|
||||
- type: StunVisuals
|
||||
|
||||
- type: entity
|
||||
abstract: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue