Little rework of existing yaml flatpacks (#24814)

* Little rework of existing yaml flatpacks

* comit 2

* 55

* 66

* 77

* WRAAAA

* done mr sloth

* Update flatpack.yml

* fix??
This commit is contained in:
lzk
2024-02-22 03:44:22 +01:00
committed by GitHub
parent fda1242b37
commit 326b890318
20 changed files with 63 additions and 89 deletions

View File

@@ -63,8 +63,8 @@
- type: cargoProduct
id: EngineSolar
icon:
sprite: Objects/Power/solar_parts.rsi
state: solar_assembly_parts
sprite: Objects/Devices/flatpack.rsi
state: solar-assembly-part
product: CrateEngineeringSolar
cost: 500
category: Engineering
@@ -89,7 +89,7 @@
cost: 1200
category: Engineering
group: market
- type: cargoProduct
id: EngineTeslaGroundingRod
icon:

View File

@@ -8,7 +8,7 @@
components:
- type: StorageFill
contents:
- id: AmePart
- id: AmePartFlatpack
amount: 9
- type: entity
@@ -123,7 +123,7 @@
components:
- type: StorageFill
contents:
- id: SolarAssemblyPart
- id: SolarAssemblyFlatpack
amount: 6
- type: entity

View File

@@ -35,3 +35,35 @@
cpu_supply: "#A46106"
- type: StaticPrice
price: 250
- type: entity
parent: BaseFlatpack
id: SolarAssemblyFlatpack
name: solar assembly flatpack
description: A flatpack used for constructing a solar assembly.
components:
- type: Flatpack
entity: SolarAssembly
- type: Sprite
layers:
- state: solar-assembly-part
- type: StaticPrice
price: 75
- type: entity
parent: BaseFlatpack
id: AmePartFlatpack
name: AME flatpack
description: A flatpack used for constructing an antimatter engine reactor.
components:
- type: Sprite
layers:
- state: ame-part
- type: Flatpack
entity: AmeShielding
- type: StaticPrice
price: 500
- type: GuideHelp
guides: [ AME, Power ]
- type: StealTarget
stealGroup: AmePartFlatpack

View File

@@ -1,20 +0,0 @@
- type: entity
parent: BaseItem
id: AmePart
name: AME flatpack
description: A flatpack used for constructing an antimatter engine reactor.
components:
- type: Item
size: Normal
sprite: Objects/Power/AME/ame_part.rsi
- type: Sprite
sprite: Objects/Power/AME/ame_part.rsi
state: box
- type: Flatpack
entity: AmeShielding
- type: StaticPrice
price: 500
- type: GuideHelp
guides: [ AME, Power ]
- type: StealTarget
stealGroup: AmePart

View File

@@ -1,13 +0,0 @@
- type: entity
parent: BaseItem
id: SolarAssemblyPart
name: solar assembly flatpack
description: A flatpack used for constructing a solar assembly.
components:
- type: Item
size: Normal
- type: Flatpack
entity: SolarAssembly
- type: Sprite
sprite: Objects/Power/solar_parts.rsi
state: solar_assembly_parts

View File

@@ -84,7 +84,7 @@
MedicalTechFabCircuitboardStealObjective: 1
ClothingHeadsetAltMedicalStealObjective: 1
FireAxeStealObjective: 1 #eng
AmePartStealObjective: 1
AmePartFlatpackStealObjective: 1
ExpeditionsCircuitboardStealObjective: 1 #sup
CargoShuttleCircuitboardStealObjective: 1
SalvageShuttleCircuitboardStealObjective: 1

View File

@@ -215,11 +215,11 @@
state: icon
- type: stealTargetGroup
id: AmePart
id: AmePartFlatpack
name: AME part
sprite:
sprite: Objects/Power/AME/ame_part.rsi
state: box
sprite: Objects/Devices/flatpack.rsi
state: ame-part
- type: stealTargetGroup
id: SalvageExpeditionsComputerCircuitboard

View File

@@ -260,12 +260,12 @@
- type: entity
noSpawn: true
parent: BaseThiefStealObjective
id: AmePartStealObjective
id: AmePartFlatpackStealObjective
components:
- type: NotJobRequirement
job: StationEngineer
- type: StealCondition
stealGroup: AmePart
stealGroup: AmePartFlatpack
- type: Objective
difficulty: 1

View File

@@ -17,7 +17,7 @@
scale: "3, 3"
- texture:
!type:ImageParallaxTextureSource
path: "/Textures/Objects/Power/AME/ame_part.rsi/box.png"
path: "/Textures/Objects/Devices/flatpack.rsi/ame-part.png"
slowness: 0.995
tiled: false
controlHomePosition: "-128, -128"
@@ -38,7 +38,7 @@
scale: "1, 1"
- texture:
!type:ImageParallaxTextureSource
path: "/Textures/Objects/Power/AME/ame_part.rsi/box.png"
path: "/Textures/Objects/Devices/flatpack.rsi/ame-part.png"
slowness: 0.0
tiled: false
controlHomePosition: "0, 32"

View File

@@ -12,7 +12,7 @@
- !type:AdminLog # I don't like logging it like this. The log should include the user, AMEShielding EntityID, and AMEPart EntityID, and there should also be a start of attempt log.
message: "An AME shielding was deconstructed"
- !type:SpawnPrototype
prototype: AmePart
prototype: AmePartFlatpack
amount: 1
- !type:DeleteEntity
steps:

View File

@@ -6,11 +6,11 @@
edges:
- to: solarassembly
steps:
- tag: SolarAssemblyPart
- tag: SolarAssemblyFlatpack
name: Solar Assembly Parts
icon:
sprite: Objects/Power/solar_parts.rsi
state: solar_assembly_parts
sprite: Objects/Devices/flatpack.rsi
state: solar-assembly-part
doAfter: 1
- node: solarassembly
@@ -19,7 +19,7 @@
- to: start
completed:
- !type:SpawnPrototype
prototype: SolarAssemblyPart
prototype: SolarAssemblyFlatpack
amount: 1
- !type:DeleteEntity {}
steps: