Adds the antimatter engine (#1905)
* adds antimatter engine * fixes some nullables * fixes ALL OF THE NULLABLES * adds explosions * adds fancy lighting * requested changes + license info Co-authored-by: ancientpower <ancientpowerer@gmail.com>
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
- type: entity
|
||||
id: AMEController
|
||||
name: AME Controller
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: Icon
|
||||
sprite: Constructible/Power/ame_controller.rsi
|
||||
state: control
|
||||
- type: Sprite
|
||||
sprite: Constructible/Power/ame_controller.rsi
|
||||
state: control
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
layer:
|
||||
- Opaque
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- SmallImpassable
|
||||
- type: Destructible
|
||||
maxHP: 500
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: Anchorable
|
||||
- type: AMEController
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.AMEControllerUiKey.Key
|
||||
type: AMEControllerBoundUserInterface
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: AMEControllerVisualizer
|
||||
- type: NodeContainer
|
||||
nodes:
|
||||
- !type:AdjacentNode
|
||||
nodeGroupID: AMEngine
|
||||
- !type:AdjacentNode
|
||||
nodeGroupID: HVPower
|
||||
- type: PowerReceiver
|
||||
- type: PowerSupplier
|
||||
supplyRate: 0
|
||||
@@ -0,0 +1,46 @@
|
||||
- type: entity
|
||||
id: AMEShielding
|
||||
name: AME shielding
|
||||
description: Keeps the antimatter in and the matter out.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: Sprite
|
||||
drawdepth: Walls
|
||||
sprite: Constructible/Power/ame_shielding.rsi
|
||||
state: shield_0
|
||||
- type: Icon
|
||||
texture: Constructible/Power/ame_shielding_base.png
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
layer:
|
||||
- Opaque
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- SmallImpassable
|
||||
- type: Destructible
|
||||
maxHP: 500
|
||||
spawnondestroy: AMEPart
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: Airtight
|
||||
- type: IconSmooth
|
||||
mode: CardinalFlags
|
||||
base: shield_
|
||||
key: ame_shield
|
||||
- type: AMEShield
|
||||
- type: NodeContainer
|
||||
nodes:
|
||||
- !type:AdjacentNode
|
||||
nodeGroupID: AMEngine
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 5
|
||||
energy: 0.5
|
||||
color: "#00AAFF"
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: AMEVisualizer
|
||||
@@ -0,0 +1,16 @@
|
||||
- type: entity
|
||||
id: AMEJar
|
||||
name: Antimatter Fuel Jar
|
||||
parent: BaseItem
|
||||
description: A hermetically sealed jar containing antimatter for use in an antimatter reactor.
|
||||
components:
|
||||
- type: Item
|
||||
size: 5
|
||||
sprite: Objects/Power/AME/ame_jar.rsi
|
||||
- type: Sprite
|
||||
sprite: Objects/Power/AME/ame_jar.rsi
|
||||
state: jar
|
||||
- type: Icon
|
||||
sprite: Objects/Power/AME/ame_jar.rsi
|
||||
state: jar
|
||||
- type: AMEFuelContainer
|
||||
@@ -0,0 +1,16 @@
|
||||
- type: entity
|
||||
id: AMEPart
|
||||
name: Antimatter Engine Part
|
||||
parent: BaseItem
|
||||
description: "A flatpack used for constructing an antimatter engine reactor.\nUse a multitool to unpack it."
|
||||
components:
|
||||
- type: Item
|
||||
size: 5
|
||||
sprite: Objects/Power/AME/ame_part.rsi
|
||||
- type: Sprite
|
||||
sprite: Objects/Power/AME/ame_part.rsi
|
||||
state: box
|
||||
- type: Icon
|
||||
sprite: Objects/Power/AME/ame_part.rsi
|
||||
state: box
|
||||
- type: AMEPart
|
||||
Reference in New Issue
Block a user