This commit is contained in:
Tourswen
2025-11-26 21:37:25 +08:00
parent 21cb3f4ecb
commit c91c222801
24 changed files with 536 additions and 471 deletions

View File

@@ -53,6 +53,7 @@
<WULA_Alloy>4</WULA_Alloy>
</costList>
<building>
<isInert>false</isInert>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
<isAirtight>false</isAirtight>
<isStuffableAirtight>false</isStuffableAirtight>

View File

@@ -4,6 +4,9 @@
<defName>WULA_OrbitalTradeBeacon</defName>
<label>乌拉轨道输送信标</label>
<thingClass>Building_OrbitalTradeBeacon</thingClass>
<thingCategories Inherit="False">
<li>BuildingsMisc</li>
</thingCategories>
<graphicData>
<texPath>Things/Building/Misc/DropBeacon</texPath>
<graphicClass>Graphic_Single</graphicClass>
@@ -52,7 +55,7 @@
</placeWorkers>
<designationHotKey>Misc2</designationHotKey>
<researchPrerequisites>
<li>Techprint_WULA_Colony_License_LV1_Technology</li>
<li>WULA_Colony_License_LV1_Technology</li>
</researchPrerequisites>
</ThingDef>
<!-- 舰队 -->
@@ -672,7 +675,6 @@
<description>乌拉帝国行星封锁机关的旗帜,没什么用但是可以宣示乌拉帝国的主权。</description>
<thingClass>Building</thingClass>
<category>Building</category>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<designationCategory>WULA_Buildings</designationCategory>
<selectable>true</selectable>
@@ -723,8 +725,9 @@
<label>天锁</label>
<description>天锁</description>
<thingClass>Building</thingClass>
<thingClass>WulaFallenEmpire.Building_ExtraGraphics</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<altitudeLayer>MetaOverlays</altitudeLayer>
<pathCost>50</pathCost>
<blockWind>true</blockWind>
<passability>PassThroughOnly</passability>
@@ -738,24 +741,27 @@
<shaderType>TransparentPostLight</shaderType>
<drawSize>(3,3)</drawSize>
<color>(195,195,195,255)</color>
<shadowData>
<volume>(4, 4, 4)</volume>
<offset>(0,0,-0.1)</offset>
</shadowData>
</graphicData>
<statBases>
<MaxHitPoints>100</MaxHitPoints>
<Flammability>0.5</Flammability>
<WorkToBuild>36000</WorkToBuild>
<MaxHitPoints>35000</MaxHitPoints>
<Flammability>0</Flammability>
<WorkToBuild>1</WorkToBuild>
<Mass>125</Mass>
<Comfort>0.65</Comfort>
</statBases>
<costList>
<WULA_Alloy>50</WULA_Alloy>
<ComponentIndustrial>1</ComponentIndustrial>
<WULA_Alloy>5000</WULA_Alloy>
</costList>
<!-- <designationCategory>WULA_Buildings</designationCategory> -->
<castEdgeShadows>true</castEdgeShadows>
<designationCategory>WULA_Buildings</designationCategory>
<tickerType>Normal</tickerType>
<canOverlapZones>true</canOverlapZones>
<rotatable>true</rotatable>
<hasInteractionCell>false</hasInteractionCell>
<defaultPlacingRot>East</defaultPlacingRot>
<defaultPlacingRot>North</defaultPlacingRot>
<selectable>true</selectable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
@@ -768,13 +774,61 @@
<paintable>true</paintable>
<isInert>true</isInert>
</building>
<modExtensions>
<li Class="WulaFallenEmpire.ExtraGraphicsExtension">
<globalHoverSpeed>0</globalHoverSpeed>
<globalHoverIntensity>0</globalHoverIntensity>
<graphicLayers>
<li>
<texturePath>Wula/Building/WULA_Sky_Lock/WULA_Sky_Lock_B</texturePath>
<shaderName>Transparent</shaderName>
<scale>(4,350)</scale>
<drawOrder>1</drawOrder>
<offset>(0,1,123.75)</offset>
<hoverSpeed>0</hoverSpeed> <!-- 比全局慢 -->
<hoverIntensity>0</hoverIntensity> <!-- 比全局弱 -->
<hoverPhase>0</hoverPhase>
</li>
<li>
<texturePath>Wula/Building/WULA_Sky_Lock/WULA_Sky_Lock_A</texturePath>
<shaderName>Transparent</shaderName>
<scale>(4,4)</scale>
<drawOrder>0</drawOrder>
<offset>(0,1,0)</offset>
<hoverSpeed>0</hoverSpeed> <!-- 比全局慢 -->
<hoverIntensity>0</hoverIntensity> <!-- 比全局弱 -->
<hoverPhase>0</hoverPhase>
</li>
</graphicLayers>
</li>
</modExtensions>
<comps>
<li Class="WulaFallenEmpire.CompProperties_DamageReceiver">
<maxDamageCapacity>5000</maxDamageCapacity>
<damageDecayRate>10</damageDecayRate>
<damageDecayInterval>30</damageDecayInterval>
<showDamageBar>true</showDamageBar>
<canBeDestroyedByDamage>true</canBeDestroyedByDamage>
<li Class="WulaFallenEmpire.CompProperties_AreaShield">
<radius>7</radius>
<baseHitPoints>20</baseHitPoints>
<rechargeDelay>2400</rechargeDelay>
<rechargeHitPointsIntervalTicks>30</rechargeHitPointsIntervalTicks>
<!-- 效果器配置 -->
<absorbEffecter>Interceptor_BlockedProjectile</absorbEffecter>
<interceptEffecter>Interceptor_BlockedProjectile</interceptEffecter>
<breakEffecter>Shield_Break</breakEffecter>
<reactivateEffecter>BulletShieldGenerator_Reactivate</reactivateEffecter>
<color>(0.9, 0.2, 0.2, 0.5)</color> <!-- 护盾气泡的颜色 (RGBA) -->
<!-- 拦截设置 -->
<interceptGroundProjectiles>true</interceptGroundProjectiles>
<interceptNonHostileProjectiles>false</interceptNonHostileProjectiles>
<interceptAirProjectiles>true</interceptAirProjectiles>
<!-- 反射设置 -->
<canReflect>true</canReflect>
<reflectChance>1</reflectChance>
<reflectAngleRange>30</reflectAngleRange>
<reflectCost>0</reflectCost>
<reflectEffecter>Interceptor_BlockedProjectile</reflectEffecter>
</li>
</comps>
</ThingDef>

