News UI overhaul and PDA notifications (#19610)

This commit is contained in:
Julian Giebel
2024-02-27 02:38:00 +01:00
committed by GitHub
parent f284b43ff6
commit 0752acdc2c
54 changed files with 1381 additions and 708 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -109,6 +109,12 @@
- type: SiliconLawProvider
laws: Crewsimov
- type: entity
id: BaseStationNews
abstract: true
components:
- type: StationNews
- type: entity
id: BaseStationAllEventsEligible
abstract: true

View File

@@ -10,6 +10,7 @@
id: StandardNanotrasenStation
parent:
- BaseStation
- BaseStationNews
- BaseStationCargo
- BaseStationJobsSpawning
- BaseStationRecords

View File

@@ -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