Skip to content

Commit

Permalink
clarkest (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratyyy authored Sep 14, 2023
1 parent dbec90d commit f70b9c4
Show file tree
Hide file tree
Showing 36 changed files with 448 additions and 27 deletions.
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/research/technologies.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ research-technology-meat-manipulation = Манипуляции с мясом
research-technology-honk-mech = Х.О.Н.К. Меха
research-technology-advanced-spray = Продвинутый спрей
research-technology-bluespace-cargo-transport = Блюспейс грузовой транспорт
research-technology-clarke-aplu = КШГ Кларк
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,21 @@ ent-VimHarness = упряжь Вим
ent-VimChassis = ходовая часть Вим
.desc = Незавершённая конструкция экзокостюма Вим.
.suffix = { "" }
ent-ClarkHarness = упряжь кларка
.desc = Основа мехи "Кларк"
.suffix = { "" }
ent-ClarkLArm = левая рука кларка
.desc = Левая рука КШГ "Кларк". Крепится на ходовую часть мехи.
.suffix = { "" }
ent-ClarkLLeg = левая гусеница кларка
.desc = Левая гусеница КШГ "кларк". Крепится на ходовую часть мехи.
.suffix = { "" }
ent-ClarkRLeg = правая гусеница кларка
.desc = Правая гусеница КШГ "Кларк". Крепится на ходовую часть мехи.
.suffix = { "" }
ent-ClarkRArm = правая рука кларка
.desc = Правая рука КШГ "Кларк". Крепится на ходовую часть мехи.
.suffix = { "" }
ent-ClarkChassis = ходовая часть кларка
.desc = Незавершённая конструкция мехи КШГ "Кларк".
.suffix = { "" }
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,7 @@ ent-MechaAnalyzer9000 = шахтёрский сканер
.suffix = { "" }
ent-JawsOfLifeHarm9000 = гидравлическая клешня
.desc = Дает механоиду возможность вскрывать шлюзы.
.suffix = { "" }
ent-WeaponCutter9000 = ионный резак «Ишимура»
.desc = Пиф-паф, и скалы нету.
.suffix = { "" }
35 changes: 8 additions & 27 deletions Resources/Prototypes/Entities/Mobs/mechs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -950,14 +950,13 @@
description: ghost-role-information-MechClarke-description
rules: ghost-role-information-MechClarke-rules
whitelistRequired: true
- type: Body
prototype: ClarkeSilicon
- type: InnateTool
tools:
- id: JawsOfLifeHarm9000
- id: OreBag
- id: MechaDrill9000
- id: MechaAnalyzer9000
- id: WeaponCutter9000
- type: ActiveRadio
channels:
- Common
Expand Down Expand Up @@ -990,42 +989,24 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
damage: 400
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:ExplodeBehavior
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:ExplodeBehavior
- !type:SpawnEntitiesBehavior
spawn:
MechClarkeDestroyed:
min: 1
max: 1
- type: body
id: ClarkeSilicon
name: "mecha"
root: hand 1
slots:
hand 1:
part: LeftArmBorg
connections:
- hand 2
hand 2:
part: LeftArmBorg
connections:
- hand 3
hand 3:
part: LeftArmBorg
connections:
- hand 4
hand 4:
part: RightArmBorg
connections:
- hand 5
hand 5:
part: RightArmBorg
- type: Explosive
explosionType: Default
maxIntensity: 100
intensitySlope: 1.5
totalIntensity: 200

- type: entity
id: MechClarkeDestroyed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,3 +483,131 @@
graph: Vim
node: start
defaultTarget: vim

#clarke

- type: entity
id: BaseClarkPart
parent: BaseMechPart
abstract: true
components:
- type: Sprite
drawdepth: Items
noRot: false
sprite: Objects/Specific/Mech/clarke_construction.rsi

- type: entity
id: BaseClarkPartItem
parent: BaseClarkPart
abstract: true
components:
- type: Item
size: 50

- type: entity
parent: BaseClarkPart
id: ClarkHarness
name: Clark harness
description: The core of the Clark APLU.
components:
- type: Appearance
- type: ItemMapper
mapLayers:
clark_l_arm+o:
whitelist:
tags:
- ClarkLArm
clark_r_arm+o:
whitelist:
tags:
- ClarkRArm
clark_l_leg+o:
whitelist:
tags:
- ClarkLLeg
clark_r_leg+o:
whitelist:
tags:
- ClarkRLeg
sprite: Objects/Specific/Mech/clarke_construction.rsi
- type: ContainerContainer
containers:
mech-assembly-container: !type:Container
- type: MechAssembly
finishedPrototype: ClarkChassis
requiredParts:
ClarkLArm: false
ClarkRArm: false
ClarkLLeg: false
ClarkRLeg: false
- type: Sprite
state: clark_harness+o
noRot: true

- type: entity
parent: BaseClarkPartItem
id: ClarkLArm
name: Clark left arm
description: The left arm of the Clark APLU. It belongs on the chassis of the mech.
components:
- type: Sprite
state: clark_l_arm
- type: Tag
tags:
- ClarkLArm

- type: entity
parent: BaseClarkPartItem
id: ClarkLLeg
name: Clark left leg
description: The left leg of the Clark APLU. It belongs on the chassis of the mech.
components:
- type: Sprite
state: clark_l_leg
- type: Tag
tags:
- ClarkLLeg

- type: entity
parent: BaseClarkPartItem
id: ClarkRLeg
name: Clark right leg
description: The right leg of the Clark APLU. It belongs on the chassis of the mech.
components:
- type: Sprite
state: clark_r_leg
- type: Tag
tags:
- ClarkRLeg

- type: entity
parent: BaseClarkPartItem
id: ClarkRArm
name: Clark right arm
description: The right arm of the Ripley APLU. It belongs on the chassis of the mech.
components:
- type: Sprite
state: clark_r_arm
- type: Tag
tags:
- ClarkRArm

- type: entity
id: ClarkChassis
parent: BaseClarkPart
name: Clark chassis
description: An in-progress construction of the Ripley APLU mech.
components:
- type: Appearance
- type: ContainerContainer
containers:
battery-container: !type:Container
- type: MechAssemblyVisuals
statePrefix: Clark
- type: Sprite
noRot: true
state: clark0
- type: Construction
graph: Clark
node: start
defaultTarget: Clark
14 changes: 14 additions & 0 deletions Resources/Prototypes/Entities/Objects/Weapons/mech.yml
Original file line number Diff line number Diff line change
Expand Up @@ -645,3 +645,17 @@
interfaces:
- key: enum.RadarConsoleUiKey.Key
type: RadarConsoleBoundUserInterface

- type: entity
name: WeaponCutterAdvr
parent: WeaponCutterAdv
id: WeaponCutter9000
description: A self-defense weapon that exhausts organic targets, weakening them until they collapse.
components:
- type: Item
size: 80
- type: ProjectileBatteryAmmoProvider
fireCost: 600
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 40
10 changes: 10 additions & 0 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,11 @@
idleState: icon
runningState: building
dynamicRecipes:
- ClarkHarness
- ClarkLArm
- ClarkLLeg
- ClarkRLeg
- ClarkRArm
- ThermomachineFreezerMachineCircuitBoard
- PortableScrubberMachineCircuitBoard
- CloningPodMachineCircuitboard
Expand Down Expand Up @@ -484,6 +489,11 @@
- HamtrLLeg
- HamtrRLeg
- VimHarness
- ClarkHarness
- ClarkLArm
- ClarkLLeg
- ClarkRLeg
- ClarkRArm
- type: MaterialStorage
whitelist:
tags:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
- type: constructionGraph
id: Clark
start: start
graph:
- node: start
edges:
- to: Clark
steps:
- tag: ConveyorAssembly
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 1

- tool: Anchoring
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 2

- tool: Screwing
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 3

- material: Cable
amout: 5
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 4

- tool: Cutting
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 5

- tool: Screwing
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 6

- component: PowerCell
name: power cell
store: battery-container
doAfter: 1
icon:
sprite: Objects/Power/power_cells.rsi
state: small
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 7

- tool: Screwing
doAfter: 2
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 8

- material: Plasteel
amount: 5
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 9

- tool: Anchoring
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 10

- tool: Welding
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 11

- material: Gold
amount: 5
doAfter: 1
completed:
- !type:VisualizerDataInt
key: "enum.MechAssemblyVisuals.State"
data: 12

- tool: Welding
doAfter: 5

- node: Clark
actions:
- !type:BuildMech
mechPrototype: MechClarke
Loading

0 comments on commit f70b9c4

Please sign in to comment.