This commit is contained in:
c0ffee 2021-08-12 15:21:02 -07:00
commit fabf1ab094
5 changed files with 218 additions and 8 deletions

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Autocleaner</li>
<li>2051042827</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="BaseBaseAutocleaner"]</xpath>
<value>
<ThingDef Name="BaseBaseAutocleaner" ParentName="BasePawn" Abstract="True">
<inspectorTabs Inherit="false">
<li>ITab_Pawn_Health</li>
<li>ITab_Pawn_Log</li>
</inspectorTabs>
</ThingDef>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Add Elona Imouto Race</li>
<li>1863723112</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAttributeSet">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="Elona_Imouto"]</xpath>
<attribute>ParentName</attribute>
<value>BasePawn</value>
</li>
</operations>
</match>
</Operation>
</Patch>

View File

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>[1.3]Littluna Race</li>
<li>2569091688</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="HAR_Littluna_BaseNRPawn"]</xpath>
<value>
<ThingDef Name="HAR_Littluna_BaseNRPawn" ParentName="BasePawn" Abstract="True">
<comps>
<li Class="CompSummonSlave.CSS_CompProperties_SummonSlave">
<AutoLabel>Lethal Summon (Auto)</AutoLabel>
<AutoDesc>If set to on, a powerful entity will be automatically summoned as soon as this character gets drafted and there hostile characters around. But be aware: The cooldown time for this ability is one year.</AutoDesc>
<AutoIconPath>Icon/Command/LL_AutoSummon</AutoIconPath>
<CommandName>CSS_SummonSlave</CommandName>
<CommandLabel>Lethal Summon (voluntary summon)</CommandLabel>
<CommandDesc>Arbitrarily summon a powerful being. But be aware: The cooldown time for this ability is one year.</CommandDesc>
<CommandIconPath>Icon/Command/LL_SummonSlave</CommandIconPath>
<Cooldown>900000</Cooldown><!--■召喚の再使用までの時間-->
<Level>Littluna_Artificial</Level><!--■召喚レベル参照用HediffDef-->
<!--■Lv1-->
<SummonCount>1</SummonCount><!--■召喚数-->
<SlaveList>
<li>HAR_LL_M_a_Kind</li>
</SlaveList>
<!--■Lv2-->
<SummonCount2>1</SummonCount2><!--■召喚レベル2のとき召喚する対象の数-->
<SlaveList2><!--■召喚レベル2のとき召喚する対象のThingDef-->
<li>HAR_LL_M_a_Kind</li>
</SlaveList2>
<!--■Lv3-->
<SummonCount3>1</SummonCount3><!--■召喚レベル3のとき召喚する対象の数-->
<SlaveList3><!--■召喚レベル3のとき召喚する対象のThingDef-->
<li>HAR_LL_M_a_Kind</li>
</SlaveList3>
<!--■Lv4-->
<SummonCount4>1</SummonCount4><!--■召喚レベル4のとき召喚する対象の数-->
<SlaveList4><!--■召喚レベル4のとき召喚する対象のThingDef-->
<li>HAR_LL_M_a_Kind</li>
</SlaveList4>
<!--■Lv5-->
<SummonCount5>1</SummonCount5><!--■召喚レベル5のとき召喚する対象の数-->
<SlaveList5><!--■召喚レベル5のとき召喚する対象のThingDef-->
<li>HAR_LL_M_a_Kind</li>
</SlaveList5>
<SearchLength>300</SearchLength><!--■自動召喚索敵距離-->
<CastTime>3</CastTime><!--■詠唱時間-->
<SummonEffect>CSS_SummonEffect</SummonEffect>
</li>
</comps>
</ThingDef>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

View File

@ -7,10 +7,63 @@
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAttributeSet">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="HAR_Nearmaere"]</xpath>
<attribute>ParentName</attribute>
<value>BasePawn</value>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="HAR_Nearmaere_BaseNRPawn"]</xpath>
<value>
<ThingDef Name="HAR_Nearmaere_BaseNRPawn" ParentName="BasePawn" Abstract="True">
<comps>
<li Class="CompSummonSlave.CSS_CompProperties_SummonSlave">
<AutoLabel>Night Parade (Auto)</AutoLabel>
<AutoDesc>If set to "ON", the user will automatically cast "Night Parade" while drafted if there are hostiles in the vicinity. The level and number of summoned creatures are dependent on the level of "Artificial Race". Cooldown: 2 days.</AutoDesc>
<AutoIconPath>Icon/Command/AutoSummon</AutoIconPath>
<CommandName>CSS_SummonSlave</CommandName>
<CommandLabel>Night Parade</CommandLabel>
<CommandDesc>Summons otherworldly creatures to attack enemies. The level and number of summoned creatures are dependent on the level of "Artificial Race". Cooldown: 2 days.</CommandDesc>
<CommandIconPath>Icon/Command/SummonSlave</CommandIconPath>
<Cooldown>120000</Cooldown><!--■召喚の再使用までの時間-->
<Level>Nearmaere_Artificial</Level><!--■召喚レベル参照用HediffDef-->
<!--■Lv1-->
<SummonCount>1</SummonCount><!--■召喚数-->
<SlaveList>
<li>HAR_M_NightStalker_Kind</li>
<li>HAR_M_NightGaunts_Kind</li>
<li>HAR_M_Nightmare_Kind</li>
</SlaveList>
<!--■Lv2-->
<SummonCount2>2</SummonCount2><!--■召喚レベル2のとき召喚する対象の数-->
<SlaveList2><!--■召喚レベル2のとき召喚する対象のThingDef-->
<li>HAR_M_NightStalker_Kind_b</li>
<li>HAR_M_NightGaunts_Kind_b</li>
<li>HAR_M_Nightmare_Kind_b</li>
</SlaveList2>
<!--■Lv3-->
<SummonCount3>2</SummonCount3><!--■召喚レベル3のとき召喚する対象の数-->
<SlaveList3><!--■召喚レベル3のとき召喚する対象のThingDef-->
<li>HAR_M_NightStalker_Kind_c</li>
<li>HAR_M_NightGaunts_Kind_c</li>
<li>HAR_M_Nightmare_Kind_c</li>
</SlaveList3>
<!--■Lv4-->
<SummonCount4>3</SummonCount4><!--■召喚レベル4のとき召喚する対象の数-->
<SlaveList4><!--■召喚レベル4のとき召喚する対象のThingDef-->
<li>HAR_M_NightStalker_Kind_d</li>
<li>HAR_M_NightGaunts_Kind_d</li>
<li>HAR_M_Nightmare_Kind_d</li>
</SlaveList4>
<!--■Lv5-->
<SummonCount5>3</SummonCount5><!--■召喚レベル5のとき召喚する対象の数-->
<SlaveList5><!--■召喚レベル5のとき召喚する対象のThingDef-->
<li>HAR_M_NightStalker_Kind_e</li>
<li>HAR_M_NightGaunts_Kind_e</li>
<li>HAR_M_Nightmare_Kind_e</li>
</SlaveList5>
<SearchLength>300</SearchLength><!--■自動召喚索敵距離-->
<CastTime>3</CastTime><!--■詠唱時間-->
<SummonEffect>CSS_SummonEffect</SummonEffect>
</li>
</comps>
</ThingDef>
</value>
</li>
</operations>
</match>

