mech tweaks (#15619)

This commit is contained in:
deltanedas
2023-04-24 21:00:36 +00:00
committed by GitHub
parent 808eee068f
commit dd4cf48c0a
4 changed files with 55 additions and 65 deletions

View File

@@ -21,6 +21,14 @@
restitution: 0.3 # fite me
friction: 0.2
- type: Pullable
# Ripley APLU
- type: entity
id: BaseRipleyPart
parent: BaseMechPart
abstract: true
components:
- type: Sprite
drawdepth: Items
noRot: false
@@ -28,27 +36,15 @@
sprite: Objects/Specific/Mech/ripley_construction.rsi
- type: entity
id: BaseMechPartItem
parent: BaseMechPart
id: BaseRipleyPartItem
parent: BaseRipleyPart
abstract: true
components:
- type: Item
size: 50
- type: entity
id: BaseMechConstruct
parent: BaseMechPart
abstract: true
components:
- type: Appearance
- type: ContainerContainer
containers:
battery-container: !type:Container
- type: MechAssemblyVisuals
statePrefix: ripley
- type: entity
parent: BaseMechPart
parent: BaseRipleyPart
id: RipleyHarness
name: ripley harness
description: The core of the Ripley APLU.
@@ -57,19 +53,19 @@
- type: ItemMapper
mapLayers:
ripley_l_arm+o:
whitelist:
whitelist:
tags:
- RipleyLArm
ripley_r_arm+o:
whitelist:
whitelist:
tags:
- RipleyRArm
ripley_l_leg+o:
whitelist:
whitelist:
tags:
- RipleyLLeg
ripley_r_leg+o:
whitelist:
whitelist:
tags:
- RipleyRLeg
sprite: Objects/Specific/Mech/ripley_construction.rsi
@@ -88,7 +84,7 @@
noRot: true
- type: entity
parent: BaseMechPartItem
parent: BaseRipleyPartItem
id: RipleyLArm
name: ripley left arm
description: The left arm of the Ripley APLU. It belongs on the chassis of the mech.
@@ -100,7 +96,7 @@
- RipleyLArm
- type: entity
parent: BaseMechPartItem
parent: BaseRipleyPartItem
id: RipleyLLeg
name: ripley left leg
description: The left leg of the Ripley APLU. It belongs on the chassis of the mech.
@@ -112,7 +108,7 @@
- RipleyLLeg
- type: entity
parent: BaseMechPartItem
parent: BaseRipleyPartItem
id: RipleyRLeg
name: ripley right leg
description: The right leg of the Ripley APLU. It belongs on the chassis of the mech.
@@ -124,7 +120,7 @@
- RipleyRLeg
- type: entity
parent: BaseMechPartItem
parent: BaseRipleyPartItem
id: RipleyRArm
name: ripley right arm
description: The right arm of the Ripley APLU. It belongs on the chassis of the mech.
@@ -137,14 +133,20 @@
- type: entity
id: RipleyChassis
parent: BaseMechConstruct
parent: BaseRipleyPart
name: ripley chassis
description: An in-progress construction of the Ripley APLU mech.
components:
- type: Appearance
- type: ContainerContainer
containers:
battery-container: !type:Container
- type: MechAssemblyVisuals
statePrefix: ripley
- type: Sprite
noRot: true
state: ripley0
- type: Construction
graph: Ripley
node: start
defaultTarget: ripley
defaultTarget: ripley

View File

@@ -3,19 +3,8 @@
save: false
abstract: true
components:
- type: Sprite
netsync: false
drawdepth: Mobs
noRot: true
sprite: Objects/Specific/Mech/mecha.rsi
layers:
- map: [ "enum.MechVisualLayers.Base" ]
state: ripley
- type: MobMover
- type: Mech
baseState: ripley
openState: ripley-open
brokenState: ripley-broken
- type: MechAir
- type: DoAfter
- type: Repairable
@@ -77,8 +66,16 @@
id: MechRipley
parent: BaseMech
name: Ripley APLU
description: Versatile and lightly armored, the Ripley is useful for almost any heavy work scenario. The "APLU" stands for Atonomous Power Loading Unit.
description: Versatile and lightly armored, the Ripley is useful for almost any heavy work scenario. The "APLU" stands for Autonomous Power Loading Unit.
components:
- type: Sprite
netsync: false
drawdepth: Mobs
noRot: true
sprite: Objects/Specific/Mech/mecha.rsi
layers:
- map: [ "enum.MechVisualLayers.Base" ]
state: ripley
- type: FootstepModifier
footstepSoundCollection:
path: /Audio/Mecha/sound_mecha_powerloader_step.ogg
@@ -102,18 +99,7 @@
parent: MechRipley
suffix: Battery
components:
- type: Mech
baseState: ripley
openState: ripley-open
brokenState: ripley-broken
startingBattery: PowerCellHigh
mechToPilotDamageMultiplier: 0.75
- type: MeleeWeapon
hidden: true
attackRate: 1
damage:
types:
Blunt: 14
- type: MovementSpeedModifier
baseWalkSpeed: 2.25
baseSprintSpeed: 3.6
- type: ContainerFill
containers:
mech-battery-slot:
- PowerCellHigh