This commit is contained in:
Ed
2024-10-08 13:16:12 +03:00
parent d2c5aa74b4
commit 3ab1649992
9 changed files with 174 additions and 8 deletions

View File

@@ -24,7 +24,7 @@
- type: IncreaseDamageOnWield
damage:
types:
Blunt: 4
Blunt: 3
- type: MeleeWeapon
angle: 100
attackRate: 1.3
@@ -33,12 +33,12 @@
wideAnimation: CP14WeaponArcSlash
damage:
types:
Blunt: 4
Blunt: 3
soundHit:
collection: MetalThud
cPAnimationLength: 0.3
cPAnimationOffset: -1.3
- type: StaminaDamageOnHit
damage: 9
damage: 4
- type: CP14Currency
currency: 20

View File

@@ -19,9 +19,9 @@
!type:DamageTrigger
damage: 250
behaviors:
#- !type:PlaySoundBehavior
# sound:
# collection: WoodDestroy
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- !type:DoActsBehavior
acts: [ "Destruction" ]

View File

@@ -114,3 +114,35 @@
collection: CP14Sawing #TODO
recipeTags:
- CP14RecipeSewing
- type: entity
id: CP14WorkbenchAnvil
parent:
- CP14BaseWorkbench
name: anvil
description: "An ultimatum anvil that doesn't even need a hammer or red-hot ingot temperatures to forge tools. (OOC: we just haven't done it yet)"
components:
- type: Sprite
snapCardinals: true
state: anvil
- type: Icon
state: anvil
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: StructuralMetallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 250
behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: CP14Workbench
craftSound:
collection: CP14Sawing #TODO
recipeTags:
- CP14RecipeAnvil

View File

@@ -0,0 +1,116 @@
- type: CP14Recipe
id: CP14BaseBattleHammer
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 3
result: CP14BaseBattleHammer
- type: CP14Recipe
id: CP14BaseDagger
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 1
result: CP14BaseDagger
- type: CP14Recipe
id: CP14BaseHandheldAxe
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 1
result: CP14BaseHandheldAxe
- type: CP14Recipe
id: CP14BaseLightHammer
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 1
result: CP14BaseLightHammer
- type: CP14Recipe
id: CP14BaseMace
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 2
result: CP14BaseMace
- type: CP14Recipe
id: CP14BaseShield
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 2
CP14IronBar: 2
result: CP14BaseShield
- type: CP14Recipe
id: CP14BaseSickle
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 2
result: CP14BaseSickle
- type: CP14Recipe
id: CP14BaseThrowableSpear
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 2
CP14IronBar: 1
result: CP14BaseThrowableSpear
- type: CP14Recipe
id: CP14BaseSword
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 3
result: CP14BaseSword
- type: CP14Recipe
id: CP14BaseTwoHandedSword
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 4
result: CP14BaseTwoHandedSword
- type: CP14Recipe
id: CP14BaseHoe
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 2
result: CP14BaseHoe
- type: CP14Recipe
id: CP14BasePickaxe
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 2
result: CP14BasePickaxe
- type: CP14Recipe
id: CP14BaseShovel
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14WoodenPlanks: 1
CP14IronBar: 2
result: CP14BaseShovel

View File

@@ -51,4 +51,12 @@
CP14Wheat: 2
stacks:
CP14WoodenPlanks: 2
result: CP14BaseBroom
result: CP14BaseBroom
- type: CP14Recipe
id: CP14BaseBattleStaff
tag: CP14RecipeWorkbench
craftTime: 4
stacks:
CP14WoodenPlanks: 3
result: CP14BaseBattleStaff

View File

@@ -42,3 +42,9 @@
- type: Tag
id: CP14RecipeWorkbench
- type: Tag
id: CP14RecipeAnvil
- type: Tag
id: CP14RecipeMeltingFurnace

View File

@@ -9,7 +9,7 @@
"states": [
{
"name": "mannequin",
"directions": 4
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

View File

@@ -18,6 +18,10 @@
},
{
"name": "sewing_table"
},
{
"name": "anvil",
"directions": 4
}
]
}