Add a handy security radio (#25913)

* Add a handy security radio

I've always wanted to have a handy security radio in game and I thought it would be cool to have one in game.

Demonstation can be found in here: https://youtu.be/VQOLiTQAmKc

* Merged radio files and changed sprite location

* Fixed RSI not having license and copyright

* Added a chance to spawn in security closets

All security closets will have 50% chance to spawn a handy security radio in it

* Update radio id

Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com>

* Change id in locker spawn

* Change id in locker spawn

* Changed id to RadioHandheldSecurity as suggested

* Add radio to vending machine instead of locker

Removed radio from lockers and added it to security vending machine

* Fixed radio not having a sprite

---------

Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com>
This commit is contained in:
Ramlik
2024-04-27 16:27:18 +03:00
committed by GitHub
parent 6d3e788dd6
commit db555a7c79
8 changed files with 46 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
RiotShield: 2
RiotLaserShield: 2
RiotBulletShield: 2
RadioHandheldSecurity: 5
# security officers need to follow a diet regimen!
contrabandInventory:
FoodDonutHomer: 12

View File

@@ -23,3 +23,20 @@
- type: Tag
tags:
- Radio
- type: entity
name: security radio
description: A handy security radio.
parent: RadioHandheld
id: RadioHandheldSecurity
components:
- type: RadioMicrophone
broadcastChannel: Security
- type: RadioSpeaker
channels:
- Security
- type: Sprite
sprite: Objects/Devices/securityhandy.rsi
- type: Item
sprite: Objects/Devices/securityhandy.rsi
heldPrefix: walkietalkie

View File

@@ -0,0 +1,28 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from cev-eris and modified by Swept at https://github.com/discordia-space/CEV-Eris/commit/efce5b6c3be75458ce238dcc01510e8f8a653ca6",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "walkietalkie"
},
{
"name": "walkietalkie-inhand-left",
"directions": 4
},
{
"name": "walkietalkie-inhand-right",
"directions": 4
},
{
"name": "walkietalkie-off"
},
{
"name": "walkietalkie-on"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B