Skip to content

Commit

Permalink
Пока так
Browse files Browse the repository at this point in the history
Поменять спрайт
Сделать цену 0
  • Loading branch information
FireFoxPhoenix committed Feb 26, 2025
1 parent 1e5ddda commit 8cea652
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Content.Server/Shipyard/Systems/ShipyardSystem.Consoles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ private struct IDShipAccesses
// Check that the listing contains the shuttle or that the shuttle is in the group that the console is looking for
if (listing?.Shuttles.Contains(vessel.ID) ?? false ||
key != null && key != ShipyardConsoleUiKey.Custom &&
vessel.Group == key)
vessel.Group == key || key == ShipyardConsoleUiKey.Debug)
{
if (hasAccess)
available.Add(vessel.ID);
Expand Down
3 changes: 2 additions & 1 deletion Content.Shared/Shipyard/SharedShipyardSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public enum ShipyardConsoleUiKey : byte
// Add ships to this key if they are only available from mothership consoles. Shipyards using it are inherently empty and are populated using the ShipyardListingComponent.
Custom,
Mercenary, // Corvax-Frontier
Salvage // Corvax-Frontier
Salvage, // Corvax-Frontier
Debug // Corvax-Frontier
}

public abstract class SharedShipyardSystem : EntitySystem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
ent-ComputerShipyardMercenary = консоль верфи наёмников
.desc = Пустая консоль
ent-ComputerShipyardSalvage = консоль верфи шахтёров
.desc = Эта консоль покупки шаттлов выглядит очень потрёпанной, но не стоит обманываться, на ней продаются лучшие шахтерские суда сектора. На задней крышке есть надпись: произведено компанией TechnicLogistic.
.desc = Эта консоль покупки шаттлов выглядит очень потрёпанной, но не стоит обманываться, на ней продаются лучшие шахтерские суда сектора. На задней крышке есть надпись: произведено компанией TechnicLogistic.
ent-ComputerShipyardDebug = консоль верфи центкомма
.desc = Консоль верфи со всеми шаттлами. Ничего более.
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,29 @@
- type: UserInterface
interfaces:
enum.ShipyardConsoleUiKey.Salvage:
type: ShipyardConsoleBoundUserInterface

- type: entity
id: ComputerShipyardDebug
parent: [BaseStructureDisableToolUse, BaseStructureIndestructible, ComputerShipyardBase]
name: centcomm shipyard console
description: Shipyard console with all shuttles.
suffix: Debug
components:
- type: Sprite
sprite: _NF/Structures/Machines/computers.rsi
layers:
- map: ["computerLayerBody"]
state: computer
- map: ["computerLayerKeyboard"]
state: generic_keyboard
- map: ["computerLayerScreen"]
state: shipyard_mining
- map: ["computerLayerKeys"]
state: telesci_key
- type: ActivatableUI
key: enum.ShipyardConsoleUiKey.Debug
- type: UserInterface
interfaces:
enum.ShipyardConsoleUiKey.Debug:
type: ShipyardConsoleBoundUserInterface

0 comments on commit 8cea652

Please sign in to comment.