Skip to content

Commit

Permalink
fix (various)
Browse files Browse the repository at this point in the history
  • Loading branch information
pacas committed Oct 19, 2024
1 parent 7725174 commit 09f6d44
Show file tree
Hide file tree
Showing 48 changed files with 640 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,28 @@
<invNutrition>6</invNutrition>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[defName="VSE_ManInTheCoat"]/weaponMoney</xpath>
<value>
<weaponMoney>1200~2500</weaponMoney>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[defName="VSE_ManInTheCoat"]/combatPower</xpath>
<value>
<combatPower>200</combatPower>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[defName="VSE_ManInTheCoat"]/weaponTags</xpath>
<value>
<weaponTags>
<li>RF3</li>
<li>PT3</li>
<li>SMG2</li>
</weaponTags>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/PawnKindDef[defName="VSE_ManInTheCoat"]/apparelRequired</xpath>
<value>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="Mote_HolyHymnBuff"]/stages</xpath>
<value>
<stages>
<li>
<statOffsets>
<ShootingAccuracyPawn>0.5</ShootingAccuracyPawn>
<AimingAccuracy>0.2</AimingAccuracy>
<ReloadSpeed>0.2</ReloadSpeed>
<MeleeCritChance>0.2</MeleeCritChance>
<MeleeDodgeChance>0.2</MeleeDodgeChance>
<MeleeParryChance>0.2</MeleeParryChance>
</statOffsets>
</li>
</stages>
</value>
</li>
<!--<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="AngelGraceHigh"]/stages</xpath>
<value>
<stages>
<li>
<statOffsets>
<SocialImpact>0.15</SocialImpact>
<MeleeCritChance>0.2</MeleeCritChance>
<MeleeDodgeChance>0.2</MeleeDodgeChance>
<MeleeParryChance>0.2</MeleeParryChance>
</statOffsets>
</li>
</stages>
</value>
</li>-->
</operations>
</Operation>
</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>[NL] Facial Animation - WIP</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>
<FacialAnimation.EyeballColorDef>
<defName>Yellow_EyeColor</defName>
<geneDef>GS_Eyes_Yellowy</geneDef>
<eyeballColor>RGB(229,203,108)</eyeballColor>
</FacialAnimation.EyeballColorDef>
</value>
</li>
<li Class="PatchOperationRemove">
<xpath>Defs/GeneDef[defName="GS_Eyes_Yellowy"]/renderNodeProperties</xpath>
</li>
</operations>
</match>
</Operation>
</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAttributeSet">
<xpath>Defs/ThingDef[defName="Plant_HolyLilly"]</xpath>
<attribute>ParentName</attribute>
<value>SK_PlantBase</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Plant_HolyLilly"]/plant/sowMinSkill</xpath>
<value><sowMinSkill>11</sowMinSkill></value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Plant_HolyLilly"]/plant/fertilityMin</xpath>
<value><fertilityMin>0.9</fertilityMin></value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Plant_HolyLilly"]/plant</xpath>
<value>
<sowResearchPrerequisites>
<li>Flowers_A2</li>
</sowResearchPrerequisites>
</value>
</li>

<li Class="PatchOperationAttributeSet">
<xpath>Defs/ThingDef[defName="HolyPowder"]</xpath>
<attribute>ParentName</attribute>
<value>SK_RoughPlantBase</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="HolyPowder"]/label</xpath>
<value><label>Hollilly petals</label></value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="HolyPowder"]/description</xpath>
<value><description>Hollilly petals. Can be refined into the stimulant drug called Grace.</description></value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="HolyPowder"]/graphicData</xpath>
<value>
<graphicData>
<graphicClass>Graphic_Single</graphicClass>
<texPath>Things/Item/Resource/PlantFoodRaw/HolyLillyPetals</texPath>
</graphicData>
</value>
</li>

<li Class="PatchOperationAttributeSet">
<xpath>Defs/ThingDef[defName="GracePack"]</xpath>
<attribute>ParentName</attribute>
<value>VG_MakeableDrugBase</value>
</li>
<li Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="GracePack"]/thingCategories</xpath>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GracePack"]</xpath>
<value>
<recipeMaker>
<recipeUsers>
<li>CraftingSpot</li>
<li>DrugLab</li>
</recipeUsers>
<soundWorking>Recipe_Drug</soundWorking>
</recipeMaker>
<costList>
<HolyPowder>4</HolyPowder>
</costList>
</value>
</li>
<li Class="PatchOperationRemove">
<xpath>Defs/RecipeDef[defName="Smelt_Grace"]</xpath>
</li>
<li Class="PatchOperationRemove">
<xpath>Defs/RecipeDef[defName="Smelt_GraceBulk"]</xpath>
</li>

