Add basic handheld GPS (#6896)
Co-authored-by: fishfish458 <fishfish458>
This commit is contained in:
1
Resources/Locale/en-US/GPS/handheld-gps.ftl
Normal file
1
Resources/Locale/en-US/GPS/handheld-gps.ftl
Normal file
@@ -0,0 +1 @@
|
||||
handheld-gps-coordinates-title = Coords: {$coordinates}
|
||||
16
Resources/Prototypes/Entities/Objects/Tools/gps.yml
Normal file
16
Resources/Prototypes/Entities/Objects/Tools/gps.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- type: entity
|
||||
name: global positioning system
|
||||
parent: BaseItem
|
||||
id: HandheldGPSBasic
|
||||
description: Helping lost spacemen find their way through the planets since 2016.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Devices/gps.rsi
|
||||
netsync: false
|
||||
layers:
|
||||
- state: icon
|
||||
- state: active
|
||||
- type: Item
|
||||
sprite: Objects/Devices/gps.rsi
|
||||
state: icon
|
||||
- type: HandheldGPS
|
||||
@@ -64,6 +64,7 @@
|
||||
- Shovel
|
||||
- Spade
|
||||
- CableStack
|
||||
- HandheldGPSBasic
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: AutolatheVisualizer
|
||||
|
||||
@@ -134,3 +134,12 @@
|
||||
materials:
|
||||
Steel: 500
|
||||
Plastic: 250
|
||||
|
||||
- type: latheRecipe
|
||||
id: HandheldGPSBasic
|
||||
icon: Objects/Devices/gps.rsi/icon.png
|
||||
result: HandheldGPSBasic
|
||||
completetime: 2000
|
||||
materials:
|
||||
Steel: 800
|
||||
Glass: 300
|
||||
|
||||
BIN
Resources/Textures/Objects/Devices/gps.rsi/active.png
Normal file
BIN
Resources/Textures/Objects/Devices/gps.rsi/active.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 385 B |
BIN
Resources/Textures/Objects/Devices/gps.rsi/icon.png
Normal file
BIN
Resources/Textures/Objects/Devices/gps.rsi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 351 B |
33
Resources/Textures/Objects/Devices/gps.rsi/meta.json
Normal file
33
Resources/Textures/Objects/Devices/gps.rsi/meta.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "tgstation at 3ddd840268e33bbcf316f242e6a972b84e6b773c",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "active",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user