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.
|
description: Designates valid items to sell to CentCom when a shuttle is recalled.
|
||||||
parent: BaseStructure
|
parent: BaseStructure
|
||||||
components:
|
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: CargoPallet
|
||||||
|
- type: StaticPrice
|
||||||
|
price: 100
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: FloorTiles
|
drawdepth: FloorTiles
|
||||||
netsync: false
|
|
||||||
layers:
|
layers:
|
||||||
- sprite: Structures/catwalk.rsi
|
- sprite: Structures/catwalk.rsi
|
||||||
state: catwalk_preview
|
state: catwalk_preview
|
||||||
- type: CollideOnAnchor
|
- type: Damageable
|
||||||
- type: Physics
|
damageContainer: Inorganic
|
||||||
canCollide: false
|
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