From e31f1614d8dc7a1a97edc4af377928e5c481721b Mon Sep 17 00:00:00 2001 From: Cocopomel <79386233+Cocopomel@users.noreply.github.com> Date: Sun, 28 Apr 2024 17:32:57 +0900 Subject: [PATCH] add drugfuel --- .../Defs/AutomataRace/PanielBackstoryDef.xml | 1 + 1.5/Core/Defs/AutomataRace/PanielRaceDef.xml | 308 +++++++++--------- 1.5/Core/Defs/Drugs/DrugPolicyDefs.xml | 16 + 1.5/Core/Defs/Drugs/Drugs_Fuel.xml | 130 ++++++++ 1.5/Core/Defs/NeedDefs/Needs.xml | 25 ++ 5 files changed, 326 insertions(+), 154 deletions(-) create mode 100644 1.5/Core/Defs/Drugs/DrugPolicyDefs.xml create mode 100644 1.5/Core/Defs/Drugs/Drugs_Fuel.xml create mode 100644 1.5/Core/Defs/NeedDefs/Needs.xml diff --git a/1.5/Core/Defs/AutomataRace/PanielBackstoryDef.xml b/1.5/Core/Defs/AutomataRace/PanielBackstoryDef.xml index 3f80dfd..eddb0eb 100644 --- a/1.5/Core/Defs/AutomataRace/PanielBackstoryDef.xml +++ b/1.5/Core/Defs/AutomataRace/PanielBackstoryDef.xml @@ -5,6 +5,7 @@
  • PN_Immune_System
  • PN_Learning_Limit_System
  • +
  • PN_AutomatonFuel_Addiction
  • diff --git a/1.5/Core/Defs/AutomataRace/PanielRaceDef.xml b/1.5/Core/Defs/AutomataRace/PanielRaceDef.xml index 581e96d..7dc7d78 100644 --- a/1.5/Core/Defs/AutomataRace/PanielRaceDef.xml +++ b/1.5/Core/Defs/AutomataRace/PanielRaceDef.xml @@ -24,7 +24,7 @@ false - + @@ -42,13 +42,13 @@ 1
  • PNHead1
  • -
  • PNHead2
  • -
  • PNHead3
  • -
  • PNHead4
  • -
  • PNHead5
  • -
  • PNHead6
  • -
  • PNHead7
  • -
  • PNHead8
  • +
  • PNHead2
  • +
  • PNHead3
  • +
  • PNHead4
  • +
  • PNHead5
  • +
  • PNHead6
  • +
  • PNHead7
  • +
  • PNHead8
  • PNHead9
  • PNHead10
  • PNHead11
  • @@ -87,49 +87,49 @@
  • - 1 - Paniel/Hairs/Addon/Hair - CutoutComplex - false - hair - true + 1 + Paniel/Hairs/Addon/Hair + CutoutComplex + false + hair + true PNHead - - - -0.275 - - (0,0) - - - - -0.326 - - (0,0) - - - - -0.326 - - (0,0) - - - -
  • + + + -0.275 + + (0,0) + + + + -0.326 + + (0,0) + + + + -0.326 + + (0,0) + + + +
  • - 1 - Paniel/Heads/PNSleep/PNSleep - CutoutComplex - true - false - skin - true - + 1 + Paniel/Heads/PNSleep/PNSleep + CutoutComplex + true + false + skin + true + Fresh,Rotting,Dessicated PNHead @@ -140,129 +140,129 @@ true - - - -0.276 - - (0,0) - - - - -0.276 - - (0,0) - - - - -0.276 - - (0,0) - - - -
  • + + + -0.276 + + (0,0) + + + + -0.276 + + (0,0) + + + + -0.276 + + (0,0) + + + +
  • - 1 - Paniel/Ear/PanielLeftEar - CutoutComplex - false - skin - true - + 1 + Paniel/Ear/PanielLeftEar + CutoutComplex + false + skin + true + left auditory sensor - - - -0.279 - - (0,0) - - - - -0.324 - - (0,0) - - - - -0.327 - - (0,0) - - - -
  • + + + -0.279 + + (0,0) + + + + -0.324 + + (0,0) + + + + -0.327 + + (0,0) + + + + -
  • - 1 - Paniel/Ear/PanielRightEar - CutoutComplex - false - skin - true - +
  • + 1 + Paniel/Ear/PanielRightEar + CutoutComplex + false + skin + true + right auditory sensor - - - -0.279 - - (0,0) - - - - -0.324 - - (0,0) - - - - -0.327 - - (0,0) - - - -
  • + + + -0.279 + + (0,0) + + + + -0.324 + + (0,0) + + + + -0.327 + + (0,0) + + + + -
  • - 1 - Paniel/Tail/PanielTail - CutoutComplex - false - skin - Tail +
  • + 1 + Paniel/Tail/PanielTail + CutoutComplex + false + skin + Tail PNTail - - - 0 - - (0,0.55) - - - - 0 - - (-0.42,0.22) - - - - 0 - - (-0.42,0.22) - - - -
  • + + + 0 + + (0,0.55) + + + + 0 + + (-0.42,0.22) + + + + 0 + + (-0.42,0.22) + + + +
    @@ -317,7 +317,7 @@ - +
  • PN_AutomatonFuel
  • @@ -562,9 +562,9 @@ false - Things/Pawn/Humanlike/Silhouettes/Silhouette_HumanAdult - Graphic_Single - 1 - + Things/Pawn/Humanlike/Silhouettes/Silhouette_HumanAdult + Graphic_Single + 1 + \ No newline at end of file diff --git a/1.5/Core/Defs/Drugs/DrugPolicyDefs.xml b/1.5/Core/Defs/Drugs/DrugPolicyDefs.xml new file mode 100644 index 0000000..66fbf24 --- /dev/null +++ b/1.5/Core/Defs/Drugs/DrugPolicyDefs.xml @@ -0,0 +1,16 @@ + + + + PN_fuelOneDrinkPerDay + + +
  • + PN_AutomatonFuel + true + true + 1 + 1 +
  • +
    +
    +
    \ No newline at end of file diff --git a/1.5/Core/Defs/Drugs/Drugs_Fuel.xml b/1.5/Core/Defs/Drugs/Drugs_Fuel.xml new file mode 100644 index 0000000..16d397c --- /dev/null +++ b/1.5/Core/Defs/Drugs/Drugs_Fuel.xml @@ -0,0 +1,130 @@ + + + + PN_Fuel + + Drugs + UI/Icons/PNCT_PNFuel + + + + + PN_AutomatonFuel + + Warning: Do not use on humans.\nThis fuel is for automaton only.\n\nThe fuel used by the automaton. Added a large amount of Psychite for mental stability. + Normal + + Things/Item/PNFuel + Graphic_StackCount + 1.0 + + 1 + 150 + false + + 50 + 6.1 + 0.05 + 2.0 + 1.0 + + Ultra + + Medical + 210 + Ingest_Drink + + + (0.18,0,0) + + + Drink {0} + Drinking {0}. + false + 25 + + + + + +
  • + PN_Chemical_Fuel + 0.000000001 + 0.20 + 1028 +
  • +
  • + 1.1 + Flame + 0.037 + +
  • Flame
  • + + 0.333 + Filth_Fuel + 1 + 70~150 + +
    + +
  • PN_Fuel
  • +
    + Buyable + +
  • PN_Fuel
  • +
    +
    + + + + + PN_Chemical_Fuel + + PN_AutomatonFuel_Addiction + false + 0 + false + + + + PN_AutomatonFuel_Addiction + Hediff_Addiction + + A condition that requires PnL fuel. + (222,90,90) + PN_Need_Fuel + false + false + false + + + + +
  • + +
  • +
  • + + +
  • + Consciousness + 0.3 +
  • +
  • + Moving + 0.3 +
  • +
  • + Sight + 0.3 +
  • +
  • + Manipulation + 0.3 +
  • + + 8.0 + +
    +
    +
    \ No newline at end of file diff --git a/1.5/Core/Defs/NeedDefs/Needs.xml b/1.5/Core/Defs/NeedDefs/Needs.xml new file mode 100644 index 0000000..a5bde21 --- /dev/null +++ b/1.5/Core/Defs/NeedDefs/Needs.xml @@ -0,0 +1,25 @@ + + + + PN_Need_Fuel + Need_Chemical + + The amount of fuel used by the automaton. When the gauge reaches zero, The automaton will enter emergency power mode and become very slow. + 984 + 0.20 + true + true + true + + + + \ No newline at end of file