Merge remote-tracking branch 'gitea/main' into testshuttle

# Conflicts:
#	1.6/1.6/Assemblies/WulaFallenEmpire.dll
#	MCP/vector_cache/knowledge_cache.json
#	Source/WulaFallenEmpire/3516260226.code-workspace
#	Source/WulaFallenEmpire/WULA_Shuttle/Building_ArmedShuttleWithPocket.cs
This commit is contained in:
2025-08-25 18:14:31 +08:00
80 changed files with 1667 additions and 626 deletions

View File

@@ -38,6 +38,17 @@
<operation>Add</operation>
</li>
<!-- 第一次接触 -->
<li Class="WulaFallenEmpire.Effect_SetVariable">
<name>Wula_FE_Spiritualist_First_Contant</name>
<value>0</value>
<type>Int</type>
</li>
<li Class="WulaFallenEmpire.Effect_SetVariable">
<name>Wula_FE_Materialist_First_Contant</name>
<value>0</value>
<type>Int</type>
</li>
<!-- 检测好感度 -->
<li Class="WulaFallenEmpire.Effect_ClearVariable">
<name>Wula_FE_Spiritualist_Goodwill</name>
@@ -64,7 +75,7 @@
</optionEffects>
</li>
<!-- 教堂 -->
<!-- <li>
<li>
<label>乌拉帝国 大教堂</label>
<hideWhenDisabled>true</hideWhenDisabled>
<conditions>
@@ -75,6 +86,10 @@
<name>Wula_FE_Spiritualist_Goodwill</name>
<value>75</value>
</li>
<li Class="WulaFallenEmpire.Condition_VariableEquals">
<name>Wula_FE_Spiritualist_First_Contant</name>
<value>1</value>
</li>
</conditions>
<optionEffects>
<li Class="WulaFallenEmpire.ConditionalEffects">
@@ -102,6 +117,10 @@
<name>Wula_FE_Spiritualist_Goodwill</name>
<value>-75</value>
</li>
<li Class="WulaFallenEmpire.Condition_VariableEquals">
<name>Wula_FE_Spiritualist_First_Contant</name>
<value>1</value>
</li>
</conditions>
<optionEffects>
<li Class="WulaFallenEmpire.ConditionalEffects">
@@ -125,6 +144,10 @@
<name>Wula_FE_Spiritualist_Goodwill</name>
<value>-75</value>
</li>
<li Class="WulaFallenEmpire.Condition_VariableEquals">
<name>Wula_FE_Spiritualist_First_Contant</name>
<value>1</value>
</li>
</conditions>
<optionEffects>
<li Class="WulaFallenEmpire.ConditionalEffects">
@@ -136,7 +159,30 @@
</effects>
</li>
</optionEffects>
</li> -->
</li>
<li>
<label>乌拉帝国 大教堂</label>
<hideWhenDisabled>true</hideWhenDisabled>
<conditions>
<li Class="WulaFallenEmpire.Condition_FactionExists">
<factionDef>Wula_FE_Spiritualist_Faction</factionDef>
</li>
<li Class="WulaFallenEmpire.Condition_VariableEquals">
<name>Wula_FE_Spiritualist_First_Contant</name>
<value>0</value>
</li>
</conditions>
<optionEffects>
<li Class="WulaFallenEmpire.ConditionalEffects">
<effects>
<li Class="WulaFallenEmpire.Effect_OpenCustomUI">
<defName>Wula_UI_FE_Spiritualist_4</defName>
</li>
<li Class="WulaFallenEmpire.Effect_CloseDialog" />
</effects>
</li>
</optionEffects>
</li>
<li>
<label>退出</label>

View File

