Separated rods to parts

This commit is contained in:
Tornado Tech
2024-12-17 21:34:39 +10:00
parent 97d08097fe
commit ad70108cdf
48 changed files with 380 additions and 15 deletions

View File

@@ -0,0 +1,96 @@
- type: entity
parent: BaseItem
id: CP14ModularFishingRodGripBase
abstract: true
categories: [ ForkFiltered ]
components:
- type: Item
shape:
- 0,0,0,0
- type: Sprite
state: icon
- type: ExaminableDamage
messages: CP14WeaponMessages
- 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: CP14MeleeSelfDamage
damageToSelf:
types:
Blunt: 0.5
- type: MeleeWeapon
angle: 45
attackRate: 1
wideAnimationRotation: 135
wideAnimation: CP14WeaponArcSlash
damage:
types:
Blunt: 0
soundHit:
collection: MetalThud
cPAnimationLength: 0.25
- type: Clothing
equipDelay: 0.25
unequipDelay: 0.25
quickEquip: false
breakOnMove: false
slots:
- neck
- type: entity
parent: CP14ModularFishingRodGripBase
id: CP14ModularFishingRodGripWooden
name: wooden fishing rod grip
description: A simple wooden grip for a modular fishing rod. Lightweight and easy to handle, perfect for beginners or casual fishing.
components:
- type: Sprite
sprite: _CP14/Objects/Fishing/Grips/wooden.rsi
- type: CP14ModularCraftStartPoint
startProtoPart: CP14ModularFishingRodGripWooden
- type: entity
parent: CP14ModularFishingRodGripBase
id: CP14ModularFishingRodGripCopper
name: copper fishing rod grip
description: A sturdy copper grip for a modular fishing rod. Durable and resistant to wear, ideal for intermediate anglers.
components:
- type: Sprite
sprite: _CP14/Objects/Fishing/Grips/copper.rsi
- type: CP14ModularCraftStartPoint
startProtoPart: CP14ModularFishingRodGripCopper
- type: entity
parent: CP14ModularFishingRodGripBase
id: CP14ModularFishingRodGripIron
name: iron fishing rod grip
description: A heavy-duty iron grip for a modular fishing rod. Provides excellent stability and control for tough fishing conditions.
components:
- type: Sprite
sprite: _CP14/Objects/Fishing/Grips/iron.rsi
- type: CP14ModularCraftStartPoint
startProtoPart: CP14ModularFishingRodGripIron
- type: entity
parent: CP14ModularFishingRodGripBase
id: CP14ModularFishingRodGripGold
name: gold fishing rod grip
description: A luxurious gold grip for a modular fishing rod. Beautifully crafted and highly durable, favored by elite anglers.
components:
- type: Sprite
sprite: _CP14/Objects/Fishing/Grips/gold.rsi
- type: CP14ModularCraftStartPoint
startProtoPart: CP14ModularFishingRodGripGold

View File

@@ -0,0 +1,58 @@
- type: entity
parent: BaseItem
id: CP14FishingRodShaftBase
abstract: true
categories: [ ForkFiltered ]
components:
- type: Item
storedRotation: 45
shape:
- 0,0,0,0
storedOffset: 0, 5
- type: Sprite
state: icon
- type: CP14ModularCraftPart
- type: entity
parent: CP14FishingRodShaftBase
id: CP14FishingRodShaftWooden
name: wooden fishing rod shaft
components:
- type: Sprite
sprite: _CP14/Objects/Fishing/Shafts/wooden.rsi
- type: CP14ModularCraftPart
possibleParts:
- FishingRodShaftWooden
- type: entity
parent: CP14FishingRodShaftBase
id: CP14FishingRodShaftCopper
name: copper fishing rod shaft
components:
- type: Sprite
sprite: _CP14/Objects/Fishing/Shafts/copper.rsi
- type: CP14ModularCraftPart
possibleParts:
- FishingRodShaftCopper
- type: entity
parent: CP14FishingRodShaftBase
id: CP14FishingRodShaftIron
name: iron fishing rod shaft
components:
- type: Sprite
sprite: _CP14/Objects/Fishing/Shafts/iron.rsi
- type: CP14ModularCraftPart
possibleParts:
- FishingRodShaftIron
- type: entity
parent: CP14FishingRodShaftBase
id: CP14FishingRodShaftGold
name: gold fishing rod shaft
components:
- type: Sprite
sprite: _CP14/Objects/Fishing/Shafts/gold.rsi
- type: CP14ModularCraftPart
possibleParts:
- FishingRodShaftGold

View File

@@ -1,15 +0,0 @@
- type: entity
parent: BaseItem
id: CP14BaseFishingRod
categories: [ ForkFiltered ]
name: fishing rod
components:
- type: Item
storedRotation: 45
shape:
- 0,0,0,0
storedOffset: 0, 5
- type: Sprite
sprite: _CP14/Objects/ModularTools/iron_spear.rsi
state: icon
- type: CP14FishingRod

View File

@@ -0,0 +1,45 @@
- type: modularPart
id: FishingRodShaftWooden
targetSlot: FishingRodShaft
sourcePart: CP14FishingRodShaftWooden
rsiPath: _CP14/Objects/Fishing/Shafts/wooden.rsi
modifiers:
- !type:AddComponents
components:
# I like the idea of parrying with a fishing rod,
# it's too cool to take away
- type: CP14MeleeParriable
- type: CP14FishingRod
- type: modularPart
id: FishingRodShaftCopper
targetSlot: FishingRodShaft
sourcePart: CP14FishingRodShaftCopper
rsiPath: _CP14/Objects/Fishing/Shafts/copper.rsi
modifiers:
- !type:AddComponents
components:
- type: CP14MeleeParriable
- type: CP14FishingRod
- type: modularPart
id: FishingRodShaftIron
targetSlot: FishingRodShaft
sourcePart: CP14FishingRodShaftIron
rsiPath: _CP14/Objects/Fishing/Shafts/iron.rsi
modifiers:
- !type:AddComponents
components:
- type: CP14MeleeParriable
- type: CP14FishingRod
- type: modularPart
id: FishingRodShaftGold
targetSlot: FishingRodShaft
sourcePart: CP14FishingRodShaftGold
rsiPath: _CP14/Objects/Fishing/Shafts/gold.rsi
modifiers:
- !type:AddComponents
components:
- type: CP14MeleeParriable
- type: CP14FishingRod

View File

@@ -0,0 +1,5 @@
- type: modularSlot
# It's fucked up,
# but what the fuck else could it be?
id: FishingRodShaft
name: cp14-modular-slot-fishing-rod-rod

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

View File

@@ -0,0 +1,22 @@
{
"version": 1,
"license": "CLA",
"copyright": "Created by omsoyk (Discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

View File

@@ -0,0 +1,22 @@
{
"version": 1,
"license": "CLA",
"copyright": "Created by omsoyk (Discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

View File

@@ -0,0 +1,22 @@
{
"version": 1,
"license": "CLA",
"copyright": "Created by omsoyk (Discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

View File

@@ -0,0 +1,22 @@
{
"version": 1,
"license": "CLA",
"copyright": "Created by omsoyk (Discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

View File

@@ -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
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

View File

@@ -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
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 B

View File

@@ -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
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

View File

@@ -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
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B