2025-7-15

This commit is contained in:
2025-07-15 12:04:02 +08:00
parent 403587cd63
commit 0b722cd292
12 changed files with 215 additions and 38 deletions

View File

@@ -11,6 +11,7 @@
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
</graphicData>
<designationCategory>Structure</designationCategory>
<researchPrerequisites>
<li>WULA_Structure_Technology</li>
</researchPrerequisites>
@@ -31,9 +32,9 @@
<li>Metallic</li>
</stuffCategories>
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
<placeWorkers>
<!-- <placeWorkers>
<li>PlaceWorker_OnSubstructure</li>
</placeWorkers>
</placeWorkers> -->
<damageMultipliers>
<li>
<damageDef>Bomb</damageDef>
@@ -143,39 +144,35 @@
<li>WULA_Structure_Technology</li>
</researchPrerequisites>
</ThingDef>
<TerrainDef ParentName="FloorBase">
<defName>WulaFloor</defName>
<label>乌拉帝国地板</label>
<renderPrecedence>200</renderPrecedence>
<description>乌拉帝国堡垒中使用的地板,形似红毯但是实际上并非由布料制成。</description>
<description>乌拉帝国堡垒中使用的地板,美观易清洁的同时也做了防火处理。</description>
<texturePath>Wula/Building/WULA_Floor</texturePath>
<color>(0.67, 0.67, 0.67)</color>
<pollutionTintColor>(0.95, 0.95, 0.93, 1)</pollutionTintColor>
<uiIconPath>Wula/Building/WULA_Floor_Icon</uiIconPath>
<color>(140,140,140)</color>
<edgeType>Hard</edgeType>
<renderPrecedence>70</renderPrecedence>
<isPaintable>true</isPaintable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<uiIconPath>Wula/Building/WULA_Floor_UI</uiIconPath>
<statBases>
<MarketValue>2</MarketValue>
<WorkToBuild>200</WorkToBuild>
<Cleanliness>1</Cleanliness>
<FilthMultiplier>0.05</FilthMultiplier>
<CleaningTimeFactor>0.1</CleaningTimeFactor>
<Beauty>16</Beauty>
<Beauty>3</Beauty>
<WorkToBuild>100</WorkToBuild>
<CleaningTimeFactor>0.5</CleaningTimeFactor>
<Flammability>0</Flammability>
</statBases>
<!-- <costStuffCount>3</costStuffCount> -->
<!-- <stuffCategories>
<li>Fabric</li>
<li>Leathery</li>
</stuffCategories> -->
<costList>
<Steel>1</Steel>
<Steel>3</Steel>
</costList>
<tags>
<li>Floor</li>
<li>FineFloor</li>
</tags>
<constructEffect>ConstructMetal</constructEffect>
<designationHotKey>Misc4</designationHotKey>
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
<!-- <uiOrder>2115</uiOrder>
<designationHotKey>Misc6</designationHotKey>
<researchPrerequisites>
<li>WULA_Structure_Technology</li>
</researchPrerequisites> -->
</researchPrerequisites>
<uiOrder>1138</uiOrder>
</TerrainDef>
</Defs>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
</Defs>

View File

@@ -75,7 +75,50 @@
<displayPriority>100</displayPriority>
<researchPrerequisites>
<li>WULA_Base_Technology</li>
<li>WULA_Adv_WorkTable_Technology</li>
</researchPrerequisites>
</RecipeDef>
<RecipeDef>
<defName>Make_WULA_Dark_Matter_Item</defName>
<label>制造乌拉帝国暗物质</label>
<description>制造1份封装的暗物质由暗物质约束装置和暗物质组成是乌拉帝国大型设施和武备所必须的能量来源。</description>
<jobString>正在制造乌拉帝国暗物质</jobString>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<!-- <requiredGiverWorkType>Crafting</requiredGiverWorkType> -->
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<!-- 允许混合成分 -->
<allowMixingIngredients>false</allowMixingIngredients>
<skillRequirements>
<Crafting>15</Crafting>
</skillRequirements>
<ingredients Inherit="False">
<li>
<filter>
<thingDefs>
<li>WULA_Charge_Cube</li>
</thingDefs>
</filter>
<count>100</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentSpacer</li>
</thingDefs>
</filter>
<count>8</count>
</li>
</ingredients>
<products>
<WULA_Dark_Matter_Item>1</WULA_Dark_Matter_Item>
</products>
<workSkill>Crafting</workSkill>
<displayPriority>100</displayPriority>
<researchPrerequisites>
<li>WULA_Adv_WorkTable_Technology</li>
</researchPrerequisites>
</RecipeDef>

