-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* handheld mass scanner * Add mass scanner to AstroVend * incorrect slashes for the validator * fix licensing * casing * wrong proto --------- Co-authored-by: checkraze <jgrigg87@gmail.com>
- Loading branch information
1 parent
92e0065
commit c96305f
Showing
6 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
Resources/Prototypes/Entities/Objects/Tools/handheld_mass_scanner.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
- type: entity | ||
name: handheld mass scanner | ||
parent: [ BaseItem, PowerCellSlotSmallItem] | ||
id: HandHeldMassScanner | ||
description: A hand-held mass scanner. | ||
components: | ||
- type: Item | ||
size: 20 | ||
- type: Sprite | ||
sprite: Objects/Tools/handheld_mass_scanner.rsi | ||
state: icon | ||
layers: | ||
- state: icon | ||
- state: scanner | ||
shader: unshaded | ||
visible: true | ||
map: [ "enum.PowerDeviceVisualLayers.Powered" ] | ||
- type: RadarConsole | ||
maxRange: 64 | ||
- type: Appearance | ||
- type: GenericVisualizer | ||
visuals: | ||
enum.PowerCellSlotVisuals.Enabled: | ||
enum.PowerDeviceVisualLayers.Powered: | ||
True: { visible: true } | ||
False: { visible: false } | ||
- type: PowerCellDraw | ||
drawRate: 3 | ||
useRate: 100 | ||
- type: ActivatableUIRequiresPowerCell | ||
- type: ActivatableUI | ||
key: enum.RadarConsoleUiKey.Key | ||
inHandsOnly: true | ||
singleUser: true | ||
- type: UserInterface | ||
interfaces: | ||
- key: enum.RadarConsoleUiKey.Key | ||
type: RadarConsoleBoundUserInterface | ||
- type: StaticPrice | ||
price: 500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ | |
AirTankFilled: 10 | ||
JetpackMiniFilled: 10 | ||
EncryptionKeyCommand: 30 | ||
HandHeldMassScanner: 10 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
Resources/Textures/Objects/Tools/handheld_mass_scanner.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"version": 1, | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Frontier Station, Tem Armoff", | ||
"states": [ | ||
{ | ||
"name": "scanner", | ||
"directions": 1, | ||
"delays": [ | ||
[ | ||
0.4, | ||
0.4 | ||
] | ||
] | ||
}, | ||
{ | ||
"name": "icon", | ||
"directions": 1 | ||
} | ||
] | ||
} |
Binary file added
BIN
+248 Bytes
Resources/Textures/Objects/Tools/handheld_mass_scanner.rsi/scanner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.