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

View File

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

View File

@@ -35,3 +35,35 @@
cpu_supply: "#A46106" cpu_supply: "#A46106"
- type: StaticPrice - type: StaticPrice
price: 250 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 MedicalTechFabCircuitboardStealObjective: 1
ClothingHeadsetAltMedicalStealObjective: 1 ClothingHeadsetAltMedicalStealObjective: 1
FireAxeStealObjective: 1 #eng FireAxeStealObjective: 1 #eng
AmePartStealObjective: 1 AmePartFlatpackStealObjective: 1
ExpeditionsCircuitboardStealObjective: 1 #sup ExpeditionsCircuitboardStealObjective: 1 #sup
CargoShuttleCircuitboardStealObjective: 1 CargoShuttleCircuitboardStealObjective: 1
SalvageShuttleCircuitboardStealObjective: 1 SalvageShuttleCircuitboardStealObjective: 1

View File

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

View File

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

View File

@@ -17,7 +17,7 @@
scale: "3, 3" scale: "3, 3"
- texture: - texture:
!type:ImageParallaxTextureSource !type:ImageParallaxTextureSource
path: "/Textures/Objects/Power/AME/ame_part.rsi/box.png" path: "/Textures/Objects/Devices/flatpack.rsi/ame-part.png"
slowness: 0.995 slowness: 0.995
tiled: false tiled: false
controlHomePosition: "-128, -128" controlHomePosition: "-128, -128"
@@ -38,7 +38,7 @@
scale: "1, 1" scale: "1, 1"
- texture: - texture:
!type:ImageParallaxTextureSource !type:ImageParallaxTextureSource
path: "/Textures/Objects/Power/AME/ame_part.rsi/box.png" path: "/Textures/Objects/Devices/flatpack.rsi/ame-part.png"
slowness: 0.0 slowness: 0.0
tiled: false tiled: false
controlHomePosition: "0, 32" 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. - !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" message: "An AME shielding was deconstructed"
- !type:SpawnPrototype - !type:SpawnPrototype
prototype: AmePart prototype: AmePartFlatpack
amount: 1 amount: 1
- !type:DeleteEntity - !type:DeleteEntity
steps: steps:

View File

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

View File

@@ -7,7 +7,7 @@ The AME is one of the simplest engines available. You put together the multi-til
<Box>Required parts:</Box> <Box>Required parts:</Box>
<Box> <Box>
<GuideEntityEmbed Entity="AmeController"/> <GuideEntityEmbed Entity="AmeController"/>
<GuideEntityEmbed Entity="AmePart"/> <GuideEntityEmbed Entity="AmePartFlatpack"/>
<GuideEntityEmbed Entity="AmeJar"/> <GuideEntityEmbed Entity="AmeJar"/>
</Box> </Box>

View File

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 384 B

View File

@@ -1,7 +1,7 @@
{ {
"version": 1, "version": 1,
"license": "CC0-1.0", "license": "CC0-1.0",
"copyright": "Created by EmoGarbage404 (github) for SS14", "copyright": "Created by EmoGarbage404 (github) for SS14, solar-assembly-part taken from tgstation and modified at https://tgstation13.org/wiki/Guide_to_construction#Solar_Panels_and_Trackers, ame-part taken from vgstation at https://github.com/vgstation-coders/vgstation13/commit/1b7952787c06c21ef1623e494dcfe7cb1f46e041",
"size": { "size": {
"x": 32, "x": 32,
"y": 32 "y": 32
@@ -15,6 +15,12 @@
}, },
{ {
"name": "icon-default" "name": "icon-default"
},
{
"name": "solar-assembly-part"
},
{
"name": "ame-part"
} }
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 B

View File

@@ -1,22 +0,0 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from vgstation at https://github.com/vgstation-coders/vgstation13/commit/1b7952787c06c21ef1623e494dcfe7cb1f46e041",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "box"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

View File

@@ -1,14 +0,0 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation and modified at https://tgstation13.org/wiki/Guide_to_construction#Solar_Panels_and_Trackers",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "solar_assembly_parts"
}
]
}

View File

@@ -219,3 +219,8 @@ YellowOxygenTankFilled: OxygenTankFilled
Drone: null Drone: null
SpawnMobDrone: null SpawnMobDrone: null
Onestar: null # I dont think this is even mapped, but just in case Onestar: null # I dont think this is even mapped, but just in case
# 2024-02-22
SolarAssemblyPart: SolarAssemblyFlatpack
AmePart: AmePartFlatpack
AmePartStealObjective: AmePartFlatpackStealObjective