2025-7-21

This commit is contained in:
2025-07-21 11:37:01 +08:00
parent 7fef90ef64
commit 7388d09443
13 changed files with 202 additions and 3482 deletions

View File

@@ -106,6 +106,9 @@
<maxSeverity>1</maxSeverity>
</li>
</comps>
<tradeTags>
<li>TechHediff</li>
</tradeTags>
</ThingDef>
<HediffDef ParentName="Wula_ImplantHediffBase_T2">
<defName>WULA_Energy_Furnace_Hediff_Overdrive</defName>
@@ -193,6 +196,63 @@
</li>
</comps>
</HediffDef>
<ThingDef ParentName="BodyPartProstheticMakeableBase">
<defName>WULA_Energy_Furnace_Regulator</defName>
<label>中央能源炉-调节组件</label>
<description>安装于能源炉的特殊改件,能够微调机械乌拉的能量系统,提高能量上限并降低能量消耗速度。</description>
<graphicData>
<texPath>Things/Item/Health/HealthItem</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<recipeMaker Inherit="False">
<researchPrerequisite>WULA_Synth_Addons_2_Technology</researchPrerequisite>
<recipeUsers>
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
</recipeMaker>
<costList>
<Steel>200</Steel>
<ComponentIndustrial>10</ComponentIndustrial>
<WULA_Charge_Cube>5</WULA_Charge_Cube>
</costList>
<tradeTags>
<li>TechHediff</li>
</tradeTags>
<comps>
<li Class="CompProperties_Usable">
<compClass>CompUsableImplant</compClass>
<useJob>UseItem</useJob>
<useLabel>安装中央能源炉调节组件</useLabel>
<!-- <userMustHaveHediff>WULA_Addons_Antenna_Hediff_Base</userMustHaveHediff> -->
</li>
<li Class="CompProperties_UseEffectDestroySelf" />
<li Class="CompProperties_UseEffectInstallImplant">
<hediffDef>WULA_Energy_Furnace_Hediff_Regulator</hediffDef>
<bodyPart>WULA_Energy_Furnace_Bodypart</bodyPart>
<canUpgrade>false</canUpgrade>
<maxSeverity>1</maxSeverity>
</li>
</comps>
</ThingDef>
<HediffDef ParentName="Wula_ImplantHediffBase_T1">
<defName>WULA_Energy_Furnace_Hediff_Regulator</defName>
<label>调节组件</label>
<description>安装于能源炉的特殊改件,提高能量上限并降低能量消耗速度。</description>
<!-- <spawnThingOnRemoved>WULA_Energy_Furnace_Regulator</spawnThingOnRemoved> -->
<addedPartProps>
<partEfficiency>1.0</partEfficiency>
</addedPartProps>
<stages>
<li>
<statOffsets> <!-- StatOffset 是加法偏移量,正数增加,负数减少 -->
<WulaEnergyMaxLevelOffset>0.5</WulaEnergyMaxLevelOffset>
</statOffsets>
<statFactors> <!-- StatFactor 是乘法因子,小于 1.0 减少,大于 1.0 增加 -->
<WulaEnergyFallRateFactor>0.9</WulaEnergyFallRateFactor>
</statFactors>
</li>
</stages>
</HediffDef>
<ThingDef ParentName="BodyPartProstheticMakeableBase">
<defName>WULA_Energy_Furnace_Hunger</defName>
<label>中央能源炉-偷吃组件</label>
@@ -228,6 +288,9 @@
<maxSeverity>1</maxSeverity>
</li>
</comps>
<tradeTags>
<li>TechHediff</li>
</tradeTags>
</ThingDef>
<HediffDef ParentName="Wula_ImplantHediffBase_T2">
<defName>WULA_Energy_Furnace_Hediff_Hunger</defName>
@@ -515,7 +578,7 @@
</recipeUsers>
</recipeMaker>
</ThingDef>
<HediffDef ParentName="ImplantHediffBase">
<HediffDef ParentName="ImplantHediffBase">
<defName>WULA_Addons_Antenna_Hediff_Base</defName>
<hediffClass>Hediff_Mechlink</hediffClass>
<label>基础上线链路天线</label>
@@ -985,6 +1048,7 @@
</comps>
</HediffDef>
<!-- 抽魂 -->
<RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
<defName>WULA_Extract_Soul_Wedge</defName>
<label>提取魂楔</label>
@@ -1071,4 +1135,91 @@
</li>
</stages>
</HediffDef>
<!-- 背景故事重置 -->
<ThingDef ParentName="BodyPartProstheticMakeableBase">
<defName>Wula_BackstoryRegeneratorImplant</defName>
<label>合成人人格数据包</label>
<description>从乌拉帝国上行链路下载的数据包,内含随机的人格数据,机械乌拉在使用后会改变其人格,这会重置它禁止的工作,但是不会重设其热情和特质。\n\n新的人格有可能和旧人格一模一样</description>
<thingClass>ThingWithComps</thingClass>
<graphicData>
<texPath>Wula/Item/WULA_Syhth_Trainer</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<MarketValue>1500</MarketValue>
<Mass>0.1</Mass>
</statBases>
<recipeMaker>
<researchPrerequisites Inherit="False">
<li>WULA_New_Synth_Skill_Technology</li>
</researchPrerequisites>
<researchPrerequisite>WULA_Synth_Addons_2_Technology</researchPrerequisite>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<recipeUsers Inherit="False">
<li>WULA_Synth_Server</li>
</recipeUsers>
</recipeMaker>
<costList>
<Steel>50</Steel>
<ComponentSpacer>1</ComponentSpacer>
<WULA_Charge_Cube>1</WULA_Charge_Cube>
</costList>
<comps>
<li Class="CompProperties_Usable">
<compClass>CompUsableImplant</compClass>
<useJob>UseItem</useJob>
<useLabel>使用 {0_label}</useLabel>
</li>
<li Class="CompProperties_UseEffectInstallImplant">
<hediffDef>Wula_RegenerateBackstory</hediffDef>
<bodyPart>Brain</bodyPart>
</li>
<li Class="CompProperties_UseEffectDestroySelf" />
</comps>
</ThingDef>
<HediffDef ParentName="ImplantHediffBase">
<defName>Wula_RegenerateBackstory</defName>
<label>backstory regenerator</label>
<labelNoun>a backstory regenerator</labelNoun>
<description>A backstory regenerator is installed.</description>
<spawnThingOnRemoved>Wula_BackstoryRegeneratorImplant</spawnThingOnRemoved>
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_RegenerateBackstory">
<spawnCategories>
<li>Wula_Backstory_Categories</li>
</spawnCategories>
<regenerateChildhood>false</regenerateChildhood>
</li>
</comps>
</HediffDef>
<RecipeDef ParentName="SurgeryInstallImplantBase">
<defName>InstallWulaBackstoryRegenerator</defName>
<label>install backstory regenerator</label>
<description>Installs a backstory regenerator.</description>
<jobString>Installing backstory regenerator.</jobString>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Wula_BackstoryRegeneratorImplant</li>
</thingDefs>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>Wula_BackstoryRegeneratorImplant</li>
</thingDefs>
</fixedIngredientFilter>
<appliedOnFixedBodyParts>
<li>Brain</li>
</appliedOnFixedBodyParts>
<addsHediff>Wula_RegenerateBackstory</addsHediff>
</RecipeDef>
<!-- 能量电池 -->
</Defs>

