Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rosieposieeee committed Dec 7, 2024
1 parent a2c5a83 commit 32537c0
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 0 deletions.
102 changes: 102 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Objects/Decoration/flora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
- type: entity
id: BushBase
name: 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: Physics
bodyType: Static
- 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
name: Light Bush
description: A pretty bush!
components:
- type: Sprite
sprite: DeltaV/Objects/Decoration/Flora/bush.rsi
layers:
- state: base_light

- 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"
}
]
}

0 comments on commit 32537c0

Please sign in to comment.