Antimatter Engine Crates (#2708)
* Remove the unused light bulb crate that explicitly says it needs to be removed * Crates/Cargo: Add antimatter reactor crates * Fix AME crate issues * Descriptions and prices for AME crates.
This commit is contained in:
@@ -279,7 +279,7 @@ namespace Content.Server.GameObjects.Components.Power.AME
|
|||||||
var engineNodeGroup = nodeContainer?.Nodes
|
var engineNodeGroup = nodeContainer?.Nodes
|
||||||
.Select(node => node.NodeGroup)
|
.Select(node => node.NodeGroup)
|
||||||
.OfType<AMENodeGroup>()
|
.OfType<AMENodeGroup>()
|
||||||
.First();
|
.FirstOrDefault();
|
||||||
|
|
||||||
return engineNodeGroup;
|
return engineNodeGroup;
|
||||||
}
|
}
|
||||||
|
|||||||
36
Resources/Prototypes/Catalog/Cargo/cargo_engines.yml
Normal file
36
Resources/Prototypes/Catalog/Cargo/cargo_engines.yml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
- type: cargoProduct
|
||||||
|
name: "packaged antimatter reactor crate"
|
||||||
|
id: cargo.enginesameshielding
|
||||||
|
description: "9 parts for the main body of an antimatter reactor, or for expanding an existing one."
|
||||||
|
icon:
|
||||||
|
sprite: Objects/Power/AME/ame_part.rsi
|
||||||
|
state: box
|
||||||
|
product: CrateEngineeringAMEShielding
|
||||||
|
cost: 1500
|
||||||
|
category: Engineering
|
||||||
|
group: market
|
||||||
|
|
||||||
|
- type: cargoProduct
|
||||||
|
name: "antimatter containment jar crate"
|
||||||
|
id: cargo.enginesamejar
|
||||||
|
description: "3 antimatter jars, for fuelling an antimatter reactor."
|
||||||
|
icon:
|
||||||
|
sprite: Objects/Power/AME/ame_jar.rsi
|
||||||
|
state: jar
|
||||||
|
product: CrateEngineeringAMEJar
|
||||||
|
cost: 600
|
||||||
|
category: Engineering
|
||||||
|
group: market
|
||||||
|
|
||||||
|
- type: cargoProduct
|
||||||
|
name: "antimatter control unit crate"
|
||||||
|
id: cargo.enginesamecontrol
|
||||||
|
description: "The control unit of an antimatter reactor."
|
||||||
|
icon:
|
||||||
|
sprite: Constructible/Power/ame_controller.rsi
|
||||||
|
state: control
|
||||||
|
product: CrateEngineeringAMEControl
|
||||||
|
cost: 500
|
||||||
|
category: Engineering
|
||||||
|
group: market
|
||||||
|
|
||||||
@@ -31,6 +31,9 @@
|
|||||||
- cargo.hydroponicsseedsexotic
|
- cargo.hydroponicsseedsexotic
|
||||||
- cargo.servicejanitorial
|
- cargo.servicejanitorial
|
||||||
- cargo.servicelightsreplacement
|
- cargo.servicelightsreplacement
|
||||||
|
- cargo.enginesameshielding
|
||||||
|
- cargo.enginesamejar
|
||||||
|
- cargo.enginesamecontrol
|
||||||
- cargo.funplushies
|
- cargo.funplushies
|
||||||
- cargo.funartsupplies
|
- cargo.funartsupplies
|
||||||
- cargo.funinstruments
|
- cargo.funinstruments
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
sprite: Constructible/Power/ame_controller.rsi
|
sprite: Constructible/Power/ame_controller.rsi
|
||||||
state: control
|
state: control
|
||||||
- type: Physics
|
- type: Physics
|
||||||
|
# Mass of 1? Unmovable. Mass of 25? Fine. What on earth is going on?
|
||||||
|
mass: 25
|
||||||
shapes:
|
shapes:
|
||||||
- !type:PhysShapeAabb
|
- !type:PhysShapeAabb
|
||||||
layer:
|
layer:
|
||||||
@@ -28,6 +30,8 @@
|
|||||||
- type: SnapGrid
|
- type: SnapGrid
|
||||||
offset: Center
|
offset: Center
|
||||||
- type: Anchorable
|
- type: Anchorable
|
||||||
|
snap: true
|
||||||
|
- type: Pullable
|
||||||
- type: AMEController
|
- type: AMEController
|
||||||
- type: UserInterface
|
- type: UserInterface
|
||||||
interfaces:
|
interfaces:
|
||||||
@@ -45,3 +49,13 @@
|
|||||||
- type: PowerReceiver
|
- type: PowerReceiver
|
||||||
- type: PowerSupplier
|
- type: PowerSupplier
|
||||||
supplyRate: 0
|
supplyRate: 0
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: AMEControllerUnanchored
|
||||||
|
parent: AMEController
|
||||||
|
suffix: Unanchored
|
||||||
|
abstract: true
|
||||||
|
components:
|
||||||
|
- type: Physics
|
||||||
|
anchored: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,34 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
id: CrateEngineeringAME
|
id: CrateEngineeringAMEShielding
|
||||||
name: ame crate
|
name: packaged antimatter reactor crate
|
||||||
parent: CrateRadiation
|
description: "9 parts for the main body of an antimatter reactor, or for expanding an existing one."
|
||||||
|
parent: CrateEngineeringSecure
|
||||||
components:
|
components:
|
||||||
- type: StorageFill
|
- type: StorageFill
|
||||||
contents:
|
contents:
|
||||||
- name: Multitool
|
|
||||||
amount: 1
|
|
||||||
- name: AMEPart
|
- name: AMEPart
|
||||||
amount: 9
|
amount: 9
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: CrateEngineeringAMEJar
|
||||||
|
name: antimatter containment jar crate
|
||||||
|
description: "3 antimatter jars, for fuelling an antimatter reactor."
|
||||||
|
parent: CrateEngineeringSecure
|
||||||
|
components:
|
||||||
|
- type: StorageFill
|
||||||
|
contents:
|
||||||
- name: AMEJar
|
- name: AMEJar
|
||||||
|
amount: 3
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: CrateEngineeringAMEControl
|
||||||
|
name: antimatter control unit crate
|
||||||
|
description: "The control unit of an antimatter reactor."
|
||||||
|
parent: CrateEngineeringSecure
|
||||||
|
components:
|
||||||
|
- type: StorageFill
|
||||||
|
contents:
|
||||||
|
- name: AMEControllerUnanchored
|
||||||
amount: 1
|
amount: 1
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
|
|||||||
@@ -503,27 +503,3 @@
|
|||||||
state_open: weaponcrate_open
|
state_open: weaponcrate_open
|
||||||
state_closed: weaponcrate_door
|
state_closed: weaponcrate_door
|
||||||
|
|
||||||
#### REMOVE THIS SWEPT!!
|
|
||||||
|
|
||||||
- type: entity
|
|
||||||
id: CrateLightBulb
|
|
||||||
name: plastic crate
|
|
||||||
parent: CrateGeneric
|
|
||||||
components:
|
|
||||||
- type: Sprite
|
|
||||||
sprite: Constructible/Storage/Crates/plastic.rsi
|
|
||||||
layers:
|
|
||||||
- state: plasticcrate
|
|
||||||
- state: plasticcrate_door
|
|
||||||
map: ["enum.StorageVisualLayers.Door"]
|
|
||||||
- state: welded
|
|
||||||
visible: false
|
|
||||||
map: ["enum.StorageVisualLayers.Welded"]
|
|
||||||
- type: Icon
|
|
||||||
sprite: Constructible/Storage/Crates/plastic.rsi
|
|
||||||
state: plasticcrate_icon
|
|
||||||
- type: Appearance
|
|
||||||
visuals:
|
|
||||||
- type: StorageVisualizer
|
|
||||||
state_open: plasticcrate_open
|
|
||||||
state_closed: plasticcrate_door
|
|
||||||
|
|||||||
Reference in New Issue
Block a user