-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mass scanner and radar telescreens
- Loading branch information
1 parent
7a833ed
commit 67ab9f4
Showing
8 changed files
with
313 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
91 changes: 91 additions & 0 deletions
91
Resources/Prototypes/_NF/Entities/Structures/Wallmounts/monitors_televisions.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,91 @@ | ||
# Mass scanner telescreen frame for construction graph | ||
- type: entity | ||
parent: WallmountTelescreenFrame | ||
id: ComputerRadarTelescreenFrame | ||
name: mass scanner telescreen frame | ||
description: A computer for detecting nearby bodies, displaying them by position and mass. | ||
components: | ||
- type: Construction | ||
graph: ComputerRadarTelescreen | ||
node: TelescreenFrame | ||
|
||
# Mass scanner telescreen | ||
- type: entity | ||
parent: ComputerRadarTelescreenFrame | ||
id: ComputerRadarTelescreen | ||
name: mass scanner telescreen | ||
description: A computer for detecting nearby bodies, displaying them by position and mass. | ||
components: | ||
- type: Construction | ||
graph: ComputerRadarTelescreen | ||
node: Telescreen | ||
- type: Sprite | ||
layers: | ||
- map: ["computerLayerBody"] | ||
state: telescreen_frame | ||
- map: ["computerLayerScreen"] | ||
sprite: _NF/Structures/Machines/computers.rsi | ||
state: telescreen_mass | ||
- type: RadarConsole | ||
maxRange: 256 | ||
maxIffRange: 512 | ||
- type: ActivatableUI | ||
key: enum.RadarConsoleUiKey.Key | ||
- type: UserInterface | ||
interfaces: | ||
enum.RadarConsoleUiKey.Key: | ||
type: RadarConsoleBoundUserInterface | ||
enum.WiresUiKey.Key: | ||
type: WiresBoundUserInterface | ||
- type: Computer | ||
board: RadarConsoleCircuitboard | ||
- type: PointLight | ||
radius: 1.5 | ||
energy: 1.6 | ||
color: "#e6e227" | ||
|
||
# Radar telescreen frame for construction graph | ||
- type: entity | ||
parent: WallmountTelescreenFrame | ||
id: ComputerAdvancedRadarTelescreenFrame | ||
name: radar telescreen frame | ||
description: This advanced radar lets you detect far away objects for an increased tactical advantage. | ||
components: | ||
- type: Construction | ||
graph: ComputerAdvancedRadarTelescreen | ||
node: TelescreenFrame | ||
|
||
# Radar telescreen | ||
- type: entity | ||
parent: ComputerAdvancedRadarTelescreenFrame | ||
id: ComputerAdvancedRadarTelescreen | ||
name: radar telescreen | ||
description: This advanced radar lets you detect far away objects for an increased tactical advantage. | ||
components: | ||
- type: Construction | ||
graph: ComputerAdvancedRadarTelescreen | ||
node: Telescreen | ||
- type: Sprite | ||
layers: | ||
- map: ["computerLayerBody"] | ||
state: telescreen_frame | ||
- map: ["computerLayerScreen"] | ||
sprite: _NF/Structures/Machines/computers.rsi | ||
state: telescreen_radar | ||
- type: RadarConsole | ||
maxRange: 768 | ||
maxIffRange: null | ||
- type: ActivatableUI | ||
key: enum.RadarConsoleUiKey.Key | ||
- type: UserInterface | ||
interfaces: | ||
enum.RadarConsoleUiKey.Key: | ||
type: RadarConsoleBoundUserInterface | ||
enum.WiresUiKey.Key: | ||
type: WiresBoundUserInterface | ||
- type: Computer | ||
board: AdvancedRadarConsoleCircuitboard | ||
- type: PointLight | ||
radius: 1.5 | ||
energy: 1.6 | ||
color: "#e6e227" |
167 changes: 167 additions & 0 deletions
167
Resources/Prototypes/_NF/Recipes/Construction/Graphs/utilities/wallmount_telescreens.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,167 @@ | ||
# Mass Scanner Telescreen | ||
- type: constructionGraph | ||
id: ComputerRadarTelescreen | ||
start: start | ||
graph: | ||
- node: start | ||
edges: | ||
- to: TelescreenFrame | ||
steps: | ||
- material: Steel | ||
amount: 2 | ||
doAfter: 2 | ||
|
||
- node: TelescreenFrame | ||
entity: ComputerRadarTelescreenFrame | ||
edges: | ||
- to: Wired | ||
steps: | ||
- material: Cable | ||
amount: 5 | ||
doAfter: 3 | ||
|
||
- to: start | ||
completed: | ||
- !type:GivePrototype | ||
prototype: SheetSteel1 | ||
amount: 2 | ||
- !type:DeleteEntity {} | ||
steps: | ||
- tool: Welding | ||
doAfter: 2 | ||
|
||
- node: Wired | ||
edges: | ||
- to: Screen | ||
steps: | ||
- tool: Screwing | ||
doAfter: 2 | ||
- tag: RadarConsoleCircuitboard | ||
name: radar console computer board | ||
icon: | ||
sprite: Objects/Misc/module.rsi | ||
state: cpuboard | ||
|
||
- to: TelescreenFrame | ||
completed: | ||
- !type:GivePrototype | ||
prototype: CableApcStack1 | ||
amount: 5 | ||
- !type:GivePrototype | ||
prototype: RadarConsoleCircuitboard | ||
amount: 1 | ||
steps: | ||
- tool: Cutting | ||
doAfter: 2 | ||
|
||
- node: Screen | ||
entity: ComputerRadarTelescreenFrame | ||
edges: | ||
- to: Telescreen | ||
steps: | ||
- tool: Screwing | ||
doAfter: 2 | ||
- material: Glass | ||
amount: 2 | ||
doAfter: 2 | ||
|
||
- to: Wired | ||
completed: | ||
- !type:GivePrototype | ||
prototype: SheetGlass1 | ||
amount: 2 | ||
steps: | ||
- tool: Prying | ||
doAfter: 2 | ||
|
||
- node: Telescreen | ||
entity: ComputerRadarTelescreen | ||
edges: | ||
- to: Screen | ||
steps: | ||
- tool: Screwing | ||
doAfter: 3 | ||
|
||
# Advanced Radar Telescreen | ||
- type: constructionGraph | ||
id: ComputerAdvancedRadarTelescreen | ||
start: start | ||
graph: | ||
- node: start | ||
edges: | ||
- to: TelescreenFrame | ||
steps: | ||
- material: Steel | ||
amount: 2 | ||
doAfter: 2 | ||
|
||
- node: TelescreenFrame | ||
entity: ComputerAdvancedRadarTelescreenFrame | ||
edges: | ||
- to: Wired | ||
steps: | ||
- material: Cable | ||
amount: 5 | ||
doAfter: 3 | ||
|
||
- to: start | ||
completed: | ||
- !type:GivePrototype | ||
prototype: SheetSteel1 | ||
amount: 2 | ||
- !type:DeleteEntity {} | ||
steps: | ||
- tool: Welding | ||
doAfter: 2 | ||
|
||
- node: Wired | ||
edges: | ||
- to: Screen | ||
steps: | ||
- tool: Screwing | ||
doAfter: 2 | ||
- tag: AdvancedRadarConsoleCircuitboard | ||
name: advanced radar console computer board | ||
icon: | ||
sprite: Objects/Misc/module.rsi | ||
state: cpuboard | ||
|
||
- to: TelescreenFrame | ||
completed: | ||
- !type:GivePrototype | ||
prototype: CableApcStack1 | ||
amount: 5 | ||
- !type:GivePrototype | ||
prototype: AdvancedRadarConsoleCircuitboard | ||
amount: 1 | ||
steps: | ||
- tool: Cutting | ||
doAfter: 2 | ||
|
||
- node: Screen | ||
entity: ComputerAdvancedRadarTelescreenFrame | ||
edges: | ||
- to: Telescreen | ||
steps: | ||
- tool: Screwing | ||
doAfter: 2 | ||
- material: Glass | ||
amount: 2 | ||
doAfter: 2 | ||
|
||
- to: Wired | ||
completed: | ||
- !type:GivePrototype | ||
prototype: SheetGlass1 | ||
amount: 2 | ||
steps: | ||
- tool: Prying | ||
doAfter: 2 | ||
|
||
- node: Telescreen | ||
entity: ComputerAdvancedRadarTelescreen | ||
edges: | ||
- to: Screen | ||
steps: | ||
- tool: Screwing | ||
doAfter: 3 |
35 changes: 35 additions & 0 deletions
35
Resources/Prototypes/_NF/Recipes/Construction/utilities.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,35 @@ | ||
# Wallmount mass scanner telescreen | ||
- type: construction | ||
name: mass scanner telescreen | ||
id: ComputerRadarTelescreen | ||
graph: ComputerRadarTelescreen | ||
startNode: start | ||
targetNode: Telescreen | ||
category: construction-category-utilities | ||
description: "A computer for detecting nearby bodies, displaying them by position and mass." | ||
icon: | ||
sprite: Structures/Machines/computers.rsi | ||
state: telescreen_frame | ||
objectType: Structure | ||
placementMode: SnapgridCenter | ||
canBuildInImpassable: true | ||
conditions: | ||
- !type:WallmountCondition {} | ||
|
||
# Wallmount advanced radar telescreen | ||
- type: construction | ||
name: radar telescreen | ||
id: ComputerAdvancedRadarTelescreen | ||
graph: ComputerAdvancedRadarTelescreen | ||
startNode: start | ||
targetNode: Telescreen | ||
category: construction-category-utilities | ||
description: "This advanced radar lets you detect far away objects for an increased tactical advantage." | ||
icon: | ||
sprite: Structures/Machines/computers.rsi | ||
state: telescreen_frame | ||
objectType: Structure | ||
placementMode: SnapgridCenter | ||
canBuildInImpassable: true | ||
conditions: | ||
- !type:WallmountCondition {} |
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
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
Binary file added
BIN
+1011 Bytes
Resources/Textures/_NF/Structures/Machines/computers.rsi/telescreen_mass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+942 Bytes
Resources/Textures/_NF/Structures/Machines/computers.rsi/telescreen_radar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.