Station Map console Fixes and Resprite (#16697)
@@ -1,5 +1,13 @@
|
||||
- type: entity
|
||||
parent: BaseElectronics
|
||||
id: StationMapCircuitboard
|
||||
name: station map circuit board
|
||||
description: A printed circuit board for a station map.
|
||||
name: station map electronics
|
||||
description: An electronics board used in station maps.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/module.rsi
|
||||
state: airalarm_electronics
|
||||
- type: Tag
|
||||
tags:
|
||||
- DroneUsable
|
||||
- StationMapElectronics
|
||||
|
||||
@@ -103,6 +103,7 @@
|
||||
- FirelockElectronics
|
||||
- DoorElectronics
|
||||
- AirAlarmElectronics
|
||||
- StationMapElectronics
|
||||
- FireAlarmElectronics
|
||||
- MailingUnitElectronics
|
||||
- APCElectronics
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
components:
|
||||
- type: InteractionOutline
|
||||
- type: Clickable
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Machines/station_map.rsi
|
||||
@@ -31,7 +33,8 @@
|
||||
- type: entity
|
||||
id: StationMap
|
||||
name: station map
|
||||
parent: StationMapBroken
|
||||
parent: BaseComputer
|
||||
description: A virtual map of the surrounding station.
|
||||
suffix: Wall
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
@@ -40,17 +43,24 @@
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/station_map.rsi
|
||||
layers:
|
||||
- state: station_map0
|
||||
- state: unshaded
|
||||
map: [ "enum.PowerDeviceVisualLayers.Powered" ]
|
||||
shader: unshaded
|
||||
- map: ["computerLayerBody"]
|
||||
state: station_map0
|
||||
- map: ["computerLayerScreen"]
|
||||
state: unshaded
|
||||
- type: Icon
|
||||
sprite: Structures/Machines/station_map.rsi
|
||||
state: station_map0
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 200
|
||||
priority: Low
|
||||
- type: WallMount
|
||||
arc: 360
|
||||
- type: ExtensionCableReceiver
|
||||
- type: Construction
|
||||
graph: StationMap
|
||||
node: station_map
|
||||
- type: ActivatableUIRequiresPower
|
||||
- type: ActivatableUI
|
||||
key: enum.StationMapUiKey.Key
|
||||
@@ -74,3 +84,34 @@
|
||||
interfaces:
|
||||
- key: enum.StationMapUiKey.Key
|
||||
type: StationMapBoundUserInterface
|
||||
|
||||
- type: entity
|
||||
id: StationMapAssembly
|
||||
name: station map assembly
|
||||
description: A station map assembly.
|
||||
components:
|
||||
- type: WallMount
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/station_map.rsi
|
||||
layers:
|
||||
- state: station_map_frame1
|
||||
map: [ "enum.ConstructionVisuals.Layer" ]
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.ConstructionVisuals.Key:
|
||||
enum.ConstructionVisuals.Layer:
|
||||
assembly: { state: station_map_frame0 }
|
||||
wired: { state: station_map_frame1 }
|
||||
electronics: { state: station_map_frame2 }
|
||||
- type: Construction
|
||||
graph: StationMap
|
||||
node: assembly
|
||||
- type: Transform
|
||||
anchored: true
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wallmount
|
||||
@@ -0,0 +1,78 @@
|
||||
- type: constructionGraph
|
||||
id: StationMap
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: assembly
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 2
|
||||
doAfter: 2.0
|
||||
|
||||
- node: assembly
|
||||
entity: StationMapAssembly
|
||||
actions:
|
||||
- !type:AppearanceChange
|
||||
edges:
|
||||
- to: wired
|
||||
steps:
|
||||
- material: Cable
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- to: start
|
||||
completed:
|
||||
- !type:GivePrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 2
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
- tool: Welding
|
||||
doAfter: 2
|
||||
|
||||
- node: wired
|
||||
entity: StationMapAssembly
|
||||
actions:
|
||||
- !type:AppearanceChange
|
||||
edges:
|
||||
- to: electronics
|
||||
steps:
|
||||
- tag: StationMapElectronics
|
||||
store: board
|
||||
name: "station map electronics"
|
||||
icon:
|
||||
sprite: "Objects/Misc/module.rsi"
|
||||
state: "door_electronics" # /tg/ uses the same sprite, right?
|
||||
doAfter: 1
|
||||
- to: assembly
|
||||
completed:
|
||||
- !type:GivePrototype
|
||||
prototype: CableApcStack1
|
||||
amount: 2
|
||||
steps:
|
||||
- tool: Cutting
|
||||
doAfter: 1
|
||||
|
||||
- node: electronics
|
||||
actions:
|
||||
- !type:AppearanceChange
|
||||
edges:
|
||||
- to: station_map
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 2
|
||||
|
||||
- node: station_map
|
||||
entity: StationMap
|
||||
edges:
|
||||
- to: wired
|
||||
conditions:
|
||||
- !type:AllWiresCut {}
|
||||
- !type:WirePanel {}
|
||||
- !type:ContainerNotEmpty
|
||||
container: board
|
||||
completed:
|
||||
- !type:EmptyAllContainers {}
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 1
|
||||
@@ -28,6 +28,24 @@
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: true
|
||||
|
||||
- type: construction
|
||||
name: station map
|
||||
id: StationMap
|
||||
graph: StationMap
|
||||
startNode: start
|
||||
targetNode: station_map
|
||||
category: construction-category-structures
|
||||
description: A station map.
|
||||
icon:
|
||||
sprite: Structures/Machines/station_map.rsi
|
||||
state: station_map0
|
||||
placementMode: SnapgridCenter
|
||||
objectType: Structure
|
||||
canRotate: true
|
||||
canBuildInImpassable: true
|
||||
conditions:
|
||||
- !type:WallmountCondition {}
|
||||
|
||||
# POWER
|
||||
- type: construction
|
||||
name: APC
|
||||
|
||||
@@ -30,6 +30,14 @@
|
||||
Steel: 100
|
||||
Plastic: 300
|
||||
|
||||
- type: latheRecipe
|
||||
id: StationMapElectronics
|
||||
result: StationMapCircuitboard
|
||||
completetime: 2
|
||||
materials:
|
||||
Steel: 50
|
||||
Plastic: 50
|
||||
|
||||
- type: latheRecipe
|
||||
id: IntercomElectronics
|
||||
result: IntercomElectronics
|
||||
|
||||
@@ -664,6 +664,9 @@
|
||||
- type: Tag
|
||||
id: StringInstrument
|
||||
|
||||
- type: Tag
|
||||
id: StationMapElectronics
|
||||
|
||||
- type: Tag
|
||||
id: SubdermalImplant
|
||||
|
||||
|
||||
@@ -1 +1,35 @@
|
||||
{"version":1,"license":"CC-BY-SA-3.0","copyright":"https://github.com/vgstation-coders/vgstation13/tree/c5d2df28ee81ca4c7d57f4a2a3dd548a7995c084","size":{"x":32,"y":32},"states":[{"name":"station_map_frame0"},{"name":"station_map_frame1"},{"name":"station_map_frame2"},{"name":"station_map_frame3"},{"name":"unshaded"},{"name":"station_map_broken"},{"name":"station_map0"},{"name":"station_map-panel"}]}
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC0-1.0",
|
||||
"copyright": "Made by brainfood1183 (github) for ss14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "station_map0"
|
||||
},
|
||||
{
|
||||
"name": "station_map_broken"
|
||||
},
|
||||
{
|
||||
"name": "station_map_frame2"
|
||||
},
|
||||
{
|
||||
"name": "station_map_frame1"
|
||||
},
|
||||
{
|
||||
"name": "station_map_frame0"
|
||||
},
|
||||
{
|
||||
"name": "unshaded",
|
||||
"delays": [
|
||||
[
|
||||
2.0,
|
||||
2.0
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 389 B |
|
Before Width: | Height: | Size: 484 B After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 687 B After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 639 B After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 513 B |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 16 KiB |