Gold & Copper modular parts 1 (#621)
* gold & copper daggers * copper and gold short grip * gold & copper grips * golden pickaxe * copper pickaxe * Update anvil.yml
@@ -11,8 +11,7 @@ public sealed partial class EditDamageableModifier : CP14ModularCraftModifier
|
||||
|
||||
public override void Effect(EntityManager entManager, Entity<CP14ModularCraftStartPointComponent> start, Entity<CP14ModularCraftPartComponent>? part)
|
||||
{
|
||||
if (!entManager.TryGetComponent<CP14DamageableModifierComponent>(start, out var damageable))
|
||||
return;
|
||||
var damageable = entManager.EnsureComponent<CP14DamageableModifierComponent>(start);
|
||||
|
||||
damageable.Modifier *= Multiplier;
|
||||
entManager.Dirty(start);
|
||||
|
||||
18
Content.Server/_CP14/ModularCraft/Modifiers/EditSharpened.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Content.Shared._CP14.MeleeWeapon.Components;
|
||||
using Content.Shared._CP14.ModularCraft;
|
||||
using Content.Shared._CP14.ModularCraft.Components;
|
||||
|
||||
namespace Content.Server._CP14.ModularCraft.Modifiers;
|
||||
|
||||
public sealed partial class EditSharpened : CP14ModularCraftModifier
|
||||
{
|
||||
[DataField]
|
||||
public float SharpnessDamageMultiplier = 1f;
|
||||
public override void Effect(EntityManager entManager, Entity<CP14ModularCraftStartPointComponent> start, Entity<CP14ModularCraftPartComponent>? part)
|
||||
{
|
||||
if (!entManager.TryGetComponent<CP14SharpenedComponent>(start, out var sharpened))
|
||||
return;
|
||||
|
||||
sharpened.SharpnessDamageBy1Damage *= SharpnessDamageMultiplier;
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ namespace Content.Shared._CP14.MeleeWeapon.Components;
|
||||
/// <summary>
|
||||
/// allows the object to become blunt with use
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, Access(typeof(CP14SharpeningSystem))]
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class CP14SharpenedComponent : Component
|
||||
{
|
||||
[DataField, AutoNetworkedField]
|
||||
|
||||
@@ -1,22 +1,3 @@
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: CP14ModularBladeIronDagger
|
||||
categories: [ ForkFiltered ]
|
||||
name: iron dagger blade
|
||||
description: A dagger blade without a hilt. A blacksmith can use it as a spare part to create a weapon.
|
||||
components:
|
||||
- type: Item
|
||||
storedRotation: 45
|
||||
shape:
|
||||
- 0,0,0,0
|
||||
storedOffset: 0, 5
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/iron_dagger.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftPart
|
||||
possibleParts:
|
||||
- BladeIronDagger
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: CP14ModularBladeIronSpear
|
||||
@@ -112,25 +93,6 @@
|
||||
possibleParts:
|
||||
- BladeIronShovel
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: CP14ModularBladeIronPickaxe
|
||||
categories: [ ForkFiltered ]
|
||||
name: iron pickaxe head
|
||||
description: A pickaxe head without a hilt. A blacksmith can use it as a spare part to create a tool.
|
||||
components:
|
||||
- type: Item
|
||||
storedRotation: 45
|
||||
shape:
|
||||
- 0,0,1,0
|
||||
storedOffset: 0, 5
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/iron_pickaxe.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftPart
|
||||
possibleParts:
|
||||
- BladeIronPickaxe
|
||||
|
||||
#- type: entity
|
||||
# parent: BaseItem
|
||||
# id: CP14ModularBladeIronSwordTwoHanded
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: CP14ModularBladeDaggerBase
|
||||
categories: [ ForkFiltered ]
|
||||
abstract: true
|
||||
description: A dagger blade without a hilt. A blacksmith can use it as a spare part to create a weapon.
|
||||
components:
|
||||
- type: Item
|
||||
storedRotation: 45
|
||||
shape:
|
||||
- 0,0,0,0
|
||||
storedOffset: 0, 5
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularBladeDaggerBase
|
||||
id: CP14ModularBladeIronDagger
|
||||
name: iron dagger blade
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/Dagger/iron_dagger.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftPart
|
||||
possibleParts:
|
||||
- BladeIronDagger
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularBladeDaggerBase
|
||||
id: CP14ModularBladeGoldDagger
|
||||
name: golden dagger blade
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/Dagger/gold_dagger.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftPart
|
||||
possibleParts:
|
||||
- BladeGoldDagger
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularBladeDaggerBase
|
||||
id: CP14ModularBladeCopperDagger
|
||||
name: copper dagger blade
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/Dagger/copper_dagger.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftPart
|
||||
possibleParts:
|
||||
- BladeCopperDagger
|
||||
@@ -34,33 +34,17 @@
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripBase
|
||||
id: CP14ModularGripWooden
|
||||
name: wooden grip
|
||||
description: A short wooden handle for a weapon or tool. The cheapest and most unstable material.
|
||||
id: CP14ModularGripShort
|
||||
abstract: true
|
||||
description: A short handle for a weapon or tool.
|
||||
components:
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startSlots:
|
||||
- Blade
|
||||
- type: Item
|
||||
shape:
|
||||
- 0,0,0,0
|
||||
storedOffset: 0, -5
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/wooden_grip.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripWooden
|
||||
startSlots:
|
||||
- Blade
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
- !type:CP14ModularDisassembleBehavior
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: MeleeWeapon
|
||||
resetOnHandSelected: false #Fast swap
|
||||
range: 1.0 # 1.5 standart
|
||||
@@ -72,21 +56,42 @@
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripBase
|
||||
id: CP14ModularGripWoodenLong
|
||||
name: long wooden grip
|
||||
description: long, two-handed wooden handle for heavy weapons or large tools.
|
||||
id: CP14ModularGripLong
|
||||
abstract: true
|
||||
description: long, two-handed handle for heavy weapons or large tools.
|
||||
components:
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startSlots:
|
||||
- Blade
|
||||
- type: Item
|
||||
shape:
|
||||
- 0,0,0,1
|
||||
storedOffset: 0, -15
|
||||
- type: MeleeWeapon
|
||||
resetOnHandSelected: true
|
||||
range: 1.5 # 1.5 standart
|
||||
attackRate: 0.7 # 1 standart
|
||||
cPAnimationOffset: -1
|
||||
- type: Clothing
|
||||
slots:
|
||||
- neck
|
||||
- type: Wieldable
|
||||
- type: IncreaseDamageOnWield
|
||||
damage:
|
||||
types:
|
||||
Blunt: 0
|
||||
|
||||
# Shorts
|
||||
- type: entity
|
||||
parent: CP14ModularGripShort
|
||||
id: CP14ModularGripWooden
|
||||
name: wooden grip
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/wooden_grip_long.rsi
|
||||
sprite: _CP14/Objects/ModularTools/Grip/wooden_grip.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripWoodenLong
|
||||
startSlots:
|
||||
- Blade
|
||||
startProtoPart: CP14ModularGripWooden
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
@@ -99,28 +104,15 @@
|
||||
- !type:CP14ModularDisassembleBehavior
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: MeleeWeapon
|
||||
resetOnHandSelected: true
|
||||
range: 1.5 # 1.5 standart
|
||||
attackRate: 0.7 # 1 standart
|
||||
cPAnimationOffset: -1
|
||||
- type: Wieldable
|
||||
- type: IncreaseDamageOnWield
|
||||
damage:
|
||||
types:
|
||||
Blunt: 0
|
||||
- type: Clothing
|
||||
slots:
|
||||
- neck
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripWooden
|
||||
parent: CP14ModularGripShort
|
||||
id: CP14ModularGripIron
|
||||
name: iron grip
|
||||
description: A short iron handle for a weapon or tool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/iron_grip.rsi
|
||||
sprite: _CP14/Objects/ModularTools/Grip/iron_grip.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripIron
|
||||
- type: Destructible
|
||||
@@ -137,13 +129,83 @@
|
||||
acts: ["Destruction"]
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripWoodenLong
|
||||
id: CP14ModularGripIronLong
|
||||
name: long iron grip
|
||||
description: long, two-handed iron handle for heavy weapons or large tools.
|
||||
parent: CP14ModularGripShort
|
||||
id: CP14ModularGripGolden
|
||||
name: golden grip
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/iron_grip_long.rsi
|
||||
sprite: _CP14/Objects/ModularTools/Grip/gold_grip.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripGolden
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 20 #~x0.3 durability
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
- !type:CP14ModularDisassembleBehavior
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripShort
|
||||
id: CP14ModularGripCopper
|
||||
name: copper grip
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/Grip/copper_grip.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripCopper
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 70 #~x0.66 durability
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
- !type:CP14ModularDisassembleBehavior
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
|
||||
# Long
|
||||
- type: entity
|
||||
parent: CP14ModularGripLong
|
||||
id: CP14ModularGripWoodenLong
|
||||
name: long wooden grip
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/GripLong/wooden_grip_long.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripWoodenLong
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
- !type:CP14ModularDisassembleBehavior
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripLong
|
||||
id: CP14ModularGripIronLong
|
||||
name: long iron grip
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/GripLong/iron_grip_long.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripIronLong
|
||||
- type: Destructible
|
||||
@@ -156,5 +218,51 @@
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
- !type:CP14ModularDisassembleBehavior
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripLong
|
||||
id: CP14ModularGripGoldLong
|
||||
name: long golden grip
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/GripLong/gold_grip_long.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripGoldLong
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 40 #~x0.3 durability
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
- !type:CP14ModularDisassembleBehavior
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularGripLong
|
||||
id: CP14ModularGripCopperLong
|
||||
name: long copper grip
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/GripLong/copper_grip_long.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftStartPoint
|
||||
startProtoPart: CP14ModularGripCopperLong
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 70 #~x0.66 durability
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
- !type:CP14ModularDisassembleBehavior
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
@@ -0,0 +1,51 @@
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: CP14ModularBladePickaxeBase
|
||||
categories: [ ForkFiltered ]
|
||||
abstract: true
|
||||
description: A pickaxe head without a hilt. A blacksmith can use it as a spare part to create a tool.
|
||||
components:
|
||||
- type: Item
|
||||
storedRotation: 45
|
||||
shape:
|
||||
- 0,0,1,0
|
||||
storedOffset: 0, 5
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularBladePickaxeBase
|
||||
id: CP14ModularBladeIronPickaxe
|
||||
categories: [ ForkFiltered ]
|
||||
name: iron pickaxe head
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/Pickaxe/iron_pickaxe.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftPart
|
||||
possibleParts:
|
||||
- BladeIronPickaxe
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularBladePickaxeBase
|
||||
id: CP14ModularBladeGoldPickaxe
|
||||
categories: [ ForkFiltered ]
|
||||
name: golden pickaxe head
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/Pickaxe/gold_pickaxe.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftPart
|
||||
possibleParts:
|
||||
- BladeGoldPickaxe
|
||||
|
||||
- type: entity
|
||||
parent: CP14ModularBladePickaxeBase
|
||||
id: CP14ModularBladeCopperPickaxe
|
||||
categories: [ ForkFiltered ]
|
||||
name: copper pickaxe head
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/ModularTools/Pickaxe/copper_pickaxe.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftPart
|
||||
possibleParts:
|
||||
- BladeCopperPickaxe
|
||||
@@ -7,7 +7,7 @@
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon
|
||||
- sprite: _CP14/Objects/ModularTools/iron_dagger.rsi
|
||||
- sprite: _CP14/Objects/ModularTools/Dagger/iron_dagger.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftAutoAssemble
|
||||
details:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon
|
||||
- sprite: _CP14/Objects/ModularTools/iron_pickaxe.rsi
|
||||
- sprite: _CP14/Objects/ModularTools/Pickaxe/iron_pickaxe.rsi
|
||||
state: icon
|
||||
- type: CP14ModularCraftAutoAssemble
|
||||
details:
|
||||
|
||||
@@ -1,36 +1,3 @@
|
||||
#Concept:
|
||||
# + Fast attackRate
|
||||
# fast swing
|
||||
# - Low damage
|
||||
- type: modularPart
|
||||
id: BladeIronDagger
|
||||
targetSlot: Blade
|
||||
sourcePart: CP14ModularBladeIronDagger
|
||||
rsiPath: _CP14/Objects/ModularTools/iron_dagger.rsi
|
||||
modifiers:
|
||||
- !type:Inherit
|
||||
copyFrom:
|
||||
- BaseWeaponThrowable
|
||||
- BaseWeaponChemical
|
||||
- BaseWeaponSharp
|
||||
- !type:AddComponents
|
||||
components:
|
||||
- type: ThrowingAngle
|
||||
angle: 135
|
||||
- type: EmbeddableProjectile
|
||||
offset: -0.15,-0.15
|
||||
removalTime: 0.5
|
||||
- !type:EditMeleeWeapon
|
||||
attackRateMultiplier: 1.4
|
||||
bonusDamage:
|
||||
types:
|
||||
Slash: 3
|
||||
Piercing: 3
|
||||
- !type:EditItem
|
||||
newSize: Normal
|
||||
adjustShape: 0, 1
|
||||
storedOffsetBonus: 0, 5
|
||||
|
||||
#Concept:
|
||||
# Copy of dagger with lesser damage
|
||||
# But can gather grass from world
|
||||
@@ -192,26 +159,4 @@
|
||||
- !type:EditItem
|
||||
newSize: Normal
|
||||
adjustShape: 0, 1
|
||||
storedOffsetBonus: 0, 5
|
||||
|
||||
- type: modularPart
|
||||
id: BladeIronPickaxe
|
||||
targetSlot: Blade
|
||||
sourcePart: CP14ModularBladeIronPickaxe
|
||||
rsiPath: _CP14/Objects/ModularTools/iron_pickaxe.rsi
|
||||
modifiers:
|
||||
- !type:EditMeleeWeapon
|
||||
attackRateMultiplier: 0.75
|
||||
angleMultiplier: 1.2
|
||||
bonusDamage:
|
||||
types:
|
||||
Piercing: 9
|
||||
- !type:EditIncreaseDamageOnWield
|
||||
bonusDamage:
|
||||
types:
|
||||
Piercing: 4
|
||||
Structural: 10
|
||||
- !type:EditItem
|
||||
newSize: Normal
|
||||
adjustShape: 1, 1
|
||||
storedOffsetBonus: 0, 5
|
||||
63
Resources/Prototypes/_CP14/ModularCraft/Blade/dagger.yml
Normal file
@@ -0,0 +1,63 @@
|
||||
#Concept:
|
||||
# + Fast attackRate
|
||||
# fast swing
|
||||
# - Low damage
|
||||
|
||||
- type: modularPart
|
||||
id: BaseBladeDagger
|
||||
modifiers:
|
||||
- !type:Inherit
|
||||
copyFrom:
|
||||
- BaseWeaponThrowable
|
||||
- BaseWeaponChemical
|
||||
- BaseWeaponSharp
|
||||
- !type:AddComponents
|
||||
components:
|
||||
- type: ThrowingAngle
|
||||
angle: 135
|
||||
- type: EmbeddableProjectile
|
||||
offset: -0.15,-0.15
|
||||
removalTime: 0.5
|
||||
- !type:EditMeleeWeapon
|
||||
attackRateMultiplier: 1.4
|
||||
bonusDamage:
|
||||
types:
|
||||
Slash: 3
|
||||
Piercing: 3
|
||||
- !type:EditItem
|
||||
newSize: Normal
|
||||
adjustShape: 0, 1
|
||||
storedOffsetBonus: 0, 5
|
||||
|
||||
- type: modularPart
|
||||
id: BladeIronDagger
|
||||
targetSlot: Blade
|
||||
sourcePart: CP14ModularBladeIronDagger
|
||||
rsiPath: _CP14/Objects/ModularTools/Dagger/iron_dagger.rsi
|
||||
modifiers:
|
||||
- !type:Inherit
|
||||
copyFrom:
|
||||
- BaseBladeDagger
|
||||
- BaseWeaponIron
|
||||
|
||||
- type: modularPart
|
||||
id: BladeGoldDagger
|
||||
targetSlot: Blade
|
||||
sourcePart: CP14ModularBladeGoldDagger
|
||||
rsiPath: _CP14/Objects/ModularTools/Dagger/gold_dagger.rsi
|
||||
modifiers:
|
||||
- !type:Inherit
|
||||
copyFrom:
|
||||
- BaseBladeDagger
|
||||
- BaseWeaponGold
|
||||
|
||||
- type: modularPart
|
||||
id: BladeCopperDagger
|
||||
targetSlot: Blade
|
||||
sourcePart: CP14ModularBladeCopperDagger
|
||||
rsiPath: _CP14/Objects/ModularTools/Dagger/copper_dagger.rsi
|
||||
modifiers:
|
||||
- !type:Inherit
|
||||
copyFrom:
|
||||
- BaseBladeDagger
|
||||
- BaseWeaponCopper
|
||||
51
Resources/Prototypes/_CP14/ModularCraft/Blade/pickaxe.yml
Normal file
@@ -0,0 +1,51 @@
|
||||
- type: modularPart
|
||||
id: BaseBladePickaxe
|
||||
modifiers:
|
||||
- !type:EditMeleeWeapon
|
||||
attackRateMultiplier: 0.75
|
||||
angleMultiplier: 1.2
|
||||
bonusDamage:
|
||||
types:
|
||||
Piercing: 9
|
||||
- !type:EditIncreaseDamageOnWield
|
||||
bonusDamage:
|
||||
types:
|
||||
Piercing: 4
|
||||
Structural: 10
|
||||
- !type:EditItem
|
||||
newSize: Normal
|
||||
adjustShape: 1, 1
|
||||
storedOffsetBonus: 0, 5
|
||||
|
||||
- type: modularPart
|
||||
id: BladeIronPickaxe
|
||||
targetSlot: Blade
|
||||
sourcePart: CP14ModularBladeIronPickaxe
|
||||
rsiPath: _CP14/Objects/ModularTools/Pickaxe/iron_pickaxe.rsi
|
||||
modifiers:
|
||||
- !type:Inherit
|
||||
copyFrom:
|
||||
- BaseBladePickaxe
|
||||
- BaseWeaponIron
|
||||
|
||||
- type: modularPart
|
||||
id: BladeGoldPickaxe
|
||||
targetSlot: Blade
|
||||
sourcePart: CP14ModularBladeGoldPickaxe
|
||||
rsiPath: _CP14/Objects/ModularTools/Pickaxe/gold_pickaxe.rsi
|
||||
modifiers:
|
||||
- !type:Inherit
|
||||
copyFrom:
|
||||
- BaseBladePickaxe
|
||||
- BaseWeaponGold
|
||||
|
||||
- type: modularPart
|
||||
id: BladeCopperPickaxe
|
||||
targetSlot: Blade
|
||||
sourcePart: CP14ModularBladeCopperPickaxe
|
||||
rsiPath: _CP14/Objects/ModularTools/Pickaxe/copper_pickaxe.rsi
|
||||
modifiers:
|
||||
- !type:Inherit
|
||||
copyFrom:
|
||||
- BaseBladePickaxe
|
||||
- BaseWeaponCopper
|
||||
@@ -65,4 +65,28 @@
|
||||
- type: Utensil
|
||||
types:
|
||||
- Knife
|
||||
- type: CP14WallpaperRemover
|
||||
- type: CP14WallpaperRemover
|
||||
|
||||
- type: modularPart
|
||||
id: BaseWeaponIron
|
||||
modifiers:
|
||||
- !type:EditDamageableModifier
|
||||
multiplier: 1
|
||||
- !type:EditSharpened
|
||||
sharpnessDamageMultiplier: 1
|
||||
|
||||
- type: modularPart
|
||||
id: BaseWeaponCopper
|
||||
modifiers:
|
||||
- !type:EditDamageableModifier
|
||||
multiplier: 1.5
|
||||
- !type:EditSharpened
|
||||
sharpnessDamageMultiplier: 1.5
|
||||
|
||||
- type: modularPart
|
||||
id: BaseWeaponGold
|
||||
modifiers:
|
||||
- !type:EditDamageableModifier
|
||||
multiplier: 3
|
||||
- !type:EditSharpened
|
||||
sharpnessDamageMultiplier: 3
|
||||
@@ -175,4 +175,68 @@
|
||||
craftTime: 4
|
||||
stacks:
|
||||
CP14IronBar: 2
|
||||
result: CP14ModularGripIronLong
|
||||
result: CP14ModularGripIronLong
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14ModularGripCopperLong
|
||||
tag: CP14RecipeAnvil
|
||||
craftTime: 4
|
||||
stacks:
|
||||
CP14CopperBar: 2
|
||||
result: CP14ModularGripCopperLong
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14ModularGripGoldLong
|
||||
tag: CP14RecipeAnvil
|
||||
craftTime: 4
|
||||
stacks:
|
||||
CP14GoldBar: 2
|
||||
result: CP14ModularGripGoldLong
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14ModularGripCopper
|
||||
tag: CP14RecipeAnvil
|
||||
craftTime: 4
|
||||
stacks:
|
||||
CP14CopperBar: 1
|
||||
result: CP14ModularGripCopper
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14ModularGripGolden
|
||||
tag: CP14RecipeAnvil
|
||||
craftTime: 4
|
||||
stacks:
|
||||
CP14GoldBar: 1
|
||||
result: CP14ModularGripGolden
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14ModularBladeGoldPickaxe
|
||||
tag: CP14RecipeAnvil
|
||||
craftTime: 4
|
||||
stacks:
|
||||
CP14GoldBar: 2
|
||||
result: CP14ModularBladeGoldPickaxe
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14ModularBladeCopperPickaxe
|
||||
tag: CP14RecipeAnvil
|
||||
craftTime: 4
|
||||
stacks:
|
||||
CP14CopperBar: 2
|
||||
result: CP14ModularBladeCopperPickaxe
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14ModularBladeGoldDagger
|
||||
tag: CP14RecipeAnvil
|
||||
craftTime: 4
|
||||
stacks:
|
||||
CP14GoldBar: 1
|
||||
result: CP14ModularBladeGoldDagger
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14ModularBladeCopperDagger
|
||||
tag: CP14RecipeAnvil
|
||||
craftTime: 4
|
||||
stacks:
|
||||
CP14CopperBar: 1
|
||||
result: CP14ModularBladeCopperDagger
|
||||
|
After Width: | Height: | Size: 262 B |
|
After Width: | Height: | Size: 263 B |
|
After Width: | Height: | Size: 236 B |
|
After Width: | Height: | Size: 327 B |
|
After Width: | Height: | Size: 469 B |
|
After Width: | Height: | Size: 469 B |
|
After Width: | Height: | Size: 411 B |
|
After Width: | Height: | Size: 411 B |
|
After Width: | Height: | Size: 252 B |
|
After Width: | Height: | Size: 251 B |
|
After Width: | Height: | Size: 228 B |
|
After Width: | Height: | Size: 326 B |
|
After Width: | Height: | Size: 446 B |
|
After Width: | Height: | Size: 450 B |
|
After Width: | Height: | Size: 390 B |
|
After Width: | Height: | Size: 415 B |
|
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 255 B |
|
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
|
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 322 B |
|
Before Width: | Height: | Size: 424 B After Width: | Height: | Size: 424 B |
|
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 433 B |
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CLA",
|
||||
"copyright": "Created by TheShuEd (Github) ",
|
||||
"states": [
|
||||
{
|
||||
"name": "equipped-BELT1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-BELT2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-NECK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 390 B |
|
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 395 B |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 178 B |
|
After Width: | Height: | Size: 233 B |
|
After Width: | Height: | Size: 204 B |
|
After Width: | Height: | Size: 232 B |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 178 B |
|
After Width: | Height: | Size: 241 B |
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 219 B |
|
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 182 B |
|
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 177 B |
|
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 238 B |
|
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 226 B |
|
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 227 B |
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CLA",
|
||||
"copyright": "Created by TheShuEd (Github)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-BELT1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-BELT2",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 176 B |
|
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 233 B |
|
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 231 B |
|
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 236 B |
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CLA",
|
||||
"copyright": "Created by TheShuEd (Github)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-BELT1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-BELT2",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 361 B |
|
After Width: | Height: | Size: 456 B |
|
After Width: | Height: | Size: 433 B |
|
After Width: | Height: | Size: 391 B |
|
After Width: | Height: | Size: 389 B |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 353 B |
|
After Width: | Height: | Size: 443 B |
|
After Width: | Height: | Size: 422 B |
|
After Width: | Height: | Size: 400 B |
|
After Width: | Height: | Size: 389 B |
|
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 358 B |
|
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 354 B |
|
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 442 B |
|
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 420 B |
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 48,
|
||||
"y": 48
|
||||
},
|
||||
"license": "CLA",
|
||||
"copyright": "Created by TheShuEd (Github) ",
|
||||
"states": [
|
||||
{
|
||||
"name": "equipped-NECK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 385 B |
|
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
|
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 354 B |
|
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 321 B |
|
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 348 B |
|
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 454 B |
|
Before Width: | Height: | Size: 424 B After Width: | Height: | Size: 424 B |
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 48,
|
||||
"y": 48
|
||||
},
|
||||
"license": "CLA",
|
||||
"copyright": "Created by TheShuEd (Github) ",
|
||||
"states": [
|
||||
{
|
||||
"name": "equipped-NECK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "wielded-inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |
|
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 396 B |
|
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 386 B |
|
After Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 260 B |
|
After Width: | Height: | Size: 238 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 445 B |