* Ported sprites from eris

* Added yml

* lid open/close logic

* interactivity

* Working on new secret stash component

* Object will drop on destruction

* Can get item and examine message

* Reagent container and some cleaning

* Moved potted plant to stash

* New base prefab

* Now you can deconstruct toilet

* Small fixes

* Fixed unknown components errors

* Fixed grammar errors

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Now use prob

* More grammar

* Update Content.Server/Construction/Conditions/ToiletLidClosed.cs

Aaaaaaaa

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* No delays

* Amazing sound design

* Moved sound to mono

* Toilet viz

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Alex Evgrashin
2021-01-20 10:02:34 +03:00
committed by GitHub
parent f9f724b4af
commit 02ea6ce57c
16 changed files with 473 additions and 48 deletions

Binary file not shown.

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: PottedPlantBase
abstract: true
components:
@@ -23,6 +23,8 @@
- type: Sprite
sprite: Constructible/Misc/potted_plants.rsi
- type: PottedPlantHide
- type: SecretStash
secretPartName: the plant
- type: Anchorable
- type: Pullable

View File

@@ -0,0 +1,39 @@
- type: entity
name: toilet
id: ToiletEmpty
suffix: Empty
parent: SeatBase
description: The HT-451, a torque rotation-based, waste disposal unit for small matter. This one seems remarkably clean.
components:
- type: Sprite
sprite: Constructible/Watercloset/toilet.rsi
state: closed_toilet_seat_up
netsync: false
- type: Toilet
- type: SecretStash
secretPartName: the toilet cistern
- type: SolutionContainer
maxVol: 250
- type: Physics
shapes:
- !type:PhysShapeAabb
layer: [ Passable ]
- type: Construction
graph: toilet
node: toilet
- type: Appearance
visuals:
- type: ToiletVisualizer
- type: entity
id: ToiletDirtyWater
parent: ToiletEmpty
suffix: Dirty Water
components:
- type: SolutionContainer
contents:
reagents:
- ReagentId: chem.Water
Quantity: 180
- ReagentId: chem.Toxin
Quantity: 20

View File

@@ -0,0 +1,29 @@
- type: constructionGraph
id: toilet
start: start
graph:
- node: start
edges:
- to: toilet
completed:
- !type:SnapToGrid { }
steps:
- material: Metal
amount: 5
doAfter: 1
- node: toilet
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SteelSheet1
amount: 5
- !type:EmptyAllContainers {}
- !type:DeleteEntity {}
conditions:
- !type:EntityAnchored
anchored: false
- !type:ToiletLidClosed {}
steps:
- tool: Welding
doAfter: 2

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,27 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Taken from cev-eris at commit https://github.com/discordia-space/CEV-Eris/commit/2cb66bae0e253e13d37f8939e0983bb94fee243e",
"states": [
{
"name": "closed_toilet_seat_down",
"directions": 4
},
{
"name": "closed_toilet_seat_up",
"directions": 4
},
{
"name": "open_toilet_seat_down",
"directions": 4
},
{
"name": "open_toilet_seat_up",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB