Pawn_NeedsTracker_ShouldHaveNeed_Postfix harmony patch removed.

This commit is contained in:
ProjectKoi-Kalo\Kalo 2024-08-09 10:10:14 +08:00
parent 1351b7ed1b
commit 5091ff4733
11 changed files with 456 additions and 32 deletions

Binary file not shown.

View File

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<AutomataRace.AutomataRaceSettings>
<defName>Paniel_Race</defName>
<needBlacklists> <!--Need def-->
<li>Outdoors</li>
<li>DrugDesire</li>
<li>RoomSize</li>
<li>Comfort</li>
<li MayRequire="Dubwise.DubsBadHygiene">Bladder</li>
</needBlacklists> <!--false 가 적용 / true 가 꺼짐-->
<socialActivated>true</socialActivated>
<skillDecayActivated>false</skillDecayActivated>
<infectionActivated>false</infectionActivated>
<medicineTendable>false</medicineTendable>
<deadThoughtOverrides>
<li>
<source>KnowColonistDied</source>
<overwrite>PN_KnowColonyAutomatonDied</overwrite>
</li>
<li>
<source>PawnWithGoodOpinionDied</source>
<overwrite>PN_AutomatonWithGoodOpinionDied</overwrite>
</li>
<li>
<source>PawnWithBadOpinionDied</source>
<overwrite>PN_AutomatonWithBadOpinionDied</overwrite>
</li>
<li>
<source>ColonistLost</source>
<overwrite>PN_ColonyAutomatonLost</overwrite>
</li>
<li>
<source>PawnWithGoodOpinionLost</source>
<overwrite>PN_AutomatonWithGoodOpinionLost</overwrite>
</li>
<li>
<source>PawnWithBadOpinionLost</source>
<overwrite>PN_AutomatonWithBadOpinionLost</overwrite>
</li>
<li>
<source>WitnessedDeathAlly</source>
<overwrite>PN_WitnessedDestroyedAlly</overwrite>
</li>
<li>
<source>WitnessedDeathNonAlly</source>
</li>
<li>
<source>ColonistBanished</source>
<overwrite>PN_AutomatonBanished</overwrite>
</li>
<li>
<source>ColonistBanishedToDie</source>
<overwrite>PN_AutomatonBanishedToDie</overwrite>
</li>
<li>
<source>PrisonerBanishedToDie</source>
</li>
</deadThoughtOverrides>
<conflictingPassions>
<li>Shooting</li>
<li>Melee</li>
<li>Construction</li>
<li>Mining</li>
<li>Cooking</li>
<li>Plants</li>
<li>Animals</li>
<li>Crafting</li>
<li>Artistic</li>
<li>Medicine</li>
<li>Social</li>
<li>Intellectual</li>
</conflictingPassions>
<defaultFaction>PN_indistryFaction</defaultFaction>
</AutomataRace.AutomataRaceSettings>
</Defs>

View File

@ -17,18 +17,18 @@
<backstoryCategories>
<li>Offworld</li>
</backstoryCategories>
<allowedCultures>
<!--<allowedCultures>
<li>PN_PnLindistryCulture</li>
</allowedCultures>
<allowedMemes>
<!--<li MayRequire="Ludeon.RimWorld.Ideology">PN_Structure</li>-->
<li MayRequire="Ludeon.RimWorld.Ideology">PN_Structure</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Loyalist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Collectivist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Transhumanist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">HumanPrimacy</li>
</allowedMemes>
<requiredMemes>
<!--<li MayRequire="Ludeon.RimWorld.Ideology">PN_Structure</li>-->
<li MayRequire="Ludeon.RimWorld.Ideology">PN_Structure</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Loyalist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Collectivist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Transhumanist</li>
@ -37,7 +37,7 @@
<disallowedPrecepts>
<li MayRequire="Ludeon.RimWorld.Ideology">ApparelDesired_Strong_Subordinate</li>
<li MayRequire="Ludeon.RimWorld.Ideology">ApparelDesired_Soft_Subordinate</li>
</disallowedPrecepts>
</disallowedPrecepts>-->
<melaninRange>0</melaninRange>
</FactionDef>
@ -71,18 +71,18 @@
<techLevel>Spacer</techLevel>
<fixedName>PnL Logistics</fixedName>
<settlementNameMaker>NamerSettlementPnLSub</settlementNameMaker>
<allowedCultures>
<!--<allowedCultures>
<li>PN_PnLindistryCulture</li>
</allowedCultures>
<allowedMemes>
<!--<li MayRequire="Ludeon.RimWorld.Ideology">PN_Structure</li>-->
<li MayRequire="Ludeon.RimWorld.Ideology">PN_Structure</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Loyalist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Collectivist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Transhumanist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">HumanPrimacy</li>
</allowedMemes>
<requiredMemes>
<!--<li MayRequire="Ludeon.RimWorld.Ideology">PN_Structure</li>-->
<li MayRequire="Ludeon.RimWorld.Ideology">PN_Structure</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Loyalist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Collectivist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Transhumanist</li>
@ -91,7 +91,7 @@
<disallowedPrecepts>
<li MayRequire="Ludeon.RimWorld.Ideology">ApparelDesired_Strong_Subordinate</li>
<li MayRequire="Ludeon.RimWorld.Ideology">ApparelDesired_Soft_Subordinate</li>
</disallowedPrecepts>
</disallowedPrecepts>-->
<melaninRange>0</melaninRange>
<backstoryCategories>
<li>Offworld</li>
@ -335,11 +335,11 @@
<defName>PN_PnLindistryCulture</defName>
<label>PnL indistry</label>
<description>The corporate culture of PnL Industry.</description>
<ideoNameMaker MayRequire="Ludeon.RimWorld.Ideology">NamerIdeo_PnLindistry</ideoNameMaker>
<deityNameMaker MayRequire="Ludeon.RimWorld.Ideology">NamerDeity_PnLindistry</deityNameMaker>
<deityTypeMaker MayRequire="Ludeon.RimWorld.Ideology">DeityTypeMaker_PnLindistry</deityTypeMaker>
<leaderTitleMaker MayRequire="Ludeon.RimWorld.Ideology">LeaderTitleMaker_PnLindistry</leaderTitleMaker>
<festivalNameMaker MayRequire="Ludeon.RimWorld.Ideology">NamerFestivalAstropolitan</festivalNameMaker>
<ideoNameMaker MayRequire="Ludeon.RimWorld.Ideology">NamerIdeoAstropolitan</ideoNameMaker>
<deityNameMaker MayRequire="Ludeon.RimWorld.Ideology">NamerDeityAstropolitan</deityNameMaker>
<deityTypeMaker MayRequire="Ludeon.RimWorld.Ideology">DeityTypeMakerAstropolitan</deityTypeMaker>
<leaderTitleMaker MayRequire="Ludeon.RimWorld.Ideology">LeaderTitleMaker_Astropolitan</leaderTitleMaker>
<festivalNameMaker MayRequire="Ludeon.RimWorld.Ideology">NamerFestivalAstropolitan</festivalNameMaker>
<allowedPlaceTags>
<li>OriginSpacer</li>
</allowedPlaceTags>
@ -364,7 +364,7 @@
</styleItemTags>
</CultureDef>
<RulePackDef>
<!--<RulePackDef>
<defName>NamerIdeo_PnLindistry</defName>
<rulePack>
<rulesStrings>
@ -400,5 +400,5 @@
<li>r_leaderTitle->CEO</li>
</rulesStrings>
</rulePack>
</RulePackDef>
</RulePackDef>-->
</Defs>

View File

@ -12,6 +12,13 @@
<initialSeverity>1</initialSeverity>
<isBad>false</isBad>
<countsAsAddedPartOrImplant>true</countsAsAddedPartOrImplant>
<disablesNeeds>
<li>Outdoors</li>
<li>DrugDesire</li>
<li>RoomSize</li>
<li>Comfort</li>
<li MayRequire="Dubwise.DubsBadHygiene">Bladder</li>
</disablesNeeds>
<stages>
<li>
<becomeVisible>false</becomeVisible>

View File

@ -46,8 +46,7 @@
<backstoryFiltersOverride>
<li>
<categories>
<li>PN_Test1</li>
<li>PN_Test2</li>
<li>Paniel_Story_Start</li>
</categories>
</li>
</backstoryFiltersOverride>
@ -78,8 +77,7 @@
<backstoryFiltersOverride>
<li>
<categories>
<li>PN_Test1</li>
<li>PN_Test2</li>
<li>Paniel_Story_Testsubject</li>
</categories>
</li>
</backstoryFiltersOverride>

View File

@ -112,4 +112,214 @@
</fixedIngredients>
</billWorker>
</CustomizableRecipe.CustomizableRecipeDef>
<RecipeDef>
<defName>PN_Make_AutomatonSoldier</defName>
<label>make automaton (Soldier)</label>
<description>make automaton (Soldier)</description>
<jobString>Making automaton.</jobString>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Machining</soundWorking>
<workAmount>48000</workAmount>
<unfinishedThingDef>UnfinishedAutomaton</unfinishedThingDef>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
<ingredients>
<li>
<filter>
<categories>
<li>PN_BrainCoreCatagory</li>
</categories>
</filter>
<count>1</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>8</count>
</li>
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>150</count>
</li>
<li>
<filter>
<thingDefs>
<li>Leather_Automaton</li>
</thingDefs>
</filter>
<count>50</count>
</li>
<li>
<filter>
<thingDefs>
<li>Chemfuel</li>
</thingDefs>
</filter>
<count>20</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>PN_BrainCoreCatagory</li>
</categories>
</fixedIngredientFilter>
<products>
<Packaged_AutomatonSoldier>1</Packaged_AutomatonSoldier>
</products>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<researchPrerequisite></researchPrerequisite>
</RecipeDef>
<RecipeDef>
<defName>PN_Make_AutomatonEngineer</defName>
<label>make automaton (Engineer)</label>
<description>make automaton (Engineer)</description>
<jobString>Making automaton.</jobString>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Machining</soundWorking>
<workAmount>48000</workAmount>
<unfinishedThingDef>UnfinishedAutomaton</unfinishedThingDef>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
<ingredients>
<li>
<filter>
<categories>
<li>PN_BrainCoreCatagory</li>
</categories>
</filter>
<count>1</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>8</count>
</li>
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>150</count>
</li>
<li>
<filter>
<thingDefs>
<li>Leather_Automaton</li>
</thingDefs>
</filter>
<count>50</count>
</li>
<li>
<filter>
<thingDefs>
<li>Chemfuel</li>
</thingDefs>
</filter>
<count>20</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>PN_BrainCoreCatagory</li>
</categories>
</fixedIngredientFilter>
<products>
<Packaged_AutomatonWorker>1</Packaged_AutomatonWorker>
</products>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<researchPrerequisite></researchPrerequisite>
</RecipeDef>
<RecipeDef>
<defName>PN_Make_AutomatonDomestic</defName>
<label>make automaton (Domestic)</label>
<description>make automaton (Domestic)</description>
<jobString>Making automaton.</jobString>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Machining</soundWorking>
<workAmount>48000</workAmount>
<unfinishedThingDef>UnfinishedAutomaton</unfinishedThingDef>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
<ingredients>
<li>
<filter>
<categories>
<li>PN_BrainCoreCatagory</li>
</categories>
</filter>
<count>1</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>8</count>
</li>
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>150</count>
</li>
<li>
<filter>
<thingDefs>
<li>Leather_Automaton</li>
</thingDefs>
</filter>
<count>50</count>
</li>
<li>
<filter>
<thingDefs>
<li>Chemfuel</li>
</thingDefs>
</filter>
<count>20</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>PN_BrainCoreCatagory</li>
</categories>
</fixedIngredientFilter>
<products>
<Packaged_AutomatonMaid>1</Packaged_AutomatonMaid>
</products>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<workSkill>Crafting</workSkill>
<researchPrerequisite></researchPrerequisite>
</RecipeDef>
</Defs>

