convert News read tab to PDA Cartridge (#18368)

* Add Console, PDA news tab, and ringstone popup

* Add English localization

* Add mass-media console board to Advanced Entertainment resrarch

* Fix misprint

* Deleting unused libraries

* Fix round restart problem

* Fixing restart problem

* Just another fix

* Сode optimization

* Code optimization

* Convert News read tab to cartridge

Convert the News read tab into a cartridge, and fix a couple of bugs

* Just another fix

* Some updates

* More fixing!!

Fix cooldown, add author label to read menu

* Again, fix cooldown bug

* Some minor changes

* Revert "Some minor changes"

This reverts commit 470c8d727629ac79994f70e56162adae8659e944.

* Some minor updates
This commit is contained in:
MishaUnity
2023-07-28 22:59:03 +03:00
committed by GitHub
parent 70ceba5fbc
commit e4dcdc0c6e
32 changed files with 395 additions and 363 deletions

View File

@@ -369,7 +369,7 @@
- type: entity
parent: BaseComputerCircuitboard
id: ComputerMassMediaCircuitboard
name: mass media console board
name: mass-media console board
description: Write your message to the world!
components:
- type: Sprite

View File

@@ -19,6 +19,27 @@
state: book6
- type: NotekeeperCartridge
- type: entity
parent: BaseItem
id: NewsReadCartridge
name: News Cartridge
description: A program for reading news
components:
- type: Sprite
sprite: Objects/Devices/cartridge.rsi
state: cart-y
- type: Icon
sprite: Objects/Devices/cartridge.rsi
state: cart-y
- type: UIFragment
ui: !type:NewsReadUi
- type: Cartridge
programName: news-read-program-name
icon:
sprite: Interface/Misc/program_icons.rsi
state: news_read
- type: NewsReadCartridge
- type: entity
parent: BaseItem
id: NetProbeCartridge

View File

@@ -73,6 +73,7 @@
uiKey: enum.PdaUiKey.Key
preinstalled:
- NotekeeperCartridge
- NewsReadCartridge
cartridgeSlot:
priority: -1
name: Cartridge
@@ -97,11 +98,8 @@
type: InstrumentBoundUserInterface
- key: enum.HealthAnalyzerUiKey.Key
type: HealthAnalyzerBoundUserInterface
- key: enum.NewsReadUiKey.Key
type: NewsReadBoundUserInterface
- type: CrewManifestViewer
unsecure: true
- type: NewsRead
- type: Tag
tags:
- DoorBumpOpener
@@ -733,6 +731,18 @@
borderColor: "#891417"
- type: Icon
state: pda-syndi
- type: CartridgeLoader
uiKey: enum.PdaUiKey.Key
preinstalled:
- NotekeeperCartridge
cartridgeSlot:
priority: -1
name: Cartridge
ejectSound: /Audio/Machines/id_swipe.ogg
insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
whitelist:
components:
- Cartridge
- type: entity
parent: BasePDA