- type: entity
name: toilet
- id: ToiletEmpty
- suffix: Empty
+ id: BaseToilet
parent: [ DisposalUnitBase, SeatBase ]
description: The HT-451, a torque rotation-based, waste disposal unit for small matter. This one seems remarkably clean.
+ abstract: true
components:
- type: Sprite
sprite: Structures/Furniture/toilet.rsi
- MachineMask
layer:
- None
- - type: Construction
- graph: Toilet
- node: toilet
- type: PlungerUse
- type: Appearance
- type: SecretStash
Open: { state: disposal-open }
Closed: { state: disposal-closed }
+- type: entity
+ name: toilet
+ description: The HT-451, a torque rotation-based, waste disposal unit for small matter. This one seems remarkably clean.
+ id: ToiletEmpty
+ parent: BaseToilet
+ suffix: Empty
+ components:
+ - type: Construction
+ graph: Toilet
+ node: toilet
+
- type: entity
id: ToiletDirtyWater
parent: ToiletEmpty
Quantity: 180
- ReagentId: GastroToxin
Quantity: 20
+
+- type: entity
+ id: ToiletGoldenEmpty
+ parent: BaseToilet
+ name: golden toilet
+ description: The HT-451G is the gold version of the device. It says on the side that it is made of the purest Mercurian gold and a real leather seat.
+ suffix: Empty
+ components:
+ - type: Sprite
+ sprite: Structures/Furniture/golden_toilet.rsi
+ - type: StaticPrice
+ price: 1500
+ - type: Destructible
+ thresholds:
+ - trigger:
+ !type:DamageTrigger
+ damage: 200
+ behaviors:
+ - !type:DoActsBehavior
+ acts: [ "Destruction" ]
+ - trigger:
+ !type:DamageTrigger
+ damage: 100
+ behaviors:
+ - !type:DoActsBehavior
+ acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
+ params:
+ volume: -6
+ - !type:SpawnEntitiesBehavior
+ spawn:
+ IngotGold1:
+ min: 5
+ max: 5
+
+- type: entity
+ id: ToiletGoldenDirtyWater
+ parent: ToiletGoldenEmpty
+ suffix: Dirty Water, StealTarget
+ components:
+ - type: StealTarget
+ stealGroup: ToiletGoldenDirtyWater
+ - type: SolutionContainerManager
+ solutions:
+ drainBuffer:
+ maxVol: 100
+ tank:
+ maxVol: 500
+ reagents:
+ - ReagentId: Water
+ Quantity: 160
+ - ReagentId: Gold
+ Quantity: 20
+ - ReagentId: GastroToxin
+ Quantity: 20
BoozeDispenserStealObjective: 1
AltarNanotrasenStealObjective: 1
PlantRDStealObjective: 1
+ ToiletGoldenStealObjective: 1
- type: weightedRandom
id: ThiefObjectiveGroupAnimal
sprite: Objects/Misc/id_cards.rsi
state: default
-
-
- type: stealTargetGroup
id: LAMP
name: LAMPS
sprite: Structures/Furniture/potted_plants.rsi
state: plant-25
+- type: stealTargetGroup
+ id: ToiletGoldenDirtyWater
+ name: golden toilet
+ sprite:
+ sprite: Structures/Furniture/golden_toilet.rsi
+ state: condisposal
+
# Thief Animal
- type: stealTargetGroup
- type: Objective
difficulty: 0.8
+- type: entity
+ parent: BaseThiefStealStructureObjective
+ id: ToiletGoldenStealObjective
+ components:
+ - type: NotJobRequirement
+ job: Captain
+ - type: StealCondition
+ stealGroup: ToiletGoldenDirtyWater
+ - type: Objective
+ difficulty: 2
+
# Animal
- type: entity
--- /dev/null
+{
+ "version": 1,
+ "size": {
+ "x": 32,
+ "y": 32
+ },
+ "license": "CC-BY-NC-SA-3.0",
+ "copyright": "Made by brainfood1183 (github) for ss14, modified Nimfar11",
+ "states": [
+ {
+ "name": "condisposal",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "disposal-open",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "disposal-closed",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "disposal",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "disposal-up",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "disposal-down",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "disposal-charging",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "disposal-flush",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0,
+ 1.0,
+ 1.0,
+ 1.0,
+ 1.0
+ ],
+ [
+ 1.0,
+ 1.0,
+ 1.0,
+ 1.0,
+ 1.0
+ ],
+ [
+ 1.0,
+ 1.0,
+ 1.0,
+ 1.0,
+ 1.0
+ ],
+ [
+ 1.0,
+ 1.0,
+ 1.0,
+ 1.0,
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "dispover-charge",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "dispover-full",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "dispover-handle",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ },
+ {
+ "name": "dispover-ready",
+ "directions": 4,
+ "delays": [
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ],
+ [
+ 1.0
+ ]
+ ]
+ }
+ ]
+}