This commit is contained in:
2025-12-03 17:32:18 +08:00
committed by Tourswen
parent cd8a420837
commit 6217098163
14 changed files with 1509 additions and 95 deletions

View File

@@ -22,11 +22,14 @@
<FleckDef ParentName="FleckBase">
<defName>WULA_GunTail_Lighting</defName>
<altitudeLayer>Projectile</altitudeLayer>
<fadeOutTime>0.5</fadeOutTime>
<fadeInTime>0.50</fadeInTime>
<solidTime>1</solidTime>
<fadeOutTime>1.2</fadeOutTime>
<growthRate>0.005</growthRate>
<graphicData>
<texPath>Wula/Mote/WULA_Lighting_Beam</texPath>
<shaderType>MoteGlow</shaderType>
<color>(113,165,225,155)</color>
<color>(113,165,225,255)</color>
<drawSize>(0.5,2)</drawSize>
</graphicData>
</FleckDef>

View File

@@ -27,6 +27,13 @@
<value>1</value>
<type>Int</type>
</li>
<!-- 设置私人好感 -->
<li Class="WulaFallenEmpire.Effect_SetVariable">
<name>Wula_Legion_Personal_Goodwill</name>
<value>0</value>
<type>Int</type>
</li>
</effects>
</li>
</immediateEffects>
@@ -41,6 +48,9 @@
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_10</defName>
</li>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
@@ -68,6 +78,28 @@
</li>
</optionEffects>
</li>
<li>
<label>有什么任务吗···</label>
<!-- <disabledReason>殖民地的表现让P.I.A相当不满意不会为殖民地派出任何额外增援</disabledReason>
<conditions>
<li Class="WulaFallenEmpire.Condition_VariableGreaterThan">
<name>Wula_Goodwill_To_PIA</name>
<value>-75</value>
</li>
</conditions> -->
<hideWhenDisabled>false</hideWhenDisabled>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_50</defName>
</li>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们想要接受晋级审查···</label>
<hideWhenDisabled>true</hideWhenDisabled>
@@ -124,6 +156,218 @@
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_UI_Legion_10</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_5</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>嗯嗯?</li>
<li>好的——那么,你们要问什么?</li>
<li>哎,行吧,想问什么?</li>
</descriptions>
<options>
<li>
<label>你是谁?</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_11</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们需要做什么?(发展流程)</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_14</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>没有别的问题了······</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_1</defName>
</li>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_UI_Legion_11</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_3</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>记忆体坏掉了?\n\n···好吧你们可以叫我「军团」我是负责管理乌拉帝国行星封锁机关舰队的AI根据你们的编制来说我是你们的顶头上司。在登陆地表前机械行会没有给你们设置正确的记忆扇区吗</li>
</descriptions>
<options>
<li>
<label>行星封锁机关?</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_12</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>机械行会?</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_13</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们没有相关问题了···</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_10</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_UI_Legion_12</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_3</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>行星封锁机关是隶属于乌拉帝国开发署的暴力机关,控制着开发署所有的舰队,负责在疆域开拓中的侵略性接触。\n\n通常来说类似边缘世界这样的星球我们会直接封锁轨道轰炸所有现存聚居地然后再投放殖民者不过看起来这个世界还有救所以你们作为第一批先遣队投放到星球上和其他异族接触试探一下明白了吗</li>
</descriptions>
<options>
<li>
<label>我们还有别的问题···</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_11</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们没有相关问题了···</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_10</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_UI_Legion_13</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_3</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>乌拉帝国机械行会负责所有的合成人的生产、审查、投放和初始化,你们在部署到舰队上时,应该会有一个机械师帮你们设置好预载了记忆的扇区,但是很显然那家伙失职了,才让你们在这里拿着一堆你们早该知道的事情来烦我。</li>
</descriptions>
<options>
<li>
<label>我们还有别的问题···</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_11</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们没有相关问题了···</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_10</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_UI_Legion_14</defName>
<label>未知通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_3</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
<li>你们的意思是,你们连不知道要干什么就被丢下来了?\n\n哎你们要做的就是施展你们的百般武艺活下来建立一个根据地。根据帝国税收法你们每个一段时间需要上交税款——作为帝国殖民地舰队和机群将成为你们的后盾。\n\n如果你们觉得你们准备好了可以申请权限进阶审查我会部署一个带卫队的分体去你们的殖民地考察一段时间然后根据评级决定是否给你们晋升。晋升后的殖民地会获得更多的许可允许调用更加强大的武备和支援。</li>
</descriptions>
<options>
<li>
<label>我们没有相关问题了···</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_10</defName>
</li>
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_UI_Legion_30</defName>
<label>和P.I.A的通讯</label>
@@ -827,6 +1071,102 @@
</li>
</options>
</WulaFallenEmpire.EventDef>
<WulaFallenEmpire.EventDef>
<defName>Wula_UI_Legion_50</defName>
<label>和P.I.A的通讯</label>
<portraitPath>Wula/Events/Portraits/WULA_Legion_1</portraitPath>
<characterName>「军团」,P.I.A</characterName>
<descriptions>
</descriptions>
<conditionalDescriptions>
<li>
<conditions>
<li Class="WulaFallenEmpire.Condition_VariableLessThanOrEqual">
<name>Wula_Reinforcement_From_PIA_Level</name>
<value>2</value>
</li>
</conditions>
<text>好吧,我手上有一些活,怎么说呢,不太好走乌拉帝国的标准审查流程,我的断爪卫队也不适合去做这些事情,确实需要有人帮我处理。\n\n你们挑个感兴趣的类型吧我会把任务的需求发给你们。</text>
</li>
<li>
<conditions>
<li Class="WulaFallenEmpire.Condition_VariableEquals">
<name>Wula_Reinforcement_From_PIA_Level</name>
<value>3</value>
</li>
</conditions>
<text>你们应该已经遇到了那些帝国的叛徒了?我们已经陆陆续续地发现了她们在这个星球活动的迹象,你们的任务很难避开她们,要做好打硬仗的准备。\n\n你们挑个感兴趣的类型吧我会把任务的需求发给你们。</text>
</li>
</conditionalDescriptions>
<immediateEffects>
<li>
<effects>
</effects>
</li>
</immediateEffects>
<options>
<li>
<label>我们希望接受远征任务</label>
<!-- <useCustomColors>false</useCustomColors>
<normalColor>(130,49,47,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(171,87,85,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor> -->
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
<li>
<label>我们希望接受防守任务</label>
<!-- <useCustomColors>false</useCustomColors>
<normalColor>(130,49,47,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(171,87,85,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor> -->
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
<li>
<label>有没有什么特殊的任务···</label>
<!-- <useCustomColors>false</useCustomColors>
<normalColor>(130,49,47,255)</normalColor>
<hoverColor>(157,201,185,195)</hoverColor>
<textColor>(171,87,85,255)</textColor>
<textHoverColor>(255,255,255,255)</textHoverColor> -->
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
<li>
<label>现在不太合适···</label>
<useCustomColors>false</useCustomColors>
<optionEffects>
<li>
<effects>
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_Legion_1</defName>
</li>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
</options>
</WulaFallenEmpire.EventDef>
<!-- 乱丢垃圾 -->
<WulaFallenEmpire.EventDef>

View File

@@ -1,40 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<QuestScriptDef>
<defName>OpportunitySite_BanditCamp</defName>
<rootSelectionWeight>1.0</rootSelectionWeight>
<rootMinPoints>350</rootMinPoints>
<canGiveRoyalFavor>true</canGiveRoyalFavor>
<expireDaysRange>4~8</expireDaysRange>
<successHistoryEvent MayRequire="Ludeon.RimWorld.Ideology">Raided_BanditCamp</successHistoryEvent>
<everAcceptableInSpace>true</everAcceptableInSpace>
<defName>WULA_P_Mission_Attack_Camp</defName>
<rootSelectionWeight>0</rootSelectionWeight>
<autoAccept>false</autoAccept>
<sendAvailableLetter>true</sendAvailableLetter>
<defaultChallengeRating>3</defaultChallengeRating> <!-- 挑战等级(星级) -->
<isRootSpecial>true</isRootSpecial> <!-- 特殊任务 -->
<defaultCharity>false</defaultCharity> <!-- 是否仁善 -->
<!-- 命名规则 -->
<questNameRules>
<rulesStrings>
<li>questName->The [bandit] [camp]</li>
<li>questName->[bandit] [camp]</li>
<li>questName->[asker_nameDef] and the [camp]</li>
<li>camp->Camp</li>
<li>camp->Outpost</li>
<li>camp->Lair</li>
<li>camp->Encampment</li>
<li>bandit->Bandit</li>
<li>bandit->Raider</li>
<li>bandit->Outlaw</li>
<li>bandit->Desperado</li>
<li>bandit->Fugitive</li>
<li>bandit->Marauder</li>
<li>bandit->Robber</li>
<li>bandit->Brigand</li>
<li>questName->WULA_P_Mission_Attack_Camp_questName</li>
</rulesStrings>
</questNameRules>
<questDescriptionRules>
<include>
<li>QuestHospitalityCommon</li>
</include>
<rulesStrings>
<li>questDescription->[asker_nameFull], [asker_faction_leaderTitle] of [asker_faction_name], has sent us a message. Apparently, [siteFaction_pawnsPlural] based in a nearby camp have been raiding their caravans. The camp is controlled by [siteFaction_name].
\n[asker_nameDef] is asking us to destroy the camp, which means eliminating all enemies and turrets. [asker_label] says that [sitePart0_description].</li>
<li>questDescription->WULA_P_Mission_Attack_Camp_questDescription</li>
</rulesStrings>
</questDescriptionRules>
<root Class="QuestNode_Sequence">
<nodes>
<!-- 挑战数据 -->
<li Class="QuestNode_SubScript">
<def>Util_RandomizePointsChallengeRating</def>
<parms>
@@ -51,13 +41,6 @@
<canBeSpace>true</canBeSpace>
</li>
<li Class="QuestNode_GetPawn">
<storeAs>asker</storeAs>
<mustBeFactionLeader>true</mustBeFactionLeader>
<allowPermanentEnemyFaction>false</allowPermanentEnemyFaction>
<hostileWeight>0.15</hostileWeight>
</li>
<li Class="QuestNode_GetSiteTile">
<storeAs>siteTile</storeAs>
<preferCloserTiles>true</preferCloserTiles>

View File

@@ -4,6 +4,6 @@
<defName>WULA_ResearchTab</defName>
<label>乌拉帝国科技</label>
<generalTitle>乌拉帝国科技项目</generalTitle>
<generalDescription>解锁和乌拉帝国相关的研究项目,破解强大的堕落帝国科技产物机械</generalDescription>
<generalDescription>解锁和乌拉帝国相关的研究项目,申请强大的堕落帝国科技产物、舰队和战争机械。</generalDescription>
</ResearchTabDef>
</Defs>

View File

@@ -776,7 +776,16 @@
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_WM_Panzer_Turret</defName>
<label>金红石穿甲弹</label>
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
<thingClass>WulaFallenEmpire.Projectile_WulaLineAttack</thingClass>
<modExtensions>
<li Class="WulaFallenEmpire.Wula_PathPierce_Extension">
<maxHits>-1</maxHits> <!-- 无限穿透 -->
<damageFalloff>0</damageFalloff> <!-- 无伤害衰减 -->
<preventFriendlyFire>true</preventFriendlyFire> <!-- 是否阻止友方火力 -->
<tailFleckDef>WULA_GunTail_Lighting</tailFleckDef> <!-- 拖尾特效定义 -->
<hitEffecterDef>Bullet_WULA_WM_Panzer_Turret_Hit</hitEffecterDef>
</li>
</modExtensions>
<tickerType>Normal</tickerType>
<neverMultiSelect>True</neverMultiSelect>
<graphicData>
@@ -806,6 +815,54 @@
</li>
</modExtensions>
</ThingDef>
<EffecterDef>
<defName>Bullet_WULA_WM_Panzer_Turret_Hit</defName>
<children>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<positionRadius>0.1</positionRadius>
<moteDef>WULA_Mote_halo</moteDef>
<burstCount>1~1</burstCount>
<speed>0.4~0.8</speed>
<scale>0.05~0.05</scale>
<spawnLocType>OnSource</spawnLocType>
<color>(255,255,255)</color>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<positionRadius>0.02</positionRadius>
<moteDef>WULA_Mote_halo</moteDef>
<burstCount>1~1</burstCount>
<speed>0.3~0.4</speed>
<rotationRate>5~10</rotationRate>
<scale>0.1~0.2</scale>
<spawnLocType>OnSource</spawnLocType>
<color>(255,255,255)</color>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<moteDef>WULA_Mote_ChargeLanceShot</moteDef>
<burstCount>6~12</burstCount>
<scale>0.4~0.8</scale>
<speed>20~40</speed>
<angle>135~225</angle>
<positionRadius>0.01</positionRadius>
<spawnLocType>OnSource</spawnLocType>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<moteDef>WULA_Mote_ChargeLanceShot</moteDef>
<burstCount>5~9</burstCount>
<scale>0.4~0.8</scale>
<speed>10~20</speed>
<angle>135~225</angle>
<positionRadius>0.01</positionRadius>
<spawnLocType>OnSource</spawnLocType>
</li>
</children>
<offsetTowardsTarget>0.25~0.25</offsetTowardsTarget>
<positionRadius>0.1</positionRadius>
</EffecterDef>
<!-- 激光炮 -->
<ThingDef ParentName="BuildingBase">
@@ -1689,4 +1746,4 @@
</li>
</comps>
</ThingDef>
</Defs>
</Defs>

View File

@@ -818,7 +818,7 @@
<AccuracyShort>0.7</AccuracyShort>
<AccuracyMedium>1</AccuracyMedium>
<AccuracyLong>1</AccuracyLong>
<RangedWeapon_Cooldown>0.5</RangedWeapon_Cooldown>
<RangedWeapon_Cooldown>1.5</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<WULA_Alloy>60</WULA_Alloy>
@@ -826,7 +826,7 @@
</costList>
<verbs>
<li>
<verbClass>WulaFallenEmpire.Verb_ShootWithOffset</verbClass>
<verbClass>WulaFallenEmpire.Verb_ShootBeyondTarge</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Fractal_RF</defaultProjectile>
<warmupTime>1.25</warmupTime>
@@ -865,6 +865,7 @@
<damageFalloff>0</damageFalloff> <!-- 无伤害衰减 -->
<preventFriendlyFire>true</preventFriendlyFire> <!-- 是否阻止友方火力 -->
<tailFleckDef>WULA_GunTail_Lighting</tailFleckDef> <!-- 拖尾特效定义 -->
<!-- <hitEffecterDef>Bullet_WULA_RW_Fractal_RF_Hit</hitEffecterDef> -->
</li>
</modExtensions>
<graphicData>
@@ -881,6 +882,54 @@
<stoppingPower>5</stoppingPower>
</projectile>
</ThingDef>
<EffecterDef>
<defName>Bullet_WULA_RW_Fractal_RF_Hit</defName>
<children>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<positionRadius>0.1</positionRadius>
<moteDef>WULA_Mote_halo</moteDef>
<burstCount>1~1</burstCount>
<speed>0.4~0.8</speed>
<scale>0.05~0.05</scale>
<spawnLocType>OnSource</spawnLocType>
<color>(255,255,255)</color>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<positionRadius>0.02</positionRadius>
<moteDef>WULA_Mote_halo</moteDef>
<burstCount>1~1</burstCount>
<speed>0.3~0.4</speed>
<rotationRate>5~10</rotationRate>
<scale>0.1~0.2</scale>
<spawnLocType>OnSource</spawnLocType>
<color>(255,255,255)</color>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<moteDef>WULA_Mote_ChargeLanceShot</moteDef>
<burstCount>6~12</burstCount>
<scale>0.4~0.8</scale>
<speed>20~40</speed>
<angle>135~225</angle>
<positionRadius>0.01</positionRadius>
<spawnLocType>OnSource</spawnLocType>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<moteDef>WULA_Mote_ChargeLanceShot</moteDef>
<burstCount>5~9</burstCount>
<scale>0.4~0.8</scale>
<speed>10~20</speed>
<angle>135~225</angle>
<positionRadius>0.01</positionRadius>
<spawnLocType>OnSource</spawnLocType>
</li>
</children>
<offsetTowardsTarget>0.25~0.25</offsetTowardsTarget>
<positionRadius>0.1</positionRadius>
</EffecterDef>
<ThingDef ParentName="WULA_ExperienceCore_Weapon_Ranged">
<defName>WULA_RW_StarDrift_SG</defName>
<label>DCs-7"黑曜石"</label>