From 25a22cd28978f2576b3544f2d3ce421f8a4d8bbe Mon Sep 17 00:00:00 2001 From: Farrellka-dev Date: Wed, 18 Dec 2024 12:27:14 +0300 Subject: [PATCH] base_structure.yml --- .../Entities/Structures/base_structure.yml | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 Resources/Prototypes/_LostParadise/Entities/Structures/base_structure.yml diff --git a/Resources/Prototypes/_LostParadise/Entities/Structures/base_structure.yml b/Resources/Prototypes/_LostParadise/Entities/Structures/base_structure.yml new file mode 100644 index 0000000000..1b87cbe590 --- /dev/null +++ b/Resources/Prototypes/_LostParadise/Entities/Structures/base_structure.yml @@ -0,0 +1,110 @@ +- type: entity + id: BaseStructureDisableToolUse + abstract: true + components: + - type: Transform + anchored: true + - type: Physics + bodyType: Static + - type: DisableToolUse + anchoring: true + prying: true + screwing: true + cutting: true + welding: true + pulsing: true + slicing: true + sawing: true + honking: true + rolling: true + digging: true + +- type: entity + id: BaseStructureDisableAnchoring + abstract: true + components: + - type: Transform + anchored: true + - type: Physics + bodyType: Static + - type: DisableToolUse + anchoring: true + +- type: entity + id: BaseStructureDisablePrying + abstract: true + components: + - type: DisableToolUse + prying: true + +- type: entity + id: BaseStructureDisableScrewing + abstract: true + components: + - type: DisableToolUse + screwing: true + +- type: entity + id: BaseStructureDestructible + abstract: true + components: + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 100 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: GlassBreak + - !type:DoActsBehavior + acts: ["Destruction"] + +- type: entity + id: BaseStructureIndestructible + abstract: true + components: + - type: Damageable + damageContainer: Inorganic + damageModifierSet: Metallic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 0 + +- type: entity + parent: BaseStructureDisableAnchoring + id: BaseStructureWallmount + abstract: true + placement: + mode: SnapgridCenter + snap: + - Wallmount + components: + - type: Sprite + drawdepth: WallMountedItems + snapCardinals: false + - type: WallMount + arc: 175 + - type: Transform + noRot: false + - type: Physics + bodyType: Static + canCollide: false + - type: Fixtures + fixtures: {} + +- type: entity + id: BaseStructureLockImmuneToEmag + abstract: true + components: + - type: Lock + immuneToEmag: true + +- type: entity + id: BaseStructureAccessReaderImmuneToEmag + abstract: true + components: + - type: AccessReader + immuneToEmag: true