View File

@@ -121,6 +121,49 @@
<possessionCount>50</possessionCount>
</ThingDef>
<ThingDef ParentName="ResourceBase">
<defName>WULA_Dark_Matter_Item</defName>
<label>封装的暗物质</label>
<description>由乌拉帝国技术完成封装的一小块暗物质,这种神秘物质具有许多似乎可以打破所谓自然法则的性质。通过投入大量重金属,暗物质约束装置可以为部分消耗的暗物质补充质量。\n\n注意暗物质约束装置很脆弱受到冲击时将引发大范围湮灭反应</description>
<graphicData>
<texPath>Wula/Item/WULA_Soul_Wedge</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<genericMarketSellable>false</genericMarketSellable>
<soundInteract>Metal_Drop</soundInteract>
<soundDrop>Metal_Drop</soundDrop>
<useHitPoints>false</useHitPoints>
<healthAffectsPrice>false</healthAffectsPrice>
<statBases>
<MarketValue>100</MarketValue>
<Mass>0.01</Mass>
</statBases>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
<burnableByRecipe>false</burnableByRecipe>
<smeltable>true</smeltable>
<terrainAffordanceNeeded>Medium</terrainAffordanceNeeded>
<allowedArchonexusCount>80</allowedArchonexusCount>
<possessionCount>1</possessionCount>
<comps>
<li Class="CompProperties_Explosive">
<explosiveRadius>30</explosiveRadius>
<explosiveDamageType>BombSuper</explosiveDamageType>
<explosiveExpandPerStackcount>1</explosiveExpandPerStackcount>
<startWickOnDamageTaken>
<li>Bullet</li>
<li>Arrow</li>
<li>ArrowHighVelocity</li>
</startWickOnDamageTaken>
<startWickHitPointsPercent>0.333</startWickHitPointsPercent>
<!-- <preExplosionSpawnThingDef>Filth_Fuel</preExplosionSpawnThingDef> -->
<preExplosionSpawnChance>1</preExplosionSpawnChance>
<wickTicks>1</wickTicks>
</li>
</comps>
</ThingDef>
<ThingDef Abstract="True" Name="WULA_Syhth_Trainer">
<!-- <defName>WULA_Syhth_Trainer</defName>
<label>乌拉帝国技能预设</label> -->

View File

