News UI overhaul and PDA notifications (#19610)
This commit is contained in:
@@ -364,7 +364,7 @@
|
||||
- type: entity
|
||||
parent: BaseComputerCircuitboard
|
||||
id: ComputerMassMediaCircuitboard
|
||||
name: mass-media console board
|
||||
name: news manager console board
|
||||
description: Write your message to the world!
|
||||
components:
|
||||
- type: Sprite
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: NewsReadCartridge
|
||||
id: NewsReaderCartridge
|
||||
name: news cartridge
|
||||
description: A program for reading news
|
||||
components:
|
||||
@@ -26,13 +26,13 @@
|
||||
sprite: Objects/Devices/cartridge.rsi
|
||||
state: cart-y
|
||||
- type: UIFragment
|
||||
ui: !type:NewsReadUi
|
||||
ui: !type:NewsReaderUi
|
||||
- type: Cartridge
|
||||
programName: news-read-program-name
|
||||
icon:
|
||||
sprite: Interface/Misc/program_icons.rsi
|
||||
state: news_read
|
||||
- type: NewsReadCartridge
|
||||
- type: NewsReaderCartridge
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
preinstalled:
|
||||
- CrewManifestCartridge
|
||||
- NotekeeperCartridge
|
||||
- NewsReadCartridge
|
||||
- NewsReaderCartridge
|
||||
cartridgeSlot:
|
||||
priority: -1
|
||||
name: device-pda-slot-component-slot-name-cartridge
|
||||
@@ -669,7 +669,7 @@
|
||||
preinstalled:
|
||||
- CrewManifestCartridge
|
||||
- NotekeeperCartridge
|
||||
- NewsReadCartridge
|
||||
- NewsReaderCartridge
|
||||
- LogProbeCartridge
|
||||
|
||||
- type: entity
|
||||
|
||||
@@ -109,6 +109,12 @@
|
||||
- type: SiliconLawProvider
|
||||
laws: Crewsimov
|
||||
|
||||
- type: entity
|
||||
id: BaseStationNews
|
||||
abstract: true
|
||||
components:
|
||||
- type: StationNews
|
||||
|
||||
- type: entity
|
||||
id: BaseStationAllEventsEligible
|
||||
abstract: true
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
id: StandardNanotrasenStation
|
||||
parent:
|
||||
- BaseStation
|
||||
- BaseStationNews
|
||||
- BaseStationCargo
|
||||
- BaseStationJobsSpawning
|
||||
- BaseStationRecords
|
||||
|
||||
@@ -984,7 +984,7 @@
|
||||
- type: entity
|
||||
parent: BaseComputer
|
||||
id: ComputerMassMedia
|
||||
name: mass-media console
|
||||
name: news manager console
|
||||
description: Write your message to the world!
|
||||
components:
|
||||
- type: Sprite
|
||||
@@ -1000,18 +1000,18 @@
|
||||
- type: Computer
|
||||
board: ComputerMassMediaCircuitboard
|
||||
- type: DeviceNetworkRequiresPower
|
||||
- type: NewsWrite
|
||||
- type: NewsWriter
|
||||
- type: AccessReader
|
||||
access: [[ "Command" ]]
|
||||
- type: ActivatableUI
|
||||
key: enum.NewsWriteUiKey.Key
|
||||
key: enum.NewsWriterUiKey.Key
|
||||
- type: ActivatableUIRequiresVision
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.NewsWriteUiKey.Key
|
||||
type: NewsWriteBoundUserInterface
|
||||
- key: enum.NewsWriterUiKey.Key
|
||||
type: NewsWriterBoundUserInterface
|
||||
|
||||
- type: entity
|
||||
parent: BaseComputer
|
||||
|
||||
Reference in New Issue
Block a user