Add cargo pallet to cargo products (#17192)
This commit is contained in:
9
Resources/Prototypes/Catalog/Cargo/cargo_cargo.yml
Normal file
9
Resources/Prototypes/Catalog/Cargo/cargo_cargo.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
- type: cargoProduct
|
||||
id: CargoPallet
|
||||
icon:
|
||||
sprite: Structures/catwalk.rsi
|
||||
state: catwalk_preview
|
||||
product: CargoPallet
|
||||
cost: 250
|
||||
category: Cargo
|
||||
group: market
|
||||
@@ -4,13 +4,44 @@
|
||||
description: Designates valid items to sell to CentCom when a shuttle is recalled.
|
||||
parent: BaseStructure
|
||||
components:
|
||||
- type: InteractionOutline
|
||||
- type: Anchorable
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
density: 15
|
||||
mask:
|
||||
- MachineMask
|
||||
- type: CargoPallet
|
||||
- type: StaticPrice
|
||||
price: 100
|
||||
- type: Sprite
|
||||
drawdepth: FloorTiles
|
||||
netsync: false
|
||||
layers:
|
||||
- sprite: Structures/catwalk.rsi
|
||||
state: catwalk_preview
|
||||
- type: CollideOnAnchor
|
||||
- type: Physics
|
||||
canCollide: false
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 500
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 200
|
||||
behaviors:
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
PartRodMetal: # takes two to construct, so drop less than that
|
||||
min: 0
|
||||
max: 1
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
|
||||
Reference in New Issue
Block a user