View File

@ -20,10 +20,6 @@
</li>
<!-- Player starting stuff spawn method-->
<li Class="ScenPart_Naked">
<def>Naked</def>
<context>PlayerStarter</context>
</li>
<li Class="ScenPart_PlayerPawnsArriveMethod">
<def>PlayerPawnsArriveMethod</def>
@ -32,10 +28,10 @@
</li>
<!-- Starting research -->
<!--<li Class="ScenPart_StartingResearch">
<li Class="ScenPart_StartingResearch">
<def>StartingResearch</def>
<project>PNRP_Production</project>
</li>-->
</li>
<!-- Game start dialog -->
<li Class="ScenPart_GameStartDialog">
@ -57,7 +53,7 @@ from. PnL Industry Research Department.</text>
</li>
<!-- Player starting things -->
<!--<li Class="ScenPart_StartingThing_Defined">
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>PN_BrainCasing</thingDef>
<count>3</count>
@ -79,7 +75,7 @@ from. PnL Industry Research Department.</text>
<def>StartingThing_Defined</def>
<thingDef>PN_Shovel</thingDef>
<stuff>Steel</stuff>
</li>-->
</li>
<!-- Disable Incident -->
<li Class="ScenPart_DisableIncident">

View File

@ -89,7 +89,7 @@
</tradeTags>
<tradeability>Buyable</tradeability>
<!--<recipeMaker>
<recipeMaker>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Smith</effectWorking>
@ -102,7 +102,7 @@
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
</recipeMaker>-->
</recipeMaker>
<comps>
</comps>
@ -171,7 +171,7 @@
<comps>
</comps>
<!--<recipeMaker>
<recipeMaker>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Smith</effectWorking>
@ -184,7 +184,7 @@
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
</recipeMaker>-->
</recipeMaker>
</ThingDef>
<!--<ThingDef ParentName="BodyPartBase">

View File

