天锁机制

This commit is contained in:
2025-11-26 17:28:36 +08:00
parent 826de7b5da
commit 0930887841
9 changed files with 402 additions and 1 deletions

View File

@@ -661,4 +661,66 @@
<li>Placeworker_AttachedToWall</li>
</placeWorkers>
</ThingDef>
<!-- 装饰品 -->
<ThingDef ParentName="BuildingBase">
<defName>WULA_Sky_Lock</defName>
<label>天锁</label>
<description>天锁</description>
<thingClass>Building</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<pathCost>50</pathCost>
<blockWind>true</blockWind>
<passability>PassThroughOnly</passability>
<fillPercent>1</fillPercent>
<size>(3,3)</size>
<drawHighlight>true</drawHighlight>
<highlightColor>(0.56, 0.62, 0.9)</highlightColor>
<graphicData>
<texPath>Wula/Building/WULA_Fake_Fighter_Drone_Building</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
<drawSize>(3,3)</drawSize>
<color>(195,195,195,255)</color>
</graphicData>
<statBases>
<MaxHitPoints>100</MaxHitPoints>
<Flammability>0.5</Flammability>
<WorkToBuild>36000</WorkToBuild>
<Mass>125</Mass>
<Comfort>0.65</Comfort>
</statBases>
<costList>
<WULA_Alloy>50</WULA_Alloy>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<!-- <designationCategory>WULA_Buildings</designationCategory> -->
<tickerType>Normal</tickerType>
<canOverlapZones>true</canOverlapZones>
<rotatable>true</rotatable>
<hasInteractionCell>false</hasInteractionCell>
<defaultPlacingRot>East</defaultPlacingRot>
<selectable>true</selectable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<preventSkyfallersLandingOn>true</preventSkyfallersLandingOn>
<drawerType>RealtimeOnly</drawerType>
<repairEffect>ConstructMetal</repairEffect>
<forceDebugSpawnable>true</forceDebugSpawnable>
<building>
<destroySound>BuildingDestroyed_Metal_Big</destroySound>
<paintable>true</paintable>
<isInert>true</isInert>
</building>
<comps>
<li Class="WulaFallenEmpire.CompProperties_DamageReceiver">
<maxDamageCapacity>5000</maxDamageCapacity>
<damageDecayRate>10</damageDecayRate>
<damageDecayInterval>30</damageDecayInterval>
<showDamageBar>true</showDamageBar>
<canBeDestroyedByDamage>true</canBeDestroyedByDamage>
</li>
</comps>
</ThingDef>
</Defs>

View File

@@ -1646,7 +1646,6 @@
</li>
</tools>
<comps>
<!-- 护盾无法在此绘制 -->
<li Class="WulaFallenEmpire.CompProperties_AreaShield">
<radius>9</radius>
<baseHitPoints>500</baseHitPoints>
@@ -1673,6 +1672,15 @@
<reflectCost>0</reflectCost>
<reflectEffecter>Interceptor_BlockedProjectile</reflectEffecter>
</li>
<li Class="WulaFallenEmpire.CompProperties_DamageTransfer">
<damageTransferRatio>0.75</damageTransferRatio>
<maxTransferRange>25</maxTransferRange>
<requireLineOfSight>false</requireLineOfSight>
<healthThreshold>
<min>0.1</min>
<max>0.9</max>
</healthThreshold>
</li>
<!-- 飞行组件 -->
<li Class="WulaFallenEmpire.CompProperties_PawnFlight">