EXECUTION! (#1419)

* Execution option unlocked for Sharp weapons.

* Created CP14Execution component to avoid issues with SS14 standard core coding.

Removed Execution Component in preparation to add in CP14Execution component instead.

* Added CP14Execution as a modularPart modifier under the id: BaseWeaponExecution

Added BaseWeaponExecution to the following weapons:
-Axe
-Dagger
-Mace
-Rapier
-Scimitar
-Spear
-Sword

* Added Executions to all Tools in the ModularWeapon category.

* Removed redundant code and replace CP14Execution Component with original Execution Component. Removed Mace, Hammer, Hoe, Shovel and Pickaxe execution for now. Added Execution Component to BaseWeaponSharp modifier

* Added Execution to non-sharp weapons via modifier called BaseWeaponExecution.

* Exchanged prefix of blunt to cp14 and added the override values.

* networking problems

---------

Co-authored-by: Red <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
Sefaia
2025-06-18 05:10:08 -05:00
committed by GitHub
parent 4ec77514ea
commit c87907f80d
8 changed files with 47 additions and 8 deletions

View File

@@ -9,6 +9,7 @@
- !type:Inherit
copyFrom:
- BaseWeaponThrowable
- BaseWeaponExecution
- !type:AddComponents
components:
- type: Tool

View File

@@ -7,6 +7,7 @@
copyFrom:
- BaseWeaponChemical
- BaseWeaponThrowable
- BaseWeaponExecution
#components: TODO Add gathering tag
- !type:AddComponents
override: true

View File

@@ -8,6 +8,7 @@
- !type:Inherit
copyFrom:
- BaseWeaponChemical
- BaseWeaponExecution
- !type:EditMeleeWeapon
resetOnHandSelected: true # Disable fast swap
attackRateMultiplier: 0.85

View File

@@ -1,6 +1,9 @@
- type: modularPart
id: BaseBladePickaxe
modifiers:
- !type:Inherit
copyFrom:
- BaseWeaponExecution
- !type:AddComponents
override: true
components:

View File

@@ -1,6 +1,9 @@
- type: modularPart
id: BaseBladeShovel
modifiers:
- !type:Inherit
copyFrom:
- BaseWeaponExecution
- !type:AddComponents
components:
- type: Shovel

View File

@@ -66,6 +66,7 @@
types:
- Knife
- type: CP14WallpaperRemover
- type: Execution
- type: modularPart
id: BaseWeaponRangedChemical
@@ -98,3 +99,18 @@
components:
- type: Item
size: Small
- type: modularPart
id: BaseWeaponExecution
modifiers:
- !type:AddComponents
components:
- type: Execution
internalMeleeExecutionMessage: "cp14-execution-popup-melee-initial-internal"
externalMeleeExecutionMessage: "cp14-execution-popup-melee-initial-external"
completeInternalMeleeExecutionMessage: "cp14-execution-popup-melee-complete-internal"
completeExternalMeleeExecutionMessage: "cp14-execution-popup-melee-complete-external"
internalSelfExecutionMessage: "cp14-execution-popup-self-initial-internal"
externalSelfExecutionMessage: "cp14-execution-popup-self-initial-external"
completeInternalSelfExecutionMessage: "cp14-execution-popup-self-complete-internal"
completeExternalSelfExecutionMessage: "cp14-execution-popup-self-complete-external"