diff --git a/1.6/1.6/Assemblies/ArachnaeSwarm.dll b/1.6/1.6/Assemblies/ArachnaeSwarm.dll index 46d05d1..9c8e840 100644 Binary files a/1.6/1.6/Assemblies/ArachnaeSwarm.dll and b/1.6/1.6/Assemblies/ArachnaeSwarm.dll differ diff --git a/1.6/1.6/Defs/DamageDefs/ARA_Damages.xml b/1.6/1.6/Defs/DamageDefs/ARA_Damages.xml index 5868f5b..2fb47e4 100644 --- a/1.6/1.6/Defs/DamageDefs/ARA_Damages.xml +++ b/1.6/1.6/Defs/DamageDefs/ARA_Damages.xml @@ -54,6 +54,16 @@ + + ARA_MimicNematodeBite + +
  • + ARA_MimicNematode + 0.001 +
  • +
    +
    + ARA_ReinforceGas diff --git a/1.6/1.6/Defs/HediffDefs/ARA_Hediffs_Damage.xml b/1.6/1.6/Defs/HediffDefs/ARA_Hediffs_Damage.xml index 37399df..fabf12f 100644 --- a/1.6/1.6/Defs/HediffDefs/ARA_Hediffs_Damage.xml +++ b/1.6/1.6/Defs/HediffDefs/ARA_Hediffs_Damage.xml @@ -196,4 +196,143 @@
  • + + + ARA_MimicNematode + + 被阿拉克涅拟线种虫族寄生了,如果不加以干预,拟线虫最终会杀死宿主并将其转化为没有意识的寄生体。拟线虫会通过寄生体的攻击行为感染其他躯体。 + + + ArachnaeSwarm.Hediff_NecroticVirus + (0.6, 0.4, 0.8) + + true + 1.0 + 1.0 + 0.001 + 0.001 + false + + +
  • + + false + 5 +
  • +
  • + + 0.5 + 1 + 0.5 + false + +
  • + Talking + 0 +
  • + + +
  • + + 0.7 + 0.5 + 0 + true + true + +
  • + Talking + 0 +
  • +
  • + Consciousness + 0.7 +
  • + + +
  • + + 0.9 + 0.5 + 2.0 + true + true + +
  • + Talking + 0 +
  • +
  • + Consciousness + 0.1 +
  • + + + + true + + +
  • + 0.3 +
  • +
  • + -1 + 24 +
  • +
  • + 1800000~2400000 + true +
  • +
  • + + + Shambler +
  • +
    + + +
  • + + ARA_MimicNematode + + + true + 0.05 + ARA_MimicNematodeBite +
  • +
    + + + + + ARA_CureBloodRot + + 通过多种药物联合靶向治疗清除患者体内的阿拉克涅拟线种虫族感染。 + Recipe_RemoveHediff + 清除拟线虫感染. + 2000 + true + false + false + ARA_MimicNematode + {0} 成功清除了 {1} 体内的拟线虫感染. + + 5 + + +
  • + + +
  • MedicineUltratech
  • + + + 10 + +
    + + +
  • Medicine
  • +
    +
    +
    \ No newline at end of file diff --git a/1.6/1.6/Defs/ThingDef_Races/ARA_RaceMutant.xml b/1.6/1.6/Defs/ThingDef_Races/ARA_RaceMutant.xml new file mode 100644 index 0000000..2b5799a --- /dev/null +++ b/1.6/1.6/Defs/ThingDef_Races/ARA_RaceMutant.xml @@ -0,0 +1,125 @@ + + + + + ARA_MimicNematodeShambler + + A creature who has been raised from the dead by corrupted nano-scale archites.\n\nAbout shamblers: Shamblers are corpses which have been reanimated by archotechnology. They attack living creatures relentlessly and their immunity to pain makes them difficult to kill. However, the archites which animate them cannot sustain the rotting body for long, so shamblers expire after a few days of movement.\n\nThere are ways to raise your own shamblers and make yourself invisible to them, so they attack only outsiders. + Shambler + Shambler + ShamblerConstant + true + shambler + true + true + Filth_DarkBlood + Filth_DarkBloodSmear + false + true + true + Entities + ShamblerSway + false + false + false + true + false + true + false + true + false + false + true + 0.25 + (0.3, 0.3, 0.0, 1.0) + 0 + Basic + Shambler + + 0.25 + Pawn_Shambler_Call + Pawn_Shambler_Attack + Pawn_Shambler_Wounded + Pawn_Shambler_Killed + + +
  • + Shambler wounds + PawnRenderNodeWorker_OverlayShambler + Body + 20 + HumanlikeOnly +
  • +
  • + Shambler wounds + PawnRenderNode_AnimalPart + PawnRenderNodeWorker_OverlayShambler + Body + 20 + NonHumanlikeOnly +
  • +
    + + +
  • + + +
  • Bite
  • + + 8.2 + 2 + Teeth + 1 + Pawn_Melee_HumanBite_Hit + Pawn_Melee_HumanBite_Miss + +
  • + + hand + +
  • Scratch
  • + + 7.0 + 2 + LeftHand + 1.5 + true + +
  • + + hand + +
  • Scratch
  • + + 7.0 + 2 + RightHand + 1.5 + true + +
    +
    + + + Shambler + false + + + + ARA_MimicNematodeShamblerSwarmer + + 40 + 0.2~0.4 + Poor + 0~100 + 0 + +
  • IndustrialBasic
  • +
  • Neolithic
  • +
    + +
  • EntityAttacked
  • +
    +
    + +
    \ No newline at end of file diff --git a/Source/ArachnaeSwarm/NecroticTransformationUtility.cs b/Source/ArachnaeSwarm/NecroticTransformationUtility.cs index ba24fca..2ace4c5 100644 --- a/Source/ArachnaeSwarm/NecroticTransformationUtility.cs +++ b/Source/ArachnaeSwarm/NecroticTransformationUtility.cs @@ -58,8 +58,10 @@ namespace ArachnaeSwarm pawn.SetFaction(faction); } - // 立即执行转变 - pawn.mutant.Turn(clearLord: true); + // 移除 pawn.mutant.Turn(clearLord: true); + // Turn() 方法应该由 Hediff_Shambler.FinishRising() 在复活过程的最后阶段调用, + // 而不应该由我们在这里手动调用。 + // Hediff_Shambler 的 StartRising() 会启动这个流程。 } } } \ No newline at end of file