@@ -89,12 +89,13 @@
</points>
</maxPawnCostPerTotalPointsCurve>
<pawnGroupMakers>
<!-- 机械部队,大量的猫猫混杂一台战车 -->
<!-- 机械部队,大量的猫猫混至多2台战车 -->
<li>
<kindDef>Combat</kindDef>
<commonality>50</commonality>
<commonality>40</commonality>
<options>
<Wula_AI_Heavy_Panzer_Gunnery_PawnKind>100</Wula_AI_Heavy_Panzer_Gunnery_PawnKind>
<Wula_AI_Heavy_Panzer_PawnKind>100</Wula_AI_Heavy_Panzer_PawnKind>
<Mech_WULA_Cat_Assault>60</Mech_WULA_Cat_Assault>
<Mech_WULA_Cat_Constructor>30</Mech_WULA_Cat_Constructor>
<Mech_WULA_Cat_Fire>10</Mech_WULA_Cat_Fire>
@@ -104,12 +105,12 @@
<!-- 重甲部队,大量的猫猫混杂少量的重甲兵 -->
<li>
<kindDef>Combat</kindDef>
<commonality>50</commonality>
<commonality>40</commonality>
<options>
<Mech_WULA_Cat_Constructor>20</Mech_WULA_Cat_Constructor>
<Mech_WULA_Cat_Assault>20</Mech_WULA_Cat_Assault>
<Wula_Broken_Personality_Pawn_7>2</Wula_Broken_Personality_Pawn_7>
<Wula_Broken_Personality_Pawn_5>1</Wula_Broken_Personality_Pawn_5>
<Wula_Broken_Personality_Pawn_7>4</Wula_Broken_Personality_Pawn_7>
<Wula_Broken_Personality_Pawn_5>2</Wula_Broken_Personality_Pawn_5>
</options>
</li>
<!-- 骑士军团部队 -->
@@ -135,7 +136,7 @@
<!-- 常规部队 -->
<li>
<kindDef>Combat</kindDef>
<commonality>20</commonality>
<commonality>30</commonality>
<options>
<Mech_WULA_Cat_Fire>2</Mech_WULA_Cat_Fire>
<Mech_WULA_Cat_EMP>2</Mech_WULA_Cat_EMP>
@@ -148,7 +149,7 @@
<li>
<!-- militor only -->
<kindDef>Combat</kindDef>
<commonality>10</commonality>
<commonality>30</commonality>
<options>
<Wula_Broken_Personality_Pawn_1>10</Wula_Broken_Personality_Pawn_1>
<Wula_Broken_Personality_Pawn_2>2</Wula_Broken_Personality_Pawn_2>

View File

