forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
401 additions
and
0 deletions.
There are no files selected for viewing
121 changes: 121 additions & 0 deletions
121
Resources/Prototypes/SS220/Entities/Structures/Specific/broken_borgs.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,121 @@ | ||
- type: entity | ||
parent: BaseStructure | ||
id: BaseBrokenBorg | ||
name: разрушенный киборг | ||
description: Сломанный гибрид машины и человека. | ||
abstract: true | ||
suffix: Хлам | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Structures/Specific/BrokenBorgs/robot.rsi | ||
state: robot | ||
- type: Transform | ||
anchored: true | ||
noRot: true | ||
- type: Physics | ||
bodyType: Static | ||
- type: Anchorable | ||
- type: Pullable | ||
- type: InteractionOutline | ||
- type: Fixtures | ||
fixtures: | ||
fix1: | ||
shape: | ||
!type:PhysShapeCircle | ||
radius: 0.35 | ||
density: 60 | ||
mask: | ||
- MachineMask | ||
layer: | ||
- MidImpassable | ||
- LowImpassable | ||
- type: Damageable | ||
damageContainer: Inorganic | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 50 | ||
behaviors: | ||
- !type:PlaySoundBehavior | ||
sound: | ||
collection: MetalBreak | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
SheetSteel1: | ||
min: 2 | ||
max: 4 | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
|
||
- type: entity | ||
parent: BaseBrokenBorg | ||
id: BrokenBorgRobot | ||
name: разрушенный киборг | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Structures/Specific/BrokenBorgs/robot.rsi | ||
state: robot | ||
- type: Construction | ||
graph: BrokenBorg | ||
node: robot | ||
|
||
- type: entity | ||
parent: BaseBrokenBorg | ||
id: BrokenBorgEngineer | ||
name: разрушенный киборг-инженер | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Structures/Specific/BrokenBorgs/engineer.rsi | ||
state: engineer | ||
- type: Construction | ||
graph: BrokenBorg | ||
node: engineer | ||
|
||
- type: entity | ||
parent: BaseBrokenBorg | ||
id: BrokenBorgJanitor | ||
name: разрушенный киборг-уборщик | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Structures/Specific/BrokenBorgs/janitor.rsi | ||
state: janitor | ||
- type: Construction | ||
graph: BrokenBorg | ||
node: janitor | ||
|
||
- type: entity | ||
parent: BaseBrokenBorg | ||
id: BrokenBorgMedical | ||
name: разрушенный киборг-доктор | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Structures/Specific/BrokenBorgs/medical.rsi | ||
state: medical | ||
- type: Construction | ||
graph: BrokenBorg | ||
node: medical | ||
|
||
- type: entity | ||
parent: BaseBrokenBorg | ||
id: BrokenBorgMiner | ||
name: разрушенный киборг-шахтёр | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Structures/Specific/BrokenBorgs/miner.rsi | ||
state: miner | ||
- type: Construction | ||
graph: BrokenBorg | ||
node: miner | ||
|
||
- type: entity | ||
parent: BaseBrokenBorg | ||
id: BrokenBorgService | ||
name: разрушенный киборг-официант | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Structures/Specific/BrokenBorgs/service.rsi | ||
state: service | ||
- type: Construction | ||
graph: BrokenBorg | ||
node: service |
178 changes: 178 additions & 0 deletions
178
Resources/Prototypes/SS220/Recipes/Construction/Graphs/structures/brokenborgs.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,178 @@ | ||
- type: constructionGraph | ||
id: BrokenBorg | ||
start: start | ||
graph: | ||
- node: start | ||
actions: | ||
- !type:SpawnPrototype | ||
prototype: SheetSteel1 | ||
amount: 4 | ||
- !type:DeleteEntity | ||
|
||
- node: robot | ||
edges: | ||
- to: start | ||
steps: | ||
- tool: Screwing | ||
doAfter: 1 | ||
- tool: Cutting | ||
doAfter: 3 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: CableApcStack1 | ||
amount: 4 | ||
- tool: Anchoring | ||
doAfter: 1 | ||
- tool: Welding | ||
doAfter: 5 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: SheetSteel1 | ||
amount: 4 | ||
- tool: Prying | ||
doAfter: 2 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: LightHeadBorg | ||
amount: 1 | ||
- !type:DeleteEntity {} | ||
|
||
- node: engineer | ||
edges: | ||
- to: start | ||
steps: | ||
- tool: Screwing | ||
doAfter: 1 | ||
- tool: Cutting | ||
doAfter: 3 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: CableApcStack1 | ||
amount: 4 | ||
- tool: Anchoring | ||
doAfter: 1 | ||
- tool: Welding | ||
doAfter: 5 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: SheetSteel1 | ||
amount: 4 | ||
- tool: Prying | ||
doAfter: 2 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: TorsoBorgEngineer | ||
amount: 1 | ||
- !type:DeleteEntity {} | ||
|
||
- node: janitor | ||
edges: | ||
- to: start | ||
steps: | ||
- tool: Screwing | ||
doAfter: 1 | ||
- tool: Cutting | ||
doAfter: 3 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: CableApcStack1 | ||
amount: 4 | ||
- tool: Anchoring | ||
doAfter: 1 | ||
- tool: Welding | ||
doAfter: 5 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: SheetSteel1 | ||
amount: 4 | ||
- tool: Prying | ||
doAfter: 2 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: HeadBorgJanitor | ||
amount: 1 | ||
- !type:DeleteEntity {} | ||
|
||
- node: medical | ||
edges: | ||
- to: start | ||
steps: | ||
- tool: Screwing | ||
doAfter: 1 | ||
- tool: Cutting | ||
doAfter: 3 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: CableApcStack1 | ||
amount: 4 | ||
- tool: Anchoring | ||
doAfter: 1 | ||
- tool: Welding | ||
doAfter: 5 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: SheetSteel1 | ||
amount: 4 | ||
- tool: Prying | ||
doAfter: 2 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: HeadBorgMedical | ||
amount: 1 | ||
- !type:DeleteEntity {} | ||
|
||
- node: miner | ||
edges: | ||
- to: start | ||
steps: | ||
- tool: Screwing | ||
doAfter: 1 | ||
- tool: Cutting | ||
doAfter: 3 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: CableApcStack1 | ||
amount: 4 | ||
- tool: Anchoring | ||
doAfter: 1 | ||
- tool: Welding | ||
doAfter: 5 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: SheetSteel1 | ||
amount: 4 | ||
- tool: Prying | ||
doAfter: 2 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: TorsoBorgMining | ||
amount: 1 | ||
- !type:DeleteEntity {} | ||
|
||
- node: service | ||
edges: | ||
- to: start | ||
steps: | ||
- tool: Screwing | ||
doAfter: 1 | ||
- tool: Cutting | ||
doAfter: 3 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: CableApcStack1 | ||
amount: 4 | ||
- tool: Anchoring | ||
doAfter: 1 | ||
- tool: Welding | ||
doAfter: 5 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: SheetSteel1 | ||
amount: 4 | ||
- tool: Prying | ||
doAfter: 2 | ||
completed: | ||
- !type:SpawnPrototype | ||
prototype: HeadBorgService | ||
amount: 1 | ||
- !type:DeleteEntity {} |
Binary file added
BIN
+910 Bytes
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/engineer.rsi/engineer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/engineer.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,17 @@ | ||
{ | ||
"version": 1, | ||
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", | ||
"copyright": "Made by gabova (Discord) for SS220", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "engineer" | ||
}, | ||
{ | ||
"name": "no_cable" | ||
} | ||
] | ||
} |
Binary file added
BIN
+849 Bytes
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/engineer.rsi/no_cable.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
+1.06 KB
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/janitor.rsi/janitor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/janitor.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,17 @@ | ||
{ | ||
"version": 1, | ||
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", | ||
"copyright": "Made by gabova (Discord) for SS220", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "janitor" | ||
}, | ||
{ | ||
"name": "no_cable" | ||
} | ||
] | ||
} |
Binary file added
BIN
+1.03 KB
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/janitor.rsi/no_cable.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
+1.06 KB
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/medical.rsi/medical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/medical.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,17 @@ | ||
{ | ||
"version": 1, | ||
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", | ||
"copyright": "Made by gabova (Discord) for SS220", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "medical" | ||
}, | ||
{ | ||
"name": "no_cable" | ||
} | ||
] | ||
} |
Binary file added
BIN
+939 Bytes
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/medical.rsi/no_cable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/miner.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,17 @@ | ||
{ | ||
"version": 1, | ||
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", | ||
"copyright": "Made by gabova (Discord) for SS220", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "miner" | ||
}, | ||
{ | ||
"name": "no_cable" | ||
} | ||
] | ||
} |
Binary file added
BIN
+1.04 KB
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/miner.rsi/miner.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
+1 KB
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/miner.rsi/no_cable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/robot.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,17 @@ | ||
{ | ||
"version": 1, | ||
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", | ||
"copyright": "Made by gabova (Discord) for SS220", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "robot" | ||
}, | ||
{ | ||
"name": "no_cable" | ||
} | ||
] | ||
} |
Binary file added
BIN
+927 Bytes
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/robot.rsi/no_cable.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
+977 Bytes
Resources/Textures/SS220/Structures/Specific/BrokenBorgs/robot.rsi/robot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.