diff --git a/1.3/Defs/AutomataRaceSettings/AutomataWearSetting.xml b/1.3/Defs/AutomataRaceSettings/AutomataWearSetting.xml
index b93b69b..e97abc8 100644
--- a/1.3/Defs/AutomataRaceSettings/AutomataWearSetting.xml
+++ b/1.3/Defs/AutomataRaceSettings/AutomataWearSetting.xml
@@ -108,6 +108,28 @@
true
+
+
+
+ PN_CQCModule
+
+
+
+ PN_SyncLegendary_Combat
+ PN_SyncMasterwork_Combat
+ PN_SyncExcellent_Combat
+
+
+ PN_ModuleUnstable
+
+
+ PN_CantReason_orhediff
+
+ PN_ModuleUnstable
+
+ true
+
+
\ No newline at end of file
diff --git a/Content/Textures/UI/Abilities/PNCQC.png b/Content/Textures/UI/Abilities/PNCQC.png
new file mode 100644
index 0000000..3a311a8
Binary files /dev/null and b/Content/Textures/UI/Abilities/PNCQC.png differ
diff --git a/Ideology/Defs/AbilityDefs/Ideo_AbilityDef_Industrial.xml b/Ideology/Defs/AbilityDefs/Ideo_AbilityDef_Industrial.xml
index 0ce8787..f3571b0 100644
--- a/Ideology/Defs/AbilityDefs/Ideo_AbilityDef_Industrial.xml
+++ b/Ideology/Defs/AbilityDefs/Ideo_AbilityDef_Industrial.xml
@@ -9,7 +9,7 @@
PN_TriggerHappyAbility
rapid fire
- This ability allows users to shoot quickly, but lowers the hit rate.
+ This ability allows users to shoot quickly, but lowers the shooting accuracy.
CastAbilityOnThing
False
False
@@ -19,7 +19,7 @@
False
True
False
- PNModule_6hour
+ PNModule_1day
Misc12
3
CombatCommand_Warmup
@@ -51,4 +51,50 @@
+
+
+ PN_CQCAbility
+ rapid fire
+ This ability increases users to close quarters combat stat, but lowers the shooting accuracy.
+ CastAbilityOnThing
+ False
+ False
+ UI/Abilities/PNCQC
+ UI/Abilities/PNCQC
+ True
+ False
+ True
+ False
+ PNModule_1day
+ Misc12
+ 3
+ CombatCommand_Warmup
+
+ 84
+
+
+ Verb_CastAbility
+ 0.5
+ -1
+ False
+ False
+
+ true
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+ CompAbilityEffect_GiveHediff
+ PN_CQC
+ True
+ true
+
+
+
+
\ No newline at end of file
diff --git a/Ideology/Defs/HediffDefs/Ideo_Hediffs_Cast_Industrial.xml b/Ideology/Defs/HediffDefs/Ideo_Hediffs_Cast_Industrial.xml
index 07a6280..ee0e6de 100644
--- a/Ideology/Defs/HediffDefs/Ideo_Hediffs_Cast_Industrial.xml
+++ b/Ideology/Defs/HediffDefs/Ideo_Hediffs_Cast_Industrial.xml
@@ -60,11 +60,7 @@
Moving
- -0.10
-
-
- Manipulation
- -0.10
+ 0.10
@@ -77,4 +73,72 @@
+
+
+ PN_CQC
+ module active (CQC)
+ close quarters combat
+ HediffWithComps
+
+
+
+
+ Moving
+ 0.10
+
+
+
+ 4
+ 4
+ -4
+
+
+
+
+
+ True
+
+
+
+
+ PN_CQCOverload
+
+
+
+ false
+
+
+
+ PN_CQCOverload
+ module overloaded
+ module overloaded
+ module overloaded
+ HediffWithComps
+
+
+ 5000
+ True
+
+
+
+
+
+
+
+ Moving
+ -0.10
+
+
+ Manipulation
+ -0.10
+
+
+
+ -3
+ -3
+ -4
+
+
+
+
\ No newline at end of file
diff --git a/Ideology/Defs/ThingDefs/Ideo_ThingDef_Module_Industrial.xml b/Ideology/Defs/ThingDefs/Ideo_ThingDef_Module_Industrial.xml
index e1ae934..404bf58 100644
--- a/Ideology/Defs/ThingDefs/Ideo_ThingDef_Module_Industrial.xml
+++ b/Ideology/Defs/ThingDefs/Ideo_ThingDef_Module_Industrial.xml
@@ -11,8 +11,9 @@
45
- 3
- 1
+ 5
+ 2
+ 1
PNRP_TierB_Module
@@ -36,7 +37,7 @@
PN_TriggerHappyModuleHediff
rapid fire module
- ...
+ rapid fire module
@@ -46,4 +47,58 @@
+
+
+
+ PN_CQCModule
+ CQC module
+ [CAUTION]\nThis module can only be installed on compatible models.\nAlso, the module system must be stable.\n\n[compatible models list]\n\nCombat model (legd), (mast), (exc)\n\nThis module increases the automaton's close quarters combat stat, and allows automaton to use CQC ability.
+
+ PN_CQCAbility
+ PN_CQCModuleHediff
+
+
+ 45
+ 5
+ 2
+ 1
+
+
+ PNRP_TierB_Module
+
+ 6
+
+
+
+
+
+
+
+
+
+ PN_CQCModuleHediff
+ PNTorso
+
+
+
+
+
+ PN_CQCModuleHediff
+ CQC module
+ close quarters combat module
+
+
+
+ 2
+ 2
+ -4
+
+
+
+
+
+ PN_CQCAbility
+
+
+
\ No newline at end of file