This commit is contained in:
Tourswen
2025-11-27 12:45:56 +08:00
parent dbc823108f
commit 497b06553a
17 changed files with 352 additions and 128 deletions

View File

@@ -1,113 +1,140 @@
<Defs>
<PrefabDef>
<defName>NewPrefab</defName> <!-- rename -->
<size>(13,14)</size>
</PrefabDef>
<PrefabDef>
<defName>WULA_NewColonyBase</defName> <!-- rename -->
<size>(13,13)</size>
<size>(13,14)</size>
<things>
<SimpleResearchBench>
<position>(10, 0, 10)</position>
<position>(10, 0, 11)</position>
<stuff>WULA_Alloy</stuff>
</SimpleResearchBench>
<Battery>
<position>(3, 0, 1)</position>
<relativeRotation>Clockwise</relativeRotation>
<position>(4, 0, 2)</position>
</Battery>
<Table1x2c>
<position>(6, 0, 10)</position>
<position>(6, 0, 11)</position>
<relativeRotation>Clockwise</relativeRotation>
<stuff>WULA_Alloy</stuff>
<quality>Normal</quality>
</Table1x2c>
<WULA_OrbitalTradeBeacon>
<position>(1, 0, 10)</position>
<position>(1, 0, 11)</position>
</WULA_OrbitalTradeBeacon>
<WULA_Charging_Station_Synth>
<positions>
<li>(11, 0, 1)</li>
<li>(11, 0, 3)</li>
<li>(11, 0, 2)</li>
<li>(11, 0, 4)</li>
</positions>
<relativeRotation>Counterclockwise</relativeRotation>
<quality>Normal</quality>
</WULA_Charging_Station_Synth>
<ChessTable>
<position>(6, 0, 11)</position>
<position>(10, 0, 8)</position>
<stuff>WULA_Alloy</stuff>
<quality>Normal</quality>
</ChessTable>
<WulaDoor>
<rects>
<li>(6,0,6,0)</li>
<li>(4,3,4,3)</li>
<li>(6,1,6,1)</li>
<li>(4,5,4,5)</li>
<li>(4,9,4,9)</li>
</rects>
</WulaDoor>
<WULA_MaintenancePod>
<position>(2, 0, 6)</position>
<position>(2, 0, 7)</position>
<relativeRotation>Counterclockwise</relativeRotation>
</WULA_MaintenancePod>
<Stool>
<rects>
<li>(6,9,6,9)</li>
<li>(7,11,7,11)</li>
<li>(10,6,10,6)</li>
<li>(9,8,9,8)</li>
<li>(11,8,11,8)</li>
</rects>
<relativeRotation>Clockwise</relativeRotation>
<stuff>WULA_Alloy</stuff>
<quality>Normal</quality>
</Stool>
<Stool>
<rects>
<li>(6,10,6,10)</li>
<li>(6,12,6,12)</li>
</rects>
<stuff>WULA_Alloy</stuff>
<quality>Normal</quality>
</Stool>
<WULA_Wall_Flag_Building>
<rects>
<li>(3,8,3,8)</li>
<li>(5,8,5,8)</li>
<li>(5,0,5,0)</li>
<li>(7,0,7,0)</li>
</rects>
</WULA_Wall_Flag_Building>
<WULA_Wall_Flag_Building>
<rects>
<li>(6,5,6,5)</li>
<li>(6,9,6,9)</li>
</rects>
<relativeRotation>Counterclockwise</relativeRotation>
</WULA_Wall_Flag_Building>
<Heater>
<position>(11, 0, 5)</position>
<position>(9, 0, 3)</position>
</Heater>
<Wula_Fusion_Generators>
<position>(2, 0, 3)</position>
</Wula_Fusion_Generators>
<DiningChair>
<position>(10, 0, 9)</position>
<position>(10, 0, 10)</position>
<stuff>WULA_Alloy</stuff>
<quality>Normal</quality>
</DiningChair>
<WULA_Machine_Recharger>
<position>(6, 0, 6)</position>
<position>(6, 0, 7)</position>
</WULA_Machine_Recharger>
<WULA_Cube_Productor>
<position>(7, 0, 9)</position>
<position>(11, 0, 6)</position>
<relativeRotation>Clockwise</relativeRotation>
</WULA_Cube_Productor>
<ChemfuelPoweredGenerator>
<position>(1, 0, 1)</position>
</ChemfuelPoweredGenerator>
<WallLamp>
<rects>
<li>(3,1,3,1)</li>
<li>(9,1,9,1)</li>
</rects>
<position>(9, 0, 2)</position>
<relativeRotation>Opposite</relativeRotation>
</WallLamp>
<WallLamp>
<rects>
<li>(3,11,3,11)</li>
<li>(9,11,9,11)</li>
<li>(3,12,3,12)</li>
<li>(9,12,9,12)</li>
</rects>
</WallLamp>
<ShelfSmall>
<position>(3, 0, 10)</position>
<stuff>WULA_Alloy</stuff>
</ShelfSmall>
<WulaWall>
<rects>
<li>(0,0,5,0)</li>
<li>(7,0,12,0)</li>
<li>(0,1,0,12)</li>
<li>(5,1,5,3)</li>
<li>(12,1,12,12)</li>
<li>(10,2,11,2)</li>
<li>(1,3,3,3)</li>
<li>(9,4,11,4)</li>
<li>(0,1,5,1)</li>
<li>(7,1,12,1)</li>
<li>(0,2,0,13)</li>
<li>(5,2,5,5)</li>
<li>(12,2,12,13)</li>
<li>(10,3,11,3)</li>
<li>(1,5,3,5)</li>
<li>(9,5,11,5)</li>
<li>(1,9,3,9)</li>
<li>(5,9,5,12)</li>
<li>(1,12,4,12)</li>
<li>(6,12,11,12)</li>
<li>(5,9,5,13)</li>
<li>(1,13,4,13)</li>
<li>(6,13,11,13)</li>
</rects>
</WulaWall>
<Shelf>
<position>(1, 0, 10)</position>
<stuff>WULA_Alloy</stuff>
</Shelf>
<Shelf>
<positions>
<li>(2, 0, 11)</li>
<li>(4, 0, 11)</li>
<li>(2, 0, 12)</li>
<li>(4, 0, 12)</li>
</positions>
<relativeRotation>Opposite</relativeRotation>
<stuff>WULA_Alloy</stuff>
@@ -116,7 +143,7 @@
<terrain>
<WulaFloor>
<rects>
<li>(0,0,12,12)</li>
<li>(0,1,12,12)</li>
</rects>
</WulaFloor>
</terrain>

