This commit is contained in:
2025-08-01 21:27:01 +08:00
parent 78ab937b2b
commit f087d995bb
8 changed files with 970 additions and 213 deletions

View File

@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<WulaFallenEmpire.PsychicRitual_TechOffering>
<defName>WULA_Ritual_TechOffering</defName>
<label>帝国技术献祭</label>
<description>乌拉帝国用于交换失落技术的灵能仪式。通过献上高价值的科技产品,帝国可以从时空的裂隙中获得罕见的武器或工具。</description>
<durationTicks>1800</durationTicks>
<cooldownDays>15</cooldownDays>
<researchPrerequisite>BasicPsychicRituals</researchPrerequisite>
<iconPath>UI/PsychicRituals/PsychicRitual_Default</iconPath>
<requiredOffering>
<filter>
<thingDefs>
<li>TechprofSubpersonaCore</li>
</thingDefs>
</filter>
<count>1</count>
</requiredOffering>
<extraOfferings>
<li>
<thingDef>Gold</thingDef>
<power>0.005</power>
</li>
<li>
<thingDef>Plasteel</thingDef>
<power>0.01</power>
</li>
<li>
<thingDef>Uranium</thingDef>
<power>0.015</power>
</li>
<li>
<thingDef>ComponentSpacer</thingDef>
<power>0.05</power>
</li>
<li>
<thingDef>TechprofSubpersonaCore</thingDef>
<power>0.2</power>
</li>
</extraOfferings>
<rewardWeaponPool>
<li>WULA_MW_Breaker_Bar</li>
<li>WULA_MW_Charge_Mace</li>
<li>WULA_MW_Lance</li>
<li>WULA_MW_ChainSword</li>
<li>WULA_MW_Glaive</li>
<li>WULA_RW_Fractal_AR</li>
<li>WULA_RW_StarDrift_SG</li>
<li>WULA_RW_Sphene_MG</li>
<li>WULA_RW_Handle_Cannon</li>
<li>WULA_RW_AutoCannon</li>
<li>WULA_RW_Auto_GL</li>
<li>WULA_RW_DM_AR</li>
<li>WULA_RW_DM_Cannon</li>
</rewardWeaponPool>
<qualityThresholds>
<li>
<threshold>1.0</threshold>
<quality>Legendary</quality>
</li>
<li>
<threshold>0.8</threshold>
<quality>Masterwork</quality>
</li>
<li>
<threshold>0.5</threshold>
<quality>Excellent</quality>
</li>
<li>
<threshold>0.2</threshold>
<quality>Normal</quality>
</li>
<li>
<threshold>0.0</threshold>
<quality>Poor</quality>
</li>
</qualityThresholds>
</WulaFallenEmpire.PsychicRitual_TechOffering>
</Defs>

View File

@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BuildingBase">
<defName>WULA_OfferingPedestal</defName>
<label>帝国献祭基座</label>
<description>一个用于进行灵能献祭的华丽基座。它可以作为灵能的冥想焦点,并能通过附近的灵能设施获得强化。它是启动帝国科技献祭仪式的关键建筑。</description>
<tickerType>Normal</tickerType>
<passability>Standable</passability>
<scatterableOnMapGen>false</scatterableOnMapGen>
<building>
<sowTag>SupportPlantsOnly</sowTag>
<canPlaceOverImpassablePlant>false</canPlaceOverImpassablePlant>
<ai_chillDestination>false</ai_chillDestination>
<wakeDormantPawnsOnConstruction>false</wakeDormantPawnsOnConstruction>
<artificialForMeditationPurposes>false</artificialForMeditationPurposes>
<buildingTags>
<li>Anomaly</li>
</buildingTags>
</building>
<uiOrder>200</uiOrder>
<graphicData>
<texPath>Things/Building/PsychicRitualSpot</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(3, 3)</drawSize>
</graphicData>
<size>(3, 3)</size>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<researchPrerequisites>
<li>PsychicRituals</li>
</researchPrerequisites>
<inspectorTabs>
<li>ITab_Entity</li>
</inspectorTabs>
<designationCategory>Misc</designationCategory>
<altitudeLayer>FloorEmplacement</altitudeLayer>
<selectable>true</selectable>
<rotatable>false</rotatable>
<statBases>
<WorkToBuild>0</WorkToBuild>
<MeditationFocusStrength>0.08</MeditationFocusStrength>
</statBases>
<useHitPoints>false</useHitPoints>
<placeWorkers>
<li>PlaceWorker_NeverAdjacentUnstandableRadial</li>
</placeWorkers>
<drawPlaceWorkersWhileSelected>True</drawPlaceWorkersWhileSelected>
<comps>
<li Class="CompProperties_PsychicRitualSpot">
<ritualDef>WULA_FallenEmpire_TechOffering</ritualDef>
<maxDistance>10</maxDistance>
</li>
<li Class="CompProperties_AffectedByFacilities">
<linkableFacilities>
<li>ShardBeacon</li>
<li>VoidSculpture</li>
</linkableFacilities>
</li>
<li Class="CompProperties_MeditationFocus">
<statDef>MeditationFocusStrength</statDef>
<focusTypes>
<li>Void</li>
</focusTypes>
<offsets>
<li Class="FocusStrengthOffset_BuildingDefs">
<defs>
<li>ShardBeacon</li>
</defs>
<offsetPerBuilding>0.02</offsetPerBuilding>
<radius>9.9</radius>
<maxBuildings>4</maxBuildings>
<explanationKey>MeditationFocusPerBuilding</explanationKey>
<explanationKeyAbstract>MeditationFocusPerBuildingAbstract</explanationKeyAbstract>
</li>
<li Class="FocusStrengthOffset_BuildingDefs">
<defs>
<li>VoidSculpture</li>
</defs>
<offsetPerBuilding>0.02</offsetPerBuilding>
<radius>9.9</radius>
<maxBuildings>6</maxBuildings>
<explanationKey>MeditationFocusPerBuilding</explanationKey>
<explanationKeyAbstract>MeditationFocusPerBuildingAbstract</explanationKeyAbstract>
</li>
</offsets>
</li>
</comps>
</ThingDef>
</Defs>