Local Material Silo (#36492)
* Material Silo * fix board, fix copyright * a bit of review.... for the vibe.... * a tiny bit of review * 4 spaced * sloths no good very tiny nitpick * fix ui flickers * oops * slightly lower range * Sloth Review --------- Co-authored-by: ScarKy0 <scarky0@onet.eu>
This commit is contained in:
@@ -1005,6 +1005,19 @@
|
||||
Manipulator: 1
|
||||
Steel: 1
|
||||
|
||||
- type: entity
|
||||
id: MaterialSiloMachineCircuitboard
|
||||
parent: BaseMachineCircuitboard
|
||||
name: material silo machine board
|
||||
components:
|
||||
- type: Sprite
|
||||
state: supply
|
||||
- type: MachineBoard
|
||||
prototype: MachineMaterialSilo
|
||||
stackRequirements:
|
||||
MatterBin: 4
|
||||
Cable: 1
|
||||
|
||||
- type: entity
|
||||
id: OreProcessorMachineCircuitboard
|
||||
parent: BaseMachineCircuitboard
|
||||
|
||||
@@ -270,6 +270,7 @@
|
||||
- Sheet
|
||||
materialWhiteList:
|
||||
- Plasma
|
||||
- type: OreSiloClient
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
- Sheet
|
||||
- RawMaterial
|
||||
- Ingot
|
||||
- type: OreSiloClient
|
||||
- type: AmbientSound
|
||||
enabled: false
|
||||
volume: 5
|
||||
|
||||
@@ -112,6 +112,7 @@
|
||||
- Sheet
|
||||
- RawMaterial
|
||||
- Ingot
|
||||
- type: OreSiloClient
|
||||
- type: Lathe
|
||||
idleState: icon
|
||||
runningState: building
|
||||
@@ -184,6 +185,7 @@
|
||||
- Sheet
|
||||
- RawMaterial
|
||||
- Ingot
|
||||
- type: OreSiloClient
|
||||
- type: Lathe
|
||||
idleState: icon
|
||||
runningState: building
|
||||
@@ -273,6 +275,7 @@
|
||||
- Sheet
|
||||
- RawMaterial
|
||||
- Ingot
|
||||
- type: OreSiloClient
|
||||
- type: RequireProjectileTarget
|
||||
|
||||
- type: entity
|
||||
@@ -321,6 +324,7 @@
|
||||
- Sheet
|
||||
- RawMaterial
|
||||
- Ingot
|
||||
- type: OreSiloClient
|
||||
- type: GuideHelp
|
||||
guides:
|
||||
- Robotics
|
||||
@@ -408,6 +412,7 @@
|
||||
- Sheet
|
||||
- RawMaterial
|
||||
- Ingot
|
||||
- type: OreSiloClient
|
||||
- type: LatheAnnouncing
|
||||
channels: [Security]
|
||||
|
||||
@@ -443,6 +448,7 @@
|
||||
- Sheet
|
||||
- RawMaterial
|
||||
- Ingot
|
||||
- type: OreSiloClient
|
||||
|
||||
- type: entity
|
||||
id: MedicalTechFab
|
||||
@@ -480,6 +486,7 @@
|
||||
board: MedicalTechFabCircuitboard
|
||||
- type: StealTarget
|
||||
stealGroup: MedicalTechFabCircuitboard
|
||||
- type: OreSiloClient
|
||||
- type: LatheAnnouncing
|
||||
channels: [Medical]
|
||||
|
||||
|
||||
61
Resources/Prototypes/Entities/Structures/Machines/silo.yml
Normal file
61
Resources/Prototypes/Entities/Structures/Machines/silo.yml
Normal file
@@ -0,0 +1,61 @@
|
||||
- type: entity
|
||||
id: MachineMaterialSilo
|
||||
parent: [ BaseMachinePowered, ConstructibleMachine ]
|
||||
name: material silo
|
||||
description: An advanced machine, capable of using bluespace technology to transmit materials to nearby machines.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/silo.rsi
|
||||
layers:
|
||||
- state: silo
|
||||
map: [ "base" ]
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.PowerDeviceVisuals.Powered:
|
||||
base:
|
||||
True: { state: silo_active }
|
||||
False: { state: silo }
|
||||
- type: OreSilo
|
||||
- type: MaterialStorage
|
||||
whitelist:
|
||||
tags:
|
||||
- Sheet
|
||||
- Ingot
|
||||
- type: ActivatableUI
|
||||
key: enum.OreSiloUiKey.Key
|
||||
- type: ActivatableUIRequiresPower
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
enum.OreSiloUiKey.Key:
|
||||
type: OreSiloBoundUserInterface
|
||||
- type: Machine
|
||||
board: MaterialSiloMachineCircuitboard
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.4,-0.4,0.4,0.4"
|
||||
density: 190
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- MachineLayer
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 300
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
- !type:ChangeConstructionNodeBehavior
|
||||
node: machineFrame
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: WiresVisuals
|
||||
- type: WiresPanel
|
||||
- type: StaticPrice
|
||||
price: 1500
|
||||
Reference in New Issue
Block a user