View File

@@ -1,103 +1,101 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!-- Prefab Spawner Skyfaller -->
<ThingDef ParentName="SkyfallerBase">
<defName>WULA_Prefab_Incoming</defName>
<label>乌拉帝国建筑(空投中)</label>
<thingClass>WulaFallenEmpire.Skyfaller_PrefabSpawner</thingClass>
<size>(13,13)</size>
<graphicData>
<texPath>Wula/Building/Linked/WULA_Fortress_Wall_MenuIcon</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutFlying</shaderType>
<drawSize>(13,13)</drawSize>
</graphicData>
<skyfaller>
<movementType>Accelerate</movementType>
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
<shadowSize>(13, 13)</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>
</skyfaller>
<comps>
<li Class="CompProperties_Effecter">
<effecterDef>Smoke_Joint</effecterDef>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>WULA_Prefab_Cleanzone_NewColonyBase_Beacon</defName>
<label>乌拉预制件空投信标-小型前哨站</label>
<description>一个用于呼叫建筑的信标,用于快速建造一个小型前哨站。</description>
<uiIconPath>Wula/Building/Linked/WULA_Fortress_Wall_MenuIcon</uiIconPath>
<tickerType>Normal</tickerType>
<graphicData>
<texPath>Wula/Building/WULA_Dropping_Building_Cleanzone</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(13,13)</drawSize>
<damageData>
<enabled>false</enabled>
</damageData>
</graphicData>
<rotatable>false</rotatable>
<neverMultiSelect>false</neverMultiSelect>
<blockLight>false</blockLight>
<holdsRoof>false</holdsRoof>
<coversFloor>false</coversFloor>
<blockWind>false</blockWind>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<pathCost>0</pathCost>
<castEdgeShadows>false</castEdgeShadows>
<useStuffTerrainAffordance>false</useStuffTerrainAffordance>
<staticSunShadowHeight Inherit="False" IsNull="True" />
<fillPercent>0</fillPercent>
<canOverlapZones>false</canOverlapZones>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<statBases>
<MaxHitPoints>1</MaxHitPoints>
<WorkToBuild>0</WorkToBuild>
<Mass>1</Mass>
<Flammability>0</Flammability>
</statBases>
<size>(13,13)</size>
<constructionSkillPrerequisite>0</constructionSkillPrerequisite>
<resourcesFractionWhenDeconstructed>1</resourcesFractionWhenDeconstructed>
<stuffCategories Inherit="False"/>
<researchPrerequisites Inherit="False">
<li>WULA_Structure_Technology</li>
</researchPrerequisites>
<costStuffCount>0</costStuffCount>
<costList>
<WULA_Alloy>4</WULA_Alloy>
</costList>
<building>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
<isAirtight>false</isAirtight>
<isStuffableAirtight>false</isStuffableAirtight>
</building>
<comps>
<li Class="WulaFallenEmpire.CompProperties_PrefabSkyfallerCaller">
<prefabDefName>WULA_NewColonyBase</prefabDefName>
<freePrefab>true</freePrefab>
<skyfallerDef>WULA_Prefab_Incoming</skyfallerDef>
<destroyBuilding>true</destroyBuilding>
<delayTicks>1</delayTicks>
<allowThinRoof>true</allowThinRoof>
<allowThickRoof>false</allowThickRoof>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>WULA_Prefab_Cleanzone_NewColonyBase_Beacon</defName>
<label>乌拉预制件空投信标-小型前哨站</label>
<description>一个用于呼叫建筑的信标,用于快速建造一个小型前哨站。</description>
<uiIconPath>Wula/Building/Linked/WULA_Fortress_Wall_MenuIcon</uiIconPath>
<tickerType>Normal</tickerType>
<graphicData>
<texPath>Wula/Building/WULA_Dropping_Building_Cleanzone_Plus</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(13,13)</drawSize>
<damageData>
<enabled>false</enabled>
</damageData>
</graphicData>
<rotatable>false</rotatable>
<neverMultiSelect>false</neverMultiSelect>
<blockLight>false</blockLight>
<holdsRoof>false</holdsRoof>
<coversFloor>false</coversFloor>
<blockWind>false</blockWind>
<altitudeLayer>BuildingOnTop</altitudeLayer>
<passability>PassThroughOnly</passability>
<pathCost>0</pathCost>
<castEdgeShadows>false</castEdgeShadows>
<useStuffTerrainAffordance>false</useStuffTerrainAffordance>
<staticSunShadowHeight Inherit="False" IsNull="True" />
<fillPercent>0</fillPercent>
<canOverlapZones>false</canOverlapZones>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<statBases>
<MaxHitPoints>1</MaxHitPoints>
<WorkToBuild>0</WorkToBuild>
<Mass>1</Mass>
<Flammability>0</Flammability>
</statBases>
<size>(13,13)</size>
<constructionSkillPrerequisite>0</constructionSkillPrerequisite>
<resourcesFractionWhenDeconstructed>1</resourcesFractionWhenDeconstructed>
<stuffCategories Inherit="False" />
<researchPrerequisites Inherit="False">
<li>WULA_Structure_Technology</li>
</researchPrerequisites>
<costStuffCount>0</costStuffCount>
<costList>
<WULA_Alloy>4</WULA_Alloy>
</costList>
<building>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
<isAirtight>false</isAirtight>
<isStuffableAirtight>false</isStuffableAirtight>
</building>
<comps>
<li Class="WulaFallenEmpire.CompProperties_PrefabSkyfallerCaller">
<prefabDefName>WULA_NewColonyBase</prefabDefName>
<freePrefab>true</freePrefab>
<skyfallerDef>WULA_Prefab_Incoming</skyfallerDef>
<destroyBuilding>true</destroyBuilding>
<delayTicks>1</delayTicks>
<allowThinRoof>true</allowThinRoof>
<allowThickRoof>false</allowThickRoof>
</li>
</comps>
</ThingDef>
<!-- Prefab Spawner Skyfaller -->
<ThingDef ParentName="SkyfallerBase">
<defName>WULA_Prefab_Incoming</defName>
<label>乌拉帝国建筑(空投中)</label>
<thingClass>WulaFallenEmpire.Skyfaller_PrefabSpawner</thingClass>
<size>(13,13)</size>
<graphicData>
<texPath>Wula/Building/WULA_Prefab_Incoming</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutFlying</shaderType>
<drawSize>(19,19)</drawSize>
</graphicData>
<skyfaller>
<movementType>Accelerate</movementType>
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
<shadowSize>(13, 13)</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>
</skyfaller>
<comps>
<li Class="CompProperties_Effecter">
<effecterDef>Smoke_Joint</effecterDef>
</li>
</comps>
</ThingDef>
</Defs>

