Secret stash refractor (#29396)

* First commit

* Will do this in another PR!

* maybe?

* Moved stuff to ToolOpenableSystem because its smarter and cooler
This commit is contained in:
beck-thompson
2024-08-08 16:51:58 -07:00
committed by GitHub
parent e4ff5780d5
commit ad18c6e9a5
11 changed files with 513 additions and 351 deletions

View File

@@ -24,9 +24,11 @@
offset: "0.0,0.3"
sprite: Structures/Furniture/potted_plants.rsi
noRot: true
- type: PottedPlantHide
- type: SecretStash
secretPartName: secret-stash-part-plant
tryInsertItemSound: /Audio/Effects/plant_rustle.ogg
tryRemoveItemSound: /Audio/Effects/plant_rustle.ogg
hasVerbs: false
secretStashName: secret-stash-plant
- type: ContainerContainer
containers:
stash: !type:ContainerSlot {}

View File

@@ -68,9 +68,11 @@
- type: PlungerUse
- type: Appearance
- type: SecretStash
secretPartName: secret-stash-part-toilet
examineStash: toilet-component-on-examine-found-hidden-item
openableStash: true
secretStashName: secret-stash-toilet
- type: ToolOpenable
openToolQualityNeeded: Prying
closeToolQualityNeeded: Prying
name: secret-stash-toilet
- type: Drain
autoDrain: false
- type: StaticPrice
@@ -103,10 +105,10 @@
SeatVisualState.SeatUp:
SeatUp: { state: disposal-up }
SeatDown: { state: disposal-down }
enum.StashVisuals.DoorVisualState:
DoorVisualState.DoorOpen:
DoorOpen: { state: disposal-open }
DoorClosed: { state: disposal-closed }
enum.ToolOpenableVisuals.ToolOpenableVisualState:
ToolOpenableVisualState.StashOpen:
Open: { state: disposal-open }
Closed: { state: disposal-closed }
- type: entity
id: ToiletDirtyWater