diff --git a/1.2/Assemblies/1_CustomizableRecipe.dll b/1.2/Assemblies/1_CustomizableRecipe.dll index 36047b7..73fc973 100644 Binary files a/1.2/Assemblies/1_CustomizableRecipe.dll and b/1.2/Assemblies/1_CustomizableRecipe.dll differ diff --git a/1.2/Assemblies/2_AutomataRace.dll b/1.2/Assemblies/2_AutomataRace.dll index a0fa216..1112b96 100644 Binary files a/1.2/Assemblies/2_AutomataRace.dll and b/1.2/Assemblies/2_AutomataRace.dll differ diff --git a/1.2/Defs/AutomataRaceSettings/AutomataQualityProperty.xml b/1.2/Defs/AutomataRaceSettings/AutomataQualityProperty.xml new file mode 100644 index 0000000..9318c26 --- /dev/null +++ b/1.2/Defs/AutomataRaceSettings/AutomataQualityProperty.xml @@ -0,0 +1,136 @@ +<?xml version="1.0" encoding="utf-8" ?> +<Defs> + <AutomataRace.AutomataQualityProperty> + <defName>PN_AutomataQualityProperty_Awful</defName> + <quality>Awful</quality> + <pawnKindDefs> + <li> + <key>PN_Specialization_Combat</key> + <value>Paniel_Soldier_Normal</value> + </li> + <li> + <key>PN_Specialization_Engineer</key> + <value>Paniel_Worker_Normal</value> + </li> + <li> + <key>PN_Specialization_Domestic</key> + <value>Paniel_Maid_Normal</value> + </li> + </pawnKindDefs> + </AutomataRace.AutomataQualityProperty> + + <AutomataRace.AutomataQualityProperty> + <defName>PN_AutomataQualityProperty_Poor</defName> + <quality>Poor</quality> + <pawnKindDefs> + <li> + <key>PN_Specialization_Combat</key> + <value>Paniel_Soldier_Normal</value> + </li> + <li> + <key>PN_Specialization_Engineer</key> + <value>Paniel_Worker_Normal</value> + </li> + <li> + <key>PN_Specialization_Domestic</key> + <value>Paniel_Maid_Normal</value> + </li> + </pawnKindDefs> + </AutomataRace.AutomataQualityProperty> + + <AutomataRace.AutomataQualityProperty> + <defName>PN_AutomataQualityProperty_Normal</defName> + <quality>Normal</quality> + <pawnKindDefs> + <li> + <key>PN_Specialization_Combat</key> + <value>Paniel_Soldier_Normal</value> + </li> + <li> + <key>PN_Specialization_Engineer</key> + <value>Paniel_Worker_Normal</value> + </li> + <li> + <key>PN_Specialization_Domestic</key> + <value>Paniel_Maid_Normal</value> + </li> + </pawnKindDefs> + </AutomataRace.AutomataQualityProperty> + + <AutomataRace.AutomataQualityProperty> + <defName>PN_AutomataQualityProperty_Good</defName> + <quality>Good</quality> + <pawnKindDefs> + <li> + <key>PN_Specialization_Combat</key> + <value>Paniel_Soldier_Good</value> + </li> + <li> + <key>PN_Specialization_Engineer</key> + <value>Paniel_Worker_Good</value> + </li> + <li> + <key>PN_Specialization_Domestic</key> + <value>Paniel_Maid_Good</value> + </li> + </pawnKindDefs> + </AutomataRace.AutomataQualityProperty> + + <AutomataRace.AutomataQualityProperty> + <defName>PN_AutomataQualityProperty_Excellent</defName> + <quality>Excellent</quality> + <pawnKindDefs> + <li> + <key>PN_Specialization_Combat</key> + <value>Paniel_Soldier_Excellent</value> + </li> + <li> + <key>PN_Specialization_Engineer</key> + <value>Paniel_Worker_Excellent</value> + </li> + <li> + <key>PN_Specialization_Domestic</key> + <value>Paniel_Maid_Excellent</value> + </li> + </pawnKindDefs> + </AutomataRace.AutomataQualityProperty> + + <AutomataRace.AutomataQualityProperty> + <defName>PN_AutomataQualityProperty_Masterwork</defName> + <quality>Masterwork</quality> + <pawnKindDefs> + <li> + <key>PN_Specialization_Combat</key> + <value>Paniel_Soldier_Masterwork</value> + </li> + <li> + <key>PN_Specialization_Engineer</key> + <value>Paniel_Worker_Masterwork</value> + </li> + <li> + <key>PN_Specialization_Domestic</key> + <value>Paniel_Maid_Masterwork</value> + </li> + </pawnKindDefs> + </AutomataRace.AutomataQualityProperty> + + <AutomataRace.AutomataQualityProperty> + <defName>PN_AutomataQualityProperty_Legendary</defName> + <quality>Legendary</quality> + <pawnKindDefs> + <li> + <key>PN_Specialization_Combat</key> + <value>Paniel_Soldier_Legendary</value> + </li> + <li> + <key>PN_Specialization_Engineer</key> + <value>Paniel_Worker_Legendary</value> + </li> + <li> + <key>PN_Specialization_Domestic</key> + <value>Paniel_Maid_Legendary</value> + </li> + </pawnKindDefs> + </AutomataRace.AutomataQualityProperty> + +</Defs> \ No newline at end of file diff --git a/1.2/Defs/AutomataRaceSettings/AutomataSpecializations.xml b/1.2/Defs/AutomataRaceSettings/AutomataSpecializations.xml index 5b319d9..0527f4f 100644 --- a/1.2/Defs/AutomataRaceSettings/AutomataSpecializations.xml +++ b/1.2/Defs/AutomataRaceSettings/AutomataSpecializations.xml @@ -3,76 +3,15 @@ <AutomataRace.AutomataSpecializationDef> <defName>PN_Specialization_Combat</defName> <uiIconPath>UI/Icons/Combat</uiIconPath> - <bonusSkills> - <li> - <skill>Shooting</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - <li> - <skill>Melee</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - <li> - <skill>Animals</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - </bonusSkills> </AutomataRace.AutomataSpecializationDef> <AutomataRace.AutomataSpecializationDef> <defName>PN_Specialization_Engineer</defName> <uiIconPath>UI/Icons/Engineer</uiIconPath> - <bonusSkills> - <li> - <skill>Construction</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - <li> - <skill>Crafting</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - <li> - <skill>Mining</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - <li> - <skill>Intellectual</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - </bonusSkills> </AutomataRace.AutomataSpecializationDef> <AutomataRace.AutomataSpecializationDef> <defName>PN_Specialization_Domestic</defName> <uiIconPath>UI/Icons/Domestic</uiIconPath> - <bonusSkills> - <li> - <skill>Cooking</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - <li> - <skill>Plants</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - <li> - <skill>Social</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - <li> - <skill>Medicine</skill> - <addition>3</addition> - <multiplier>1</multiplier> - </li> - </bonusSkills> </AutomataRace.AutomataSpecializationDef> </Defs> \ No newline at end of file diff --git a/1.2/Defs/RecipeDefs/Recipes_Randombox.xml b/1.2/Defs/RecipeDefs/Recipes_Randombox.xml index 9a18098..14cf06f 100644 --- a/1.2/Defs/RecipeDefs/Recipes_Randombox.xml +++ b/1.2/Defs/RecipeDefs/Recipes_Randombox.xml @@ -826,8 +826,8 @@ </RecipeDef>--> <CustomizableRecipe.CustomizableRecipeDef> - <defName>PN_Make_NormalAutomaton_Test</defName> - <label>make automaton test</label> + <defName>PN_Make_Automaton</defName> + <label>make automaton</label> <description>...</description> <jobString>Making automaton.</jobString> <workSpeedStat>GeneralLaborSpeed</workSpeedStat> diff --git a/1.2/Defs/StatOverrideDefs/StatOverrideDef.xml b/1.2/Defs/StatOverrideDefs/StatOverrideDef.xml index 7c3cd60..2d7d39d 100644 --- a/1.2/Defs/StatOverrideDefs/StatOverrideDef.xml +++ b/1.2/Defs/StatOverrideDefs/StatOverrideDef.xml @@ -4,12 +4,20 @@ <defName>PN_PackagedAutomaton_MarketValue</defName> <thingDef>Packaged_NormalAutomaton</thingDef> <statDef>MarketValue</statDef> - <worker Class="AutomataRace.StatOverrideWorker_MarketValue_PackagedAutomaton"> + <worker Class="AutomataRace.StatOverrideWorker_MarketValue_Automaton"> </worker> </CustomizableRecipe.StatOverrideDef> <CustomizableRecipe.StatOverrideDef> - <defName>PN_PackagedAutomaton_ArmorRating_Sharp</defName> + <defName>PN_Paniel_Race_MarketValue</defName> + <thingDef>Paniel_Race</thingDef> + <statDef>MarketValue</statDef> + <worker Class="AutomataRace.StatOverrideWorker_MarketValue_Automaton"> + </worker> + </CustomizableRecipe.StatOverrideDef> + + <CustomizableRecipe.StatOverrideDef> + <defName>PN_Paniel_Race_ArmorRating_Sharp</defName> <thingDef>Paniel_Race</thingDef> <statDef>ArmorRating_Sharp</statDef> <worker Class="AutomataRace.StatOverrideWorker_ArmorRating_Automaton"> @@ -19,7 +27,7 @@ </CustomizableRecipe.StatOverrideDef> <CustomizableRecipe.StatOverrideDef> - <defName>PN_PackagedAutomaton_ArmorRating_Blunt</defName> + <defName>PN_Paniel_Race_ArmorRating_Blunt</defName> <thingDef>Paniel_Race</thingDef> <statDef>ArmorRating_Blunt</statDef> <worker Class="AutomataRace.StatOverrideWorker_ArmorRating_Automaton"> @@ -29,7 +37,7 @@ </CustomizableRecipe.StatOverrideDef> <CustomizableRecipe.StatOverrideDef> - <defName>PN_PackagedAutomaton_ArmorRating_Heat</defName> + <defName>PN_Paniel_Race_ArmorRating_Heat</defName> <thingDef>Paniel_Race</thingDef> <statDef>ArmorRating_Heat</statDef> <worker Class="AutomataRace.StatOverrideWorker_ArmorRating_Automaton"> diff --git a/1.2/Defs/ThingDef/ThingDef_Randombox.xml b/1.2/Defs/ThingDef/ThingDef_Randombox.xml index 6bd007c..b1e91ad 100644 --- a/1.2/Defs/ThingDef/ThingDef_Randombox.xml +++ b/1.2/Defs/ThingDef/ThingDef_Randombox.xml @@ -62,6 +62,7 @@ <graphicClass>Graphic_Single</graphicClass> </graphicData> <comps> + <li><compClass>CompQuality</compClass></li> <li Class="AutomataRace.CompPropeties_AutomataDataHolder"></li> <li Class="CompProperties_Usable"> <useJob>UseItem</useJob>