Skip to content

Commit

Permalink
тест консоли управления шаттлом
Browse files Browse the repository at this point in the history
  • Loading branch information
PyotrIgn committed Sep 25, 2024
1 parent 5c42f2c commit 3664be5
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Content.Server/ADT/Shuttle/NukieShuttleComponent.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace Content.Server.ADT.Shuttle;

/// <summary>
/// Добавляем компонент шаттла нюкеров для удаленного управления
/// </summary>
[RegisterComponent]
public sealed partial class NukieShuttleComponent : Component
{

}
1 change: 1 addition & 0 deletions Resources/Maps/Shuttles/infiltrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ entities:
components:
- type: MetaData
name: GX-13 Infiltrator
- type: NukieShuttle
- type: Transform
pos: 0.64252126,4.1776605
parent: invalid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,46 @@
containers:
board: !type:Container
IdCardConsole-privilegedId: !type:ContainerSlot
IdCardConsole-targetId: !type:ContainerSlot
IdCardConsole-targetId: !type:ContainerSlot

#Тест компонента дронюконсоль

- type: entity
parent: BaseComputerShuttle
id: ADTComputerShuttleNukie
name: nukie shuttle console
description: Used to pilot the cargo shuttle.
components:
- type: Sprite
layers:
- map: ["computerLayerBody"]
state: computer
- map: ["computerLayerKeyboard"]
state: generic_keyboard
- map: ["computerLayerScreen"]
state: syndishuttle
- map: ["computerLayerKeys"]
state: syndie_key
- type: DroneConsole
components:
- type: NukieShuttle
- type: RadarConsole
maxRange: 256
- type: PointLight
radius: 1.5
energy: 1.6
color: "#43ccb5"
- type: Computer
board: ADTNukieShuttleConsoleCircuitboard
# - type: StealTarget
# stealGroup: CargoShuttleConsoleCircuitboard


- type: entity
parent: BaseComputerCircuitboard
id: ADTNukieShuttleConsoleCircuitboard
name: syndicate shuttle console board
description: A computer printed circuit board for a syndicate shuttle console.
components:
- type: ComputerBoard
prototype: ADTComputerShuttleNukie

0 comments on commit 3664be5

Please sign in to comment.