init
10
Content.Shared/_CP14/Fishing/Components/CP14FishingRod.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Content.Shared._CP14.Fishing.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Allows to fish with this item
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class CP14FishingRodComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: CP14FishingRod
|
||||
name: fishing rod
|
||||
description: Wooden stick with string attached.
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
- type: Item
|
||||
shape:
|
||||
- 0,0,0,1
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/Tools/fishing_rod.rsi
|
||||
state: icon
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
- !type:CP14ModularDisassembleBehavior
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startSlots:
|
||||
- FishingRodShaft
|
||||
- type: MeleeWeapon
|
||||
angle: 45
|
||||
attackRate: 1
|
||||
wideAnimationRotation: 135
|
||||
wideAnimation: CP14WeaponArcSlash
|
||||
damage:
|
||||
types:
|
||||
Blunt: 0.1
|
||||
soundHit:
|
||||
collection: MetalThud
|
||||
cPAnimationLength: 0.25
|
||||
- type: Clothing
|
||||
equipDelay: 0.25
|
||||
unequipDelay: 0.25
|
||||
quickEquip: false
|
||||
breakOnMove: false
|
||||
slots:
|
||||
- neck
|
||||
- type: CP14FishingRod
|
||||
BIN
Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 664 B |
|
After Width: | Height: | Size: 676 B |
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 48,
|
||||
"y": 48
|
||||
},
|
||||
"license": "CLA",
|
||||
"copyright": "Created by omsoyk (Discord) ",
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/_CP14/Objects/Tools/float.rsi/1.png
Normal file
|
After Width: | Height: | Size: 266 B |
BIN
Resources/Textures/_CP14/Objects/Tools/float.rsi/2.png
Normal file
|
After Width: | Height: | Size: 204 B |
BIN
Resources/Textures/_CP14/Objects/Tools/float.rsi/3.png
Normal file
|
After Width: | Height: | Size: 337 B |
BIN
Resources/Textures/_CP14/Objects/Tools/float.rsi/4.png
Normal file
|
After Width: | Height: | Size: 292 B |