@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<FactionDef ParentName="FactionBase">
<defName>WULA_FE_Materialist_Faction</defName>
<label>乌拉帝国 图书馆</label>
<description>堕落乌拉帝国派系之一,属于进步派,拥有独属的特殊科技。\n\n反抗乌拉帝国皇权的学生联盟和其他有志之士一起打响了帝国内战的第一枪但是在千百年间这些踌躇满志的奋斗者渐渐堕落成了刁钻刻板的学士她们固执己见致力于收集和垄断乌拉帝国遗留的科技资产而不再是推翻皇室残党。然而保皇派势力并未在时间中消亡星海间的仇恨并未熄灭革命的大旗正在等待新的有识之士高举······</description>
<basicMemberKind>RealWula_PawnKind</basicMemberKind>
<pawnSingular>乌拉星人</pawnSingular>
<pawnsPlural>乌拉星人</pawnsPlural>
<categoryTag>Wula_FE_Materialist_Faction</categoryTag>
<requiredCountAtGameStart>1</requiredCountAtGameStart>
<factionNameMaker>NamerFaction_Wula_FE_Materialist</factionNameMaker>
<factionIconPath>Wula/World/WorldObjects/Expanding/Wula_FE_Faction</factionIconPath>
<displayInFactionSelection>false</displayInFactionSelection>
<!-- <settlementGenerationWeight>1</settlementGenerationWeight> -->
<requiredCountAtGameStart>1</requiredCountAtGameStart>
<canSiege>false</canSiege>
<canStageAttacks>true</canStageAttacks>
<backstoryCategories>
<li>Wula_Backstory_Categories_For_RealWula</li>
</backstoryCategories>
<!-- 文化相关 -->
<requiredMemes>
<li MayRequire="Ludeon.RimWorld.Ideology">Supremacist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Proselytizer</li>
</requiredMemes>
<allowedMemes>
<li MayRequire="Ludeon.RimWorld.Ideology">Loyalist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">FemaleSupremacy</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Guilty</li>
</allowedMemes>
<disallowedPrecepts>
<li>Slavery_Classic</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Slavery_Disapproved</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Slavery_Horrible</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Slavery_Abhorrent</li>
</disallowedPrecepts>
<structureMemeWeights>
<Structure_Archist MayRequire="Ludeon.RimWorld.Ideology">1</Structure_Archist>
</structureMemeWeights>
<permanentEnemyToEveryoneExcept>
<li>WULA_Awakened_Synth</li>
</permanentEnemyToEveryoneExcept>
<techLevel>Archotech</techLevel>
<arrivalLayerWhitelist>
<li>Surface</li>
<!-- <li MayRequire="Ludeon.RimWorld.Odyssey">Orbit</li> -->
</arrivalLayerWhitelist>
<colorSpectrum>
<li>(0.15, 0.9, 0.9)</li>
</colorSpectrum>
<raidCommonalityFromPointsCurve>
<points>
<li>(300, 0)</li>
<li>(700, 1)</li>
<li>(1400, 1.8)</li>
<li>(2800, 2.2)</li>
<li>(4000, 2.6)</li>
</points>
</raidCommonalityFromPointsCurve>
<!-- <raidLootMaker>MechanoidRaidLootMaker</raidLootMaker> -->
<raidLootValueFromPointsCurve>
<points>
<li>(35, 8)</li>
<li>(100, 60)</li>
<li>(1000, 250)</li>
<li>(2000, 400)</li>
<li>(4000, 500)</li>
</points>
</raidLootValueFromPointsCurve>
<humanlikeFaction>true</humanlikeFaction>
<hidden>true</hidden>
<!-- <autoFlee>false</autoFlee> -->
<canUseAvoidGrid>false</canUseAvoidGrid>
<apparelStuffFilter>
<stuffCategoriesToAllow>
<li>Metallic</li>
<li>Fabric</li>
</stuffCategoriesToAllow>
<disallowedThingDefs>
<li>DevilstrandCloth</li>
</disallowedThingDefs>
</apparelStuffFilter>
<earliestRaidDays>18</earliestRaidDays>
<permanentEnemy>true</permanentEnemy>
<hostileToFactionlessHumanlikes>true</hostileToFactionlessHumanlikes>
<maxPawnCostPerTotalPointsCurve>
<points>
<li>(400,200)</li>
<li>(900,300)</li>
<li>(100000,10000)</li>
</points>
</maxPawnCostPerTotalPointsCurve>
<pawnGroupMakers>
<li>
<kindDef>Combat</kindDef>
<commonality>50</commonality>
<options>
<Mech_WULA_Cat_Assault>60</Mech_WULA_Cat_Assault>
<Mech_WULA_Cat_Constructor>30</Mech_WULA_Cat_Constructor>
<Mech_WULA_Cat_Fire>20</Mech_WULA_Cat_Fire>
<Mech_WULA_Cat_EMP>20</Mech_WULA_Cat_EMP>
</options>
</li>
</pawnGroupMakers>
<settlementTexturePath>World/WorldObjects/DefaultSettlement</settlementTexturePath>
<allowedArrivalTemperatureRange>-100~200</allowedArrivalTemperatureRange>
<maxConfigurableAtWorldCreation>1</maxConfigurableAtWorldCreation>
<configurationListOrderPriority>900</configurationListOrderPriority>
<dropPodActive>ActiveDropPodMechanoid</dropPodActive>
<dropPodIncoming>DropPodIncomingMechanoidRapid</dropPodIncoming>
<disallowedRaidAgeRestrictions>
<li MayRequire="Ludeon.RimWorld.Biotech">Children</li>
</disallowedRaidAgeRestrictions>
</FactionDef>
</Defs>

