From 310126c660920d901e3affac4e9918eab0a82362 Mon Sep 17 00:00:00 2001 From: Deserty0 Date: Thu, 4 Sep 2025 02:32:59 +1000 Subject: [PATCH] init --- .../Fishing/Components/CP14FishingRod.cs | 10 ++++ .../Entities/Objects/Tools/fishing_rod.yml | 49 ++++++++++++++++++ .../Objects/Tools/fishing_rod.rsi/icon.png | Bin 0 -> 352 bytes .../Tools/fishing_rod.rsi/inhand-left.png | Bin 0 -> 664 bytes .../Tools/fishing_rod.rsi/inhand-right.png | Bin 0 -> 676 bytes .../Objects/Tools/fishing_rod.rsi/meta.json | 22 ++++++++ .../_CP14/Objects/Tools/float.rsi/1.png | Bin 0 -> 266 bytes .../_CP14/Objects/Tools/float.rsi/2.png | Bin 0 -> 204 bytes .../_CP14/Objects/Tools/float.rsi/3.png | Bin 0 -> 337 bytes .../_CP14/Objects/Tools/float.rsi/4.png | Bin 0 -> 292 bytes 10 files changed, 81 insertions(+) create mode 100644 Content.Shared/_CP14/Fishing/Components/CP14FishingRod.cs create mode 100644 Resources/Prototypes/_CP14/Entities/Objects/Tools/fishing_rod.yml create mode 100644 Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/icon.png create mode 100644 Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/inhand-left.png create mode 100644 Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/inhand-right.png create mode 100644 Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/meta.json create mode 100644 Resources/Textures/_CP14/Objects/Tools/float.rsi/1.png create mode 100644 Resources/Textures/_CP14/Objects/Tools/float.rsi/2.png create mode 100644 Resources/Textures/_CP14/Objects/Tools/float.rsi/3.png create mode 100644 Resources/Textures/_CP14/Objects/Tools/float.rsi/4.png diff --git a/Content.Shared/_CP14/Fishing/Components/CP14FishingRod.cs b/Content.Shared/_CP14/Fishing/Components/CP14FishingRod.cs new file mode 100644 index 0000000000..5d52e7963d --- /dev/null +++ b/Content.Shared/_CP14/Fishing/Components/CP14FishingRod.cs @@ -0,0 +1,10 @@ +namespace Content.Shared._CP14.Fishing.Components; + +/// +/// Allows to fish with this item +/// +[RegisterComponent] +public sealed partial class CP14FishingRodComponent : Component +{ + +} diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Tools/fishing_rod.yml b/Resources/Prototypes/_CP14/Entities/Objects/Tools/fishing_rod.yml new file mode 100644 index 0000000000..9f844776c9 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Objects/Tools/fishing_rod.yml @@ -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 \ No newline at end of file diff --git a/Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/icon.png b/Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..6515da2b4760dd2fd51b14c98013ae74b86ba13f GIT binary patch literal 352 zcmV-m0iXVfP)Px$8c9S!RA_?-u?D9A;u+o{ZEW@eQ*~qH$}c`7_9-7ku4nNR#>{ z6*U)3acImC3K z%X1y|_|R9g<$V(^m6I1h(?M+ZQ(6@GR~u|YkeezWFIH=@+3nGEh_fzTqpacGZ9A8| z$TiZM3Q_3_WrcAfK0dc--6YCP0XR&;=1v%!0C3ouFixy4_SFD`(O8t7!u~Ntt3YeG>XCj1v)>C~is=`0Dgo%{$ZQw)!eOfx&1jfS=~1Oux_mrJ_HU<&edaSW-L z^Y*r3{$&S|10T~*i8pX|F6?I4z89#Y?-6@LcT+pQFjg`Odecp2XVaTl3O*77)NwPBzd@wsxXtnC1T}*F} z+|W#&D81Gw#D7m1)12uFr?1_4-0kgOEE@6q_xX@Vt5hE(yuYxg?(;Qa!N}Ub4{i3j zol(o;Tv4=_3uvX~z8!Clo(|V#jPj0id2;%EeAdS5WW)J)XMS84cg(l&RdV4u3gzFote2YaNO!IY`)w=sCc<|JNJu z&vy0wFrjU=EqmV9MRf+eoY2X1e~w=MyBuBnz0p}bsgM6;J(Zn1r*iVgj33%cTs6VE zthwrocV{fvao#po%`ta%xY*BS{x{;TTdT+KskwUchuG(tnY*^nWnr&wU-svRL*&QW=*R5-yX{wN?t3e{`FiTa@_7tf^&hS~b^8C2_396Q{kkpx s*lK?i?`9TT7QL{{e5tLB@POdCnEz#+&iAuyG0#9^p00i_>zopr002NR1^@s6 literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/inhand-right.png b/Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/inhand-right.png new file mode 100644 index 0000000000000000000000000000000000000000..31df31dc8fd0fe3d7231c4a8d0fba7bcf18c7f09 GIT binary patch literal 676 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD1|%QND7OGojKx9jP7LeL$-HD>V2bl}aSW-L z^Y+f(yjuYx2R;_xwsTyT7b&50LvWh-61_KJd$yetxXAwEk@`v_h3Z!E1ny`7YYk@a z5ZA0}%ZjJpR=r-j!k6RUk$?ZUwLCfWbWZWcrNsh_KwFT&iQZG6&fiVTH_K6A3Y;8QZE9`E~{+Q)UDG}&v-+WdVJkNdu8 zcmBWO3jZwOi}HP^Z2Qs^1zdN(y&2#6af$fU*sJSVkvz{(dhLdt|K*eAWlOK@i_{l6 z@+JG%y2aYE%dA-+d;0Hj41aF}Xl0i7N9JR+dRFFMTiAk)C$O^xtkHri6;- zJZt8OUyeyvew!n=DQtDqgWcy=r`O!`-Jkh-=E2vI5-(OYPpI^GFR<_Ri?@d-UrF7g zSr=&)n|I~xFT=uL%LRR&&A!>RC3DiEsC$#IndW|b_B>KziCnjiIPd|%C zF`kbU&0S|Nvl3|g>7%C~zPpsZ_STYDZ`SP&TGxc|`gTe~ HDWM4f*L_0* literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/meta.json b/Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/meta.json new file mode 100644 index 0000000000..ff0451567b --- /dev/null +++ b/Resources/Textures/_CP14/Objects/Tools/fishing_rod.rsi/meta.json @@ -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 + } + ] +} \ No newline at end of file diff --git a/Resources/Textures/_CP14/Objects/Tools/float.rsi/1.png b/Resources/Textures/_CP14/Objects/Tools/float.rsi/1.png new file mode 100644 index 0000000000000000000000000000000000000000..75ce9b950caae09d239dbe1eeaa0f5ff28dc9697 GIT binary patch literal 266 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}M?75|Ln2y} z6C_v{Cy4Yk1sZU*?mMH)B?HBF{#*alOn1pM+zeiqCsFqz}! wBw;ok!$rUCjC45qCd#_`gvmm!Y~W$Y+w8hl>89B>po5aHyW(T)EV$A+ql@Q<1K!m7r4egJ2umzQ)EzN5j~3MP_E^ z=BusOMO4!kF>ZR_FWK?0e$J}@|G)p6^8YxG%YWt5!or~j4%<#&)V+CW_RfyR#w{`q zCJJVWy0$-!`b6#<8wdz8fgSdfPg3A