<!--<li Class="PatchOperationAttributeSet">
<xpath>Defs/HediffDef[defName="AngelsGraceAddiction"]</xpath>
<attribute>ParentName</attribute>
<value>VG_AddictionBase</value>
</li>-->
</operations>
</Operation>
</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>SeedsPlease</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>
<SeedsPlease.SeedDef ParentName="SeedBase">
<defName>SeedHolyLilly</defName>
<label>Hollilly seeds</label>
<sources>
<li>Plant_HolyLilly</li>
</sources>
<graphicData>
<texPath>Things/Item/Seeds/HolyLilly</texPath>
</graphicData>
<statBases>
<MarketValue>28</MarketValue>
</statBases>
</SeedsPlease.SeedDef>
<RecipeDef ParentName="ExtractSeed">
<defName>ExtractSeedHolyLilly</defName>
<label>extract hollilly seeds</label>
<description>Extract seeds from hollilly petals.</description>
<ingredients>
<li>
<filter>
<thingDefs>
<li>HolyPowder</li>
</thingDefs>
</filter>
<count>6</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>HolyPowder</li>
</thingDefs>
</fixedIngredientFilter>
<products>
<SeedHolyLilly>2</SeedHolyLilly>
</products>
<researchPrerequisite>Drug_plants_A2</researchPrerequisite>
</RecipeDef>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
<uninstallWork>700</uninstallWork>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="RH2_BrainwashChair"]/costStuffCount</xpath>
<value>
<costStuffCount>50</costStuffCount>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="RH2_BrainwashChair"]</xpath>
<value>
Expand Down Expand Up @@ -66,8 +72,8 @@
</li>
</damageMultipliers>
<costList>
<ComponentSpacer>3</ComponentSpacer>
<AdvMechanism>3</AdvMechanism>
<ComponentIndustrial>5</ComponentIndustrial>
<Mechanism>2</Mechanism>
</costList>
</value>
</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>

<CarryToHemogenExtractor.reportString>Помещает TargetA в экстрактор.</CarryToHemogenExtractor.reportString>
<EnterHemogenExtractor.reportString>Входит в экстрактор.</EnterHemogenExtractor.reportString>

</LanguageData>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>

<HemogenExtractor.label>Экстрактор гемогена</HemogenExtractor.label>
<HemogenExtractor.description>Экстрактор гемогена вытягивает кровь пользователя, но при этом держит его в живых используя примитивную версию технологии криптосна. После извлечения пользователь не восстанавливает кровь моментально, поэтому им придётся потратить день или два на реабилитацию. Так как экстрактор использует примитивную версию криптосна, он не может поддерживать жизнидеятельность пользователя без дополнительного источника питательного вещества. Экстрактор спроектирован с встроенной функцией авто-извлечения, которая предотвращает смерть пользователя от недоедания (пользователь будет авто-извлечён через некоторое время, если экстрактору не будет предоставлена энергия и/или пища).</HemogenExtractor.description>

</LanguageData>
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>

<!--Settings-->
<HemogenExtractorSettings>Экстрактор гемогена</HemogenExtractorSettings>
<ResetSettings>Сбросить настройки</ResetSettings>
<RestartTheGameForSettingsToApply>Перезапустите игру, чтобы применить настройки</RestartTheGameForSettingsToApply>

<DaysToSpawnHemogenPart1>Дней для получения гемогена (</DaysToSpawnHemogenPart1>
<DaysToSpawnHemogenPart2> дней)</DaysToSpawnHemogenPart2> <!--so it looks like this: "Days to spawn hemogen ({number} days)"-->

<AmountOfSpawnedHemogenPart1>Количество полученных пакетов гемогена (</AmountOfSpawnedHemogenPart1>
<AmountOfSpawnedHemogenPart2> пакетов)</AmountOfSpawnedHemogenPart2>

<DaysUntilAutoEjectPart1>Дней для авто-извлечения (</DaysUntilAutoEjectPart1>
<DaysUntilAutoEjectPart2> дней)</DaysUntilAutoEjectPart2>

<MaximumFuelPart1>Максимум еды (</MaximumFuelPart1>
<MaximumFuelPart2> единиц)</MaximumFuelPart2>

<FuelConsumptionPart1>Потребление еды (</FuelConsumptionPart1>
<FuelConsumptionPart2> единиц в день)</FuelConsumptionPart2>

<!--UI-->
<CommandCopyHemogenExtractorSettingsLabel>Скопировать настройки</CommandCopyHemogenExtractorSettingsLabel>
<CommandCopyHemogenExtractorSettingsDesc>Скопировать настройки этого экстрактора в буфер.</CommandCopyHemogenExtractorSettingsDesc>
<CommandPasteHemogenExtractorSettingsLabel>Вставить настройки</CommandPasteHemogenExtractorSettingsLabel>
<CommandPasteHemogenExtractorSettingsDesc>Перезаписать настройки этого экстрактора ранее скопированными настройками из буфера.</CommandPasteHemogenExtractorSettingsDesc>
<EjectTimerLabel>Авто-извлечение через: </EjectTimerLabel>

<!--Orders-->
<EnterHemogenExtractor>Войти в экстрактор</EnterHemogenExtractor>
<CarryToHemogenExtractor>Поместить {1_label} в экстрактор</CarryToHemogenExtractor>
<CannotCarryToHemogenExtractor>Невозможно поместить в экстрактор</CannotCarryToHemogenExtractor>
<NoHemogenExtractor>нет доступных экстракторов</NoHemogenExtractor>

<!--Notifications-->
<AutoEjected>Поселенец был авто-извлечён из экстрактора гемогена, чтобы предотвратить смерть от недоедания.</AutoEjected>

</LanguageData>
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs/ArchitectSense.DesignationSubCategoryDef[defName="SubCategory_GemoStations"]/defNames</xpath>
<value>
<li>HemogenExtractor</li>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="HemogenExtractor"]/costList</xpath>
<value>
<stuffCategories>
<li>Metallic</li>
</stuffCategories>
<costStuffCount>50</costStuffCount>
<costList>
<ComponentIndustrial>2</ComponentIndustrial>
<ElectronicComponents>3</ElectronicComponents>
<Mechanism>3</Mechanism>
<Glass>50</Glass>
<Electronics>2</Electronics>
<Plastic>5</Plastic>
</costList>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="HemogenExtractor"]/researchPrerequisites</xpath>
<value>
<li>Electronics_C2</li>
</value>
</li>
</operations>
</Operation>
</Patch>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 09f6d44

Please sign in to comment.