Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flower Bushes #2382

Merged
merged 4 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Objects/Decoration/flora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
- type: entity
id: BushBase
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
name: Bush
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
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: BushBase
id: BushLightBase
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
name: Light Bush
description: A pretty bush!
components:
- type: Sprite
sprite: DeltaV/Objects/Decoration/Flora/bush.rsi
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
layers:
- state: base_light
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved

- type: entity
parent: BushBase
id: BushHibiscus
name: Hibiscus Bush
description: A pretty bush, with hibiscuses!
components:
- type: Sprite
sprite: DeltaV/Objects/Decoration/Flora/bush.rsi
layers:
- state: base
- state: hibiscus

- type: entity
parent: BushHibiscus
id: BushLightHibiscus
name: Light Hibiscus Bush
components:
- type: Sprite
sprite: DeltaV/Objects/Decoration/Flora/bush.rsi
layers:
- state: base_light
- state: hibiscus

- type: entity
parent: BushBase
id: BushHydrangea
name: Hydrangea Bush
description: A pretty bush, with hydrangeas!
components:
- type: Sprite
sprite: DeltaV/Objects/Decoration/Flora/bush.rsi
layers:
- state: base
- state: hydrangea

- type: entity
parent: BushHydrangea
id: BushLightHydrangea
name: Light Hydrangea Bush
components:
- type: Sprite
sprite: DeltaV/Objects/Decoration/Flora/bush.rsi
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"
}
]
}
Loading