2025-8-14
This commit is contained in:
@@ -50,6 +50,9 @@
|
||||
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
|
||||
</effects>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.Effect_AddQuest">
|
||||
<quest>Wula_FE_Spiritualist_Quest_1</quest>
|
||||
</li>
|
||||
</optionEffects>
|
||||
</li>
|
||||
<li>
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
<QuestScriptDef>
|
||||
<defName>Wula_FE_Spiritualist_Quest_1</defName>
|
||||
<label>乌拉的呼唤</label>
|
||||
<description>一个强大的心灵实体将它的意志强加于你的意识之中。</description>
|
||||
<root Class="QuestNode_Sequence">
|
||||
<nodes>
|
||||
<li Class="QuestNode_ResolveQuestName">
|
||||
<rules>
|
||||
<rulesStrings>
|
||||
<li>questName->乌拉的呼唤</li>
|
||||
</rulesStrings>
|
||||
</rules>
|
||||
</li>
|
||||
<li Class="QuestNode_ResolveQuestDescription">
|
||||
<rules>
|
||||
<rulesStrings>
|
||||
<li>questDescription->一个强大的心灵实体将它的意志强加于你的意识之中。</li>
|
||||
</rulesStrings>
|
||||
</rules>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.QuestNode_Root_EventLetter">
|
||||
<letterLabel>乌拉需要你的注意</letterLabel>
|
||||
<letterTitle>乌拉需要你的注意</letterTitle>
|
||||
<letterText>一个强大的心灵实体将它的意志强加于你的意识之中。它自称为“乌拉”,并要求你阅览它的消息。这股力量是压倒性的,不容拒绝。</letterText>
|
||||
<options>
|
||||
<li>
|
||||
<label>阅览消息</label>
|
||||
<optionEffects>
|
||||
<li>
|
||||
<effects>
|
||||
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
|
||||
<defName>Wula_UI_Anisia_1</defName>
|
||||
</li>
|
||||
</effects>
|
||||
</li>
|
||||
</optionEffects>
|
||||
</li>
|
||||
<li>
|
||||
<label>尝试抵抗(但失败了)</label>
|
||||
<optionEffects>
|
||||
<li>
|
||||
<effects>
|
||||
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
|
||||
<defName>Wula_UI_Anisia_1</defName>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.Effect_ShowMessage">
|
||||
<message>你试图抵抗心灵入侵,但这股力量过于强大。无论如何,消息还是涌入了你的脑海。</message>
|
||||
<messageTypeDef>NegativeEvent</messageTypeDef>
|
||||
</li>
|
||||
</effects>
|
||||
</li>
|
||||
</optionEffects>
|
||||
</li>
|
||||
</options>
|
||||
</li>
|
||||
</nodes>
|
||||
</root>
|
||||
</QuestScriptDef>
|
||||
</Defs>
|
||||
22
Source/任务框架范例/About/About.xml
Normal file
22
Source/任务框架范例/About/About.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ModMetaData>
|
||||
<name>Custom Quest - Demonstration</name>
|
||||
<author>HaiLuan</author>
|
||||
<packageId>HaiLuan.AdventureExpansion</packageId>
|
||||
<supportedVersions>
|
||||
<li>1.4</li>
|
||||
<li>1.5</li>
|
||||
<li>1.6</li>
|
||||
</supportedVersions>
|
||||
<modDependencies>
|
||||
<li>
|
||||
<packageId>HaiLuan.CustomQuestFramework</packageId>
|
||||
<displayName>Custom Quest Framework</displayName>
|
||||
<downloadUrl>https://steamcommunity.com/sharedfiles/filedetails/?id=2978572782</downloadUrl>
|
||||
</li>
|
||||
</modDependencies>
|
||||
<description>This is just a tutorial mod for Custom Quest Framework.
|
||||
Now:
|
||||
1:Small insect hive
|
||||
You found a small insect hive nearby.</description>
|
||||
</ModMetaData>
|
||||
BIN
Source/任务框架范例/About/Preview.png
Normal file
BIN
Source/任务框架范例/About/Preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1003 KiB |
1
Source/任务框架范例/About/PublishedFileId.txt
Normal file
1
Source/任务框架范例/About/PublishedFileId.txt
Normal file
@@ -0,0 +1 @@
|
||||
2978575265
|
||||
@@ -0,0 +1,422 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<QuestEditor_Library.CustomMapDataDef>
|
||||
<defName>AE_CustomMap_SmallInsectCave</defName>
|
||||
<label>Small insect hive</label>
|
||||
<size>(13, 1, 13)</size>
|
||||
<isPart>true</isPart>
|
||||
<commonality>0.8</commonality>
|
||||
<replaces>
|
||||
<li />
|
||||
</replaces>
|
||||
<customThings>
|
||||
<li Class="QuestEditor_Library.CustomThingData_LootBox">
|
||||
<def>QE_LootBox_Corpses</def>
|
||||
<position>(2,0,2)</position>
|
||||
<lootBoxName>Undefined</lootBoxName>
|
||||
<tickToOpen>100</tickToOpen>
|
||||
<openReport>AE_Loot_Corpses_Plunder</openReport>
|
||||
<destroyAfterOpening>true</destroyAfterOpening>
|
||||
<loots>
|
||||
<li>
|
||||
<dataName>寻常-材料</dataName>
|
||||
<chance>0.4</chance>
|
||||
<categorys>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~10</count>
|
||||
<category>StoneBlocks</category>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~20</count>
|
||||
<category>ResourcesRaw</category>
|
||||
</li>
|
||||
</categorys>
|
||||
</li>
|
||||
<li>
|
||||
<dataName>矿物</dataName>
|
||||
<chance>0.3</chance>
|
||||
<things>
|
||||
<li Class="QuestEditor_Library.CQFThingDefCount">
|
||||
<count>5~50</count>
|
||||
<thing>Steel</thing>
|
||||
</li>
|
||||
</things>
|
||||
</li>
|
||||
</loots>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CustomThingData_LootBox">
|
||||
<def>QE_LootBox_Corpses</def>
|
||||
<position>(3,0,2)</position>
|
||||
<lootBoxName>Undefined</lootBoxName>
|
||||
<tickToOpen>100</tickToOpen>
|
||||
<openReport>AE_Loot_Corpses_Plunder</openReport>
|
||||
<destroyAfterOpening>true</destroyAfterOpening>
|
||||
<loots>
|
||||
<li>
|
||||
<dataName>尸骸中的“幸存者”</dataName>
|
||||
<chance>0.01</chance>
|
||||
<pawnDatas>
|
||||
<li>
|
||||
<kind>Colonist</kind>
|
||||
<count>1</count>
|
||||
<dialogManager>AE_DialogManager_Survivor</dialogManager>
|
||||
<spawnType>MapGeneration</spawnType>
|
||||
<spawnMessage>AE_LootBox_Message_Survivor</spawnMessage>
|
||||
<hediffs>
|
||||
<li>
|
||||
<partLabel></partLabel>
|
||||
<hediff>AE_BodyPart_Exoskeleton</hediff>
|
||||
<part>Torso</part>
|
||||
<severity>1</severity>
|
||||
<partLabelForSeeing>躯干</partLabelForSeeing>
|
||||
</li>
|
||||
<li>
|
||||
<partLabel>left eye</partLabel>
|
||||
<hediff>AE_BodyPart_CompoundEye</hediff>
|
||||
<part>Eye</part>
|
||||
<severity>1</severity>
|
||||
<partLabelForSeeing>左眼</partLabelForSeeing>
|
||||
</li>
|
||||
</hediffs>
|
||||
</li>
|
||||
</pawnDatas>
|
||||
</li>
|
||||
<li>
|
||||
<dataName>寻常-材料</dataName>
|
||||
<chance>0.4</chance>
|
||||
<categorys>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~10</count>
|
||||
<category>StoneBlocks</category>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~20</count>
|
||||
<category>ResourcesRaw</category>
|
||||
</li>
|
||||
</categorys>
|
||||
</li>
|
||||
</loots>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CustomThingData_LootBox">
|
||||
<def>QE_LootBox_Corpses</def>
|
||||
<position>(2,0,3)</position>
|
||||
<lootBoxName>Undefined</lootBoxName>
|
||||
<tickToOpen>100</tickToOpen>
|
||||
<openReport>AE_Loot_Corpses_Plunder</openReport>
|
||||
<destroyAfterOpening>true</destroyAfterOpening>
|
||||
<loots>
|
||||
<li>
|
||||
<dataName>寻常-材料</dataName>
|
||||
<chance>0.4</chance>
|
||||
<categorys>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~10</count>
|
||||
<category>StoneBlocks</category>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~20</count>
|
||||
<category>ResourcesRaw</category>
|
||||
</li>
|
||||
</categorys>
|
||||
</li>
|
||||
<li>
|
||||
<dataName>矿物</dataName>
|
||||
<chance>0.3</chance>
|
||||
<things>
|
||||
<li Class="QuestEditor_Library.CQFThingDefCount">
|
||||
<count>5~50</count>
|
||||
<thing>Steel</thing>
|
||||
</li>
|
||||
</things>
|
||||
</li>
|
||||
</loots>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CustomThingData_LootBox">
|
||||
<def>QE_LootBox_Corpses</def>
|
||||
<position>(3,0,3)</position>
|
||||
<lootBoxName>Undefined</lootBoxName>
|
||||
<tickToOpen>100</tickToOpen>
|
||||
<openReport>AE_Loot_Corpses_Plunder</openReport>
|
||||
<destroyAfterOpening>true</destroyAfterOpening>
|
||||
<loots>
|
||||
<li>
|
||||
<dataName>寻常-材料</dataName>
|
||||
<chance>0.4</chance>
|
||||
<categorys>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~10</count>
|
||||
<category>StoneBlocks</category>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~20</count>
|
||||
<category>ResourcesRaw</category>
|
||||
</li>
|
||||
</categorys>
|
||||
</li>
|
||||
<li>
|
||||
<dataName>矿物</dataName>
|
||||
<chance>0.3</chance>
|
||||
<things>
|
||||
<li Class="QuestEditor_Library.CQFThingDefCount">
|
||||
<count>5~50</count>
|
||||
<thing>Steel</thing>
|
||||
</li>
|
||||
</things>
|
||||
</li>
|
||||
</loots>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CustomThingData_LootBox">
|
||||
<def>QE_LootBox_Corpses</def>
|
||||
<position>(11,0,5)</position>
|
||||
<lootBoxName>aw</lootBoxName>
|
||||
<tickToOpen>100</tickToOpen>
|
||||
<openReport>AE_Loot_Corpses_Plunder</openReport>
|
||||
<destroyAfterOpening>true</destroyAfterOpening>
|
||||
<loots>
|
||||
<li>
|
||||
<dataName>稀有</dataName>
|
||||
<chance>0.001</chance>
|
||||
<message>AE_Loot_Corpses_Rare</message>
|
||||
<things>
|
||||
<li Class="QuestEditor_Library.CQFThingDefCount">
|
||||
<count>1~3</count>
|
||||
<thing>Apparel_PackTox</thing>
|
||||
</li>
|
||||
</things>
|
||||
<categorys>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~3</count>
|
||||
<category>Artifacts</category>
|
||||
</li>
|
||||
</categorys>
|
||||
</li>
|
||||
<li>
|
||||
<dataName>寻常</dataName>
|
||||
<chance>0.2</chance>
|
||||
<things>
|
||||
<li Class="QuestEditor_Library.CQFThingDefCount">
|
||||
<count>1~15</count>
|
||||
<thing>ComponentIndustrial</thing>
|
||||
</li>
|
||||
</things>
|
||||
<categorys>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~15</count>
|
||||
<category>Leathers</category>
|
||||
</li>
|
||||
</categorys>
|
||||
</li>
|
||||
<li>
|
||||
<dataName>寻常-材料</dataName>
|
||||
<chance>0.4</chance>
|
||||
<categorys>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~10</count>
|
||||
<category>StoneBlocks</category>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~20</count>
|
||||
<category>ResourcesRaw</category>
|
||||
</li>
|
||||
</categorys>
|
||||
</li>
|
||||
<li>
|
||||
<dataName>矿物</dataName>
|
||||
<chance>0.3</chance>
|
||||
<things>
|
||||
<li Class="QuestEditor_Library.CQFThingDefCount">
|
||||
<count>5~50</count>
|
||||
<thing>Steel</thing>
|
||||
</li>
|
||||
</things>
|
||||
</li>
|
||||
</loots>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CustomThingData_LootBox">
|
||||
<def>QE_LootBox_Corpses</def>
|
||||
<position>(3,0,7)</position>
|
||||
<lootBoxName>Undefined</lootBoxName>
|
||||
<tickToOpen>100</tickToOpen>
|
||||
<openReport>AE_Loot_Corpses_Plunder</openReport>
|
||||
<destroyAfterOpening>true</destroyAfterOpening>
|
||||
<loots>
|
||||
<li>
|
||||
<dataName>寻常-材料</dataName>
|
||||
<chance>0.4</chance>
|
||||
<categorys>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~10</count>
|
||||
<category>StoneBlocks</category>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~20</count>
|
||||
<category>ResourcesRaw</category>
|
||||
</li>
|
||||
</categorys>
|
||||
</li>
|
||||
<li>
|
||||
<dataName>矿物</dataName>
|
||||
<chance>0.3</chance>
|
||||
<things>
|
||||
<li Class="QuestEditor_Library.CQFThingDefCount">
|
||||
<count>5~50</count>
|
||||
<thing>Steel</thing>
|
||||
</li>
|
||||
</things>
|
||||
</li>
|
||||
</loots>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CustomThingData_LootBox">
|
||||
<def>QE_LootBox_Corpses</def>
|
||||
<position>(4,0,8)</position>
|
||||
<lootBoxName>Undefined</lootBoxName>
|
||||
<tickToOpen>100</tickToOpen>
|
||||
<openReport>AE_Loot_Corpses_Plunder</openReport>
|
||||
<destroyAfterOpening>true</destroyAfterOpening>
|
||||
<loots>
|
||||
<li>
|
||||
<dataName>寻常-材料</dataName>
|
||||
<chance>0.4</chance>
|
||||
<categorys>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~10</count>
|
||||
<category>StoneBlocks</category>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CQFThingCategoryCount">
|
||||
<count>1~20</count>
|
||||
<category>ResourcesRaw</category>
|
||||
</li>
|
||||
</categorys>
|
||||
</li>
|
||||
<li>
|
||||
<dataName>矿物</dataName>
|
||||
<chance>0.3</chance>
|
||||
<things>
|
||||
<li Class="QuestEditor_Library.CQFThingDefCount">
|
||||
<count>5~50</count>
|
||||
<thing>Steel</thing>
|
||||
</li>
|
||||
</things>
|
||||
</li>
|
||||
</loots>
|
||||
</li>
|
||||
</customThings>
|
||||
<pawns>
|
||||
<li>
|
||||
<key>(6, 0, 4)</key>
|
||||
<value>
|
||||
<li>
|
||||
<kind>Megaspider</kind>
|
||||
<enableLord>true</enableLord>
|
||||
<count>5</count>
|
||||
<faction>Insect</faction>
|
||||
<routeName></routeName>
|
||||
<duty>Defend</duty>
|
||||
<spawnType>MapGeneration</spawnType>
|
||||
</li>
|
||||
</value>
|
||||
</li>
|
||||
<li>
|
||||
<key>(6, 0, 6)</key>
|
||||
<value>
|
||||
<li>
|
||||
<kind>Megaspider</kind>
|
||||
<enableLord>true</enableLord>
|
||||
<count>5</count>
|
||||
<faction>Insect</faction>
|
||||
<routeName></routeName>
|
||||
<duty>Defend</duty>
|
||||
<spawnType>MapGeneration</spawnType>
|
||||
</li>
|
||||
</value>
|
||||
</li>
|
||||
</pawns>
|
||||
<roofRects>
|
||||
<li>
|
||||
<key>RoofRockThin</key>
|
||||
<value>
|
||||
<li>(1,1,8,3)</li>
|
||||
<li>(2,0,8,0)</li>
|
||||
<li>(1,4,2,9)</li>
|
||||
<li>(3,8,12,9)</li>
|
||||
<li>(9,4,12,7)</li>
|
||||
<li>(3,10,10,11)</li>
|
||||
</value>
|
||||
</li>
|
||||
<li>
|
||||
<key>RoofRockThick</key>
|
||||
<value>
|
||||
<li>(3,4,8,7)</li>
|
||||
</value>
|
||||
</li>
|
||||
</roofRects>
|
||||
<terrainsRect>
|
||||
<li>
|
||||
<key>Sandstone_RoughHewn</key>
|
||||
<value>
|
||||
<li>(1,1,8,9)</li>
|
||||
<li>(2,0,8,0)</li>
|
||||
<li>(9,4,12,9)</li>
|
||||
<li>(3,10,10,11)</li>
|
||||
</value>
|
||||
</li>
|
||||
</terrainsRect>
|
||||
<thingDatas>
|
||||
<li>
|
||||
<def>Sandstone</def>
|
||||
<hitPoint>400</hitPoint>
|
||||
<allRect>
|
||||
<li>(1,1,3,1)</li>
|
||||
<li>(2,0,9,0)</li>
|
||||
<li>(1,2,1,9)</li>
|
||||
<li>(2,6,2,10)</li>
|
||||
<li>(8,2,9,3)</li>
|
||||
<li>(3,9,3,11)</li>
|
||||
<li>(9,4,12,4)</li>
|
||||
<li>(10,3,11,3)</li>
|
||||
<li>(4,11,11,11)</li>
|
||||
<li>(12,5,12,10)</li>
|
||||
<li>(10,9,11,10)</li>
|
||||
</allRect>
|
||||
</li>
|
||||
<li>
|
||||
<def>InsectJelly</def>
|
||||
<count>20</count>
|
||||
<hitPoint>0</hitPoint>
|
||||
<allRect>
|
||||
<li>(2,4,2,4)</li>
|
||||
<li>(5,1,5,1)</li>
|
||||
<li>(9,6,9,6)</li>
|
||||
</allRect>
|
||||
</li>
|
||||
<li>
|
||||
<def>Hive</def>
|
||||
<faction>Insect</faction>
|
||||
<hitPoint>130</hitPoint>
|
||||
<allRect>
|
||||
<li>(3,5,3,5)</li>
|
||||
<li>(6,2,6,2)</li>
|
||||
<li>(9,7,9,7)</li>
|
||||
</allRect>
|
||||
</li>
|
||||
<li>
|
||||
<def>GlowPod</def>
|
||||
<hitPoint>50</hitPoint>
|
||||
<allRect>
|
||||
<li>(3,4,3,4)</li>
|
||||
<li>(7,3,7,3)</li>
|
||||
<li>(10,8,10,8)</li>
|
||||
</allRect>
|
||||
</li>
|
||||
<li>
|
||||
<def>InsectJelly</def>
|
||||
<count>20</count>
|
||||
<hitPoint>60</hitPoint>
|
||||
<allRect>
|
||||
<li>(3,4,3,4)</li>
|
||||
<li>(10,7,10,7)</li>
|
||||
</allRect>
|
||||
</li>
|
||||
</thingDatas>
|
||||
</QuestEditor_Library.CustomMapDataDef>
|
||||
</Defs>
|
||||
45
Source/任务框架范例/Defs/CustomMapDataDef/Test_Cave.xml
Normal file
45
Source/任务框架范例/Defs/CustomMapDataDef/Test_Cave.xml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<QuestEditor_Library.CustomMapDataDef>
|
||||
<defName>Test_Cave</defName>
|
||||
<label>Test Cave</label>
|
||||
<size>(15, 1, 15)</size>
|
||||
<isPart>true</isPart>
|
||||
<commonality>0.8</commonality>
|
||||
<customThings>
|
||||
<li Class="QuestEditor_Library.CustomThingData_CustomMapExit">
|
||||
<def>QE_CustomMapExit</def>
|
||||
<position>(6,0,8)</position>
|
||||
<exitName>CaveExit</exitName>
|
||||
</li>
|
||||
</customThings>
|
||||
<roofRects>
|
||||
<li>
|
||||
<key>RoofRockThick</key>
|
||||
<value>
|
||||
<li>(0,0,14,14)</li>
|
||||
</value>
|
||||
</li>
|
||||
</roofRects>
|
||||
<terrainsRect>
|
||||
<li>
|
||||
<key>Sandstone_RoughHewn</key>
|
||||
<value>
|
||||
<li>(0,0,14,14)</li>
|
||||
</value>
|
||||
</li>
|
||||
</terrainsRect>
|
||||
<thingDatas>
|
||||
<li>
|
||||
<def>Sandstone</def>
|
||||
<hitPoint>400</hitPoint>
|
||||
<allRect>
|
||||
<li>(0,0,14,0)</li>
|
||||
<li>(0,1,0,14)</li>
|
||||
<li>(1,14,14,14)</li>
|
||||
<li>(14,1,14,13)</li>
|
||||
</allRect>
|
||||
</li>
|
||||
</thingDatas>
|
||||
</QuestEditor_Library.CustomMapDataDef>
|
||||
</Defs>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<QuestEditor_Library.DialogManagerDef>
|
||||
<defName>AE_DialogManager_Survivor</defName>
|
||||
<trees>
|
||||
<li>
|
||||
<tree>AE_Dialog_Survivor</tree>
|
||||
<conditions />
|
||||
</li>
|
||||
</trees>
|
||||
</QuestEditor_Library.DialogManagerDef>
|
||||
</Defs>
|
||||
91
Source/任务框架范例/Defs/DialogTreeDef/AE_Dialog_Survivor.xml
Normal file
91
Source/任务框架范例/Defs/DialogTreeDef/AE_Dialog_Survivor.xml
Normal file
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<QuestEditor_Library.DialogTreeDef>
|
||||
<defName>AE_Dialog_Survivor</defName>
|
||||
<title>AE_Survivor_Title</title>
|
||||
<requireNonHostile>true</requireNonHostile>
|
||||
<dialogReportKey>DefaultDialogKey</dialogReportKey>
|
||||
<curIndex>2</curIndex>
|
||||
<idleNodes />
|
||||
<nodeMoulds>
|
||||
<li>
|
||||
<key>0</key>
|
||||
<value>
|
||||
<text>AE_Survivor_Text_First</text>
|
||||
<index>0</index>
|
||||
<subNodeIndexs>
|
||||
<li>1</li>
|
||||
</subNodeIndexs>
|
||||
<options>
|
||||
<li>
|
||||
<text>AE_Survivor_Option_Quest</text>
|
||||
<hideWhenDisabled>false</hideWhenDisabled>
|
||||
<results>
|
||||
<li>
|
||||
<resultName>Normal</resultName>
|
||||
<actions />
|
||||
<nextIndex>1</nextIndex>
|
||||
</li>
|
||||
</results>
|
||||
</li>
|
||||
</options>
|
||||
</value>
|
||||
</li>
|
||||
<li>
|
||||
<key>1</key>
|
||||
<value>
|
||||
<text>AE_Survivor_Text_Survival</text>
|
||||
<index>1</index>
|
||||
<parentIndex>0</parentIndex>
|
||||
<subNodeIndexs />
|
||||
<options>
|
||||
<li>
|
||||
<text>AE_Survivor_Welcome</text>
|
||||
<hideWhenDisabled>false</hideWhenDisabled>
|
||||
<results>
|
||||
<li>
|
||||
<resultName>Undefined</resultName>
|
||||
<actions>
|
||||
<li Class="QuestEditor_Library.CQFAction_RemoveDialogManager">
|
||||
<targetsText>
|
||||
<li>Interviewee</li>
|
||||
</targetsText>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CQFAction_Faction">
|
||||
<targetsText>
|
||||
<li>Interviewee</li>
|
||||
</targetsText>
|
||||
<faction>PlayerColony</faction>
|
||||
</li>
|
||||
</actions>
|
||||
</li>
|
||||
</results>
|
||||
</li>
|
||||
<li>
|
||||
<text>AE_Survivor_WelcomeAE_Survivor_Attack</text>
|
||||
<hideWhenDisabled>false</hideWhenDisabled>
|
||||
<results>
|
||||
<li>
|
||||
<resultName>Undefined</resultName>
|
||||
<actions>
|
||||
<li Class="QuestEditor_Library.CQFAction_RemoveDialogManager">
|
||||
<targetsText>
|
||||
<li>Interviewee</li>
|
||||
</targetsText>
|
||||
</li>
|
||||
<li Class="QuestEditor_Library.CQFAction_Faction">
|
||||
<targetsText>
|
||||
<li>Interviewee</li>
|
||||
</targetsText>
|
||||
<faction>Insect</faction>
|
||||
</li>
|
||||
</actions>
|
||||
</li>
|
||||
</results>
|
||||
</li>
|
||||
</options>
|
||||
</value>
|
||||
</li>
|
||||
</nodeMoulds>
|
||||
</QuestEditor_Library.DialogTreeDef>
|
||||
</Defs>
|
||||
37
Source/任务框架范例/Defs/HediffDefs/InsectPart.xml
Normal file
37
Source/任务框架范例/Defs/HediffDefs/InsectPart.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
|
||||
<HediffDef ParentName="ImplantHediffBase">
|
||||
<defName>AE_BodyPart_Exoskeleton</defName>
|
||||
<label>insect-like exoskeleton</label>
|
||||
<labelNoun>insect-like exoskeleton</labelNoun>
|
||||
<description>The body of this pawn has been partially changed to insect-like, resulting in exoskeletons resembling those of the insect.</description>
|
||||
<defaultLabelColor>(0.98,0,0,0.9)</defaultLabelColor>
|
||||
<addedPartProps>
|
||||
<solid>true</solid>
|
||||
<partEfficiency>1.5</partEfficiency>
|
||||
<betterThanNatural>false</betterThanNatural>
|
||||
</addedPartProps>
|
||||
<stages>
|
||||
<li>
|
||||
<statFactors>
|
||||
<IncomingDamageFactor>0.7</IncomingDamageFactor>
|
||||
</statFactors>
|
||||
</li>
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
<HediffDef ParentName="AddedBodyPartBase">
|
||||
<defName>AE_BodyPart_CompoundEye</defName>
|
||||
<label>compound eye</label>
|
||||
<labelNoun>compound eye</labelNoun>
|
||||
<description>The eye of this pawn has been partially changed to insect-like,his "eyes" are sharper now.</description>
|
||||
<defaultLabelColor>(0.98,0,0,0.9)</defaultLabelColor>
|
||||
<addedPartProps>
|
||||
<solid>true</solid>
|
||||
<partEfficiency>1.5</partEfficiency>
|
||||
<betterThanNatural>false</betterThanNatural>
|
||||
</addedPartProps>
|
||||
</HediffDef>
|
||||
|
||||
</Defs>
|
||||
122
Source/任务框架范例/Defs/QuestScriptDefs/AE_Quest_SmalInsectCave.xml
Normal file
122
Source/任务框架范例/Defs/QuestScriptDefs/AE_Quest_SmalInsectCave.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<QuestScriptDef>
|
||||
<root Class="RimWorld.QuestGen.QuestNode_Sequence">
|
||||
<nodes>
|
||||
<li Class="QuestEditor_Library.QuestNode_RandomCustomMap">
|
||||
<datas>
|
||||
<li>
|
||||
<key>AE_CustomMap_SmallInsectCave</key>
|
||||
<value>1</value>
|
||||
</li>
|
||||
</datas>
|
||||
<buffer>5</buffer>
|
||||
<bufferMin>10</bufferMin>
|
||||
<siteIconPath>Things/Building/Natural/Hive/HiveC</siteIconPath>
|
||||
<expandingIconPath>Things/Building/Natural/Hive/HiveC</expandingIconPath>
|
||||
<storeAs>Hive</storeAs>
|
||||
<faction>AncientsHostile</faction>
|
||||
<distance>
|
||||
<min>5</min>
|
||||
<max>10</max>
|
||||
</distance>
|
||||
<blacklist />
|
||||
</li>
|
||||
<li Class="QuestNode_ResolveQuestName">
|
||||
<rules>
|
||||
<rulesStrings>
|
||||
<li>questName->乌拉的呼唤</li>
|
||||
</rulesStrings>
|
||||
</rules>
|
||||
</li>
|
||||
<li Class="QuestNode_ResolveQuestDescription">
|
||||
<rules>
|
||||
<rulesStrings>
|
||||
<li>questDescription->一个强大的心灵实体将它的意志强加于你的意识之中。</li>
|
||||
</rulesStrings>
|
||||
</rules>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.QuestNode_Root_EventLetter">
|
||||
<letterLabel>乌拉需要你的注意</letterLabel>
|
||||
<letterTitle>乌拉需要你的注意</letterTitle>
|
||||
<letterText>一个强大的心灵实体将它的意志强加于你的意识之中。它自称为“乌拉”,并要求你阅览它的消息。这股力量是压倒性的,不容拒绝。</letterText>
|
||||
<options>
|
||||
<li>
|
||||
<label>阅览消息</label>
|
||||
<optionEffects>
|
||||
<li>
|
||||
<effects>
|
||||
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
|
||||
<defName>Wula_UI_Anisia_1</defName>
|
||||
</li>
|
||||
</effects>
|
||||
</li>
|
||||
</optionEffects>
|
||||
</li>
|
||||
<li>
|
||||
<label>尝试抵抗(但失败了)</label>
|
||||
<optionEffects>
|
||||
<li>
|
||||
<effects>
|
||||
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
|
||||
<defName>Wula_UI_Anisia_1</defName>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.Effect_ShowMessage">
|
||||
<message>你试图抵抗心灵入侵,但这股力量过于强大。无论如何,消息还是涌入了你的脑海。</message>
|
||||
<messageTypeDef>NegativeEvent</messageTypeDef>
|
||||
</li>
|
||||
</effects>
|
||||
</li>
|
||||
</optionEffects>
|
||||
</li>
|
||||
</options>
|
||||
</li>
|
||||
</nodes>
|
||||
</root>
|
||||
<rootSelectionWeight>0</rootSelectionWeight>
|
||||
<rootMinPoints>0</rootMinPoints>
|
||||
<rootMinProgressScore>0</rootMinProgressScore>
|
||||
<rootIncreasesPopulation>False</rootIncreasesPopulation>
|
||||
<minRefireDays>0</minRefireDays>
|
||||
<decreeSelectionWeight>0</decreeSelectionWeight>
|
||||
<questDescriptionRules>
|
||||
<rulesStrings>
|
||||
<li>questDescription->You found a small insect hive nearby.</li>
|
||||
</rulesStrings>
|
||||
<rulesFiles />
|
||||
<rulesRaw IsNull="True" />
|
||||
<include IsNull="True" />
|
||||
</questDescriptionRules>
|
||||
<questNameRules>
|
||||
<rulesStrings>
|
||||
<li>questName -> Small [Adj] Hive</li>
|
||||
</rulesStrings>
|
||||
<rulesFiles>
|
||||
<li>Adj -> Words/Adjectives/Badass</li>
|
||||
</rulesFiles>
|
||||
<rulesRaw IsNull="True" />
|
||||
<include IsNull="True" />
|
||||
</questNameRules>
|
||||
<autoAccept>True</autoAccept>
|
||||
<hideOnCleanup>False</hideOnCleanup>
|
||||
<expireDaysRange>
|
||||
<min>-1</min>
|
||||
<max>-1</max>
|
||||
</expireDaysRange>
|
||||
<nameMustBeUnique>False</nameMustBeUnique>
|
||||
<defaultChallengeRating>-1</defaultChallengeRating>
|
||||
<defaultHidden>False</defaultHidden>
|
||||
<isRootSpecial>True</isRootSpecial>
|
||||
<canGiveRoyalFavor>False</canGiveRoyalFavor>
|
||||
<hideInvolvedFactionsInfo>False</hideInvolvedFactionsInfo>
|
||||
<affectedByPopulation>False</affectedByPopulation>
|
||||
<affectedByPoints>True</affectedByPoints>
|
||||
<defaultCharity>False</defaultCharity>
|
||||
<sendAvailableLetter>True</sendAvailableLetter>
|
||||
<epic>False</epic>
|
||||
<endOnColonyMove>True</endOnColonyMove>
|
||||
<defName>AE_Quest_SmalInsectCave</defName>
|
||||
<ignoreConfigErrors>False</ignoreConfigErrors>
|
||||
<ignoreIllegalLabelCharacterConfigError>False</ignoreIllegalLabelCharacterConfigError>
|
||||
</QuestScriptDef>
|
||||
</Defs>
|
||||
21
Source/任务框架范例/Defs/Thought/Thought_InsectBodyPart.xml
Normal file
21
Source/任务框架范例/Defs/Thought/Thought_InsectBodyPart.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
|
||||
<!-- <ThoughtDef>
|
||||
<defName>AE_Thought_CompoundEye</defName>
|
||||
<workerClass>ThoughtWorker_Hediff</workerClass>
|
||||
<hediff>AE_BodyPart_CompoundEye</hediff>
|
||||
<validWhileDespawned>true</validWhileDespawned>
|
||||
<stages>
|
||||
<li>
|
||||
<label>pregnancy mood collapse</label>
|
||||
<description>This pregnancy is so hard. My body always feels awful. So exhausting!</description>
|
||||
<baseMoodEffect>-14</baseMoodEffect>
|
||||
</li>
|
||||
</stages>
|
||||
</ThoughtDef> -->
|
||||
|
||||
|
||||
|
||||
|
||||
</Defs>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LanguageData>
|
||||
|
||||
<AE_CustomMap_SmallInsectCave.label>小型虫巢</AE_CustomMap_SmallInsectCave.label>
|
||||
|
||||
</LanguageData>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LanguageData>
|
||||
|
||||
<AE_BodyPart_Exoskeleton.label>虫族外骨骼</AE_BodyPart_Exoskeleton.label>
|
||||
<AE_BodyPart_Exoskeleton.labelNoun>虫族外骨骼</AE_BodyPart_Exoskeleton.labelNoun>
|
||||
<AE_BodyPart_Exoskeleton.description>这家伙的身体被部分虫化了,一具虫族的外骨骼生长在这家伙的躯干上。</AE_BodyPart_Exoskeleton.description>
|
||||
|
||||
<AE_BodyPart_CompoundEye.label>复眼</AE_BodyPart_CompoundEye.label>
|
||||
<AE_BodyPart_CompoundEye.labelNoun>复眼</AE_BodyPart_CompoundEye.labelNoun>
|
||||
<AE_BodyPart_CompoundEye.description>这家伙的身体被部分虫化了,现在Ta的“眼睛”会更加敏锐。</AE_BodyPart_CompoundEye.description>
|
||||
|
||||
</LanguageData>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LanguageData>
|
||||
|
||||
<AE_Quest_SmalInsectCave.questDescriptionRules.rulesStrings>
|
||||
<li>questDescription->你在附近发现了一个小型虫族巢穴。</li>
|
||||
</AE_Quest_SmalInsectCave.questDescriptionRules.rulesStrings>
|
||||
|
||||
<AE_Quest_SmalInsectCave.questNameRules.rulesStrings>
|
||||
<li>questName -> 小型[Adj]巢穴</li>
|
||||
</AE_Quest_SmalInsectCave.questNameRules.rulesStrings>
|
||||
</LanguageData>
|
||||
17
Source/任务框架范例/Languages/ChineseSimplified/Keyed/Key.xml
Normal file
17
Source/任务框架范例/Languages/ChineseSimplified/Keyed/Key.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LanguageData>
|
||||
|
||||
<AE_Loot_Corpses_Plunder>搜刮。</AE_Loot_Corpses_Plunder>
|
||||
<AE_Loot_Corpses_Rare>哇哦,看来你幸运地搜刮到了死在这里的人留下的宝藏。</AE_Loot_Corpses_Rare>
|
||||
|
||||
<AE_LootBox_Message_Survivor>一个人从尸骸中浮现出来。</AE_LootBox_Message_Survivor>
|
||||
<AE_Survivor_Title>与尸骸中的“幸存者”的交谈</AE_Survivor_Title>
|
||||
<AE_Survivor_Text_First>你在尸骸中搜刮到了一个“人类”,值得注意的是你留意到了{Interviewee_possessive}身上的虫族特征。</AE_Survivor_Text_First>
|
||||
<AE_Survivor_Option_Quest>你是什么人?</AE_Survivor_Option_Quest>
|
||||
<AE_Survivor_Text_Survival>“我是{Interviewee_nameDef},我在一次虫潮中被虫群所俘获,老实说我也不知道为什么它们唯独没有杀我,我醒来后身体就成这样了。我现在无处可去,请让我加入你们”</AE_Survivor_Text_Survival>
|
||||
<AE_Survivor_Welcome>欢迎</AE_Survivor_Welcome>
|
||||
<AE_Survivor_WelcomeAE_Survivor_Attack>一定是新型虫族!必须歼灭!</AE_Survivor_WelcomeAE_Survivor_Attack>
|
||||
|
||||
|
||||
|
||||
</LanguageData>
|
||||
17
Source/任务框架范例/Languages/English/Keyed/Key_Survivor.xml
Normal file
17
Source/任务框架范例/Languages/English/Keyed/Key_Survivor.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LanguageData>
|
||||
|
||||
<AE_Loot_Corpses_Plunder>Plunder</AE_Loot_Corpses_Plunder>
|
||||
|
||||
<AE_Loot_Corpses_Rare>Wow, it seems you were lucky enough to find some treasure left by the people who died here.</AE_Loot_Corpses_Rare>
|
||||
|
||||
<AE_LootBox_Message_Survivor>A person emerged from the corpse.</AE_LootBox_Message_Survivor>
|
||||
<AE_Survivor_Title>Talk with the 'Survivor'</AE_Survivor_Title>
|
||||
<AE_Survivor_Text_First>You found a "human" in the corpse and you can't help but notice insect characteristics on {Interviewee_objective}.</AE_Survivor_Text_First>
|
||||
<AE_Survivor_Option_Quest>Who are you?</AE_Survivor_Option_Quest>
|
||||
<AE_Survivor_Text_Survival>"I am {Interviewee_nameDef}. I was captured by a swarm of insects during a wave. To be honest, I don't know why they only didn't kill me. When I woke up, my body was like this. I've got nowhere to go now, please let me join you."</AE_Survivor_Text_Survival>
|
||||
<AE_Survivor_Welcome>Welcome</AE_Survivor_Welcome>
|
||||
<AE_Survivor_WelcomeAE_Survivor_Attack>It must be a new type of Insect! It must be annihilated!</AE_Survivor_WelcomeAE_Survivor_Attack>
|
||||
|
||||
|
||||
</LanguageData>
|
||||
Reference in New Issue
Block a user