View File

@@ -39,7 +39,7 @@
</researchPrerequisites>
<statBases>
<MaxHitPoints>1</MaxHitPoints>
<WorkToBuild>1</WorkToBuild>
<WorkToBuild>0</WorkToBuild>
<Mass>1</Mass>
<Flammability>0</Flammability>
</statBases>

View File

@@ -1672,13 +1672,12 @@
<reflectCost>0</reflectCost>
<reflectEffecter>Interceptor_BlockedProjectile</reflectEffecter>
</li>
<li Class="WulaFallenEmpire.CompProperties_DamageTransfer">
<damageTransferRatio>0.75</damageTransferRatio>
<maxTransferRange>25</maxTransferRange>
<requireLineOfSight>false</requireLineOfSight>
<li Class="WulaFallenEmpire.CompProperties_DamageInterceptor">
<damageTransferRatio>1</damageTransferRatio>
<targetBuildingDefName>WULA_Sky_Lock</targetBuildingDefName>
<healthThreshold>
<min>0.1</min>
<max>0.9</max>
<min>0</min>
<max>1</max>
</healthThreshold>
</li>
<!-- 飞行组件 -->

View File

@@ -1,20 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThoughtDef>
<defName>WULA_Energy_Furnace_Though_Hunger</defName>
<workerClass>ThoughtWorker_Hediff</workerClass>
<hediff>WULA_Energy_Furnace_Hediff_Hunger</hediff>
<validWhileDespawned>true</validWhileDespawned>
<developmentalStageFilter>Baby, Child, Adult</developmentalStageFilter>
<stages>
<li>
<label>小馋猫</label>
<description>我要疯狂偷吃能源核心,这真是太爽了!</description>
<baseMoodEffect>20</baseMoodEffect>
</li>
</stages>
</ThoughtDef>
<ThoughtDef>
<defName>Mech_WULA_Cat_Cute_Though</defName>
<workerClass>ThoughtWorker_Hediff</workerClass>