View File

@@ -110,7 +110,7 @@
<HediffDef>
<defName>WULA_Shutdown</defName>
<label>停机</label>
<description>机体能量已完全耗尽,所有非核心功能已下线,需要立刻补充能量。</description>
<description>械乌拉的机体能量已完全耗尽,所有非核心功能已下线,需要立刻补充能量。\n\n如果需要重启机械乌拉你需要建造一个抢修点或者合成人修复站可以从事医生职位的殖民者将会把失能的机械乌拉带到修复站并使用乌拉帝国能源核心重启机械乌拉。</description>
<hediffClass>HediffWithComps</hediffClass>
<isBad>true</isBad>
<stages>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<<<<<<< Updated upstream
<ThingDef ParentName="BodyPartProstheticMakeableBase">
=======
<ThingDef>
>>>>>>> Stashed changes
<defName>Wula_BackstoryRegeneratorImplant</defName>
<label>backstory regenerator</label>
<thingClass>ThingWithComps</thingClass>
<description>A one-use implant that restructures a person's memories and experiences, effectively giving them a new backstory. The process is unstable and the implant is consumed on use.</description>
<statBases>
<MarketValue>1500</MarketValue>
<Mass>0.1</Mass>
</statBases>
<recipeMaker>
<researchPrerequisite>Prosthetics</researchPrerequisite>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<recipeUsers>
<li>FabricationBench</li>
</recipeUsers>
</recipeMaker>
<costList>
<Plasteel>50</Plasteel>
<ComponentIndustrial>5</ComponentIndustrial>
</costList>
<comps>
<li Class="CompProperties_Usable">
<compClass>CompUsableImplant</compClass>
<useJob>UseItem</useJob>
<useLabel>使用 {0_label}</useLabel>
</li>
<li Class="CompProperties_UseEffectInstallImplant">
<hediffDef>Wula_RegenerateBackstory</hediffDef>
<bodyPart>Brain</bodyPart>
</li>
<li Class="CompProperties_UseEffectDestroySelf" />
</comps>
</ThingDef>
<HediffDef ParentName="ImplantHediffBase">
<defName>Wula_RegenerateBackstory</defName>
<label>backstory regenerator</label>
<labelNoun>a backstory regenerator</labelNoun>
<description>A backstory regenerator is installed.</description>
<spawnThingOnRemoved>Wula_BackstoryRegeneratorImplant</spawnThingOnRemoved>
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_RegenerateBackstory">
<spawnCategories>
<li>Wula_Backstory_Categories</li>
</spawnCategories>
<regenerateChildhood>false</regenerateChildhood>
</li>
</comps>
</HediffDef>
<RecipeDef ParentName="SurgeryInstallImplantBase">
<defName>InstallWulaBackstoryRegenerator</defName>
<label>install backstory regenerator</label>
<description>Installs a backstory regenerator.</description>
<jobString>Installing backstory regenerator.</jobString>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Wula_BackstoryRegeneratorImplant</li>
</thingDefs>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>Wula_BackstoryRegeneratorImplant</li>
</thingDefs>
</fixedIngredientFilter>
<appliedOnFixedBodyParts>
<li>Brain</li>
</appliedOnFixedBodyParts>
<addsHediff>Wula_RegenerateBackstory</addsHediff>
</RecipeDef>
</Defs>