View File

@@ -1336,7 +1336,7 @@
</comps>
</ThingDef>
<!-- 发电机 -->
<!-- 暗物质发电机 -->
<ThingDef ParentName="BuildingBase">
<defName>Wula_DarkEnergy_Generators_Cleanzone</defName>
<label>暗物质发电机</label>
@@ -1460,11 +1460,11 @@
<offset>(-0.03,0,-0.1)</offset>
</shadowData>
</graphicData>
<passability>PassThroughOnly</passability>
<fillPercent>0</fillPercent>
<pathCost>50</pathCost>
<rotatable>false</rotatable>
<passability>Impassable</passability>
<blockWind>true</blockWind>
<fillPercent>1</fillPercent>
<blockLight>false</blockLight>
<castEdgeShadows>false</castEdgeShadows>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<statBases>
@@ -1533,7 +1533,204 @@
<overrideExistingFaction>false</overrideExistingFaction>
</li>
</comps>
<designationCategory>WULA_Buildings</designationCategory>
</ThingDef>
<!-- 聚变发电机 -->
<ThingDef ParentName="BuildingBase">
<defName>Wula_Fusion_Generators_Cleanzone</defName>
<label>聚变发电机</label>
<description>清理出一块场地并准备好资源,使得乌拉帝国可以向此处投放建筑,建造好的信标可以收起或移至他处。\n\n一台依靠重核聚变进行发电的简易发电机发电量不算太高但是发电材料很好找只需要往里面填入石头就能发电。</description>
<uiIconPath>Wula/Building/Wula_Fusion_Generators</uiIconPath>
<minifiedDef>MinifiedThing</minifiedDef>
<tickerType>Normal</tickerType>
<descriptionHyperlinks>
<ThingDef>Wula_Fusion_Generators</ThingDef>
</descriptionHyperlinks>
<thingCategories Inherit="False">
<li>BuildingsMisc</li>
</thingCategories>
<graphicData>
<texPath>Wula/Building/WULA_Dropping_Building_Cleanzone</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(3,3)</drawSize>
<damageData>
<enabled>false</enabled>
</damageData>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<castEdgeShadows>false</castEdgeShadows>
<fillPercent>0.5</fillPercent>
<canOverlapZones>false</canOverlapZones>
<pathCost>0</pathCost>
<hasInteractionCell>false</hasInteractionCell>
<rotatable>false</rotatable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<researchPrerequisites Inherit="False">
<li>WULA_DarkEnergy_Generators_Technology</li>
</researchPrerequisites>
<statBases>
<MaxHitPoints>1</MaxHitPoints>
<WorkToBuild>0</WorkToBuild>
<Mass>1</Mass>
<Flammability>0</Flammability>
</statBases>
<size>(3,3)</size>
<constructionSkillPrerequisite>0</constructionSkillPrerequisite>
<resourcesFractionWhenDeconstructed>1</resourcesFractionWhenDeconstructed>
<costList>
<WULA_Alloy>40</WULA_Alloy>
<ComponentIndustrial>2</ComponentIndustrial>
</costList>
<building>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
</building>
<placeWorkers>
<li>WulaFallenEmpire.PlaceWorker_CustomRadius</li>
</placeWorkers>
<designationCategory>WULA_Buildings</designationCategory>
<comps>
<li Class="WulaFallenEmpire.CompProperties_CustomRadius">
<radius>7.9</radius> <!-- 半径大小 -->
<color>(0.5, 1, 1)</color> <!-- 绿色圆圈 -->
<radiusOffset>0</radiusOffset> <!-- 半径偏移 -->
<showInGUI>true</showInGUI>
<label>供电半径</label>
<description>在不接电线的情况下,该建筑可提供的最大供电半径,可作为野战状态下的阵地构建参考。</description>
<defaultVisible>true</defaultVisible>
</li>
<li Class="WulaFallenEmpire.CompProperties_SkyfallerCaller">
<skyfallerDef>Wula_Fusion_Generators_Incoming</skyfallerDef> <!-- 替换为您想要的Skyfaller类型 -->
<destroyBuilding>true</destroyBuilding>
<delayTicks>1</delayTicks>
<allowThinRoof>true</allowThinRoof>
<allowThickRoof>false</allowThickRoof>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="SkyfallerBase">
<defName>Wula_Fusion_Generators_Incoming</defName>
<label>聚变发电机(空投中)</label>
<size>(3,3)</size>
<graphicData>
<texPath>Wula/Building/Wula_Fusion_Generators_Incoming</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutFlying</shaderType>
<drawSize>(3,3)</drawSize>
</graphicData>
<skyfaller>
<movementType>Accelerate</movementType>
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
<shadowSize>(3, 3)</shadowSize>
<anticipationSound>DropPod_Fall</anticipationSound>
<anticipationSoundTicks>100</anticipationSoundTicks>
<impactSound>Explosion_Vaporize</impactSound>
<moteSpawnTime>0.05</moteSpawnTime>
<motesPerCell>1</motesPerCell>
<cameraShake>1</cameraShake>
<angleCurve>
<points>
<li>(0,0)</li>
<li>(1, 1)</li>
</points>
</angleCurve>
<spawnThing>Wula_Fusion_Generators</spawnThing>
</skyfaller>
<comps>
<li Class="CompProperties_Effecter">
<effecterDef>Smoke_Joint</effecterDef>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>Wula_Fusion_Generators</defName>
<label>聚变发电机</label>
<description>一台依靠重核聚变进行发电的简易发电机,发电量不算太高但是发电材料很好找,只需要往里面填入石头就能发电。</description>
<thingClass>Building</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<altitudeLayer>BuildingOnTop</altitudeLayer>
<graphicData>
<texPath>Wula/Building/Wula_Fusion_Generators</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(3,3)</drawSize>
<shadowData>
<volume>(1.93,1,1.69)</volume>
<offset>(-0.03,0,-0.1)</offset>
</shadowData>
</graphicData>
<rotatable>false</rotatable>
<passability>Impassable</passability>
<blockWind>true</blockWind>
<fillPercent>1</fillPercent>
<blockLight>false</blockLight>
<castEdgeShadows>false</castEdgeShadows>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<statBases>
<MaxHitPoints>100</MaxHitPoints>
<WorkToBuild>2500</WorkToBuild>
<Flammability>0</Flammability>
<Beauty>-20</Beauty>
</statBases>
<tickerType>Normal</tickerType>
<canOverlapZones>false</canOverlapZones>
<size>(3,3)</size>
<building>
<isAirtight>false</isAirtight>
<isStuffableAirtight>false</isStuffableAirtight>
<destroySound>BuildingDestroyed_Metal_Medium</destroySound>
</building>
<costList>
<WULA_Alloy>40</WULA_Alloy>
<ComponentIndustrial>2</ComponentIndustrial>
</costList>
<comps>
<li Class="WulaFallenEmpire.CompProperties_CustomRadius">
<radius>7.9</radius> <!-- 半径大小 -->
<color>(0.5, 1, 1)</color> <!-- 绿色圆圈 -->
<radiusOffset>0</radiusOffset> <!-- 半径偏移 -->
<showInGUI>true</showInGUI>
<label>供电半径</label>
<description>在不接电线的情况下,该建筑可提供的最大供电半径,可作为野战状态下的阵地构建参考。</description>
<defaultVisible>true</defaultVisible>
</li>
<li Class="CompProperties_Power">
<compClass>CompPowerPlant</compClass>
<basePowerConsumption>-1500</basePowerConsumption>
<transmitsPower>true</transmitsPower>
<soundAmbientProducingPower>ChemfuelFiredGenerator_Ambience</soundAmbientProducingPower>
</li>
<li Class="CompProperties_Flickable"/>
<li Class="CompProperties_Refuelable">
<fuelLabel>石块</fuelLabel>
<fuelGizmoLabel>石块</fuelGizmoLabel>
<outOfFuelMessage>需要填入石块</outOfFuelMessage>
<fuelConsumptionRate>3</fuelConsumptionRate>
<fuelCapacity>30.0</fuelCapacity>
<fuelFilter>
<categories>
<li>StoneChunks</li>
</categories>
</fuelFilter>
<initialFuelPercent>1</initialFuelPercent>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
<canEjectFuel>true</canEjectFuel>
</li>
<li Class="CompProperties_Glower">
<glowRadius>6</glowRadius>
<glowColor>(120,240,252,0)</glowColor>
</li>
<li Class="CompProperties_Breakdownable"/>
<li Class="CompProperties_Stunnable">
<useLargeEMPEffecter>true</useLargeEMPEffecter>
<affectedDamageDefs>
<li>EMP</li>
</affectedDamageDefs>
</li>
<li Class="WulaFallenEmpire.CompProperties_FactionSetter">
<!-- <factionDef>Mechanoid</factionDef> 不写默认玩家派系-->
<usePlayerFactionIfNull>true</usePlayerFactionIfNull>
<overrideExistingFaction>false</overrideExistingFaction>
</li>
</comps>
</ThingDef>
</Defs>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 705 KiB

After

Width:  |  Height:  |  Size: 732 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 KiB