Skip to content

Commit

Permalink
Merge pull request Simple-Station#175 from Fansana/gems
Browse files Browse the repository at this point in the history
Add Gems
  • Loading branch information
Fansana authored Sep 3, 2024
2 parents 9f7f1da + 342cac7 commit 2cc38ed
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 0 deletions.
142 changes: 142 additions & 0 deletions Resources/Prototypes/Floof/Entities/Objects/Materials/gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
- type: entity
abstract: true
parent: BaseItem
id: GemCrystalBase
name: gem
description: A large gem, perfectly cut to shed light in the darkest of places.
components:
- type: Clothing
sprite: Floof/Objects/Materials/Shards/gem.rsi
quickEquip: true
slots:
- neck
- type: Sprite
layers:
- sprite: Floof/Objects/Materials/Shards/gem.rsi
state: gem
map: [ "enum.DamageStateVisualLayers.Base" ]
- type: MeleeWeapon
wideAnimationRotation: -22.5
attackRate: 1.5
damage:
types:
Slash: 3.5
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 1050

- type: entity
parent: GemCrystalBase
id: GemCrystalCyan
name: cyan crystal shard
description: A small piece of crystal.
components:
- type: Sprite
color: "#47f8ff"
- type: PointLight
radius: 4
energy: 3.5
color: "#47f8ff"
- type: Tag
tags:
- CrystalCyan

- type: entity
parent: GemCrystalBase
name: blue crystal shard
id: GemCrystalBlue
components:
- type: Sprite
color: "#39a1ff"
- type: PointLight
radius: 4
energy: 3.5
color: "#39a1ff"
- type: Tag
tags:
- CrystalBlue

- type: entity
parent: GemCrystalBase
id: GemCrystalOrange
name: orange crystal shard
components:
- type: Sprite
color: "#ff8227"
- type: PointLight
radius: 4
energy: 3.5
color: "#ff8227"
- type: Tag
tags:
- CrystalOrange

- type: entity
parent: GemCrystalBase
id: GemCrystalPink
name: pink crystal shard
components:
- type: Sprite
color: "#ff66cc"
- type: PointLight
radius: 4
energy: 3.5
color: "#ff66cc"
- type: Tag
tags:
- CrystalPink

- type: entity
parent: GemCrystalBase
id: GemCrystalGreen
name: green crystal shard
components:
- type: Sprite
color: "#52ff39"
- type: PointLight
radius: 4
energy: 3.5
color: "#52ff39"
- type: Tag
tags:
- CrystalGreen

- type: entity
parent: GemCrystalBase
id: GemCrystalRed
name: red crystal shard
components:
- type: Sprite
color: "#fb4747"
- type: PointLight
radius: 4
energy: 3.5
color: "#fb4747"
- type: Tag
tags:
- CrystalRed

- type: entity
parent: GemCrystalBase
id: GemCrystalRandom
name: random crystal shard
components:
- type: RandomSpawner
prototypes:
- GemCrystalGreen
- GemCrystalPink
- GemCrystalOrange
- GemCrystalBlue
- GemCrystalCyan
- GemCrystalRed
chance: 1
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,30 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by dakodragon",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "gem",
"delays": [
[
2,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "equipped-NECK",
"directions": 4
}
]
}

0 comments on commit 2cc38ed

Please sign in to comment.