View File

@@ -4,7 +4,7 @@
<defName>WULA_Energy</defName>
<needClass>WulaFallenEmpire.Need_WulaEnergy</needClass>
<label>能量</label>
<description>乌拉帝国的合成人正常活动需要能量维持,否则身体机能将持续恶化,最终导致有机部分不可逆的死亡。\n\n机械乌拉和常规机械体不同她们只有一种指定的能量接口只能通过能源核心补充能量在乌拉帝国编织体工作台制造这种核心。</description>
<description>乌拉帝国的合成人正常活动需要能量维持,在缺少能量时将倒地不起,无法进行任何工作。\n\n机械乌拉和常规机械体不同她们只有一种指定的能量接口只能通过能源核心补充能量在乌拉帝国编织体工作台制造这种核心。</description>
<listPriority>800</listPriority>
<major>true</major>
<onlyIfCausedByHediff>true</onlyIfCausedByHediff>
@@ -16,9 +16,9 @@
<showUnitTicks>true</showUnitTicks>
<modExtensions>
<li Class="WulaFallenEmpire.NeedDefExtension_Energy">
<fallPerDay>1.6</fallPerDay>
<fallPerDay>1</fallPerDay>
<maxLevel>1.0</maxLevel>
<deliverEnergyThreshold>0.5</deliverEnergyThreshold>
<deliverEnergyThreshold>0.05</deliverEnergyThreshold>
</li>
</modExtensions>
</NeedDef>

View File

@@ -2,19 +2,19 @@
<Defs>
<StatDef>
<defName>WulaEnergyMaxLevelOffset</defName>
<label>乌拉能量上限偏移</label>
<description>影响乌拉能量上限的偏移量。</description>
<label>机械乌拉能量上限</label>
<description>影响机械乌拉能量上限的偏移量。</description>
<category>PawnMisc</category>
<defaultBaseValue>0</defaultBaseValue>
<minValue>-1</minValue>
<maxValue>1</maxValue>
<defaultBaseValue>1</defaultBaseValue>
<!-- <maxValue>1</maxValue> -->
<toStringStyle>PercentZero</toStringStyle>
</StatDef>
<StatDef>
<defName>WulaEnergyFallRateFactor</defName>
<label>乌拉能量消耗速度因子</label>
<description>影响乌拉能量消耗速度的乘数因子。</description>
<label>机械乌拉能量消耗速度</label>
<description>影响机械乌拉能量消耗速度的乘数因子。</description>
<category>PawnMisc</category>
<defaultBaseValue>1</defaultBaseValue>
<minValue>0</minValue>

View File

