Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locker health rework #3084

Merged
merged 11 commits into from
Mar 4, 2025
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
# Science
- type: entity
id: LockerResearchDirector
parent: LockerBase
parent: LockerBaseSecure # DeltaV - replaced the parent (previously LockerBase) with LockerBaseSecure to ensure locker had 75 health instead of 50
name: mystagogue's locker # DeltaV - Epistemics Department replacing Science
components:
- type: Appearance
Expand Down Expand Up @@ -303,7 +303,7 @@
# HoS
- type: entity
id: LockerHeadOfSecurity
parent: LockerBaseSecureDeltaV # DeltaV - resprite security lockers
parent: CommandLockerBaseSecureDeltaV # DeltaV - resprite security lockers, altered health due to being command locker
name: head of security's locker
components:
- type: Appearance
Expand Down Expand Up @@ -374,6 +374,16 @@
- entity_storage
- type: StaticPrice
price: 660
# Begin DeltaV additions - adjusted the health of gun safes to be 50 health stronger than LockerBaseSecure
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 125
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
# End DeltaV additions

- type: entity
id: GunSafeBaseSecure
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,24 @@
id: LockerBaseSecureDeltaV

- type: entity
id: LockerChiefJustice
parent: LockerBaseSecureDeltaV
id: CommandLockerBaseSecureDeltaV
components:
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: StructuralMetallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 75
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]

- type: entity
parent: CommandLockerBaseSecureDeltaV
id: LockerChiefJustice
name: chief justice's locker
components:
- type: Appearance
Expand All @@ -23,8 +39,8 @@
access: [["ChiefJustice"]]

- type: entity
id: LockerClerk
parent: LockerBaseSecureDeltaV
id: LockerClerk
name: clerk's locker
components:
- type: Appearance
Expand Down Expand Up @@ -60,7 +76,7 @@
access: [ [ "Surgery" ] ]

- type: entity
parent: LockerBaseSecureDeltaV
parent: CommandLockerBaseSecureDeltaV
id: LockerAdministrativeAssistant
name: administrative assistant's locker
components:
Expand Down Expand Up @@ -118,3 +134,31 @@
stateDoorClosed: armory_door
- type: AccessReader
access: [["Armory"]]

- type: entity
parent: LockerBooze
id: LockerForensicMantis
name: psionic mantis' cabinet
suffix: Empty
description: You'll never know what's inside until you collapse the quantum superposition of all possible mysteries.
components:
- type: AccessReader
access: [["Mantis"]]
- type: Destructible
thresholds:
- trigger: !type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
min: 1
max: 2
MaterialWoodPlank1:
min: 1
max: 2
Loading