FIXXX
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using Content.Client.Humanoid;
|
||||
using Content.Client.Inventory;
|
||||
using Content.Shared.GameTicking;
|
||||
@@ -215,10 +216,10 @@ public sealed partial class GeneralStationRecordConsoleWindow : DefaultWindow
|
||||
GiveDummyJobClothes(_previewDummy, record.JobPrototype, profile);
|
||||
|
||||
var spriteViewBox = new BoxContainer();
|
||||
var sprite = entityManager.GetComponent<SpriteComponent>(_previewDummy);
|
||||
// var sprite = entityManager.GetComponent<SpriteComponent>(_previewDummy);
|
||||
|
||||
spriteViewBox.AddChild(new SpriteView() { Sprite = sprite, Scale = (5, 5)});
|
||||
spriteViewBox.AddChild(new SpriteView() { Sprite = sprite, Scale = (5, 5), OverrideDirection = Direction.East});
|
||||
spriteViewBox.AddChild(new SpriteView(_previewDummy, entityManager) { Scale = new Vector2(5, 5)});
|
||||
spriteViewBox.AddChild(new SpriteView(_previewDummy, entityManager) { Scale = new Vector2(5, 5), OverrideDirection = Direction.East});
|
||||
|
||||
return spriteViewBox;
|
||||
}
|
||||
|
||||
@@ -235,9 +235,10 @@ namespace Content.Server.Body.Systems
|
||||
// WD start
|
||||
private void OnHandInteract(EntityUid uid, RespiratorComponent component, InteractHandEvent args)
|
||||
{
|
||||
if (CanCPR(uid, component, args.User))
|
||||
DoCPR(uid, component, args.User);
|
||||
if (!CanCPR(uid, component, args.User))
|
||||
return;
|
||||
|
||||
DoCPR(uid, component, args.User);
|
||||
args.Handled = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
namespace Content.Server.White.AntiCringeSystem;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class AntiCringeComponent : Component
|
||||
public sealed partial class AntiCringeComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -63,7 +63,8 @@ public sealed class OnDeath : EntitySystem
|
||||
}
|
||||
|
||||
var newStream = _audio.PlayEntity(HeartSounds, uid, uid, AudioParams.Default.WithLoop(true));
|
||||
_playingStreams[uid] = newStream.Value.Entity;
|
||||
if (newStream != null)
|
||||
_playingStreams[uid] = newStream.Value.Entity;
|
||||
}
|
||||
|
||||
private void StopPlayingStream(EntityUid uid)
|
||||
|
||||
@@ -3,27 +3,36 @@
|
||||
id: EmoteActionFlip
|
||||
name: emote-flip-action-name
|
||||
description: emote-flip-action-description
|
||||
icon: White/Actions/EmoteFlip.png
|
||||
event: !type:EmoteActionEvent
|
||||
emote: EmoteFlip
|
||||
nospawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
icon: White/Actions/EmoteFlip.png
|
||||
event: !type:EmoteActionEvent
|
||||
emote: EmoteFlip
|
||||
|
||||
# jump animation
|
||||
- type: entity
|
||||
id: EmoteActionJump
|
||||
name: emote-jump-action-name
|
||||
description: emote-jump-action-description
|
||||
icon: White/Actions/EmoteJump.png
|
||||
event: !type:EmoteActionEvent
|
||||
emote: EmoteJump
|
||||
nospawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
icon: White/Actions/EmoteJump.png
|
||||
event: !type:EmoteActionEvent
|
||||
emote: EmoteJump
|
||||
|
||||
# turn around in 4 directions animation
|
||||
- type: entity
|
||||
id: EmoteActionTurn
|
||||
name: emote-turn-action-name
|
||||
description: emote-turn-action-description
|
||||
icon: White/Actions/EmoteTurn.png
|
||||
event: !type:EmoteActionEvent
|
||||
emote: EmoteTurn
|
||||
nospawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
icon: White/Actions/EmoteTurn.png
|
||||
event: !type:EmoteActionEvent
|
||||
emote: EmoteTurn
|
||||
|
||||
|
||||
# Using EmoteAnimation from IC action chat
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
name: species-name-felinid
|
||||
roundStart: true
|
||||
prototype: MobFelinid
|
||||
sprites: MobHumanSprites
|
||||
markingLimits: MobFelinidMarkingLimits
|
||||
dollPrototype: MobFelinidDummy
|
||||
skinColoration: HumanToned
|
||||
|
||||
Reference in New Issue
Block a user