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