diff --git a/HMC Nobility Expanded/1.4/Assemblies/HMC_NobilityExpanded.dll b/HMC Nobility Expanded/1.4/Assemblies/HMC_NobilityExpanded.dll index c0ca581..711aa20 100644 Binary files a/HMC Nobility Expanded/1.4/Assemblies/HMC_NobilityExpanded.dll and b/HMC Nobility Expanded/1.4/Assemblies/HMC_NobilityExpanded.dll differ diff --git a/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Armor.xml b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Armor.xml index 296f4db..8df0d35 100644 --- a/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Armor.xml +++ b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Armor.xml @@ -6,37 +6,60 @@ ArmorPermitTitle Request a drop of armor. + +
  • + Title + Armor + 0 + 0 +
  • +
    - + ArmorDrop Request a drop of medieval armor pack. Acolyte 18 - - 1 - 1 - 1 - 1 - 3 + +
  • + Permit + Armor + 0 + 1 + +
  • + MedievalTimes_Helmet_Bascinet + 1 + Plasteel +
  • +
  • + MedievalTimes_Plates_Full_Cloaked + 1 + Plasteel +
  • +
  • + MedievalTimes_Gloves_Plated + 1 + Plasteel +
  • +
  • + Apparello_MetalBoots + 1 + Plasteel +
  • + + +
    - - ArmorDropStuff - -
  • Plasteel
  • -
  • Plasteel
  • -
  • Plasteel
  • -
  • Plasteel
  • -
    -
    - + ArmorDropPlus Request a drop of medieval armor pack. @@ -45,57 +68,88 @@ ArmorDrop 2 - - 1 - 1 - 1 - 1 - 7 + +
  • + Permit + Armor + 1 + 1 + +
  • + MedievalTimes_Helmet_Bascinet + 1 + TitaniumBar + Excellent +
  • +
  • + MedievalTimes_Plates_Full_Cloaked + 1 + TitaniumBar + Excellent +
  • +
  • + MedievalTimes_Gloves_Plated + 1 + TitaniumBar + Excellent +
  • +
  • + Apparello_MetalBoots + 1 + TitaniumBar + Excellent +
  • + + +
    - - ArmorDropPlusStuff - Excellent - 1 - -
  • TitaniumBar
  • -
  • TitaniumBar
  • -
  • TitaniumBar
  • -
  • TitaniumBar
  • -
    -
    - + IndustrialArmorDrop Request a drop of industrial armor pack. Knight 23 - - 1 - 1 - 1 - 1 - 5 + +
  • + Permit + Armor + 0 + 2 + +
  • + Tactical_Helmet + 1 + Plasteel +
  • +
  • + Marine_Armor + 1 + Plasteel +
  • +
  • + Apparello_ReinforcedGlove + 1 + Plasteel +
  • +
  • + MedievalTimes_Boots_Steel_Plated + 1 + Plasteel +
  • + + +
    - - IndustrialArmorDropStuff - -
  • Plasteel
  • -
  • Plasteel
  • -
  • Plasteel
  • -
  • Plasteel
  • -
    -
    - - + IndustrialArmorDropPlus Request a drop of industrial armor pack. @@ -104,30 +158,47 @@ IndustrialArmorDrop 2 - - 1 - 1 - 1 - 1 - 9 + +
  • + Permit + Armor + 1 + 2 + +
  • + Tactical_Helmet + 1 + TitaniumBar + Excellent +
  • +
  • + Marine_Armor + 1 + TitaniumBar + Excellent +
  • +
  • + Apparello_ReinforcedGlove + 1 + TitaniumBar + Excellent +
  • +
  • + MedievalTimes_Boots_Steel_Plated + 1 + TitaniumBar + Excellent +
  • + + +
    - - IndustrialArmorDropPlusStuff - Excellent - 1 - -
  • TitaniumBar
  • -
  • TitaniumBar
  • -
  • TitaniumBar
  • -
  • TitaniumBar
  • -
    -
    - + SpacerArmorDrop Request a drop of spacer armor pack. @@ -135,27 +206,41 @@ 45 3 - - 1 - 1 - 1 - 1 - 12 + +
  • + Permit + Armor + 0 + 3 + +
  • + Apparel_ArmorHelmetRecon + 1 + AlnicoAlloy +
  • +
  • + Apparel_ArmorRecon + 1 + AlnicoAlloy +
  • +
  • + MedievalTimes_Gloves_Combat + 1 + AlnicoAlloy +
  • +
  • + MedievalTimes_Boots_Combat + 1 + AlnicoAlloy +
  • + + +
    - - SpacerArmorDropStuff - -
  • AlnicoAlloy
  • -
  • AlnicoAlloy
  • -
  • AlnicoAlloy
  • -
  • AlnicoAlloy
  • -
    -
    - - + SpacerArmorDropPlus Request a drop of spacer armor pack. @@ -164,30 +249,47 @@ 62 4 - - 1 - 1 - 1 - 1 - 16 + +
  • + Permit + Armor + 1 + 3 + +
  • + Apparel_ArmorHelmetRecon + 1 + PobediteAlloy + Excellent +
  • +
  • + Apparel_ArmorRecon + 1 + PobediteAlloy + Excellent +
  • +
  • + MedievalTimes_Gloves_Combat + 1 + PobediteAlloy + Excellent +
  • +
  • + MedievalTimes_Boots_Combat + 1 + PobediteAlloy + Excellent +
  • + + +
    - - SpacerArmorDropPlusStuff - Excellent - 1 - -
  • PobediteAlloy
  • -
  • PobediteAlloy
  • -
  • PobediteAlloy
  • -
  • PobediteAlloy
  • -
    -
    - + UltraArmorDrop Request a drop of ultra armor pack. @@ -195,28 +297,41 @@ 70 6 - - 1 - 1 - 1 - 1 - 16 + +
  • + Permit + Armor + 0 + 4 + +
  • + Apparel_PowerArmorHelmet + 1 + TitaniumBar +
  • +
  • + Apparel_PowerArmor + 1 + TitaniumBar +
  • +
  • + MedievalTimes_Gauntlets_Techno + 1 + TitaniumBar +
  • +
  • + MedievalTimes_Boots_Techno + 1 + TitaniumBar +
  • + + +
    - - UltraArmorDropStuff - Normal - -
  • TitaniumBar
  • -
  • TitaniumBar
  • -
  • TitaniumBar
  • -
  • TitaniumBar
  • -
    -
    - - + UltraArmorDropPlus Request a drop of ultra armor pack. @@ -225,24 +340,37 @@ UltraArmorDrop 8 - - 1 - 1 - 1 - 1 - 28 + +
  • + Permit + Armor + 1 + 4 + +
  • + Apparel_PowerArmorHelmet + 1 + AlphaPoly +
  • +
  • + Apparel_PowerArmor + 1 + BetaPoly +
  • +
  • + MedievalTimes_Gauntlets_Techno + 1 + AlphaPoly +
  • +
  • + MedievalTimes_Boots_Techno + 1 + AlphaPoly +
  • + + +
    - - UltraArmorDropPlusStuff - Excellent - 1 - -
  • AlphaPoly
  • -
  • BetaPoly
  • -
  • AlphaPoly
  • -
  • AlphaPoly
  • -
    -
    \ No newline at end of file diff --git a/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Base.xml b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Base.xml index a83f25e..bc18721 100644 --- a/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Base.xml +++ b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Base.xml @@ -23,6 +23,14 @@ NobilityExpanded.RoyalTitlePermitWorker_DropResourcesPlus
    + + NobilityExpanded.RoyalTitlePermitWorker_DropResourcesUpdated + + + + NobilityExpanded.RoyalTitlePermitWorker_DropResourcesWithDialog + + NobilityExpanded.RoyalTitlePermitWorker_DropBuildings @@ -95,22 +103,29 @@ - - - EmptyTableSpace Empty - 90 + 97 + + 97 + + + + + EmptyPermitSpace + + Empty + 96 - 90 + 96 diff --git a/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Prosthetics.xml b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Prosthetics.xml new file mode 100644 index 0000000..8ef37d2 --- /dev/null +++ b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Prosthetics.xml @@ -0,0 +1,619 @@ + + + + + ProstheticsPermitTitle + + Request a drop of various prosthetics. + +
  • + Title + Prosthetics + 0 + 0 +
  • +
    +
    + + + ProstheticsPermitSmallTitle + + Request a drop of different prosthetics. + +
  • + Category + Prosthetics + 0 + 1 +
  • +
    +
    + + + CombatProstheticsPermitSmallTitle + + Request a drop of different combat prosthetics. + +
  • + Category + Prosthetics + 0 + 5 +
  • +
    +
    + + + ProductiveProstheticsPermitSmallTitle + + Request a drop of different prosthetics for workers. + +
  • + Category + Prosthetics + 0 + 9 +
  • +
    +
    + + + + + SimpleProsthetic + + Request a drop of specific simple prosthetics. + Acolyte + 21 + + 3 + + +
  • + Permit + Prosthetics + 0 + 2 + +
  • + SimpleProstheticHand + 2 +
  • +
  • + SimpleProstheticArm + 1 +
  • +
  • + SimpleProstheticFoot + 2 +
  • +
  • + SimpleProstheticLeg + 1 +
  • +
  • + ArtificialNose + 1 +
  • +
  • + CochlearImplant + 1 +
  • +
  • + SimpleProstheticHeart + 1 +
  • +
  • + ArtificialPelvis + 1 +
  • + + +
    +
    + + + BionicsProsthetic + + Request a drop of specific bionic prosthetic. + Legatus + 38 + 4 + + 7 + + +
  • + Permit + Prosthetics + 1 + 2 + +
  • + BionicHand + 2 +
  • +
  • + BionicArm + 1 +
  • +
  • + BionicFoot + 2 +
  • +
  • + BionicLeg + 1 +
  • +
  • + BionicNeck + 1 +
  • +
  • + BionicSpine + 1 +
  • +
  • + BionicEar + 2 +
  • +
  • + BionicEye + 2 +
  • +
  • + BionicKidney + 2 +
  • +
  • + BionicLung + 2 +
  • +
  • + BionicLiver + 1 +
  • +
  • + BionicStomach + 1 +
  • +
  • + BionicHeart + 1 +
  • +
  • + BionicJaw + 1 +
  • +
  • + BionicTongue + 1 +
  • + + +
    +
    + + + CyberneticProsthetic + + Request a drop of specific bionic prosthetic. + Count + 45 + 6 + + 10 + + +
  • + Permit + Prosthetics + 0 + 3 + +
  • + GTHand + 2 +
  • +
  • + ArchotechArm + 1 +
  • +
  • + GTFoot + 2 +
  • +
  • + ArchotechLeg + 1 +
  • +
  • + GTNeck + 1 +
  • +
  • + GTSpine + 1 +
  • +
  • + GTEar + 2 +
  • +
  • + ArchotechEye + 2 +
  • +
  • + GTKidney + 2 +
  • +
  • + GTLung + 2 +
  • +
  • + GTLiver + 1 +
  • +
  • + GTHeart + 1 +
  • +
  • + GTstomach + 1 +
  • +
  • + GTDentures + 1 +
  • + + +
    +
    + + + + + CombatProsthetic + + Request a drop of specific combat prosthetics. + Praetor + 2 + 35 + + 10 + + +
  • + Permit + Prosthetics + 0 + 6 + +
  • + HandTalon + 1 +
  • +
  • + ElbowBlade + 1 +
  • +
  • + KneeSpike + 1 +
  • +
  • + VenomFangs + 1 +
  • +
  • + VenomTalon + 1 +
  • +
  • + PowerClaw + 1 +
  • +
  • + PainkillerRib + 1 +
  • +
  • + CoagulatorRib + 1 +
  • + + +
    +
    + + + CombatImplants + + Request a drop of specific combat implants. + Praetor + 2 + 35 + + 10 + + +
  • + Permit + Prosthetics + 1 + 6 + +
  • + HealingEnhancer + 1 +
  • +
  • + ToughskinGland + 1 +
  • +
  • + ArmorskinGland + 1 +
  • +
  • + Coagulator + 1 +
  • +
  • + Painstopper + 1 +
  • +
  • + DeathAcidifier + 1 +
  • + + +
    +
    + + + CombatImplantsAdvanced + + Request a drop of specific advanced combat prosthetics. + Viscount + 4 + 45 + + 10 + + +
  • + Permit + Prosthetics + 0 + 7 + +
  • + StoneskinGland + 1 +
  • +
  • + TacticalCorneaImplant + 1 +
  • +
  • + AuxiliaryAI_Sharpshooter + 1 +
  • +
  • + AuxiliaryAI_Commando + 1 +
  • +
  • + AuxiliaryAI_Brawler + 1 +
  • +
  • + ProtectiveExoskeleton + 1 +
  • + + +
    +
    + + + + + ProductionProsthetic + + Request a drop of specific production prosthetics. + Praetor + 2 + 35 + + 10 + + +
  • + Permit + Prosthetics + 0 + 10 + +
  • + DrillArm + 1 +
  • +
  • + FieldHand + 1 +
  • +
  • + AestheticNose + 1 +
  • +
  • + DetoxifierStomach + 1 +
  • +
  • + ReprocessorStomach + 1 +
  • +
  • + NuclearStomach + 1 +
  • +
  • + AdrenalineRib + 1 +
  • + + +
    +
    + + + ProductionImplants + + Request a drop of specific production implants. + Praetor + 2 + 35 + + 10 + + +
  • + Permit + Prosthetics + 1 + 10 + +
  • + Mindscrew + 1 +
  • +
  • + GastroAnalyzer + 1 +
  • +
  • + Immunoenhancer + 1 +
  • +
  • + CircadianAssistant + 1 +
  • +
  • + CircadianHalfCycler + 1 +
  • +
  • + LearningAssistant + 1 +
  • +
  • + PsychicSensitizer + 1 +
  • +
  • + PsychicHarmonizer + 1 +
  • +
  • + PsychicReader + 1 +
  • +
  • + MedicalRib + 1 +
  • +
  • + DruggedRib + 1 +
  • +
  • + HeaterRib + 1 +
  • +
  • + CoolerRib + 1 +
  • +
  • + Joywire + 1 +
  • +
  • + MuscleStimulator + 1 +
  • + + +
    +
    + + + ProductionImplantsAdvanced + + Request a drop of specific advanced production prosthetics. + Viscount + 4 + 45 + + 10 + + +
  • + Permit + Prosthetics + 0 + 11 + +
  • + InstinctOptimizingNanobots + 1 +
  • +
  • + OrganicOptimizingNanobots + 1 +
  • +
  • + Neurocalculator + 1 +
  • +
  • + BrainStimulator + 1 +
  • +
  • + ConstructorCore + 1 +
  • +
  • + FarmerCore + 1 +
  • +
  • + MinerCore + 1 +
  • +
  • + DoctorCore + 1 +
  • +
  • + DiplomatCore + 1 +
  • +
  • + ExoskeletonSuit + 1 +
  • + + +
    +
    + +
    \ No newline at end of file diff --git a/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Tools.xml b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Tools.xml index 4709d0b..4701ea2 100644 --- a/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Tools.xml +++ b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Tools.xml @@ -6,43 +6,75 @@ ToolPermitTitle Request a drop of tool box. + +
  • + Title + Tools + 0 + 0 +
  • +
    + + - + ToolDrop Request a drop of tool box with various tools. Acolyte 17 - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 2 + +
  • + Permit + Tools + 0 + 1 + +
  • + TFJ_Tool_Woodcutting_Handaxe + 1 + Plasteel +
  • +
  • + TFJ_Tool_Mining_Pickaxe + 1 + Plasteel +
  • +
  • + TFJ_Tool_Building_Hammer + 1 + Plasteel +
  • +
  • + TFJ_Tool_Sickle + 1 + Plasteel +
  • +
  • + TFJ_Tool_Hoe + 1 + Plasteel +
  • +
  • + MeleeWeapon_Knife + 1 + Plasteel +
  • +
  • + TFJ_Tool_Broom + 1 + Plasteel +
  • + + +
    - - ToolDropStuff - -
  • Plasteel
  • -
  • Plasteel
  • -
  • Plasteel
  • -
  • Plasteel
  • -
  • Plasteel
  • -
  • Plasteel
  • -
  • WoodPlank
  • -
    -
    - - - + ToolDropPlus Request a drop of tool box with various tools with better base materials. @@ -51,36 +83,63 @@ ToolDrop 2 - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 4 + +
  • + Permit + Tools + 1 + 1 + +
  • + TFJ_Tool_Woodcutting_Handaxe + 1 + Titanium + Excellent +
  • +
  • + TFJ_Tool_Mining_Pickaxe + 1 + Titanium + Excellent +
  • +
  • + TFJ_Tool_Building_Hammer + 1 + Titanium + Excellent +
  • +
  • + TFJ_Tool_Sickle + 1 + Titanium + Excellent +
  • +
  • + TFJ_Tool_Hoe + 1 + Titanium + Excellent +
  • +
  • + MeleeWeapon_Knife + 1 + Titanium + Excellent +
  • +
  • + TFJ_Tool_Broom + 1 + AluminiumBar + Excellent +
  • + + +
    - - ToolDropPlusStuff - Excellent - 1 - -
  • Titanium
  • -
  • Titanium
  • -
  • Titanium
  • -
  • Titanium
  • -
  • Titanium
  • -
  • Titanium
  • -
  • AluminiumBar
  • -
    -
    - - - + AdvToolDrop Request a drop of one multitool. @@ -93,17 +152,24 @@ 6 + +
  • + Permit + Tools + 0 + 2 + +
  • + TFJ_Tool_Multitool + 1 + AlnicoAlloy +
  • + + +
    - - AdvToolDropStuff - -
  • AlnicoAlloy
  • -
    -
    - - - + AdvToolDropPlus Request a drop of one multitool. @@ -112,18 +178,24 @@ AdvToolDrop 3 - - 1 - 8 + +
  • + Permit + Tools + 1 + 2 + +
  • + TFJ_Tool_Multitool + 1 + Titanium + Excellent +
  • + + +
    - - AdvToolDropPlusStuff - Excellent - 1 - -
  • Titanium
  • -
    -
    + \ No newline at end of file diff --git a/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Weapons_Ranged.xml b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Weapons_Ranged.xml index fdb8ae9..a59a20d 100644 --- a/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Weapons_Ranged.xml +++ b/HMC Nobility Expanded/1.4/Defs/RoyalPermitDefs/RoyalPermits_Weapons_Ranged.xml @@ -44,6 +44,9 @@
  • WoodLog
  • WoodLog
  • + Stuff + Random + Gun diff --git a/HMC Nobility Expanded/1.4/Defs/RoyaltyCoordsTableDefs/CoordsTableProsthetics.xml b/HMC Nobility Expanded/1.4/Defs/RoyaltyCoordsTableDefs/CoordsTableProsthetics.xml new file mode 100644 index 0000000..3774460 --- /dev/null +++ b/HMC Nobility Expanded/1.4/Defs/RoyaltyCoordsTableDefs/CoordsTableProsthetics.xml @@ -0,0 +1,30 @@ + + + + CoordsTableProsthetics_0 + 0 + +
  • ProstheticsPermitTitle
  • +
  • ProstheticsPermitSmallTitle
  • +
  • SimpleProsthetic
  • +
  • CyberneticProsthetic
  • +
  • CombatProstheticsPermitSmallTitle
  • +
  • CombatProsthetic
  • +
  • ProductiveProstheticsPermitSmallTitle
  • +
    +
    + + + CoordsTableProsthetics_1 + 1 + +
  • ProstheticsPermitTitle
  • +
  • ProstheticsPermitSmallTitle
  • +
  • BionicsProsthetic
  • +
  • EmptyPermitSpace
  • +
  • CombatProstheticsPermitSmallTitle
  • +
  • EmptyPermitSpace
  • +
  • ProductiveProstheticsPermitSmallTitle
  • +
    +
    +
    diff --git a/HMC Nobility Expanded/1.4/Defs/RoyaltyPermitCategoryTableDefs/PermitsCategoryTable.xml b/HMC Nobility Expanded/1.4/Defs/RoyaltyPermitCategoryTableDefs/PermitsCategoryTable.xml index 21c39b8..ea06808 100644 --- a/HMC Nobility Expanded/1.4/Defs/RoyaltyPermitCategoryTableDefs/PermitsCategoryTable.xml +++ b/HMC Nobility Expanded/1.4/Defs/RoyaltyPermitCategoryTableDefs/PermitsCategoryTable.xml @@ -4,16 +4,17 @@ PermitCategoryTable
  • Resources
  • -
  • Seeds
  • -
  • Animals
  • Tools
  • Armor
  • Apparel
  • Melee
  • Ranged
  • -
  • Pawns
  • -
  • Airstrike
  • Turrets
  • +
  • Airstrike
  • +
  • Pawns
  • +
  • Animals
  • +
  • Prosthetics
  • +
  • Seeds
  • \ No newline at end of file diff --git a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Airstrike.xml b/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Airstrike.xml deleted file mode 100644 index ad61ae9..0000000 --- a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Airstrike.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - HMC_NE_MilAid - HMCNE.Pacas.MilAid - MilAid_MainTitle - - -
  • - -
  • - - Permit_Title - -
  • - -
  • -
  • - Military Aid - MilAid_Title - Medium - Middle -
  • -
  • -
  • - Airstrike1_Cost - - Airstrike1_Cost - 2 - 1 - 20 -
  • -
  • - Airstrike2_Cost - - Airstrike2_Cost - 3 - 1 - 20 -
  • -
    - - - -
  • - - Cooldown_Title - -
  • - -
  • -
  • - Military Aid - MilAid_Title - Medium - Middle -
  • -
  • -
  • - Airstrike1_Time - Airstrike1_Cost - - 30 - 1 - 240 -
  • -
  • - Airstrike2_Time - Airstrike2_Cost - - 45 - 1 - 240 -
  • - - - - -
  • - - Reset_Title - -
  • - -
  • -
  • - Reset all settings in this category - Reset_Button -
  • -
  • - -
  • - - - - - - -
  • - - - HMCNE.Pacas.MilAid - -
  • Airstrike1_Cost
  • -
  • Airstrike2_Cost
  • -
  • Airstrike1_Time
  • -
  • Airstrike2_Time
  • - - -
  • 2
  • -
  • 3
  • -
  • 45
  • -
  • 60
  • -
    - - - - -
  • - RoyalTitlePermitDef/[defName="CallOrbitalStrike"]/permitPointCost - - {Airstrike1_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallOrbitalSalvo"]/permitPointCost - - {Airstrike2_Cost} - -
  • - -
  • - RoyalTitlePermitDef/[defName="CallOrbitalStrike"]/cooldownDays - - {Airstrike1_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallOrbitalSalvo"]/cooldownDays - - {Airstrike2_Time} - -
  • -
    -
    -
    - - - -
    -
    -
    \ No newline at end of file diff --git a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Allies.xml b/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Allies.xml deleted file mode 100644 index 8003c1e..0000000 --- a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Allies.xml +++ /dev/null @@ -1,281 +0,0 @@ - - - - HMC_NE_Allies - HMCNE.Pacas.Allies - Allies_MainTitle - - -
  • - -
  • - - Permit_Title - -
  • - -
  • -
  • - Allies - Allies_Title - Medium - Middle -
  • -
  • -
  • - Laborer1_Cost - - Laborer1_Cost - 2 - 1 - 20 -
  • -
  • - Laborer2_Cost - - Laborer2_Cost - 3 - 1 - 20 -
  • -
  • - Trooper1_Cost - - Trooper1_Cost - 2 - 1 - 20 -
  • -
  • - Trooper2_Cost - - Trooper2_Cost - 3 - 1 - 20 -
  • -
  • - Trooper3_Cost - - Trooper3_Cost - 3 - 1 - 20 -
  • -
  • - Trooper4_Cost - - Trooper4_Cost - 4 - 1 - 20 -
  • -
    - - - -
  • - - Cooldown_Title - -
  • - -
  • -
  • - Allies - Allies_Title - Medium - Middle -
  • -
  • -
  • - Laborer1_Time - Laborer1_Cost - - 30 - 1 - 240 -
  • -
  • - Laborer2_Time - Laborer2_Cost - - 45 - 1 - 240 -
  • -
  • - Trooper1_Time - Trooper1_Cost - - 20 - 1 - 240 -
  • -
  • - Trooper2_Time - Trooper2_Cost - - 40 - 1 - 240 -
  • -
  • - Trooper3_Time - Trooper3_Cost - - 50 - 1 - 240 -
  • -
  • - Trooper4_Time - Trooper4_Cost - - 60 - 1 - 240 -
  • - - - - -
  • - - Reset_Title - -
  • - -
  • -
  • - Reset all settings in this category - Reset_Button -
  • -
  • - -
  • - - - - - - -
  • - - - HMCNE.Pacas.Allies - -
  • Laborer1_Cost
  • -
  • Laborer2_Cost
  • -
  • Trooper1_Cost
  • -
  • Trooper2_Cost
  • -
  • Trooper3_Cost
  • -
  • Trooper4_Cost
  • -
  • Laborer1_Time
  • -
  • Laborer2_Time
  • -
  • Trooper1_Time
  • -
  • Trooper2_Time
  • -
  • Trooper3_Time
  • -
  • Trooper4_Time
  • - - -
  • 2
  • -
  • 3
  • -
  • 2
  • -
  • 3
  • -
  • 3
  • -
  • 4
  • -
  • 30
  • -
  • 45
  • -
  • 20
  • -
  • 40
  • -
  • 50
  • -
  • 60
  • -
    - - - - -
  • - RoyalTitlePermitDef/[defName="CallLaborerTeam"]/permitPointCost - - {Laborer1_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallLaborerGang"]/permitPointCost - - {Laborer2_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallMilitaryAidSmall"]/permitPointCost - - {Trooper1_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallMilitaryAidSmallPlus"]/permitPointCost - - {Trooper2_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallMilitaryAidLarge"]/permitPointCost - - {Trooper3_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallMilitaryAidGrand"]/permitPointCost - - {Trooper4_Cost} - -
  • - - -
  • - RoyalTitlePermitDef/[defName="CallLaborerTeam"]/cooldownDays - - {Laborer1_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallLaborerGang"]/cooldownDays - - {Laborer2_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallMilitaryAidSmall"]/cooldownDays - - {Trooper1_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallMilitaryAidSmallPlus"]/cooldownDays - - {Trooper2_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallMilitaryAidLarge"]/cooldownDays - - {Trooper3_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallMilitaryAidGrand"]/cooldownDays - - {Trooper4_Time} - -
  • -
    -
    -
    - - - -
    -
    -
    \ No newline at end of file diff --git a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Apparel.xml b/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Apparel.xml deleted file mode 100644 index 5e59172..0000000 --- a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Apparel.xml +++ /dev/null @@ -1,337 +0,0 @@ - - - - HMC_NE_Apparel - HMCNE.Pacas.Apparel - Apparel_MainTitle - - -
  • - -
  • - - Permit_Title - -
  • - -
  • -
  • - Apparel - Apparel_Title - Medium - Middle -
  • -
  • -
  • - Armor1_Cost - - Armor1_Cost - 1 - 1 - 20 -
  • -
  • - Armor1Plus_Cost - - Armor1Plus_Cost - 2 - 1 - 20 -
  • -
  • - Armor2_Cost - - Armor2_Cost - 1 - 1 - 20 -
  • -
  • - Armor2Plus_Cost - - Armor2Plus_Cost - 2 - 1 - 20 -
  • -
  • - Armor3_Cost - - Armor3_Cost - 3 - 1 - 20 -
  • -
  • - Armor3Plus_Cost - - Armor3Plus_Cost - 4 - 1 - 20 -
  • -
  • - Armor4_Cost - - Armor4_Cost - 6 - 1 - 20 -
  • -
  • - Armor4Plus_Cost - - Armor4Plus_Cost - 8 - 1 - 20 -
  • -
    - - - -
  • - - Cooldown_Title - -
  • - -
  • -
  • - Armor1_Time - - Armor1_Cost - 18 - 1 - 240 -
  • -
  • - Armor1Plus_Time - - Armor1Plus_Cost - 30 - 1 - 240 -
  • -
  • - Armor2_Time - - Armor2_Cost - 23 - 1 - 240 -
  • -
  • - Armor2Plus_Time - - Armor2Plus_Cost - 40 - 1 - 240 -
  • -
  • - Armor3_Time - - Armor3_Cost - 45 - 1 - 240 -
  • -
  • - Armor3Plus_Time - - Armor3Plus_Cost - 62 - 1 - 240 -
  • -
  • - Armor4_Time - - Armor4_Cost - 70 - 1 - 240 -
  • -
  • - Armor4Plus_Time - - Armor4Plus_Cost - 135 - 1 - 240 -
  • - - - - -
  • - - Reset_Title - -
  • - -
  • -
  • - Reset all settings in this category - Reset_Button -
  • -
  • - -
  • - - - - - - -
  • - - - HMCNE.Pacas.Apparel - -
  • Armor1_Cost
  • -
  • Armor1Plus_Cost
  • -
  • Armor2_Cost
  • -
  • Armor2Plus_Cost
  • -
  • Armor3_Cost
  • -
  • Armor3Plus_Cost
  • -
  • Armor4_Cost
  • -
  • Armor4Plus_Cost
  • -
  • Armor1_Time
  • -
  • Armor1Plus_Time
  • -
  • Armor2_Time
  • -
  • Armor2Plus_Time
  • -
  • Armor3_Time
  • -
  • Armor3Plus_Time
  • -
  • Armor4_Time
  • -
  • Armor4Plus_Time
  • - - -
  • 1
  • -
  • 2
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 6
  • -
  • 8
  • -
  • 18
  • -
  • 30
  • -
  • 23
  • -
  • 40
  • -
  • 45
  • -
  • 62
  • -
  • 70
  • -
  • 135
  • -
    - - - - -
  • - RoyalTitlePermitDef/[defName="ArmorDrop"]/permitPointCost - - {Armor1_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="ArmorDropPlus"]/permitPointCost - - {Armor1Plus_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="IndustrialArmorDrop"]/permitPointCost - - {Armor2_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="IndustrialArmorDropPlus"]/permitPointCost - - {Armor2Plus_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SpacerArmorDrop"]/permitPointCost - - {Armor3_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SpacerArmorDropPlus"]/permitPointCost - - {Armor3Plus_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="UltraArmorDrop"]/permitPointCost - - {Armor4_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="UltraArmorDropPlus"]/permitPointCost - - {Armor4Plus_Cost} - -
  • - -
  • - RoyalTitlePermitDef/[defName="ArmorDrop"]/cooldownDays - - {Armor1_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="ArmorDropPlus"]/cooldownDays - - {Armor1Plus_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="IndustrialArmorDrop"]/cooldownDays - - {Armor2_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="IndustrialArmorDropPlus"]/cooldownDays - - {Armor2Plus_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SpacerArmorDrop"]/cooldownDays - - {Armor3_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SpacerArmorDropPlus"]/cooldownDays - - {Armor3Plus_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="UltraArmorDrop"]/cooldownDays - - {Armor4_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="UltraArmorDropPlus"]/cooldownDays - - {Armor4Plus_Time} - -
  • -
    -
    -
    - - - -
    -
    -
    \ No newline at end of file diff --git a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Armor.xml b/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Armor.xml deleted file mode 100644 index d2d1843..0000000 --- a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Armor.xml +++ /dev/null @@ -1,344 +0,0 @@ - - - - HMC_NE_Armor - HMCNE.Pacas.Armor - Armor_MainTitle - - -
  • - -
  • - - Permit_Title - -
  • - -
  • -
  • - Armor - Armor_Title - Medium - Middle -
  • -
  • -
  • - Armor1_Cost - - Armor1_Cost - 1 - 1 - 20 -
  • -
  • - Armor1Plus_Cost - - Armor1Plus_Cost - 2 - 1 - 20 -
  • -
  • - Armor2_Cost - - Armor2_Cost - 1 - 1 - 20 -
  • -
  • - Armor2Plus_Cost - - Armor2Plus_Cost - 2 - 1 - 20 -
  • -
  • - Armor3_Cost - - Armor3_Cost - 3 - 1 - 20 -
  • -
  • - Armor3Plus_Cost - - Armor3Plus_Cost - 4 - 1 - 20 -
  • -
  • - Armor4_Cost - - Armor4_Cost - 6 - 1 - 20 -
  • -
  • - Armor4Plus_Cost - - Armor4Plus_Cost - 8 - 1 - 20 -
  • -
    - - - -
  • - - Cooldown_Title - -
  • - -
  • -
  • - Armor - Armor_Title - Medium - Middle -
  • -
  • -
  • - Armor1_Time - - Armor1_Cost - 18 - 1 - 240 -
  • -
  • - Armor1Plus_Time - - Armor1Plus_Cost - 30 - 1 - 240 -
  • -
  • - Armor2_Time - - Armor2_Cost - 23 - 1 - 240 -
  • -
  • - Armor2Plus_Time - - Armor2Plus_Cost - 40 - 1 - 240 -
  • -
  • - Armor3_Time - - Armor3_Cost - 45 - 1 - 240 -
  • -
  • - Armor3Plus_Time - - Armor3Plus_Cost - 62 - 1 - 240 -
  • -
  • - Armor4_Time - - Armor4_Cost - 70 - 1 - 240 -
  • -
  • - Armor4Plus_Time - - Armor4Plus_Cost - 135 - 1 - 240 -
  • - - - - -
  • - - Reset_Title - -
  • - -
  • -
  • - Reset all settings in this category - Reset_Button -
  • -
  • - -
  • - - - - - - -
  • - - - HMCNE.Pacas.Armor - -
  • Armor1_Cost
  • -
  • Armor1Plus_Cost
  • -
  • Armor2_Cost
  • -
  • Armor2Plus_Cost
  • -
  • Armor3_Cost
  • -
  • Armor3Plus_Cost
  • -
  • Armor4_Cost
  • -
  • Armor4Plus_Cost
  • -
  • Armor1_Time
  • -
  • Armor1Plus_Time
  • -
  • Armor2_Time
  • -
  • Armor2Plus_Time
  • -
  • Armor3_Time
  • -
  • Armor3Plus_Time
  • -
  • Armor4_Time
  • -
  • Armor4Plus_Time
  • - - -
  • 1
  • -
  • 2
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 6
  • -
  • 8
  • -
  • 18
  • -
  • 30
  • -
  • 23
  • -
  • 40
  • -
  • 45
  • -
  • 62
  • -
  • 70
  • -
  • 135
  • -
    - - - - -
  • - RoyalTitlePermitDef/[defName="ArmorDrop"]/permitPointCost - - {Armor1_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="ArmorDropPlus"]/permitPointCost - - {Armor1Plus_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="IndustrialArmorDrop"]/permitPointCost - - {Armor2_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="IndustrialArmorDropPlus"]/permitPointCost - - {Armor2Plus_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SpacerArmorDrop"]/permitPointCost - - {Armor3_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SpacerArmorDropPlus"]/permitPointCost - - {Armor3Plus_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="UltraArmorDrop"]/permitPointCost - - {Armor4_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="UltraArmorDropPlus"]/permitPointCost - - {Armor4Plus_Cost} - -
  • - -
  • - RoyalTitlePermitDef/[defName="ArmorDrop"]/cooldownDays - - {Armor1_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="ArmorDropPlus"]/cooldownDays - - {Armor1Plus_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="IndustrialArmorDrop"]/cooldownDays - - {Armor2_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="IndustrialArmorDropPlus"]/cooldownDays - - {Armor2Plus_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SpacerArmorDrop"]/cooldownDays - - {Armor3_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SpacerArmorDropPlus"]/cooldownDays - - {Armor3Plus_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="UltraArmorDrop"]/cooldownDays - - {Armor4_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="UltraArmorDropPlus"]/cooldownDays - - {Armor4Plus_Time} - -
  • -
    -
    -
    - - - -
    -
    -
    \ No newline at end of file diff --git a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Resources.xml b/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Resources.xml deleted file mode 100644 index 5daa233..0000000 --- a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Resources.xml +++ /dev/null @@ -1,392 +0,0 @@ - - - - HMC_NE_Resources - HMCNE.Pacas.Resources - Resources_MainTitle - - -
  • - -
  • - - Permit_Title - -
  • - -
  • -
  • - Resources - Resources_Title - Medium - Middle -
  • -
  • -
  • - Steel_Cost - - Steel_Cost - 1 - 1 - 20 -
  • -
  • - Silver_Cost - - Silver_Cost - 1 - 1 - 20 -
  • -
  • - Food_Cost - - Food_Cost - 1 - 1 - 20 -
  • -
  • - GlitterMed_Cost - - GlitterMed_Cost - 2 - 1 - 20 -
  • -
  • - Blocks_Cost - - Blocks_Cost - 1 - 1 - 20 -
  • -
  • - Shuttle_Cost - - Shuttle_Cost - 2 - 1 - 20 -
  • -
  • - BabyFood_Cost - - BabyFood_Cost - 1 - 1 - 20 -
  • -
  • - VampiresFood_Cost - - VampiresFood_Cost - 1 - 1 - 20 -
  • -
  • - BabyClothes_Cost - - BabyClothes_Cost - 1 - 1 - 20 -
  • -
    - - - -
  • - - Cooldown_Title - -
  • - -
  • -
  • - Resources - Resources_Title - Medium - Middle -
  • -
  • -
  • - Steel_Time - Steel_Cost - - 25 - 1 - 240 -
  • -
  • - Silver_Time - Silver_Cost - - 30 - 1 - 240 -
  • -
  • - Food_Time - Food_Cost - - 14 - 1 - 240 -
  • -
  • - GlitterMed_Time - GlitterMed_Cost - - 30 - 1 - 240 -
  • -
  • - Blocks_Time - Blocks_Cost - - 14 - 1 - 240 -
  • -
  • - Shuttle_Time - Shuttle_Cost - - 40 - 1 - 240 -
  • -
  • - BabyFood_Time - - BabyFood_Cost - 45 - 1 - 240 -
  • -
  • - VampiresFood_Time - - VampiresFood_Cost - 45 - 1 - 240 -
  • -
  • - BabyClothes_Time - - BabyClothes_Cost - 45 - 1 - 240 -
  • - - - - -
  • - - Reset_Title - -
  • - -
  • -
  • - Reset all settings in this category - Reset_Button -
  • -
  • - -
  • - - - - - - -
  • - - - HMCNE.Pacas.Resources - -
  • Steel_Cost
  • -
  • Silver_Cost
  • -
  • Food_Cost
  • -
  • GlitterMed_Cost
  • -
  • Blocks_Cost
  • -
  • Shuttle_Cost
  • -
  • BabyFood_Cost
  • -
  • VampiresFood_Cost
  • -
  • BabyClothes_Cost
  • -
  • Steel_Time
  • -
  • Silver_Time
  • -
  • Food_Time
  • -
  • GlitterMed_Time
  • -
  • Blocks_Time
  • -
  • Shuttle_Time
  • -
  • BabyFood_Time
  • -
  • VampiresFood_Time
  • -
  • BabyClothes_Time
  • - - -
  • 1
  • -
  • 1
  • -
  • 1
  • -
  • 2
  • -
  • 1
  • -
  • 2
  • -
  • 1
  • -
  • 1
  • -
  • 1
  • -
  • 25
  • -
  • 30
  • -
  • 14
  • -
  • 20
  • -
  • 14
  • -
  • 40
  • -
  • 14
  • -
  • 21
  • -
  • 21
  • -
    - - - - - -
  • - RoyalTitlePermitDef/[defName="SteelDrop"]/permitPointCost - - {Steel_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SilverDrop"]/permitPointCost - - {Silver_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="FoodDrop"]/permitPointCost - - {Food_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="GlitterMedDrop"]/permitPointCost - - {GlitterMed_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="BlocksDrop"]/permitPointCost - - {Blocks_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallTransportShuttle"]/permitPointCost - - {Shuttle_Cost} - -
  • -
  • - -
  • Biotech
  • - - -
  • - RoyalTitlePermitDef/[defName="BabyFoodDrop"]/permitPointCost - - {BabyFood_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="VampiresFoodDrop"]/permitPointCost - - {VampiresFood_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="BabyClothesDrop"]/permitPointCost - - {BabyClothes_Cost} - -
  • -
    - - - -
  • - RoyalTitlePermitDef/[defName="SteelDrop"]/cooldownDays - - {Steel_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SilverDrop"]/cooldownDays - - {Silver_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="FoodDrop"]/cooldownDays - - {Food_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="GlitterMedDrop"]/cooldownDays - - {GlitterMed_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="BlocksDrop"]/cooldownDays - - {Blocks_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="CallTransportShuttle"]/cooldownDays - - {Shuttle_Time} - -
  • -
  • - -
  • Biotech
  • - - -
  • - RoyalTitlePermitDef/[defName="BabyFoodDrop"]/cooldownDays - - {BabyFood_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="VampiresFoodDrop"]/cooldownDays - - {VampiresFood_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="BabyClothesDrop"]/cooldownDays - - {BabyClothes_Time} - -
  • -
    - -
    -
    -
    - - - -
    -
    -
    \ No newline at end of file diff --git a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Tools.xml b/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Tools.xml deleted file mode 100644 index 1ce3038..0000000 --- a/HMC Nobility Expanded/1.4/Defs/XmlExtensions.SettingsMenuDef/NE_Settings_Tools.xml +++ /dev/null @@ -1,216 +0,0 @@ - - - - HMC_NE_Tools - HMCNE.Pacas.Tools - Tools_MainTitle - - -
  • - -
  • - - Permit_Title - -
  • - -
  • -
  • - Tools - Tools_Title - Medium - Middle -
  • -
  • -
  • - Tools1_Cost - - Tools1_Cost - 1 - 1 - 20 -
  • -
  • - Tools2_Cost - - Tools2_Cost - 2 - 1 - 20 -
  • -
  • - AdvTools1_Cost - - AdvTools1_Cost - 2 - 1 - 20 -
  • -
  • - AdvTools2_Cost - - AdvTools2_Cost - 3 - 1 - 20 -
  • -
    - - - -
  • - - Cooldown_Title - -
  • - -
  • -
  • - Tools - Tools_Title - Medium - Middle -
  • -
  • -
  • - Tools1_Time - Tools1_Cost - - 17 - 1 - 240 -
  • -
  • - Tools2_Time - Tools2_Cost - - 50 - 1 - 240 -
  • -
  • - AdvTools1_Time - AdvTools1_Cost - - 45 - 1 - 240 -
  • -
  • - AdvTools2_Time - AdvTools2_Cost - - 80 - 1 - 240 -
  • - - - - -
  • - - Reset_Title - -
  • - -
  • -
  • - Reset all settings in this category - Reset_Button -
  • -
  • - -
  • - - - - - - -
  • - - - HMCNE.Pacas.Tools - -
  • Tools1_Cost
  • -
  • Tools2_Cost
  • -
  • AdvTools1_Cost
  • -
  • AdvTools2_Cost
  • -
  • Tools1_Time
  • -
  • Tools2_Time
  • -
  • AdvTools1_Time
  • -
  • AdvTools2_Time
  • - - -
  • 1
  • -
  • 2
  • -
  • 2
  • -
  • 3
  • -
  • 17
  • -
  • 50
  • -
  • 45
  • -
  • 80
  • -
    - - - - -
  • - RoyalTitlePermitDef/[defName="ToolDrop"]/permitPointCost - - {Tools1_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="ToolDropPlus"]/permitPointCost - - {Tools2_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="AdvToolDrop"]/permitPointCost - - {AdvTools1_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="AdvToolDropPlus"]/permitPointCost - - {AdvTools2_Cost} - -
  • - -
  • - RoyalTitlePermitDef/[defName="ToolDrop"]/cooldownDays - - {Tools1_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="ToolDropPlus"]/cooldownDays - - {Tools2_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="AdvToolDrop"]/cooldownDays - - {AdvTools1_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="AdvToolDropPlus"]/cooldownDays - - {AdvTools2_Time} - -
  • -
    -
    -
    - - - -
    -
    -
    \ No newline at end of file diff --git a/HMC Nobility Expanded/Changelog.txt b/HMC Nobility Expanded/Changelog.txt index 3cf9c5c..4f51da8 100644 --- a/HMC Nobility Expanded/Changelog.txt +++ b/HMC Nobility Expanded/Changelog.txt @@ -1,12 +1,42 @@ ---------------------------------------------------------------------- +- Changelog "HMC Empire Rewards" v0.15 (1.4): + +1) New permits with prosthetics and implants! +2) Mod code changed - about 70% of the code! +3) New version of permits with opening a dialog with the choice of the desired item +4) Changed the way the table is rendered, changed the layout of the permits page +5) Improved table rendering performance (probably will be noticeable only on the weakest machines). +6) Fixed an error in the the bow and crossbow permit with stuff error in the console +7) Improved material-stats dependency of deserter armor (VFEE) + +1) Новые привилегии с протезами и имплантами! +2) Изменен код мода - примерно 70% кода! +3) Новый вариант привилегий с открытием диалога с выбором желаемого предмета +4) Изменение способа отрисовки таблицы, изменение внешнего вида страницы привилегий +5) Улучшена производительность отрисовки таблицы (возможно будет заметно на самых слабых машинах) +6) Исправлена ошибка в консоли для привилегии вызова лука и арбалета +7) Улучшена зависимость статов брони дезертиров от материала (VFEE) + +---------------------------------------------------------------------- + - Changelog "HMC Empire Rewards" v0.14.4 (1.4): 1) Correction of categories for Janissary armor (VFEE) 2) Russian localization fixes (VFEE) +3) Updated craft recipes and stats for the base Royalty armors + VFEE. +4) Updated research positions (VFEE) +5) Added satisfaction for the lower tier titles with clothing of higher tiers +6) Rebalanced permits with feedback from the players +7) Updated requirement tags for nobility bedrooms 1) Исправление категорий для брони янычаров (VFEE) 2) Фиксы русской локализации (VFEE) +3) Обновлены рецепты крафта и статы для базовых доспехов Роялти + VFEE. +4) Обновлены позиции в исследованиях (VFEE) +5) Добавлена удовлетворение низких титулов одеждой более высоких тиров +6) Перебалансирование привилегии с учетом пожеланий игроков +7) Обновлены теги требований для спален знати ---------------------------------------------------------------------- diff --git a/HMC Nobility Expanded/Defs_OnDemand/notfood.seedsplease/XmlExtensions.PatchDefs/Patch_Settings_Seeds.xml b/HMC Nobility Expanded/Defs_OnDemand/notfood.seedsplease/XmlExtensions.PatchDefs/Patch_Settings_Seeds.xml deleted file mode 100644 index 12d7907..0000000 --- a/HMC Nobility Expanded/Defs_OnDemand/notfood.seedsplease/XmlExtensions.PatchDefs/Patch_Settings_Seeds.xml +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - HMCNE.Pacas.Seeds - -
  • Grains_Cost
  • -
  • Veges_Cost
  • -
  • Shrooms_Cost
  • -
  • Lux_Cost
  • -
  • Addictive_Cost
  • -
  • Cloth_Cost
  • -
  • Heal_Cost
  • -
  • Util_Cost
  • -
  • Tree_Cost
  • -
  • Fruit_Cost
  • -
  • Grains_Time
  • -
  • Veges_Time
  • -
  • Shrooms_Time
  • -
  • Lux_Time
  • -
  • Addictive_Time
  • -
  • Cloth_Time
  • -
  • Heal_Time
  • -
  • Util_Time
  • -
  • Tree_Time
  • -
  • Fruit_Time
  • -
    - -
  • 1
  • -
  • 1
  • -
  • 1
  • -
  • 1
  • -
  • 1
  • -
  • 1
  • -
  • 1
  • -
  • 1
  • -
  • 1
  • -
  • 2
  • -
  • 15
  • -
  • 15
  • -
  • 15
  • -
  • 25
  • -
  • 25
  • -
  • 25
  • -
  • 25
  • -
  • 25
  • -
  • 30
  • -
  • 30
  • -
    - - - - -
  • - RoyalTitlePermitDef/[defName="SeedsGrainsDrop"]/permitPointCost - - {Grains_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsVegesDrop"]/permitPointCost - - {Veges_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsShroomsDrop"]/permitPointCost - - {Shrooms_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsLuxDrop"]/permitPointCost - - {Lux_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsAddictiveDrop"]/permitPointCost - - {Addictive_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsClothDrop"]/permitPointCost - - {Cloth_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsHealDrop"]/permitPointCost - - {Heal_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsUtilDrop"]/permitPointCost - - {Util_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsTreeDrop"]/permitPointCost - - {Tree_Cost} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsFruitDrop"]/permitPointCost - - {Fruit_Cost} - -
  • - -
  • - RoyalTitlePermitDef/[defName="SeedsGrainsDrop"]/cooldownDays - - {Grains_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsVegesDrop"]/cooldownDays - - {Veges_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsShroomsDrop"]/cooldownDays - - {Shrooms_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsLuxDrop"]/cooldownDays - - {Lux_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsAddictiveDrop"]/cooldownDays - - {Addictive_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsClothDrop"]/cooldownDays - - {Cloth_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsHealDrop"]/cooldownDays - - {Heal_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsUtilDrop"]/cooldownDays - - {Util_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsTreeDrop"]/cooldownDays - - {Tree_Time} - -
  • -
  • - RoyalTitlePermitDef/[defName="SeedsFruitDrop"]/cooldownDays - - {Fruit_Time} - -
  • -
    -
    -
    -
    -
    -
    -
    \ No newline at end of file diff --git a/HMC Nobility Expanded/Defs_OnDemand/notfood.seedsplease/XmlExtensions.SettingsMenuDef/NE_Settings_Seeds.xml b/HMC Nobility Expanded/Defs_OnDemand/notfood.seedsplease/XmlExtensions.SettingsMenuDef/NE_Settings_Seeds.xml deleted file mode 100644 index f5f8d07..0000000 --- a/HMC Nobility Expanded/Defs_OnDemand/notfood.seedsplease/XmlExtensions.SettingsMenuDef/NE_Settings_Seeds.xml +++ /dev/null @@ -1,238 +0,0 @@ - - - - HMC_NE_Seeds - HMCNE.Pacas.Seeds - Seeds_MainTitle - - -
  • - -
  • - - Permit_Title - -
  • - -
  • -
  • - Seeds - Seeds_Title - Medium - Middle -
  • -
  • -
  • - Grains_Cost - - Grains_Cost - 1 - 1 - 20 -
  • -
  • - Veges_Cost - - Veges_Cost - 1 - 1 - 20 -
  • -
  • - Shrooms_Cost - - Shrooms_Cost - 1 - 1 - 20 -
  • -
  • - Lux_Cost - - Lux_Cost - 1 - 1 - 20 -
  • -
  • - Addictive_Cost - - Addictive_Cost - 1 - 1 - 20 -
  • -
  • - Cloth_Cost - - Cloth_Cost - 1 - 1 - 20 -
  • -
  • - Heal_Cost - - Heal_Cost - 1 - 1 - 20 -
  • -
  • - Util_Cost - - Util_Cost - 1 - 1 - 20 -
  • -
  • - Tree_Cost - - Tree_Cost - 1 - 1 - 20 -
  • -
  • - Fruit_Cost - - Fruit_Cost - 1 - 1 - 20 -
  • -
    - - - -
  • - - Cooldown_Title - -
  • - -
  • -
  • - Seeds - Seeds_Title - Medium - Middle -
  • -
  • -
  • - Grains_Time - - Grains_Cost - 15 - 1 - 240 -
  • -
  • - Veges_Time - - Veges_Cost - 15 - 1 - 240 -
  • -
  • - Shrooms_Time - - Shrooms_Cost - 15 - 1 - 240 -
  • -
  • - Lux_Time - - Lux_Cost - 25 - 1 - 240 -
  • -
  • - Addictive_Time - - Addictive_Cost - 25 - 1 - 240 -
  • -
  • - Cloth_Time - - Cloth_Cost - 25 - 1 - 240 -
  • -
  • - Heal_Time - - Heal_Cost - 25 - 1 - 240 -
  • -
  • - Util_Time - - Util_Cost - 25 - 1 - 240 -
  • -
  • - Tree_Time - - Tree_Cost - 30 - 1 - 240 -
  • -
  • - Fruit_Time - - Fruit_Cost - 30 - 2 - 240 -
  • - - - - -
  • - - Reset_Title - -
  • - -
  • -
  • - Reset all settings in this category - Reset_Button -
  • -
  • - -
  • - - - - - - -
  • - - - HMCNE_Set_Seeds - - - - -
  • -
    -
    -
    \ No newline at end of file diff --git a/HMC Nobility Expanded/Languages/English/Keyed/PermitDrop_Comments.xml b/HMC Nobility Expanded/Languages/English/Keyed/PermitDrop_Comments.xml index beac324..ed19842 100644 --- a/HMC Nobility Expanded/Languages/English/Keyed/PermitDrop_Comments.xml +++ b/HMC Nobility Expanded/Languages/English/Keyed/PermitDrop_Comments.xml @@ -136,6 +136,17 @@ Trees... Eh, I wish there were more trees, sometimes all this concrete and metal luster is very annoying. Fruit is not often seen on our table, the most delicious fruits are a whole delicacy. + + Simple prosthetics for all life's challenges. + Bionics are quite common on the worlds of the central segmentum, but almost none are produced in your, so shipping is a bit difficult. + The best prosthetics in the entire empire - we don't have very many in our stock, all on demand in small batches. + Do you need to improve your soldiers? This will help. + Do you need to improve your soldiers? This will help. + The best combat implants for personal protection of titled persons. + Do you need to improve your workers? This will help. + Do you need to improve your workers? This will help. + The best work performance enhancement implants for the best servants of titled persons. + Do you have children there? In that case, I'll even give you a little more food for the kids. I hope it's just someone needs a blood transfusion. We don't usually receive such requests, be careful with such things. diff --git a/HMC Nobility Expanded/Languages/English/Keyed/TableTexts.xml b/HMC Nobility Expanded/Languages/English/Keyed/TableTexts.xml index 3caac71..a085aba 100644 --- a/HMC Nobility Expanded/Languages/English/Keyed/TableTexts.xml +++ b/HMC Nobility Expanded/Languages/English/Keyed/TableTexts.xml @@ -5,6 +5,9 @@ Contains: Choose category Title: + Select the item to request: + Amount: + Description: Quality: Awful @@ -39,5 +42,6 @@ Turrets and mortars Animals Seeds + Prosthetics and implants \ No newline at end of file diff --git a/HMC Nobility Expanded/Languages/Russian/DefInjected/RoyalTitlePermitDef/RoyalPermits_Prosthetics.xml b/HMC Nobility Expanded/Languages/Russian/DefInjected/RoyalTitlePermitDef/RoyalPermits_Prosthetics.xml new file mode 100644 index 0000000..8f1d21b --- /dev/null +++ b/HMC Nobility Expanded/Languages/Russian/DefInjected/RoyalTitlePermitDef/RoyalPermits_Prosthetics.xml @@ -0,0 +1,38 @@ + + + + + протезы и импланты + Запрос доставки различных протезов. + искусственные части тела + Запрос доставки протезов. + боевые + Запрос доставки боевых протезов и имплантов. + производственные + Запрос доставки производственных протезов и имплантов. + + + простые протезы + Запрос доставки простого протеза. + бионические протезы + Запрос доставки бионического протеза. + кибернетические протезы + Запрос доставки кибернетического протеза. + + + боевые протезы + Запрос доставки боевого протеза. + боевые импланты + Запрос доставки боевого импланта. + продвинутые боевые импланты + Запрос доставки продвинутого боевого импланта. + + + производственные протезы + Запрос доставки производственного протеза. + производственные импланты + Запрос доставки производственного импланта. + продвинутые производственные импланты + Запрос доставки продвинутого производственного импланта. + + \ No newline at end of file diff --git a/HMC Nobility Expanded/Languages/Russian/Keyed/PermitDrop_Comments.xml b/HMC Nobility Expanded/Languages/Russian/Keyed/PermitDrop_Comments.xml index 0e174e2..3175d49 100644 --- a/HMC Nobility Expanded/Languages/Russian/Keyed/PermitDrop_Comments.xml +++ b/HMC Nobility Expanded/Languages/Russian/Keyed/PermitDrop_Comments.xml @@ -136,6 +136,17 @@ Деревья... Эх, хотел бы я побольше деревьев, иногда весь этот бетонно-металлический лоск очень раздражает. Фрукты нечасто можно увидеть у нас на столе, самые вкусные фрукты это целый деликатес. + + Простые протезы на все случаи жизни. + Бионика на мирах центрального сегментума весьма распространена, но почти не производится в вашем сегментуме, так что доставка немного затруднена. + Лучшие протезы всей империи - на складах их не очень много, все под заказ малыми партиями. + Нужно улучшить ваших бойцов? Это поможет. + Нужно улучшить ваших бойцов? Это поможет. + Лучшие боевые импланты для личной охраны титулованных персон. + Нужно улучшить ваших работников? Это поможет. + Нужно улучшить ваших работников? Это поможет. + Лучшие импланты для улучшения всех рабочих показателей для лучшей прислуги титулованных персон. + У вас там дети есть? В таком случае я вам немного побольше даже положу еды детишкам. Надеюсь, всего-то кому-то требуется переливание крови? У нас обычно таких запросов не делают, аккуратнее с таким. diff --git a/HMC Nobility Expanded/Languages/Russian/Keyed/TableTexts.xml b/HMC Nobility Expanded/Languages/Russian/Keyed/TableTexts.xml index 5bd1b55..b89fcef 100644 --- a/HMC Nobility Expanded/Languages/Russian/Keyed/TableTexts.xml +++ b/HMC Nobility Expanded/Languages/Russian/Keyed/TableTexts.xml @@ -5,6 +5,9 @@ Содержит: Выбрать категорию Титул: + Выберите предмет для запроса: + Количество: + О предмете: Качество: ужасное @@ -39,5 +42,6 @@ Турели и миномёты Животные Семена + Протезы и импланты \ No newline at end of file diff --git a/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/CE/Apparel_Headgear.xml b/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/CE/Apparel_Headgear.xml index 6412572..76b44fe 100644 --- a/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/CE/Apparel_Headgear.xml +++ b/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/CE/Apparel_Headgear.xml @@ -234,13 +234,6 @@ -
  • - Defs/ThingDef[defName="VFEE_Apparel_JanissaryHelmet"]/costList/Plasteel - - 50 - 15 - -
  • Defs/ThingDef[defName="VFEE_Apparel_JanissaryHelmet"]/apparel diff --git a/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/HSK_Specific/Apparels.xml b/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/HSK_Specific/Apparels.xml index 27c433b..1f61481 100644 --- a/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/HSK_Specific/Apparels.xml +++ b/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/HSK_Specific/Apparels.xml @@ -8,7 +8,7 @@ 1 1 - 4.67 + 6.67
  • diff --git a/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/HSK_Specific/PawnKinds.xml b/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/HSK_Specific/PawnKinds.xml index dd71980..b663c58 100644 --- a/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/HSK_Specific/PawnKinds.xml +++ b/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/HSK_Specific/PawnKinds.xml @@ -48,7 +48,7 @@
  • - /Defs/PawnKindDef[@Name="JanissaryBase"]/apparelRequired + Defs/PawnKindDef[@Name="JanissaryBase"]/apparelRequired
  • VFEE_Apparel_JanissaryHelmet
  • diff --git a/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/Permits/HMC_Permit_Changes.xml b/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/Permits/HMC_Permit_Changes.xml index bec200e..0406478 100644 --- a/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/Permits/HMC_Permit_Changes.xml +++ b/HMC Nobility Expanded/VanillaFactionExpanded_Empire/Patches/Permits/HMC_Permit_Changes.xml @@ -2,44 +2,48 @@ + +
  • - /Defs/RoyalTitlePermitDef[defName="IndustrialArmorDrop"]/minTitle + Defs/RoyalTitlePermitDef[defName="IndustrialArmorDrop"]/minTitle Praetor
  • - /Defs/RoyalTitlePermitDef[defName="SpacerArmorDropPlus"]/minTitle + Defs/RoyalTitlePermitDef[defName="SpacerArmorDropPlus"]/minTitle Count
  • - /Defs/RoyalTitlePermitDef[defName="UltraArmorDrop"]/minTitle + Defs/RoyalTitlePermitDef[defName="UltraArmorDrop"]/minTitle Margrave
  • - /Defs/RoyalTitlePermitDef[defName="UltraArmorDropPlus"]/minTitle + Defs/RoyalTitlePermitDef[defName="UltraArmorDropPlus"]/minTitle Consul
  • + +
  • - /Defs/RoyalTitlePermitDef[defName="ShotgunDropPlus"]/minTitle + Defs/RoyalTitlePermitDef[defName="ShotgunDropPlus"]/minTitle Baron
  • - /Defs/RoyalTitlePermitDef[defName="RifleDropPlus"]/minTitle + Defs/RoyalTitlePermitDef[defName="RifleDropPlus"]/minTitle Viscount
  • - /Defs/RoyalTitlePermitDef[ + Defs/RoyalTitlePermitDef[ defName="SniperRifleDropPlus" or defName="LauncherDropPlus" or defName="BlasterDrop" or @@ -51,9 +55,10 @@ Margrave
  • - + +
  • - /Defs/RoyalTitlePermitDef[ + Defs/RoyalTitlePermitDef[ defName="HighTechLightAutoTurretDrop" or defName="HighTechHeavyAutoTurretDrop" ]/minTitle @@ -61,6 +66,20 @@ Margrave
  • + + +
  • + Defs/RoyalTitlePermitDef[defName="BionicsProsthetic"]/minTitle + + Baron + +
  • +
  • + Defs/RoyalTitlePermitDef[defName="CyberneticProsthetic"]/minTitle + + Margrave + +
  • \ No newline at end of file diff --git a/Source/HMC_NobilityExpanded/Dialog_ChooseResource.cs b/Source/HMC_NobilityExpanded/Dialog_ChooseResource.cs new file mode 100644 index 0000000..1e3041f --- /dev/null +++ b/Source/HMC_NobilityExpanded/Dialog_ChooseResource.cs @@ -0,0 +1,154 @@ +using System.Collections.Generic; +using System.Linq; +using RimWorld; +using RimWorld.Planet; +using UnityEngine; +using Verse; + +namespace NobilityExpanded +{ + public class Dialog_ChooseResource : Window + { + private float scrollHeight; + private Vector2 scrollPosition; + private static RoyalTitlePermitWorker_DropResourcesWithDialog worker; + private static ItemDataInfo chosenThing; + private static Pawn curPawn; + private static Map curMap; + private static Faction curFaction; + private static RoyalTitlePermitDef curDef; + private static bool isFree; + private static bool isOnMap; + private static List resourceChoices; + private static List things = new List(); + + public Dialog_ChooseResource() + { + this.forcePause = true; + this.absorbInputAroundWindow = true; + } + + public override Vector2 InitialSize + { + get { + return new Vector2(420f, 700f); + } + } + + public override void DoWindowContents(Rect inRect) + { + float num = 0f; + Widgets.Label(0f, ref num, inRect.width, "PickResourceForDrop".Translate().Resolve()); + Rect outRect = new Rect(inRect.x, num + 15f, inRect.width + 20f, inRect.height - 210f); + outRect.yMax -= 4f + CloseButSize.y; + Text.Font = GameFont.Small; + num = outRect.y; + + #region choices + Rect choicesFullRect = new Rect(outRect.x, outRect.y, outRect.width - 16f, scrollHeight); + Widgets.BeginScrollView(outRect, ref scrollPosition, choicesFullRect); + DrawResourceChoices(choicesFullRect.width, ref num); + if (Event.current.type == EventType.Layout) { + scrollHeight = Mathf.Max(num - 24f - 15f, outRect.height); + } + + Widgets.EndScrollView(); + #endregion + + #region description + Rect countRect = new Rect(inRect.x, outRect.yMax + 5f, inRect.width, 30f); + Rect descRect = new Rect(inRect.x, countRect.yMax + 15f, inRect.width, 120f); + TaggedString taggedStringCount = "ChosenResourceCount".Translate().Resolve() + chosenThing.count; + TaggedString taggedStringDesc = "ChosenResourceForDropDesc".Translate().Resolve() + "\n" + chosenThing.thing.description; + Widgets.Label(countRect, taggedStringCount); + Widgets.Label(descRect, taggedStringDesc); + #endregion + + Rect acceptRect = new Rect(0f, descRect.yMax, inRect.width, CloseButSize.y); + AcceptanceReport acceptanceReport = CanClose(); + if (!Widgets.ButtonText(new Rect(acceptRect.xMax - CloseButSize.x, acceptRect.y, CloseButSize.x, CloseButSize.y), "OK".Translate())) { + return; + } + + if (acceptanceReport.Accepted) { + things = Utilities.ItemGenerator.GenerateItemByType(chosenThing); + if (isOnMap) { + Find.Targeter.BeginTargeting(worker); + } else { + CallResourcesToCaravan(curPawn, curFaction, isFree); + } + + Close(); + return; + } + + Messages.Message(acceptanceReport.Reason, null, MessageTypeDefOf.RejectInput, false); + } + + private static void DrawResourceChoices(float width, ref float curY) + { + Listing_Standard listingStandard = new Listing_Standard(); + Rect choicesRect = new Rect(0f, curY, width - 16f, 99999f); + listingStandard.Begin(choicesRect); + foreach (ItemDataInfo data in resourceChoices) { + if (listingStandard.RadioButton(data.thing.LabelCap, chosenThing == data, 30f, chosenThing.thing.description)) { + chosenThing = data; + } + } + + listingStandard.End(); + curY += listingStandard.CurHeight + 10f + 4f; + } + + private static bool SelectionsMade() { + return resourceChoices.NullOrEmpty() || chosenThing != null; + } + + private static AcceptanceReport CanClose() { + return !SelectionsMade() ? "ChooseThisDrop".Translate() : AcceptanceReport.WasAccepted; + } + + public static void SetData(RoyalTitlePermitWorker_DropResourcesWithDialog createdWorker, Map map, Pawn caller, + Faction faction, RoyalTitlePermitDef def, bool free, bool isNotCaravan + ) { + resourceChoices = def.GetModExtension().data; + chosenThing = resourceChoices?.First(); + worker = createdWorker; + curPawn = caller; + curMap = map; + curFaction = faction; + curDef = def; + isFree = free; + isOnMap = isNotCaravan; + } + + public static void CallResources(IntVec3 cell) { + if (!things.Any()) + return; + var info = new ActiveDropPodInfo(); + info.innerContainer.TryAddRangeOrTransfer(things); + DropPodUtility.MakeDropPodAt(cell, curMap, info); + Messages.Message("MessagePermitTransportDrop".Translate(curFaction.Named("FACTION")), + new LookTargets(cell, curMap), MessageTypeDefOf.NeutralEvent); + curPawn.royalty.GetPermit(curDef, curFaction).Notify_Used(); + if (isFree) + return; + curPawn.royalty.TryRemoveFavor(curFaction, curDef.royalAid.favorCost); + } + + public static void CallResourcesToCaravan(Pawn caller, Faction faction, bool free) { + var caravan = curPawn.GetCaravan(); + foreach (var thing in things) { + CaravanInventoryUtility.GiveThing(caravan, thing); + } + + Messages.Message( + "MessagePermitTransportDropCaravan".Translate(curFaction.Named("FACTION"), curPawn.Named("PAWN")), + (WorldObject)caravan, MessageTypeDefOf.NeutralEvent); + curPawn.royalty.GetPermit(curDef, curFaction).Notify_Used(); + if (isFree) + return; + curPawn.royalty.TryRemoveFavor(curFaction, curDef.royalAid.favorCost); + } + } +} \ No newline at end of file diff --git a/Source/HMC_NobilityExpanded/HMC_NobilityExpanded.csproj b/Source/HMC_NobilityExpanded/HMC_NobilityExpanded.csproj index 6d5c0b7..428398a 100644 --- a/Source/HMC_NobilityExpanded/HMC_NobilityExpanded.csproj +++ b/Source/HMC_NobilityExpanded/HMC_NobilityExpanded.csproj @@ -269,18 +269,29 @@ J:\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.XRModule.dll + + G:\Steam\steamapps\workshop\content\294100\2938820380\1.4\Assemblies\VFEEmpire.dll + + - - + + + + + + + + + + + + + + - - - - -