View File

@@ -914,91 +914,6 @@
</stages>
</HediffDef>
<!-- 背景故事重置 -->
<ThingDef ParentName="BodyPartProstheticMakeableBase">
<defName>Wula_BackstoryRegeneratorImplant</defName>
<label>合成人人格数据包</label>
<description>从乌拉帝国上行链路下载的数据包,内含随机的人格数据,机械乌拉在使用后会改变其人格,这会重置它禁止的工作,但是不会重设其热情和特质。\n\n新的人格有可能和旧人格一模一样</description>
<thingClass>ThingWithComps</thingClass>
<graphicData>
<texPath>Wula/Item/WULA_Syhth_Trainer</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<MarketValue>1500</MarketValue>
<Mass>0.1</Mass>
</statBases>
<recipeMaker>
<researchPrerequisites Inherit="False">
<li>WULA_New_Synth_Skill_2_Technology</li>
</researchPrerequisites>
<researchPrerequisite Inherit="False"/>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<recipeUsers Inherit="False">
<li>WULA_Synth_Server</li>
</recipeUsers>
</recipeMaker>
<costList>
<Steel>50</Steel>
<ComponentSpacer>1</ComponentSpacer>
<WULA_Charge_Cube>1</WULA_Charge_Cube>
</costList>
<comps>
<li Class="CompProperties_Usable">
<compClass>CompUsableImplant</compClass>
<useJob>UseItem</useJob>
<useLabel>使用 {0_label}</useLabel>
</li>
<li Class="CompProperties_UseEffectInstallImplant">
<hediffDef>Wula_RegenerateBackstory</hediffDef>
<bodyPart>Brain</bodyPart>
</li>
<li Class="CompProperties_UseEffectDestroySelf" />
</comps>
</ThingDef>
<HediffDef ParentName="ImplantHediffBase">
<defName>Wula_RegenerateBackstory</defName>
<label>backstory regenerator</label>
<labelNoun>a backstory regenerator</labelNoun>
<description>A backstory regenerator is installed.</description>
<spawnThingOnRemoved>Wula_BackstoryRegeneratorImplant</spawnThingOnRemoved>
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_RegenerateBackstory">
<spawnCategories>
<li>Wula_Backstory_Categories</li>
</spawnCategories>
<regenerateChildhood>false</regenerateChildhood>
</li>
</comps>
</HediffDef>
<!-- <RecipeDef ParentName="SurgeryInstallImplantBase">
<defName>InstallWulaBackstoryRegenerator</defName>
<label>install backstory regenerator</label>
<description>Installs a backstory regenerator.</description>
<jobString>Installing backstory regenerator.</jobString>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Wula_BackstoryRegeneratorImplant</li>
</thingDefs>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>Wula_BackstoryRegeneratorImplant</li>
</thingDefs>
</fixedIngredientFilter>
<appliedOnFixedBodyParts>
<li>Brain</li>
</appliedOnFixedBodyParts>
<addsHediff>Wula_RegenerateBackstory</addsHediff>
</RecipeDef> -->
<!-- 修复器 -->
<ThingDef ParentName="MechSerumBase">
<defName>WULA_MechRepairKit</defName>

View File

@@ -5,7 +5,7 @@
<defName>Wula_Synth</defName>
<label>合成人</label>
<description>乌拉帝国制式合成人,拥有一部分机械体的特性——她们无法被点燃、不会中毒、免疫大量疾病、不会抱怨温度,但是无法自我修复,并且需要获取能量以维持机体运转。</description>
<hediffClass>HediffWithComps</hediffClass>
<hediffClass>Hediff_High</hediffClass>
<everCurableByItem>false</everCurableByItem>
<duplicationAllowed>false</duplicationAllowed>
<keepOnBodyPartRestoration>True</keepOnBodyPartRestoration>

View File

@@ -152,6 +152,9 @@
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>5</drawSize>
<shadowData>
<volume>(0.8, 1.6, 0.65)</volume>
</shadowData>
</bodyGraphicData>
</li>
</lifeStages>
@@ -180,6 +183,9 @@
<shaderType>CutoutWithOverlay</shaderType>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>5</drawSize>
<shadowData>
<volume>(0.8, 1.6, 0.65)</volume>
</shadowData>
</bodyGraphicData>
</li>
</lifeStages>

View File

@@ -885,4 +885,65 @@
</li>
</comps>
</ThingDef>
<!-- 背景故事重置 -->
<ThingDef ParentName="BodyPartProstheticMakeableBase">
<defName>Wula_BackstoryRegeneratorImplant</defName>
<label>合成人人格数据包</label>
<description>从乌拉帝国上行链路下载的数据包,内含随机的人格数据,机械乌拉在使用后会改变其人格,这会重置它禁止的工作,但是不会重设其热情和特质。\n\n新的人格有可能和旧人格一模一样且必须保存游戏后重新加载才能起效</description>
<thingClass>ThingWithComps</thingClass>
<graphicData>
<texPath>Wula/Item/WULA_Syhth_Trainer</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<MarketValue>1500</MarketValue>
<Mass>0.1</Mass>
</statBases>
<recipeMaker>
<researchPrerequisites Inherit="False">
<li>WULA_New_Synth_Skill_2_Technology</li>
</researchPrerequisites>
<researchPrerequisite Inherit="False"/>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<recipeUsers Inherit="False">
<li>WULA_Synth_Server</li>
</recipeUsers>
</recipeMaker>
<costList>
<Steel>50</Steel>
<ComponentSpacer>1</ComponentSpacer>
<WULA_Charge_Cube>1</WULA_Charge_Cube>
</costList>
<comps>
<li Class="CompProperties_Usable">
<compClass>CompUsableImplant</compClass>
<useJob>UseItem</useJob>
<useLabel>使用 {0_label}</useLabel>
</li>
<li Class="CompProperties_UseEffectInstallImplant">
<hediffDef>Wula_RegenerateBackstory</hediffDef>
<bodyPart>Brain</bodyPart>
</li>
<li Class="CompProperties_UseEffectDestroySelf" />
</comps>
</ThingDef>
<HediffDef ParentName="ImplantHediffBase">
<defName>Wula_RegenerateBackstory</defName>
<label>backstory regenerator</label>
<labelNoun>a backstory regenerator</labelNoun>
<description>A backstory regenerator is installed.</description>
<spawnThingOnRemoved>Wula_BackstoryRegeneratorImplant</spawnThingOnRemoved>
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_RegenerateBackstory">
<spawnCategories>
<li>Wula_Backstory_Categories</li>
</spawnCategories>
<regenerateChildhood>false</regenerateChildhood>
</li>
</comps>
</HediffDef>
</Defs>

View File

@@ -72,13 +72,16 @@
<damageData>
<enabled>false</enabled>
</damageData>
<shadowData>
<volume>(0.75, 0.75, 0.5)</volume>
</shadowData>
</graphicData>
<constructEffect>ConstructMetal</constructEffect>
<costList>
<Steel>50</Steel>
</costList>
<altitudeLayer>Building</altitudeLayer>
<castEdgeShadows>true</castEdgeShadows>
<castEdgeShadows>false</castEdgeShadows>
<fillPercent>0.5</fillPercent>
<useHitPoints>True</useHitPoints>
<statBases>
@@ -147,8 +150,10 @@
<damageData>
<enabled>false</enabled>
</damageData>
<shadowData>
<volume>(0.75, 0.75, 0.5)</volume>
</shadowData>
</graphicData>
<castEdgeShadows>true</castEdgeShadows>
<constructEffect>ConstructMetal</constructEffect>
<costList>
<Steel>80</Steel>
@@ -217,11 +222,14 @@
<damageData>
<enabled>false</enabled>
</damageData>
<shadowData>
<volume>(1.65, 1.65, 0.85)</volume>
<offset>(0, 0, -0.2)</offset>
</shadowData>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<castEdgeShadows>true</castEdgeShadows>
<staticSunShadowHeight>0.35</staticSunShadowHeight>
<castEdgeShadows>false</castEdgeShadows>
<fillPercent>0.5</fillPercent>
<canOverlapZones>false</canOverlapZones>
<pathCost>42</pathCost>
@@ -260,7 +268,6 @@
<maxSimultaneous>1</maxSimultaneous>
</li>
</comps>
<designationHotKey>Misc6</designationHotKey>
<placeWorkers>
<li>PlaceWorker_ShowFacilitiesConnections</li>
</placeWorkers>
@@ -281,7 +288,13 @@
<damageData>
<enabled>false</enabled>
</damageData>
<shadowData>
<volume>(0.8, 1.5, 0.9)</volume>
<!-- <offset>(-0.05, 0, 0.35)</offset> -->
</shadowData>
</graphicData>
<staticSunShadowHeight Inherit="False" IsNull="True" />
<castEdgeShadows>False</castEdgeShadows>
<statBases>
<Comfort>0.75</Comfort>
<MaxHitPoints>140</MaxHitPoints>
@@ -296,11 +309,8 @@
<ComponentIndustrial>1</ComponentIndustrial>
<WULA_Charge_Cube>1</WULA_Charge_Cube>
</costList>
<designationHotKey>Misc2</designationHotKey>
<uiOrder>2010</uiOrder>
<castEdgeShadows>true</castEdgeShadows>
<fillPercent>0.5</fillPercent>
<staticSunShadowHeight>0</staticSunShadowHeight>
<designationCategory>WULA_Buildings</designationCategory>
<researchPrerequisites Inherit="False">
<li>WULA_Base_Technology</li>
@@ -346,7 +356,6 @@
<drawSize>(3,4)</drawSize>
</graphicData>
<size>(1,2)</size>
<designationHotKey>Misc1</designationHotKey>
</ThingDef>
<!-- 机械工厂 -->
@@ -362,7 +371,6 @@
<passability>PassThroughOnly</passability>
<fillPercent>0.5</fillPercent>
<hasInteractionCell>true</hasInteractionCell>
<castEdgeShadows>true</castEdgeShadows>
<pathCost>42</pathCost>
<surfaceType>Item</surfaceType>
<inspectorTabs>
@@ -379,7 +387,12 @@
<texPath>Wula/Building/WULA_Heavy_War_Machine_Productor</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(4, 4)</drawSize>
<shadowData>
<volume>(2.8, 2.8, 2.1)</volume>
<!-- <offset>(-0.05, 0, 0.35)</offset> -->
</shadowData>
</graphicData>
<castEdgeShadows>False</castEdgeShadows>
<interactionCellOffset>(1,0,3)</interactionCellOffset>
<statBases>
<MaxHitPoints>1250</MaxHitPoints>
@@ -559,7 +572,7 @@
</ThingDef>
<!-- 联络台 -->
<ThingDef ParentName="BuildingBase">
<ThingDef ParentName="BuildingBase">
<defName>WULA_Communicator_Station</defName>
<label>乌拉帝国通讯站</label>
<description>乌拉帝国内部用于联系的通讯站,可以联系到乌拉帝国的各大派系。</description>
@@ -569,6 +582,9 @@
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>TransparentPostLight</shaderType>
<drawSize>(1,1)</drawSize>
<shadowData>
<volume>(0.25, 0.25, 0.25)</volume>
</shadowData>
</graphicData>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
@@ -618,7 +634,7 @@
<rect>(0.3,0.3,1.4,1.4)</rect>
</damageData>
<shadowData>
<volume>(1.5,0.35,1.4)</volume>
<volume>(0.5,0.35,0.75)</volume>
<offset>(0,0,-0.05)</offset>
</shadowData>
</graphicData>
@@ -739,6 +755,10 @@
<texPath>Wula/Building/WULA_Synth_Maintainer_south</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(3, 3)</drawSize>
<shadowData>
<volume>(1.5, 1.5, 1.7)</volume>
<!-- <offset>(-0.05, 0, 0.35)</offset> -->
</shadowData>
</graphicData>
<drawerType>RealtimeOnly</drawerType>
<drawGUIOverlay>true</drawGUIOverlay>

View File

@@ -1,99 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_RW_MeltBeam_Cannon_Example</defName>
<label>铋晶Melt射线炮 (示例)</label>
<description>一个使用Verb_ShootMeltBeam的示例武器。它会扫射出两条弯曲的能量光束并造成范围爆炸。</description>
<techLevel>Ultra</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_DM_Cannon</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.5</drawSize>
</graphicData>
<weaponTags>
<li>Wula_Ranged_Weapon_T4</li>
</weaponTags>
<uiIconScale>0.8</uiIconScale>
<soundInteract>Interact_ChargeRifle</soundInteract>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_4_DM_Base_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<costList Inherit="False">
<Steel>500</Steel>
<Plasteel>300</Plasteel>
<WULA_Dark_Matter_Item>6</WULA_Dark_Matter_Item>
</costList>
<statBases>
<WorkToMake>50000</WorkToMake>
<Mass>10</Mass>
<AccuracyTouch>0.6</AccuracyTouch>
<AccuracyShort>0.6</AccuracyShort>
<AccuracyMedium>0.6</AccuracyMedium>
<AccuracyLong>0.6</AccuracyLong>
<RangedWeapon_Cooldown>3</RangedWeapon_Cooldown>
</statBases>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootMeltBeam</verbClass>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>1.5</warmupTime>
<range>25</range>
<burstShotCount>20</burstShotCount>
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
<!-- 核心光束塑形参数 -->
<beamFullWidthRange>12</beamFullWidthRange> <!-- 光束达到最大宽度的距离 -->
<beamWidth>5</beamWidth> <!-- 光束的最大宽度 -->
<beamMaxDeviation>0.8</beamMaxDeviation> <!-- 光束路径的随机偏移量 -->
<beamCurvature>0.7</beamCurvature> <!-- 光束的弯曲程度 -->
<beamStartOffset>0.5</beamStartOffset> <!-- 光束起始点距离发射者的偏移 -->
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<beamMoteDef>Mote_Wula_Dark_Matter_Beam</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<!-- 火焰效果 -->
<beamSetsGroundOnFire>true</beamSetsGroundOnFire> <!-- 光束是否点燃地面 -->
<beamChanceToStartFire>0.5</beamChanceToStartFire>
<beamChanceToAttachFire>0.5</beamChanceToAttachFire>
<beamFireSizeRange>0.2~0.4</beamFireSizeRange> <!-- 火焰大小范围 -->
<!-- 其他射线属性 -->
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<stopBurstWithoutLos>false</stopBurstWithoutLos> <!-- 即使失去视野也继续扫射 -->
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 爆炸参数 -->
<enableExplosion>true</enableExplosion>
<explosionShotInterval>3</explosionShotInterval> <!-- 每3次射击判定一次爆炸 -->
<explosionRadius>2.5</explosionRadius>
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
<explosionDamage>20</explosionDamage>
<explosionSound>Explosion_Bomb</explosionSound>
<chanceToStartFire>0.6</chanceToStartFire>
<screenShakeFactor>0.3</screenShakeFactor> <!-- 爆炸时的屏幕震动 -->
</li>
</verbs>
<tradeability>None</tradeability>
<thingSetMakerTags>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
</ThingDef>
</Defs>