@@ -1,62 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BodyPartBionicBase">
<defName>WULA_Energy_Regulator</defName>
<label>乌拉能量调节器</label>
<description>一个先进的乌拉植入物,能够微调宿主的能量系统,提高能量上限并降低能量消耗速度。</description>
<graphicData>
<texPath>Things/Item/Health/HealthItem</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<MarketValue>1500</MarketValue>
<Mass>0.5</Mass>
</statBases>
<techLevel>Archotech</techLevel>
<recipeMaker>
<researchPrerequisite>WULA_New_Synth_Skill_Technology</researchPrerequisite>
<recipeUsers>
<li>WULA_Synth_Server</li>
</recipeUsers>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Machining</soundWorking>
<displayPriority>650</displayPriority>
</recipeMaker>
<costList>
<Plasteel>50</Plasteel>
<ComponentSpacer>2</ComponentSpacer>
<WULA_Charge_Cube>5</WULA_Charge_Cube>
</costList>
<thingSetMakerTags>
<li>RewardStandardMidFreq</li>
</thingSetMakerTags>
<tradeTags>
<li>TechHediff</li>
</tradeTags>
</ThingDef>
<HediffDef ParentName="ImplantHediffBase">
<defName>WULA_Energy_Regulator_Implant</defName>
<label>乌拉能量调节器</label>
<description>已安装乌拉能量调节器。这提高了能量上限并降低了能量消耗速度。</description>
<spawnThingOnRemoved>WULA_Energy_Regulator</spawnThingOnRemoved>
<addedPartProps>
<partEfficiency>1.0</partEfficiency>
</addedPartProps>
<stages>
<li>
<statOffsets> <!-- StatOffset 是加法偏移量,正数增加,负数减少 -->
<WulaEnergyMaxLevelOffset>0.2</WulaEnergyMaxLevelOffset> <!-- 能量上限增加 0.2 -->
</statOffsets>
<statFactors> <!-- StatFactor 是乘法因子,小于 1.0 减少,大于 1.0 增加 -->
<WulaEnergyFallRateFactor>0.8</WulaEnergyFallRateFactor> <!-- 能量消耗速度变为原来的 80% -->
</statFactors>
</li>
</stages>
</HediffDef>
</Defs>

View File

@@ -174,7 +174,7 @@
<ThingDef Abstract="True" Name="WULA_Syhth_Trainer">
<!-- <defName>WULA_Syhth_Trainer</defName>
<label>乌拉帝国技能预设</label> -->
<description>一个蕴含了提升特定技能所需知识的数据包,需要通过乌拉帝国合成人特有的神经接口接入,其他种族无法使用。</description>
<description>一个蕴含了提升特定技能所需知识的数据包,需要通过乌拉帝国合成人特有的神经接口接入,其他种族无法使用。\n\n机械乌拉的存储空间有限每一次使用数据包都会迫使其遗忘其他非目标技能并损失经验值没有热情的技能将更快被遗忘。</description>
<thingClass>ThingWithComps</thingClass>
<category>Item</category>
<drawerType>MapMeshOnly</drawerType>
@@ -245,8 +245,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Shooting</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>25000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -264,8 +264,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Melee</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -283,8 +283,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Animals</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -302,8 +302,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Artistic</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -321,8 +321,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Construction</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -340,8 +340,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Cooking</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -359,8 +359,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Crafting</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -378,8 +378,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Intellectual</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -397,8 +397,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Medicine</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -416,8 +416,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Mining</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -435,8 +435,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Plants</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>
@@ -454,8 +454,8 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_UseEffect_WulaSkillTrainer">
<skill>Social</skill>
<xpGainAmount>100000</xpGainAmount>
<baseLossAmount>5000</baseLossAmount>
<xpGainAmount>50000</xpGainAmount>
<baseLossAmount>10000</baseLossAmount>
<noPassionLossFactor>2.0</noPassionLossFactor>
<minorPassionLossFactor>1.5</minorPassionLossFactor>
</li>

View File

@@ -609,6 +609,20 @@
</researchPrerequisites>
</ThingDef>
<!-- 乌拉族睡眠点 -->
<ThingDef ParentName="SleepingSpotBase">
<defName>Wula_SleepingSpot</defName>
<label>乌拉帝国抢修点</label>
<description>指定一块地方,供机械乌拉躺下以进行抢修。</description>
<graphicData>
<texPath>Things/Building/Furniture/Bed/SleepSpot</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(3,4)</drawSize>
</graphicData>
<size>(1,2)</size>
<designationHotKey>Misc1</designationHotKey>
</ThingDef>
<!-- 联络台 -->
<!-- <ThingDef ParentName="BuildingBase">
<defName>WULA_Communicator_Station</defName>

View File

@@ -34,6 +34,7 @@
<canLayDown>true</canLayDown>
<validBeds>
<li>WULA_Charging_Station_Synth</li>
<li>Wula_SleepingSpot</li>
</validBeds>
<!-- 各种零件定义 -->
<alienPartGenerator Inherit="False">