@@ -184,6 +184,7 @@
<recipes>
<li>Make_WULA_Charge_Cube</li>
<li>Make_WULA_Charge_Cube_Group</li>
<li>Make_WULA_Dark_Matter_Item</li>
</recipes>
<inspectorTabs>
<li>ITab_Bills</li>
@@ -537,7 +538,7 @@
<ThingDef ParentName="GravshipComponentBase">
<defName>Wula_DarkEnergy_Engine</defName>
<label>乌拉帝国暗物质核心</label>
<description>乌拉帝国为登陆舰设计并使用失落科技所建造的暗物质核心,是战舰所用的暗物质核心的缩小版。它可以像闪耀世界的逆重引擎一样支撑一艘飞船的主体结构,并支持飞船在近地轨道移动。\n\n除此之外内部通过金属启动的湮灭反应还能为全舰提供巨量电力——但是它只能在近地轨道上工作当在地表停靠时复杂的环境会使得能源核心进入闭锁状态。</description>
<description>乌拉帝国为登陆舰设计并使用失落科技所建造的暗物质核心,是战舰所用的暗物质核心的缩小版。它可以像闪耀世界的逆重引擎一样支撑一艘飞船的主体结构,并支持飞船在近地轨道移动。\n\n除此之外内部通过金属启动的湮灭反应还能为全舰提供巨量电力——但是它只能在近地轨道上工作当在地表停靠时复杂的环境会使得能源核心进入闭锁状态。\n\n温馨提示你可以建造多个暗物质核心但是请确保你只有唯一一艘飞船否则将导致不可预知的bug。</description>
<thingClass>Building_GravEngine</thingClass>
<drawerType>RealtimeOnly</drawerType>
<tickerType>Normal</tickerType>
@@ -560,7 +561,7 @@
<passability>PassThroughOnly</passability>
<pathCost>20</pathCost>
<canOverlapZones>false</canOverlapZones>
<designationCategory>Production</designationCategory>
<designationCategory>Odyssey</designationCategory>
<building>
<ai_neverTrashThis>true</ai_neverTrashThis>
<deconstructible>false</deconstructible>
@@ -594,7 +595,7 @@
<li>SignalJammer</li>
<li>PilotSubpersonaCore</li>
<li>GravshipShieldGenerator</li>
<!-- <li>Wula_DarkEnergy_FuelTank</li> -->
<li>Wula_DarkEnergy_FuelTank</li>
</linkableFacilities>
</li>
<li Class="CompProperties_AmbientSound">
@@ -622,15 +623,21 @@
<canEjectFuel>true</canEjectFuel>
</li>
</comps>
<costList>
<Steel>200</Steel>
<ComponentSpacer>6</ComponentSpacer>
<WULA_Dark_Matter_Item>1</WULA_Dark_Matter_Item>
</costList>
</ThingDef>
<!-- <ThingDef ParentName="FuelTankBase">
<ThingDef ParentName="FuelTankBase">
<defName>Wula_DarkEnergy_FuelTank</defName>
<label>暗物质引擎</label>
<description>乌拉帝国用于存储湮灭反应释放的巨量能源并将其转化为飞行器飞行所需燃料的设备——在星球环境下,这些能源无法直接输入引擎。</description>
<tickerType>Normal</tickerType>
<graphicData>
<graphicClass>Graphic_Multi</graphicClass>
<texPath>Things/Building/LargeChemfuelTank/LargeChemfuelTank</texPath>
<drawSize>(3, 3)</drawSize>
<texPath>Wula/Building/Wula_DarkEnergy_FuelTank</texPath>
<drawSize>(4,4)</drawSize>
</graphicData>
<statBases>
<MaxHitPoints>300</MaxHitPoints>
@@ -643,18 +650,21 @@
<costList>
<Steel>200</Steel>
</costList>
<designationCategory>Production</designationCategory>
<designationCategory>Odyssey</designationCategory>
<costList>
<Steel>100</Steel>
<ComponentSpacer>2</ComponentSpacer>
<WULA_Dark_Matter_Item>1</WULA_Dark_Matter_Item>
</costList>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>1000</basePowerConsumption>
<transmitsPower>true</transmitsPower>
<soundAmbientProducingPower>ChemfuelFiredGenerator_Ambience</soundAmbientProducingPower>
</li>
<li Class="CompProperties_Refuelable">
<fuelConsumptionRate>-150</fuelConsumptionRate>
<fuelCapacity>750</fuelCapacity>
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
<targetFuelLevelConfigurable>false</targetFuelLevelConfigurable>
<initialConfigurableTargetFuelLevel>750</initialConfigurableTargetFuelLevel>
<fuelFilter>
<thingDefs>
@@ -663,17 +673,18 @@
</fuelFilter>
<fuelLabel>Chemfuel</fuelLabel>
<fuelGizmoLabel>Chemfuel</fuelGizmoLabel>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<consumeFuelOnlyWhenUsed>false</consumeFuelOnlyWhenUsed>
<autoRefuelPercent>1</autoRefuelPercent>
<showFuelGizmo>true</showFuelGizmo>
<drawOutOfFuelOverlay>false</drawOutOfFuelOverlay>
<showAllowAutoRefuelToggle>false</showAllowAutoRefuelToggle>
<canEjectFuel>false</canEjectFuel>
<drawFuelGaugeInMap>false</drawFuelGaugeInMap>
<initialFuelPercent>0.01</initialFuelPercent>
</li>
</comps>
<uiOrder>2155</uiOrder>
</ThingDef> -->
</ThingDef>
<!-- 联络台 -->
<!-- <ThingDef ParentName="BuildingBase">
@@ -751,4 +762,71 @@
</building>
<clearBuildingArea>false</clearBuildingArea>
</ThingDef> -->
<!-- 外挂炮台 -->
<ThingDef ParentName="BuildingBase">
<defName>WUla_Cat_Turret</defName>
<label>乌拉猫猫炮塔</label>
<description>有时候乌拉星人会把拿着DLa-1"页岩"突击步枪的乌拉猫猫机械体挂在外壁上充当临时炮台。这种“炮台”依附于墙壁不会阻碍通行深受爱猫TV好评。</description>
<thingClass>Building_TurretGun</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<graphicData>
<texPath>Things/Building/Mech/TurretMechLarge_Base</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(1,1)</drawSize>
<drawOffset>(0,0,-0.16)</drawOffset>
<damageData>
<enabled>false</enabled>
</damageData>
<shadowData>
<offset>(-0.13,-0.87,-0.1)</offset>
<volume>(0.5,0.4,1.05)</volume>
</shadowData>
</graphicData>
<altitudeLayer>BuildingOnTop</altitudeLayer>
<designationCategory>Security</designationCategory>
<stealable>false</stealable>
<size>(1,1)</size>
<passability>Standable</passability>
<terrainAffordanceNeeded IsNull="True" />
<pathCost>0</pathCost>
<fillPercent>0.4</fillPercent>
<tickerType>Normal</tickerType>
<comps>
<li Class="CompProperties_Forbiddable"/>
<li Class="CompProperties_Stunnable">
<affectedDamageDefs>
<li>Stun</li>
<li>EMP</li>
</affectedDamageDefs>
<adaptableDamageDefs>
<li>EMP</li>
</adaptableDamageDefs>
</li>
</comps>
<statBases>
<MaxHitPoints>260</MaxHitPoints>
<Flammability>0</Flammability>
<Mass>30</Mass>
<ShootingAccuracyTurret>0.9</ShootingAccuracyTurret>
<Beauty>-20</Beauty>
</statBases>
<damageMultipliers>
<li>
<damageDef>Flame</damageDef>
<multiplier>0</multiplier>
</li>
</damageMultipliers>
<!-- <generateCommonality>4</generateCommonality> -->
<building>
<isEdifice>false</isEdifice>
<isAttachment>true</isAttachment>
<combatPower>220</combatPower>
<turretGunDef>WULA_RW_Base_AR</turretGunDef>
<turretBurstWarmupTime>1.0</turretBurstWarmupTime>
<turretBurstCooldownTime>1.2</turretBurstCooldownTime>
<soundAmbient>MechTurretBig_Call</soundAmbient>
</building>
<uiIconPath>Things/Building/Security/TurretMortar_MenuIcon</uiIconPath>
</ThingDef>
</Defs>

13
Patches/Patch.xml Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>*/ThingDef[defName = "GravEngine"]/comps/li[@Class = "CompProperties_AffectedByFacilities"]/linkableFacilities</xpath>
<value>
<li>Wula_DarkEnergy_FuelTank</li>
</value>
</li>
</operations>
</Operation>
</Patch>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 MiB

After

Width:  |  Height:  |  Size: 18 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB