Двигатели — Part 3 (#129)

* hotfix-parallax

* Двигатели — Part 3

основы

* locale

* recipe-fix

* whitespaces
This commit is contained in:
mofkkol1
2025-07-02 22:42:53 +05:00
committed by GitHub
parent 9d97e5bb64
commit 211c1c3446
10 changed files with 97 additions and 8 deletions

View File

@@ -0,0 +1,2 @@
ent-ThrusterSmallMachineCircuitboard = маленький ракетный двигатель (машинная плата)
.desc = Машинная плата маленького ракетного двигателя.

View File

@@ -1,6 +1,6 @@
ent-ThrusterMediumFlatpack = упакованный большой ракетный двигатель
ent-ThrusterMediumFlatpack = упаковка большого ракетного двигателя
.desc = Упаковка, при помощи которой можно создать большой ракетный двигатель.
ent-ThrusterLargeFlatpack = упакованный огромный ракетный двигатель
ent-ThrusterLargeFlatpack = упаковка огромного ракетного двигателя
.desc = Упаковка, при помощи которой можно создать огромный ракетный двигатель.
ent-ThrusterSmallFlatpack = упакованный маленький ракетный двигатель
ent-ThrusterSmallFlatpack = упаковка маленького ракетного двигателя
.desc = Упаковка, при помощи которой можно создать маленький ракетный двигатель.

View File

@@ -3,15 +3,25 @@ ent-ThrusterMedium = большой ракетный двигатель
ent-ThrusterMediumUnanchored = { ent-ThrusterMedium }
.suffix = Незакреплённый
.desc = { ent-ThrusterMedium.desc }
ent-ThrusterMediumDEBUG = { ent-ThrusterMedium }
.suffix = ДЕБАГ
.desc = { ent-ThrusterMedium.desc }
ent-ThrusterLarge = огромный ракетный двигатель
.desc = Огромный ускоритель, позволяющий шаттлу передвигаться.
ent-ThrusterLargeUnanchored = { ent-ThrusterLarge }
.suffix = Незакреплённый
.desc = { ent-ThrusterLarge.desc }
ent-ThrusterLargeDEBUG = { ent-ThrusterLarge }
.suffix = ДЕБАГ
.desc = { ent-ThrusterLarge.desc }
ent-ThrusterSmall = маленький ракетный двигатель
.desc = Маленький ускоритель, позволяющий шаттлу передвигаться.
ent-ThrusterSmallUnanchored = { ent-ThrusterSmall }
.suffix = Незакреплённый
.desc = { ent-ThrusterSmall.desc }
ent-ThrusterSmallDEBUG = { ent-ThrusterSmall }
.suffix = ДЕБАГ
.desc = { ent-ThrusterSmall.desc }

View File

@@ -91,10 +91,29 @@
damage:
types:
Heat: 25
- type: Machine
board: ThrusterSmallMachineCircuitboard
- type: ApcPowerReceiver
powerLoad: 750
- type: Machine
board: ThrusterMachineCircuitboard
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 300
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- type: Sprite
sprite: Imperial/Structures/Thrusters/small.rsi
layers:
@@ -110,6 +129,8 @@
visible: false
offset: 0, 1
# Unanchored
- type: entity
id: ThrusterMediumUnanchored
parent: ThrusterMedium
@@ -133,3 +154,38 @@
components:
- type: Transform
anchored: false
# Debug
- type: entity
id: ThrusterMediumDEBUG
parent: ThrusterMedium
suffix: DEBUG
components:
- type: Thruster
requireSpace: false
- type: ApcPowerReceiver
needsPower: false
powerLoad: 0
- type: entity
id: ThrusterLargeDEBUG
parent: ThrusterLarge
suffix: DEBUG
components:
- type: Thruster
requireSpace: false
- type: ApcPowerReceiver
needsPower: false
powerLoad: 0
- type: entity
id: ThrusterSmallDEBUG
parent: ThrusterSmall
suffix: DEBUG
components:
- type: Thruster
requireSpace: false
- type: ApcPowerReceiver
needsPower: false
powerLoad: 0

View File

@@ -129,3 +129,4 @@
- ThrusterMachineCircuitboard
- GyroscopeMachineCircuitboard
- MiniGravityGeneratorCircuitboard
- ThrusterSmallMachineCircuitboard #WL-Changes

View File

@@ -134,6 +134,7 @@
- ThrusterMachineCircuitboard
- GyroscopeMachineCircuitboard
- MiniGravityGeneratorCircuitboard
- ThrusterSmallMachineCircuitboard # WL-Changes
- type: technology
id: AdvancedAtmospherics

View File

@@ -24,6 +24,6 @@
sprite: Imperial/Structures/Thrusters/small.rsi
state: base
product: CrateEngineeringSmallThruster
cost: 750
cost: 500
category: cargoproduct-category-name-shuttle
group: market
group: market

View File

@@ -0,0 +1,13 @@
- type: entity
id: ThrusterSmallMachineCircuitboard
parent: BaseMachineCircuitboard
name: small thruster machine board
components:
- type: Sprite
state: supply
- type: MachineBoard
prototype: ThrusterSmall
stackRequirements:
Capacitor: 2
Steel: 5
MetalRod: 2

View File

@@ -0,0 +1,6 @@
# Recipes
- type: latheRecipe
parent: BaseCircuitboardRecipe
id: ThrusterSmallMachineCircuitboard
result: ThrusterSmallMachineCircuitboard

View File

@@ -4,7 +4,7 @@
"x": 32,
"y": 32
},
"copyright": "Taken from https://github.com/Baystation12/Baystation12/tree/7274e5654c3cf82d4104dbf818ef00fdc0082aa8",
"copyright": "Taken from https://github.com/Baystation12/Baystation12/tree/7274e5654c3cf82d4104dbf818ef00fdc0082aa8, respited by mofkkol(discord)",
"license": "CC-BY-SA-3.0",
"states": [
{