- type: Construction
graph: Railing
node: railingCornerSmall
+
+- type: entity
+ parent: BaseStructure
+ id: RailingRound
+ name: railing
+ description: Basic railing meant to protect idiots like you from falling.
+ components:
+ - type: Sprite
+ drawdepth: WallTops
+ sprite: Structures/Walls/railing.rsi
+ state: round
+ - type: Physics
+ bodyType: Static
+ - type: Fixtures
+ fixtures:
+ fix1:
+ shape:
+ !type:PhysShapeAabb
+ bounds: "-0.49,-0.49,0.49,-0.25"
+ density: 1000
+ mask:
+ - TableMask
+ layer:
+ - TableLayer
+ fix2:
+ shape:
+ !type:PhysShapeAabb
+ bounds: "-0.49,-0.49,-0.25,0.49"
+ density: 1000
+ mask:
+ - TableMask
+ layer:
+ - TableLayer
+ fix3:
+ shape:
+ !type:PhysShapeAabb
+ bounds: "0.25,-0.49,0.49,0.49"
+ density: 1000
+ mask:
+ - TableMask
+ layer:
+ - TableLayer
+ - type: InteractionOutline
+ - type: Repairable
+ - type: Damageable
+ damageContainer: Inorganic
+ damageModifierSet: FlimsyMetallic
+ - type: Destructible
+ thresholds:
+ - trigger:
+ !type:DamageTrigger
+ damage: 100
+ behaviors:
+ - !type:DoActsBehavior
+ acts: [ "Destruction" ]
+ - trigger:
+ !type:DamageTrigger
+ damage: 20
+ behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ path: /Audio/Effects/metalbreak.ogg
+ - !type:SpawnEntitiesBehavior
+ spawn:
+ PartRodMetal1:
+ min: 0
+ max: 2
+ - !type:DoActsBehavior
+ acts: [ "Destruction" ]
+ - type: Climbable
+ - type: Construction
+ graph: Railing
+ node: railingRound
conditions:
- !type:TileNotBlocked
+- type: construction
+ name: railing round
+ id: RailingRound
+ graph: Railing
+ startNode: start
+ targetNode: railingRound
+ category: construction-category-structures
+ description: Basic railing meant to protect idiots like you from falling.
+ icon:
+ sprite: Structures/Walls/railing.rsi
+ state: round
+ objectType: Structure
+ placementMode: SnapgridCenter
+ canBuildInImpassable: false
+ conditions:
+ - !type:TileNotBlocked
+
# Chain link fencing
- type: construction
name: chain link fence
- 5: 8
name: RailingCornerSmall
- action: !type:InstantActionComponent
+ icon:
+ entity: RailingRound
+ name: RailingRound
+ keywords: []
+ clientExclusive: True
+ autoPopulate: False
+ temporary: True
+ event: !type:StartPlacementActionEvent
+ placementOption: SnapgridCenter
+ entityType: RailingRound
+ assignments:
+ - 5: 9
+- action: !type:InstantAction
+ checkCanInteract: False
icon:
entity: AirlockMaintLocked
keywords: []