Skip to content

Commit

Permalink
Сломанные борги
Browse files Browse the repository at this point in the history
  • Loading branch information
Kit0vras committed Mar 24, 2024
1 parent da7ef0e commit a6b04b8
Show file tree
Hide file tree
Showing 20 changed files with 401 additions and 0 deletions.
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
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 {}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a6b04b8

Please sign in to comment.