Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portable criminal records #1299

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
- type: entity
parent: BaseItem
id: BaseHandheldCriminalRecords
name: portable criminal records
description: All the power of a criminal records computer, but it fits in your pocket.
abstract: true
components:
- type: CriminalRecordsConsole
- type: Sprite
sprite: _Impstation/Objects/Devices/tablets.rsi
layers:
- state: portable_criminal
- state: screen-criminal
shader: unshaded
- type: ActivatableUI
key: enum.CriminalRecordsConsoleKey.Key
- type: UserInterface
interfaces:
enum.CriminalRecordsConsoleKey.Key:
type: CriminalRecordsConsoleBoundUserInterface
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: AccessReader
access: [["Security"]]
- type: GuideHelp
guides:
- CriminalRecords

- type: entity
id: HandheldCriminalRecords
suffix: Powered
parent:
- BaseHandheldCriminalRecords
- BaseHandheldComputer

- type: entity
id: HandheldCriminalRecordsEmpty
suffix: Empty
parent:
- BaseHandheldCriminalRecords
- BaseHandheldComputer
components:
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default

- type: entity
id: HandheldCriminalRecordsUnpowered
suffix: Unpowered
parent: BaseHandheldCriminalRecords
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Criminal records sprites by lazyriverfolk",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "portable_criminal"
},
{
"name": "screen-criminal",
"delays": [
[
0.3,
0.3
]
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading