Drone hats 2 (#6768)
This commit is contained in:
@@ -47,7 +47,7 @@ namespace Content.Server.Strip
|
||||
|
||||
_strippableSystem = EntitySystem.Get<StrippableSystem>();
|
||||
Owner.EnsureComponentWarn<ServerInventoryComponent>();
|
||||
var cuffed = Owner.EnsureComponentWarn<CuffableComponent>();
|
||||
if(_entities.TryGetComponent<CuffableComponent>(Owner, out var cuffed))
|
||||
cuffed.OnCuffedStateChanged += UpdateState;
|
||||
}
|
||||
|
||||
|
||||
@@ -65,6 +65,13 @@
|
||||
- id: WelderExperimental
|
||||
- type: NameIdentifier
|
||||
group: Drone
|
||||
- type: Inventory
|
||||
templateId: drone
|
||||
- type: Strippable
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.StrippingUiKey.Key
|
||||
type: StrippableBoundUserInterface
|
||||
- type: GhostTakeoverAvailable
|
||||
makeSentient: true
|
||||
name: Maintenance Drone
|
||||
@@ -87,6 +94,8 @@
|
||||
layers:
|
||||
- state: shell
|
||||
sprite: Mobs/Silicon/drone.rsi
|
||||
- map: [ "head" ]
|
||||
offset: 0, -0.45
|
||||
- type: MovementIgnoreGravity
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
- type: inventoryTemplate
|
||||
id: drone
|
||||
slots:
|
||||
- name: head
|
||||
slotTexture: head
|
||||
slotFlags: HEAD
|
||||
uiContainer: BottomLeft
|
||||
uiWindowPos: 0,0
|
||||
displayName: Head
|
||||
Reference in New Issue
Block a user