Allow the purchase of emitters from cargo. (#27229)

add emitter crates back to cargo + changes the contents of an emittercrate from emitter to emitterflatpack

👍
This commit is contained in:
pigeonpeas
2024-04-23 07:34:09 -04:00
committed by GitHub
parent 716cdcbdf8
commit c129bb177c
5 changed files with 30 additions and 13 deletions

View File

@@ -28,17 +28,17 @@
category: cargoproduct-category-name-engineering
group: market
#- type: cargoProduct
# name: "emitter crate"
# id: EngineSingularityEmitter
# description: "Contains an emitter. Used only for dangerous applications."
# icon:
# sprite: Structures/Power/Generation/Singularity/emitter.rsi
# state: emitter2
# product: CrateEngineeringSingularityEmitter
# cost: 3000
# category: cargoproduct-category-name-engineering
# group: market
- type: cargoProduct
name: "emitter crate"
id: EngineSingularityEmitter
description: "Contains an emitter. Used only for dangerous applications."
icon:
sprite: Structures/Power/Generation/Singularity/emitter.rsi
state: emitter2
product: CrateEngineeringSingularityEmitter
cost: 3000
category: cargoproduct-category-name-engineering
group: market
- type: cargoProduct
id: EngineSingularityCollector

View File

@@ -42,7 +42,7 @@
components:
- type: StorageFill
contents:
- id: Emitter # TODO change to flatpack
- id: EmitterFlatpack # TODO change to flatpack
- type: entity
id: CrateEngineeringSingularityCollector

View File

@@ -110,6 +110,20 @@
- type: GuideHelp
guides: [ Singularity, Power ]
- type: entity
parent: BaseFlatpack
id: EmitterFlatpack
name: emitter flatpack
description: A flatpack used for constructing an emitter.
components:
- type: Flatpack
entity: Emitter
- type: Sprite
layers:
- state: emitter
- type: GuideHelp
guides: [ Singularity, Power ]
- type: entity
parent: BaseFlatpack
id: TeslaGeneratorFlatpack

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC0-1.0",
"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; singularity-generator, tesla-generator, radiation-collector, containment-field-generator, tesla-coil, grounding-rod inner icons made by lzk228",
"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; singularity-generator, tesla-generator, radiation-collector, containment-field-generator, tesla-coil, grounding-rod inner icons made by lzk228; emitter made by pigeonpeas",
"size": {
"x": 32,
"y": 32
@@ -39,6 +39,9 @@
},
{
"name": "containment-field-generator"
},
{
"name": "emitter"
}
]
}