From f4ab35ded451cf7ee5870f1038f1ca002573ac80 Mon Sep 17 00:00:00 2001 From: Cocopomel <79386233+Cocopomel@users.noreply.github.com> Date: Sun, 21 Apr 2024 23:14:46 +0900 Subject: [PATCH] =?UTF-8?q?base=20hediff=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1.5/Core/Defs/AutomataRace/Bodies/Body.xml | 2 +- ...ackstoryDef.xml => PanielBackstoryDef.xml} | 3 +- ...{AutomataRaceDef.xml => PanielRaceDef.xml} | 4 +- ...aceSettings.xml => PanielRaceSettings.xml} | 2 +- ...omataRulePacks.xml => PanielRulePacks.xml} | 0 .../Defs/Factions_PnL/Factions_Player.xml | 2 +- .../Defs/HediffDefs/Hediffs_AutomatonBase.xml | 291 ++++++++++++++++++ .../Defs/HediffDefs/Hediffs_HediffGiver.xml | 60 ++++ .../PawnKindDefs_PnL/PawnKinds_PNPlayer.xml | 4 +- .../Defs/ThingDefs/ThingDef_Buildings.xml | 77 +++++ 10 files changed, 437 insertions(+), 8 deletions(-) rename 1.5/Core/Defs/AutomataRace/{AutomataBackstoryDef.xml => PanielBackstoryDef.xml} (94%) rename 1.5/Core/Defs/AutomataRace/{AutomataRaceDef.xml => PanielRaceDef.xml} (99%) rename 1.5/Core/Defs/AutomataRace/{AutomataRaceSettings.xml => PanielRaceSettings.xml} (98%) rename 1.5/Core/Defs/AutomataRace/{AutomataRulePacks.xml => PanielRulePacks.xml} (100%) create mode 100644 1.5/Core/Defs/HediffDefs/Hediffs_AutomatonBase.xml create mode 100644 1.5/Core/Defs/HediffDefs/Hediffs_HediffGiver.xml create mode 100644 1.5/Core/Defs/ThingDefs/ThingDef_Buildings.xml diff --git a/1.5/Core/Defs/AutomataRace/Bodies/Body.xml b/1.5/Core/Defs/AutomataRace/Bodies/Body.xml index 7d6bac7..d9290e7 100644 --- a/1.5/Core/Defs/AutomataRace/Bodies/Body.xml +++ b/1.5/Core/Defs/AutomataRace/Bodies/Body.xml @@ -1,7 +1,7 @@ - PanielBody + PNBody diff --git a/1.5/Core/Defs/AutomataRace/AutomataBackstoryDef.xml b/1.5/Core/Defs/AutomataRace/PanielBackstoryDef.xml similarity index 94% rename from 1.5/Core/Defs/AutomataRace/AutomataBackstoryDef.xml rename to 1.5/Core/Defs/AutomataRace/PanielBackstoryDef.xml index 403fb84..3f80dfd 100644 --- a/1.5/Core/Defs/AutomataRace/AutomataBackstoryDef.xml +++ b/1.5/Core/Defs/AutomataRace/PanielBackstoryDef.xml @@ -3,7 +3,8 @@ - +
  • PN_Immune_System
  • +
  • PN_Learning_Limit_System
  • diff --git a/1.5/Core/Defs/AutomataRace/AutomataRaceDef.xml b/1.5/Core/Defs/AutomataRace/PanielRaceDef.xml similarity index 99% rename from 1.5/Core/Defs/AutomataRace/AutomataRaceDef.xml rename to 1.5/Core/Defs/AutomataRace/PanielRaceDef.xml index 9d7517f..581e96d 100644 --- a/1.5/Core/Defs/AutomataRace/AutomataRaceDef.xml +++ b/1.5/Core/Defs/AutomataRace/PanielRaceDef.xml @@ -457,7 +457,7 @@ HumanStandard false - PanielBody + PNBody 1 1 1.0 @@ -539,7 +539,7 @@ -
  • Human
  • +
  • PN_HediffGiverSet
  • Humanlike diff --git a/1.5/Core/Defs/AutomataRace/AutomataRaceSettings.xml b/1.5/Core/Defs/AutomataRace/PanielRaceSettings.xml similarity index 98% rename from 1.5/Core/Defs/AutomataRace/AutomataRaceSettings.xml rename to 1.5/Core/Defs/AutomataRace/PanielRaceSettings.xml index 436076d..cd02b7e 100644 --- a/1.5/Core/Defs/AutomataRace/AutomataRaceSettings.xml +++ b/1.5/Core/Defs/AutomataRace/PanielRaceSettings.xml @@ -8,7 +8,7 @@
  • -
  • Paniel_Testsubject
  • +
  • PN_Testsubject
  • 100.0 diff --git a/1.5/Core/Defs/AutomataRace/AutomataRulePacks.xml b/1.5/Core/Defs/AutomataRace/PanielRulePacks.xml similarity index 100% rename from 1.5/Core/Defs/AutomataRace/AutomataRulePacks.xml rename to 1.5/Core/Defs/AutomataRace/PanielRulePacks.xml diff --git a/1.5/Core/Defs/Factions_PnL/Factions_Player.xml b/1.5/Core/Defs/Factions_PnL/Factions_Player.xml index 5e50642..690c490 100644 --- a/1.5/Core/Defs/Factions_PnL/Factions_Player.xml +++ b/1.5/Core/Defs/Factions_PnL/Factions_Player.xml @@ -13,7 +13,7 @@ This is the settlement where PnL industry is experimenting. true - Paniel_ColonistPawn + PN_ColonistPawn colonist colonists Industrial diff --git a/1.5/Core/Defs/HediffDefs/Hediffs_AutomatonBase.xml b/1.5/Core/Defs/HediffDefs/Hediffs_AutomatonBase.xml new file mode 100644 index 0000000..5fa52c9 --- /dev/null +++ b/1.5/Core/Defs/HediffDefs/Hediffs_AutomatonBase.xml @@ -0,0 +1,291 @@ + + + + + PN_Immune_System + + Automaton immune system + HediffWithComps + (0.8, 0.8, 0.8) + false + 1 + 1 + false + true + +
  • + false + +
  • Malaria
  • +
  • SleepingSickness
  • +
  • Plague
  • +
  • FibrousMechanites
  • +
  • WoundInfection
  • +
  • GutWorms
  • +
  • Flu
  • +
  • MuscleParasites
  • +
  • Scaria
  • +
  • FoodPoisoning
  • + + +
    + + + +
    + + + + PN_Learning_Limit_System + + Automaton learning limit system + HediffWithComps + (0.8, 0.8, 0.8) + false + 1 + 1 + false + true + +
  • + false + + 0 + +
  • +
    + + + +
    + + + + + + + PN_OilLoss + + A reduction in the normal oil volume. Minor oil loss has relatively mild effects, but when oil loss becomes severe, internal device becomes badly impaired and the victim loses the ability to move. Extreme oil loss leads to explosion. + 1 + +
  • + + false +
  • +
  • + 0.15 + + +
  • + Consciousness + -0.2 +
  • + + +
  • + 0.30 + + +
  • + Consciousness + -0.4 +
  • + + +
  • + 0.45 + + +
  • + Consciousness + -0.6 +
  • + + +
  • + 0.60 + + true + +
  • + Consciousness + 0.3 +
  • + + +
    +
    + + + + PN_Overheating + + A generalized disruption to body functioning caused by excessive exposure to heat and sun. The victim becomes dizzy, weak, and confused. Recovery is quick once in a cool area, but if heat exposure continues, overheating gets worse until death. + (0.8, 0.8, 0.35) + 1 + HeatstrokeRevealed + +
  • + + false +
  • +
  • + + 0.04 + +
  • + Consciousness + -0.1 +
  • + + +
  • + + 0.2 + +
  • + Consciousness + -0.2 +
  • + + +
  • + + 0.35 + +
  • + Consciousness + -0.4 +
  • + + +
  • + + 0.62 + true + +
  • + Consciousness + -0.6 +
  • + + +
    +
    + + + + PN_OverCooling + + Dangerously low core body temperature. Unless re-warmed, overcooling gets worse and ends in death. Recovery is quick once the victim is re-warmed. Avoid overcooling by wearing warm clothes in cold environments. + (0.8, 0.8, 1) + 1 + HypothermiaRevealed + +
  • + + false +
  • +
  • + + 0.04 + +
  • + Consciousness + -0.1 +
  • + + +
  • + + 0.2 + +
  • + Consciousness + -0.2 +
  • + + +
  • + + 0.35 + +
  • + Consciousness + -0.4 +
  • + + +
  • + + 0.62 + true + +
  • + Consciousness + -0.6 +
  • + + +
    +
    +
    \ No newline at end of file diff --git a/1.5/Core/Defs/HediffDefs/Hediffs_HediffGiver.xml b/1.5/Core/Defs/HediffDefs/Hediffs_HediffGiver.xml new file mode 100644 index 0000000..734ab68 --- /dev/null +++ b/1.5/Core/Defs/HediffDefs/Hediffs_HediffGiver.xml @@ -0,0 +1,60 @@ + + + + PN_HediffGiverSet + +
  • + PN_OilLoss +
  • + +
  • + PN_OverCooling +
  • + +
  • + PN_Overheating +
  • + +
  • + Dementia + +
  • Brain
  • + + + +
  • (0.85, 0)
  • +
  • (0.95, 0.0093)
  • +
  • (1.15, 0.093)
  • +
    +
    + + +
  • + Alzheimers + +
  • PNBrain
  • + + + +
  • (0.42, 0)
  • +
  • (0.7, 0.00061)
  • +
  • (0.9, 0.0012)
  • +
  • (1, 0.002)
  • +
  • (1.5, 0.003)
  • +
    +
    + 0.001 + + +
  • + TraumaSavant + +
  • PNBrain
  • + + 0.12 + Trauma savant + [PAWN_nameDef]'s brain injury has caused [PAWN_objective] to develop strange savant-like abilities. + +
    +
    +
    \ No newline at end of file diff --git a/1.5/Core/Defs/PawnKindDefs_PnL/PawnKinds_PNPlayer.xml b/1.5/Core/Defs/PawnKindDefs_PnL/PawnKinds_PNPlayer.xml index 500ebc9..d92d05e 100644 --- a/1.5/Core/Defs/PawnKindDefs_PnL/PawnKinds_PNPlayer.xml +++ b/1.5/Core/Defs/PawnKindDefs_PnL/PawnKinds_PNPlayer.xml @@ -28,7 +28,7 @@ - Paniel_ColonistPawn + PN_ColonistPawn 0 true @@ -59,7 +59,7 @@ - Paniel_Testsubject + PN_Testsubject 0 true diff --git a/1.5/Core/Defs/ThingDefs/ThingDef_Buildings.xml b/1.5/Core/Defs/ThingDefs/ThingDef_Buildings.xml new file mode 100644 index 0000000..67a4a7f --- /dev/null +++ b/1.5/Core/Defs/ThingDefs/ThingDef_Buildings.xml @@ -0,0 +1,77 @@ + + + + + PN_AutomatonBench + + automaton fabrication bench + Building_WorkTable + Building + PassThroughOnly + 50 + + 300 + 5000 + 1.0 + + + + (5,2) + + 200 + 8 + + +
  • + +
  • ToolCabinet
  • + + +
  • + CompPowerTrader + 250 + true +
  • +
  • +
  • + + + + + + Things/Building/PNAutomatonBench + Graphic_Multi + CutoutComplex + (7,4) + + Damage/Corner + Damage/Corner + Damage/Corner + Damage/Corner + + + true + 0.20 + +
  • ITab_Bills
  • + + + BillsTab + + 0.5 + (0,0,-1) + true + Heavy + Production + Item + Misc12 + 6 + +
  • PlaceWorker_ShowFacilitiesConnections
  • +
  • PlaceWorker_PreventInteractionSpotOverlap
  • +
    + + + +
    +
    \ No newline at end of file