View File

@ -7,10 +7,63 @@
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAttributeSet">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="HAR_Neclose"]</xpath>
<attribute>ParentName</attribute>
<value>BasePawn</value>
<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="HAR_Neclose_BaseNRPawn"]</xpath>
<value>
<ThingDef Name="HAR_Neclose_BaseNRPawn" ParentName="BasePawn" Abstract="True">
<comps>
<li Class="CompSummonSlave.CSS_CompProperties_SummonSlave">
<AutoLabel>Helter Skelter(Auto)</AutoLabel>
<AutoDesc>If set to ON, the genus will be automatically summoned if this character is drafted and there are hostile characters around. The number of summons of the genus varies depending on the Lvl of the "artificial race", and a cool time of one day will occur for resummoning.</AutoDesc>
<AutoIconPath>Icon/Command/AutoSummon</AutoIconPath>
<CommandName>CSS_SummonSlave</CommandName>
<CommandLabel>Helter Skelter(Neclose)</CommandLabel>
<CommandDesc>Arbitrarily summon a genus. The number of summons of the genus varies depending on the Lv of the "artificial race", and a cool time of one day will occur for resummoning.</CommandDesc>
<CommandIconPath>Icon/Command/SummonSlave</CommandIconPath>
<Cooldown>60000</Cooldown><!--■召喚の再使用までの時間-->
<Level>Neclose_Artificial</Level><!--■召喚レベル参照用HediffDef-->
<!--■Lv1-->
<SummonCount>3</SummonCount><!--■召喚数-->
<SlaveList>
<li>HAR_NC_M_a_Kind_Summon</li>
<li>HAR_NC_M_b_Kind_Summon</li>
<li>HAR_NC_M_c_Kind_Summon</li>
</SlaveList>
<!--■Lv2-->
<SummonCount2>6</SummonCount2><!--■召喚レベル2のとき召喚する対象の数-->
<SlaveList2><!--■召喚レベル2のとき召喚する対象のThingDef-->
<li>HAR_NC_M_a_Kind_Summon</li>
<li>HAR_NC_M_b_Kind_Summon</li>
<li>HAR_NC_M_c_Kind_Summon</li>
</SlaveList2>
<!--■Lv3-->
<SummonCount3>9</SummonCount3><!--■召喚レベル3のとき召喚する対象の数-->
<SlaveList3><!--■召喚レベル3のとき召喚する対象のThingDef-->
<li>HAR_NC_M_a_Kind_Summon</li>
<li>HAR_NC_M_b_Kind_Summon</li>
<li>HAR_NC_M_c_Kind_Summon</li>
</SlaveList3>
<!--■Lv4-->
<SummonCount4>12</SummonCount4><!--■召喚レベル4のとき召喚する対象の数-->
<SlaveList4><!--■召喚レベル4のとき召喚する対象のThingDef-->
<li>HAR_NC_M_a_Kind_Summon</li>
<li>HAR_NC_M_b_Kind_Summon</li>
<li>HAR_NC_M_c_Kind_Summon</li>
</SlaveList4>
<!--■Lv5-->
<SummonCount5>15</SummonCount5><!--■召喚レベル5のとき召喚する対象の数-->
<SlaveList5><!--■召喚レベル5のとき召喚する対象のThingDef-->
<li>HAR_NC_M_a_Kind_Summon</li>
<li>HAR_NC_M_b_Kind_Summon</li>
<li>HAR_NC_M_c_Kind_Summon</li>
</SlaveList5>
<SearchLength>300</SearchLength><!--■自動召喚索敵距離-->
<CastTime>3</CastTime><!--■詠唱時間-->
<SummonEffect>CSS_SummonEffect</SummonEffect>
</li>
</comps>
</ThingDef>
</value>
</li>
</operations>
</match>