forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'kirus/Add-new-thrusters' into engineeri…
…ng-update-thruster
- Loading branch information
Showing
26 changed files
with
656 additions
and
2 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...cale/ru-RU/ss220/prototypes/entities/objects/devices/circuitboards/machine/production.ftl
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,8 @@ | ||
ent-ThrusterShuntingMachineCircuitboard = маневровый ракетный двигатель (машинная плата) | ||
.desc = { ent-BaseMachineCircuitboard.desc } | ||
ent-ThrusterBigLeftMachineCircuitboard = большой ракетный двигатель (левый) (машинная плата) | ||
.desc = { ent-BaseMachineCircuitboard.desc } | ||
ent-ThrusterBigRightMachineCircuitboard = большой ракетный двигатель (правый) (машинная плата) | ||
.desc = { ent-BaseMachineCircuitboard.desc } | ||
ent-ThrusterBigCenterMachineCircuitboard = большой ракетный двигатель (середина) (машинная плата) | ||
.desc = { ent-BaseMachineCircuitboard.desc } |
10 changes: 10 additions & 0 deletions
10
Resources/Locale/ru-RU/ss220/prototypes/entities/structures/shuttles/thrusters.ftl
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,10 @@ | ||
ent-ThrusterShunting = маневровый ракетный двигатель | ||
.desc = { ent-BaseThruster.desc } | ||
ent-ThrusterShuntingFrame = каркас маневрового ракетного двигателя | ||
.desc = { ent-BaseThruster.desc } | ||
ent-ThrusterBigLeft = большой ракетный двигатель (левый) | ||
.desc = { ent-BaseThruster.desc } | ||
ent-ThrusterBigRight = большой ракетный двигатель (правый) | ||
.desc = { ent-BaseThruster.desc } | ||
ent-ThrusterBigCenter = большой ракетный двигатель (середина) | ||
.desc = { ent-BaseThruster.desc } |
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
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
203 changes: 203 additions & 0 deletions
203
Resources/Prototypes/SS220/Entities/Structures/Shuttles/thrusters.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,203 @@ | ||
- type: entity | ||
id: ThrusterShunting | ||
name: shunting thruster | ||
parent: [ BaseThruster, ConstructibleMachine ] | ||
components: | ||
- type: Thruster | ||
thrust: 33 | ||
damage: | ||
types: | ||
Heat: 13 | ||
- type: WallMount | ||
- type: Construction | ||
graph: ThrusterShunting | ||
node: thrusterShunting | ||
- type: Machine | ||
board: ThrusterShuntingMachineCircuitboard | ||
- type: ApcPowerReceiver | ||
powerLoad: 500 | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 150 | ||
behaviors: | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 50 | ||
behaviors: | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- !type:PlaySoundBehavior | ||
sound: | ||
collection: MetalBreak | ||
- !type:ChangeConstructionNodeBehavior | ||
node: machineFrame | ||
- type: Sprite | ||
sprite: SS220/Structures/Shuttles/thruster_shunting.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.ThrusterVisualLayers.Base"] | ||
- state: thrust | ||
map: ["enum.ThrusterVisualLayers.ThrustOn"] | ||
shader: unshaded | ||
visible: false | ||
- state: thrust_burn_unshaded | ||
map: ["enum.ThrusterVisualLayers.ThrustingUnshaded"] | ||
shader: unshaded | ||
visible: false | ||
offset: 0, 1 | ||
|
||
- type: entity | ||
categories: [ HideSpawnMenu ] | ||
id: ThrusterShuntingFrame | ||
name: shunting thruster frame | ||
description: A thruster that allows a shuttle to move. | ||
placement: | ||
mode: SnapgridCenter | ||
components: | ||
- type: Clickable | ||
- type: InteractionOutline | ||
- type: Transform | ||
anchored: true | ||
- type: Sprite | ||
drawdepth: WallMountedItems | ||
sprite: Structures/Power/apc.rsi | ||
state: frame | ||
- type: Construction | ||
graph: ThrusterShunting | ||
node: thrusterShuntingFrame | ||
- type: WallMount | ||
- type: Damageable | ||
damageContainer: StructuralInorganic | ||
damageModifierSet: StructuralMetallic | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 200 | ||
behaviors: #excess damage, don't spawn entities. | ||
- !type:DoActsBehavior | ||
acts: [ "Destruction" ] | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 50 | ||
behaviors: | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
SheetSteel1: | ||
min: 1 | ||
max: 1 | ||
- !type:PlaySoundBehavior | ||
sound: | ||
collection: MetalBreak | ||
- !type:DoActsBehavior | ||
acts: [ "Destruction" ] | ||
|
||
- type: entity | ||
id: ThrusterBigLeft | ||
name: big thruster (left) | ||
parent: [ BaseThruster, ConstructibleMachine ] | ||
components: | ||
- type: Thruster | ||
thrust: 50 | ||
damage: | ||
types: | ||
Heat: 20 | ||
- type: Machine | ||
board: ThrusterBigLeftMachineCircuitboard | ||
- type: ApcPowerReceiver | ||
powerLoad: 750 | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 200 | ||
behaviors: | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 75 | ||
behaviors: | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- !type:PlaySoundBehavior | ||
sound: | ||
collection: MetalBreak | ||
- !type:ChangeConstructionNodeBehavior | ||
node: machineFrame | ||
- type: Sprite | ||
sprite: SS220/Structures/Shuttles/thruster_big_left.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.ThrusterVisualLayers.Base"] | ||
- state: thrust | ||
map: ["enum.ThrusterVisualLayers.ThrustOn"] | ||
shader: unshaded | ||
visible: false | ||
- state: thrust_burn_unshaded | ||
map: ["enum.ThrusterVisualLayers.ThrustingUnshaded"] | ||
shader: unshaded | ||
visible: false | ||
offset: 0, 1 | ||
|
||
- type: entity | ||
id: ThrusterBigRight | ||
name: big thruster (right) | ||
parent: [ ThrusterBigLeft ] | ||
components: | ||
- type: Machine | ||
board: ThrusterBigRightMachineCircuitboard | ||
- type: Sprite | ||
sprite: SS220/Structures/Shuttles/thruster_big_right.rsi | ||
|
||
- type: entity | ||
id: ThrusterBigCenter | ||
name: big thruster (center) | ||
parent: [ BaseThruster, ConstructibleMachine ] | ||
components: | ||
- type: Thruster | ||
thrust: 200 | ||
damage: | ||
types: | ||
Heat: 80 | ||
- type: Machine | ||
board: ThrusterBigCenterMachineCircuitboard | ||
- type: ApcPowerReceiver | ||
powerLoad: 3000 | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 450 | ||
behaviors: | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 150 | ||
behaviors: | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- !type:PlaySoundBehavior | ||
sound: | ||
collection: MetalBreak | ||
- !type:ChangeConstructionNodeBehavior | ||
node: machineFrame | ||
- type: Sprite | ||
sprite: SS220/Structures/Shuttles/thruster_big_center.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.ThrusterVisualLayers.Base"] | ||
- state: thrust | ||
map: ["enum.ThrusterVisualLayers.ThrustOn"] | ||
shader: unshaded | ||
visible: false | ||
- state: thrust_burn_unshaded | ||
map: ["enum.ThrusterVisualLayers.ThrustingUnshaded"] | ||
shader: unshaded | ||
visible: false | ||
offset: 0, 1 |
40 changes: 40 additions & 0 deletions
40
Resources/Prototypes/SS220/Recipes/Construction/Graphs/utilities/thruster_shunting.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,40 @@ | ||
- type: constructionGraph | ||
id: ThrusterShunting | ||
start: start | ||
graph: | ||
- node: start | ||
edges: | ||
- to: thrusterShuntingFrame | ||
steps: | ||
- material: Steel | ||
amount: 2 | ||
|
||
- node: thrusterShuntingFrame | ||
entity: ThrusterShuntingFrame | ||
edges: | ||
- to: thrusterShunting | ||
steps: | ||
- tag: ThrusterShuntingMachineCircuitboard | ||
name: shunting thruster machine board | ||
doAfter: 2 | ||
- to: start | ||
completed: | ||
- !type:GivePrototype | ||
prototype: SheetSteel1 | ||
amount: 2 | ||
- !type:DeleteEntity {} | ||
steps: | ||
- tool: Screwing | ||
doAfter: 2 | ||
|
||
- node: thrusterShunting | ||
entity: ThrusterShunting | ||
edges: | ||
- to: thrusterShuntingFrame | ||
completed: | ||
- !type:GivePrototype | ||
prototype: ThrusterShuntingMachineCircuitboard | ||
amount: 1 | ||
steps: | ||
- tool: Prying | ||
doAfter: 4 |
14 changes: 14 additions & 0 deletions
14
Resources/Prototypes/SS220/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,14 @@ | ||
- type: construction | ||
name: thruster shunting | ||
id: ThrusterShunting | ||
graph: ThrusterShunting | ||
startNode: start | ||
targetNode: thrusterShunting | ||
category: construction-category-utilities | ||
description: "A thruster that allows a shuttle to move." | ||
icon: | ||
sprite: Structures/Power/apc.rsi | ||
state: base | ||
objectType: Structure | ||
placementMode: SnapgridCenter | ||
canBuildInImpassable: true |
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
Oops, something went wrong.