-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from Fansana/gems
Add Gems
- Loading branch information
Showing
4 changed files
with
172 additions
and
0 deletions.
There are no files selected for viewing
142 changes: 142 additions & 0 deletions
142
Resources/Prototypes/Floof/Entities/Objects/Materials/gem.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Binary file added
BIN
+189 Bytes
Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/equipped-NECK.png
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.
30 changes: 30 additions & 0 deletions
30
Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} |