Pinpointer (#5131)
* Add pinpointer sprites * Start working on pinpointer * Updated pinpointer * Working on visuals * Working on a pinpointer and eye rotation * Add client/server pinpointers systems * Minor cleanup * Add distance support * Add nuke tag * Remove redundant flag and add pinpointer to caps locker * Disable rotation of pinpointer * Fixed distance Co-authored-by: Alexander Evgrashin <evgrashin.adl@gmail.com>
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
contents:
|
||||
- id: NukeDisk
|
||||
prob: 1
|
||||
- id: PinpointerNuclear
|
||||
prob: 1
|
||||
- id: CaptainIDCard
|
||||
prob: 1
|
||||
- id: ClothingHeadHatCaptain
|
||||
|
||||
33
Resources/Prototypes/Entities/Objects/Devices/pinpointer.yml
Normal file
33
Resources/Prototypes/Entities/Objects/Devices/pinpointer.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
- type: entity
|
||||
name: pinpointer
|
||||
description: A handheld tracking device that locks onto certain signals.
|
||||
parent: BaseItem
|
||||
id: PinpointerBase
|
||||
abstract: true
|
||||
components:
|
||||
- type: Transform
|
||||
noRot: True
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Objects/Devices/pinpointer.rsi
|
||||
layers:
|
||||
- state: pinpointer
|
||||
map: ["enum.PinpointerLayers.Base"]
|
||||
- state: pinonnull
|
||||
map: ["enum.PinpointerLayers.Screen"]
|
||||
- type: Item
|
||||
sprite: Objects/Devices/pinpointer.rsi
|
||||
- type: Pinpointer
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: PinpointerVisualizer
|
||||
|
||||
- type: entity
|
||||
name: pinpointer
|
||||
id: PinpointerNuclear
|
||||
parent: PinpointerBase
|
||||
components:
|
||||
- type: Pinpointer
|
||||
whitelist:
|
||||
tags:
|
||||
- NukeDisk
|
||||
@@ -4,6 +4,9 @@
|
||||
id: NukeDisk
|
||||
description: A nuclear auth disk, capable of arming a nuke if used along with a code. Note from nanotrasen reads "THIS IS YOUR MOST IMPORTANT POSESSION, SECURE DAT FUKKEN DISK!"
|
||||
components:
|
||||
- type: Tag
|
||||
tags:
|
||||
- NukeDisk
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Objects/Misc/nukedisk.rsi
|
||||
@@ -14,6 +17,17 @@
|
||||
state: icon
|
||||
|
||||
- type: entity
|
||||
parent: NukeDisk
|
||||
name: nuclear authentication disk
|
||||
parent: BaseItem
|
||||
id: NukeDiskFake
|
||||
suffix: Fake
|
||||
description: A nuclear auth disk, capable of.. WAIT THIS IS JUST PAINTED PLASTIC, FUCK-
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Objects/Misc/nukedisk.rsi
|
||||
state: icon
|
||||
- type: Item
|
||||
size: 12
|
||||
sprite: Objects/Misc/nukedisk.rsi
|
||||
state: icon
|
||||
|
||||
@@ -223,3 +223,5 @@
|
||||
- type: Tag
|
||||
id: HideContextMenu
|
||||
|
||||
- type: Tag
|
||||
id: NukeDisk
|
||||
|
||||
Reference in New Issue
Block a user