Skip to content

Commit

Permalink
Nyano furniture (#39)
Browse files Browse the repository at this point in the history
* Nyano Furniture

part 1 - Altars, tables, and tatami

* Furniture

part 2 - epistemics related stuff (lots of stuff is commented out)
  • Loading branch information
Colin-Tel authored Sep 21, 2023
1 parent 9470254 commit e555206
Show file tree
Hide file tree
Showing 42 changed files with 1,702 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
54 changes: 54 additions & 0 deletions Resources/Prototypes/Entities/Structures/Furniture/altar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Construction #Nyano
graph: Altar
node: nanotrasen

- type: entity
id: AltarChaos
Expand All @@ -76,6 +79,9 @@
- type: Icon
sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi
state: chaos
- type: Construction #Nyano
graph: Altar
node: chaos

- type: entity
id: AltarDruid
Expand All @@ -88,6 +94,9 @@
- type: Icon
sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi
state: druid
- type: Construction #Nyano
graph: Altar
node: druid

- type: entity
id: AltarToolbox
Expand All @@ -100,6 +109,9 @@
- type: Icon
sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi
state: toolbox
- type: Construction #Nyano
graph: Altar
node: toolbox

- type: entity
id: AltarSpaceChristian
Expand All @@ -119,6 +131,9 @@
radius: 1.5
energy: 1
color: "#fbceb1"
- type: Construction #Nyano
graph: Altar
node: spacechristian

- type: entity
id: AltarSatana
Expand All @@ -138,6 +153,9 @@
radius: 1.5
energy: 1
color: "#ff6347"
- type: Construction #Nyano
graph: Altar
node: satana

- type: entity
id: AltarTechnology
Expand All @@ -157,6 +175,9 @@
radius: 1.5
energy: 1
color: "#e0ffff"
- type: Construction #Nyano
graph: Altar
node: technology

- type: entity
id: AltarConvertFestival
Expand Down Expand Up @@ -199,6 +220,9 @@
- type: Tag
tags:
- Wooden
- type: Construction #Nyano
graph: Altar
node: festival

- type: entity
id: AltarConvertMaint
Expand All @@ -218,6 +242,9 @@
radius: 1.5
energy: 1
color: "#fbceb1"
- type: Construction #Nyano
graph: Altar
node: maint

- type: entity
id: AltarConvertBlue
Expand All @@ -237,6 +264,9 @@
radius: 1.5
energy: 1
color: "#fbceb1"
- type: Construction #Nyano
graph: Altar
node: blue

- type: entity
id: AltarConvertBurden
Expand All @@ -256,6 +286,9 @@
radius: 1.5
energy: 1
color: "#fbceb1"
- type: Construction #Nyano
graph: Altar
node: burden

- type: entity
id: AltarConvert
Expand All @@ -275,6 +308,9 @@
radius: 1.5
energy: 1
color: "#fbceb1"
- type: Construction #Nyano
graph: Altar
node: convert

- type: entity
id: AltarConvertOrange
Expand All @@ -294,6 +330,9 @@
radius: 1.5
energy: 1
color: "#fbceb1"
- type: Construction #Nyano
graph: Altar
node: orange

- type: entity
id: AltarConvertRed
Expand All @@ -313,6 +352,9 @@
radius: 1.5
energy: 1
color: "#fbceb1"
- type: Construction #Nyano
graph: Altar
node: red

- type: entity
id: AltarConvertWhite
Expand All @@ -332,6 +374,9 @@
radius: 1.5
energy: 1
color: "#fbceb1"
- type: Construction #Nyano
graph: Altar
node: white

- type: entity
id: AltarConvertYellow
Expand All @@ -351,6 +396,9 @@
radius: 1.5
energy: 1
color: "#fbceb1"
- type: Construction #Nyano
graph: Altar
node: yellow

- type: entity
id: AltarHeaven
Expand Down Expand Up @@ -392,6 +440,9 @@
radius: 1.5
energy: 1
color: "#f08080"
- type: Construction #Nyano
graph: Altar
node: heaven

- type: entity
id: AltarFangs
Expand All @@ -402,6 +453,9 @@
sprite: Structures/Furniture/Altars/Cults/fangs.rsi
- type: Icon
sprite: Structures/Furniture/Altars/Cults/fangs.rsi
- type: Construction #Nyano
graph: Altar
node: fanged


- type: entity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
- type: entity
id: TableWoodReinforced
parent: TableBase
name: reinforced wood table
description: A classic wooden table. Extra robust.
components:
- type: Sprite
sprite: Nyanotrasen/Structures/Furniture/Tables/rwood.rsi
- type: Icon
sprite: Nyanotrasen/Structures/Furniture/Tables/rwood.rsi
- type: Damageable
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors: #excess damage (nuke?). avoid computational cost of spawning entities.
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 75
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/woodhit.ogg
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
min: 2
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Construction
graph: Table
node: TableWoodReinforced
- type: Tag
tags:
- Wooden
- type: Bonkable
# Reinforced tables are extra tough
bonkDamage:
types:
Blunt: 8
bonkTime: 3
37 changes: 37 additions & 0 deletions Resources/Prototypes/Nyanotrasen/Entities/Furniture/tatami.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
- type: entity
id: tatamibase
parent: BaseStructure
abstract: true
components:
- type: Sprite
drawdepth: FloorTiles
sprite: Nyanotrasen/Structures/Furniture/tatami.rsi
- type: Tag
tags: [ Carpet ]
- type: Physics
canCollide: false
- type: Fixtures

- type: entity
id: tatamisingle
parent: tatamibase
name: tatami square
description: It's tatami, but a square.
components:
- type: Sprite
state: tatami_1x1
- type: Construction
graph: tatami
node: tatamiSquare

- type: entity
id: tatamimat
parent: tatamibase
name: tatami mat
description: It's a portion of a tatami mat.
components:
- type: Sprite
state: tatami_1x1P
- type: Construction
graph: tatami
node: tatamiPart
Loading

0 comments on commit e555206

Please sign in to comment.