Repairable shuttles (#24193)

* fixable shuttle

* nukie not repairable

* fix
This commit is contained in:
Ed
2024-01-18 02:57:40 +03:00
committed by GitHub
parent ad233066f2
commit 2c0e1fcfb9

View File

@@ -39,6 +39,9 @@
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- type: StaticPrice
price: 300
placement:
@@ -49,9 +52,27 @@
name: thruster
parent: [ BaseThruster, ConstructibleMachine ]
components:
- type: Thruster
- 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:
path: /Audio/Effects/metalbreak.ogg
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- type: Sprite
sprite: Structures/Shuttles/thruster.rsi
layers:
@@ -142,6 +163,25 @@
color: "#4246b3"
- type: Machine
board: GyroscopeMachineCircuitboard
- 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:
path: /Audio/Effects/metalbreak.ogg
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- type: UpgradePowerDraw
powerDrawMultiplier: 0.75
scaling: Exponential