Skip to content

Commit

Permalink
Added Drywall
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin-Tel committed Sep 16, 2023
1 parent 861b236 commit 2615d02
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,42 @@
- type: IconSmooth
key: walls
base: paperwall

# TODO: construction graph, material, better sounds
- type: entity
parent: BaseWall
id: WallDrywall
name: drywall
description: It looks sturdy enough.
components:
- type: Sprite
sprite: Nyanotrasen/Structures/Walls/drywall.rsi
- type: Icon
sprite: Nyanotrasen/Structures/Walls/drywall.rsi
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/woodhit.ogg
- !type:DoActsBehavior
acts: ["Destruction"]
- type: IconSmooth
key: walls
base: drywall
- type: Tag
tags:
- Wall
- RCDDeconstructWhitelist
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1,
"size": {"x": 32, "y": 32},
"license": "CC-BY-SA-4.0",
"copyright": "@Vordenburg",
"states":
[
{"name": "full"},
{"name": "drywall0", "directions": 4},
{"name": "drywall1", "directions": 4},
{"name": "drywall2", "directions": 4},
{"name": "drywall3", "directions": 4},
{"name": "drywall4", "directions": 4},
{"name": "drywall5", "directions": 4},
{"name": "drywall6", "directions": 4},
{"name": "drywall7", "directions": 4}
]
}

0 comments on commit 2615d02

Please sign in to comment.