diff --git a/Resources/Prototypes/Floof/Entities/Objects/Materials/gem.yml b/Resources/Prototypes/Floof/Entities/Objects/Materials/gem.yml new file mode 100644 index 00000000000..99f3487a7ea --- /dev/null +++ b/Resources/Prototypes/Floof/Entities/Objects/Materials/gem.yml @@ -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 diff --git a/Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/equipped-NECK.png b/Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/equipped-NECK.png new file mode 100644 index 00000000000..1f79e2ae820 Binary files /dev/null and b/Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/equipped-NECK.png differ diff --git a/Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/gem.png b/Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/gem.png new file mode 100644 index 00000000000..7b2fa536277 Binary files /dev/null and b/Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/gem.png differ diff --git a/Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/meta.json b/Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/meta.json new file mode 100644 index 00000000000..772e5f29ca7 --- /dev/null +++ b/Resources/Textures/Floof/Objects/Materials/Shards/gem.rsi/meta.json @@ -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 + } + ] +}