Skip to content

Commit

Permalink
Flower Bushes (#2382)
Browse files Browse the repository at this point in the history
* initial commit

* oops

* Update flora.yml

* Update flora.yml
  • Loading branch information
rosieposieeee authored Dec 17, 2024
1 parent 886546c commit e69fe96
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 0 deletions.
91 changes: 91 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Objects/Decoration/flora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
- type: entity
id: BushPlain
name: plain bush
description: A pretty bush.
placement:
mode: PlaceFree
components:
- type: SpriteFade
- type: Clickable
- type: InteractionOutline
- type: Sprite
noRot: true
sprite: DeltaV/Objects/Decoration/Flora/bush.rsi
state: base
drawdepth: Mobs
- type: Tag
tags:
- Structure
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Wood
- type: MeleeSound
soundGroups:
Brute:
path: /Audio/Effects/chop.ogg
params:
variation: 0.05
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
min: 0
max: 1

- type: entity
parent: BushPlain
id: BushPlainLight
components:
- type: Sprite
layers:
- state: base_light

- type: entity
parent: BushPlain
id: BushHibiscus
name: hibiscus bush
description: A pretty bush, with hibiscuses!
components:
- type: Sprite
layers:
- state: base
- state: hibiscus

- type: entity
parent: BushHibiscus
id: BushHibiscusLight
components:
- type: Sprite
layers:
- state: base_light
- state: hibiscus

- type: entity
parent: BushPlain
id: BushHydrangea
name: hydrangea bush
description: A pretty bush, with hydrangeas!
components:
- type: Sprite
layers:
- state: base
- state: hydrangea

- type: entity
parent: BushHydrangea
id: BushHydrangeaLight
components:
- type: Sprite
layers:
- state: base_light
- state: hydrangea
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,23 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by rosieposieeee (Github)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "base_light"
},
{
"name": "hibiscus"
},
{
"name": "hydrangea"
}
]
}

0 comments on commit e69fe96

Please sign in to comment.