@ -86,6 +86,141 @@
</thingCategories>
</ThingDef>
<!--==================================== 전투형 일반 상자 ====================================-->
<ThingDef ParentName="BasePackagedAutomaton">
<defName>Packaged_AutomatonSoldier</defName>
<label>PnL automaton™ (Combat)</label>
<description>A box containing a combat model automaton. Unpacking will reveal an automaton of a random grade.\n\n[Random Table]\nPoor : 0.39%\nNormal : 15.79%\nGood : 54.28%\nExcellent : 27.40%\nMasterwork : 2.14%</description>
<statBases>
</statBases>
<comps>
<li Class="CompProperties_Usable">
<useJob>UseItem</useJob>
<useLabel>Unpackage</useLabel>
</li>
<li Class="AutomataRace.CompProperties_UseEffectGeneratePawn">
<letterLabel>Paniel in black</letterLabel>
<letterText>Sensing trouble, a mysterious [PAWN_kind] has arrived.\n\nWill [PAWN_pronoun] be able to set things right in these parts?</letterText>
<samples>
<li>
<weight>39</weight>
<pawnKindDefName>Paniel_Randombox_Poor</pawnKindDefName>
</li>
<li>
<weight>1579</weight>
<pawnKindDefName>Paniel_Soldier_Normal</pawnKindDefName>
</li>
<li>
<weight>5428</weight>
<pawnKindDefName>Paniel_Soldier_Good</pawnKindDefName>
</li>
<li>
<weight>2740</weight>
<pawnKindDefName>Paniel_Soldier_Excellent</pawnKindDefName>
</li>
<li>
<weight>214</weight>
<pawnKindDefName>Paniel_Soldier_Masterwork</pawnKindDefName>
</li>
</samples>
</li>
<li Class="CompProperties_UseEffectDestroySelf">
<compClass>CompUseEffect_DestroySelf</compClass>
</li>
</comps>
</ThingDef>
<!--==================================== 제작형 일반 상자 ====================================-->
<ThingDef ParentName="BasePackagedAutomaton">
<defName>Packaged_AutomatonWorker</defName>
<label>PnL automaton™ (Engineer)</label>
<description>A box containing a engineer model automaton. Unpacking will reveal an automaton of a random grade.\n\n[Random Table]\nPoor : 0.39%\nNormal : 15.79%\nGood : 54.28%\nExcellent : 27.40%\nMasterwork : 2.14%</description>
<statBases>
</statBases>
<comps>
<li Class="CompProperties_Usable">
<useJob>UseItem</useJob>
<useLabel>Unpackage</useLabel>
</li>
<li Class="AutomataRace.CompProperties_UseEffectGeneratePawn">
<letterLabel>Paniel in black</letterLabel>
<letterText>Sensing trouble, a mysterious [PAWN_kind] has arrived.\n\nWill [PAWN_pronoun] be able to set things right in these parts?</letterText>
<samples>
<li>
<weight>39</weight>
<pawnKindDefName>Paniel_Randombox_Poor</pawnKindDefName>
</li>
<li>
<weight>1579</weight>
<pawnKindDefName>Paniel_Worker_Normal</pawnKindDefName>
</li>
<li>
<weight>5428</weight>
<pawnKindDefName>Paniel_Worker_Good</pawnKindDefName>
</li>
<li>
<weight>3740</weight>
<pawnKindDefName>Paniel_Worker_Excellent</pawnKindDefName>
</li>
<li>
<weight>214</weight>
<pawnKindDefName>Paniel_Worker_Masterwork</pawnKindDefName>
</li>
</samples>
</li>
<li Class="CompProperties_UseEffectDestroySelf">
<compClass>CompUseEffect_DestroySelf</compClass>
</li>
</comps>
</ThingDef>
<!--==================================== 가정형 일반 상자 ====================================-->
<ThingDef ParentName="BasePackagedAutomaton">
<defName>Packaged_AutomatonMaid</defName>
<label>PnL automaton™ (Domestic)</label>
<description>A box containing a domestic model automaton. Unpacking will reveal an automaton of a random grade.\n\n[Random Table]\nPoor : 0.39%\nNormal : 15.79%\nGood : 54.28%\nExcellent : 27.40%\nMasterwork : 2.14%</description>
<statBases>
</statBases>
<comps>
<li Class="CompProperties_Usable">
<useJob>UseItem</useJob>
<useLabel>Unpackage</useLabel>
</li>
<li Class="AutomataRace.CompProperties_UseEffectGeneratePawn">
<letterLabel>Paniel in black</letterLabel>
<letterText>Sensing trouble, a mysterious [PAWN_kind] has arrived.\n\nWill [PAWN_pronoun] be able to set things right in these parts?</letterText>
<samples>
<li>
<weight>39</weight>
<pawnKindDefName>Paniel_Randombox_Poor</pawnKindDefName>
</li>
<li>
<weight>1579</weight>
<pawnKindDefName>Paniel_Maid_Normal</pawnKindDefName>
</li>
<li>
<weight>5428</weight>
<pawnKindDefName>Paniel_Maid_Good</pawnKindDefName>
</li>
<li>
<weight>2740</weight>
<pawnKindDefName>Paniel_Maid_Excellent</pawnKindDefName>
</li>
<li>
<weight>214</weight>
<pawnKindDefName>Paniel_Maid_Masterwork</pawnKindDefName>
</li>
</samples>
</li>
<li Class="CompProperties_UseEffectDestroySelf">
<compClass>CompUseEffect_DestroySelf</compClass>
</li>
</comps>
</ThingDef>
<!--고급부품4짜리--> <!--확률:개별weight값/전체weight합-->
<!--==================================== 전투형 일반 상자 ====================================-->
<ThingDef ParentName="BasePackagedAutomaton">

View File

@ -2,7 +2,7 @@
<ModMetaData>
<name>Paniel the Automata</name>
<author>Demi, 어리연, Nemonian, gguake</author>
<packageId>AhnDemi.PanieltheAutomata</packageId>
<packageId>kalospacer.PanieltheAutomata.temporary</packageId>
<supportedVersions>
<li>1.3</li>
<li>1.4</li>