野人背景故事&燃烧法杖&暂存
This commit is contained in:
		
							parent
							
								
									ee55e44c4c
								
							
						
					
					
						commit
						699a11cd3c
					
				@ -64,4 +64,50 @@
 | 
			
		||||
        </comps>
 | 
			
		||||
      </AbilityDef>
 | 
			
		||||
 | 
			
		||||
      <AbilityDef>
 | 
			
		||||
        <defName>DR_BattleStaffBurner</defName>
 | 
			
		||||
        <label>BattleStaff burner</label>
 | 
			
		||||
        <description>Use terra magic to create a massive cone of flame.</description>
 | 
			
		||||
        <iconPath>UI/Abilities/Burner</iconPath>
 | 
			
		||||
        <cooldownTicksRange>600</cooldownTicksRange>
 | 
			
		||||
        <aiCanUse>true</aiCanUse>
 | 
			
		||||
        <ai_IsIncendiary>true</ai_IsIncendiary>
 | 
			
		||||
        <warmupStartSound>FireSpew_Warmup</warmupStartSound>
 | 
			
		||||
        <verbProperties>
 | 
			
		||||
          <verbClass>Verb_CastAbility</verbClass>
 | 
			
		||||
          <range>22.9</range>
 | 
			
		||||
          <warmupTime>0.5</warmupTime>
 | 
			
		||||
          <soundCast>FireSpew_Resolve</soundCast>
 | 
			
		||||
          <targetParams>
 | 
			
		||||
            <canTargetLocations>true</canTargetLocations>
 | 
			
		||||
          </targetParams>
 | 
			
		||||
          <flammabilityAttachFireChanceCurve>
 | 
			
		||||
            <points>
 | 
			
		||||
              <li>(0.2, 0)</li>
 | 
			
		||||
              <li>(1, 1)</li>
 | 
			
		||||
            </points>
 | 
			
		||||
          </flammabilityAttachFireChanceCurve>
 | 
			
		||||
        </verbProperties>
 | 
			
		||||
        <comps>
 | 
			
		||||
          <li Class="CompProperties_AbilityFireSpew">
 | 
			
		||||
            <range>22.9</range>
 | 
			
		||||
            <lineWidthEnd>5</lineWidthEnd>
 | 
			
		||||
            <filthDef>Filth_Ash</filthDef>
 | 
			
		||||
            <damAmount>30</damAmount>
 | 
			
		||||
            <canHitFilledCells>true</canHitFilledCells>
 | 
			
		||||
          </li>
 | 
			
		||||
          <li Class="CompProperties_AbilityBurner">
 | 
			
		||||
            <numStreams>15</numStreams>
 | 
			
		||||
            <range>24</range> <!-- go a bit further than the actual ability range, since it's meant to be a noisy effect -->
 | 
			
		||||
            <coneSizeDegrees>12</coneSizeDegrees>
 | 
			
		||||
            <moteDef>Mote_IncineratorBurst</moteDef>
 | 
			
		||||
            <barrelOffsetDistance>6</barrelOffsetDistance>
 | 
			
		||||
            <sizeReductionDistanceThreshold>8</sizeReductionDistanceThreshold>
 | 
			
		||||
            <lifespanNoise>40</lifespanNoise>
 | 
			
		||||
            <rangeNoise>.4</rangeNoise>
 | 
			
		||||
            <effecterDef>BurnerUsed</effecterDef>
 | 
			
		||||
          </li>
 | 
			
		||||
        </comps>
 | 
			
		||||
      </AbilityDef>
 | 
			
		||||
 | 
			
		||||
</Defs>
 | 
			
		||||
@ -57,6 +57,32 @@
 | 
			
		||||
 | 
			
		||||
	</AlienRace.AlienBackstoryDef>
 | 
			
		||||
 | 
			
		||||
	<AlienRace.AlienBackstoryDef ParentName="DragonianBackStory">
 | 
			
		||||
		<defName>Dragonian_WildMan</defName>
 | 
			
		||||
		<title>Dragonian WildMan</title>
 | 
			
		||||
		<titleShort>Dragonian WildMan</titleShort>
 | 
			
		||||
		<baseDesc>[PAWN_nameDef] is Dragonian WildMan.\nShe come from underground world.</baseDesc>
 | 
			
		||||
		<slot>Adulthood</slot>
 | 
			
		||||
 | 
			
		||||
		<forcedHediffs IfModActive="LingLuo.PlantHuman">
 | 
			
		||||
			<li>DRM_SummonSickness</li>
 | 
			
		||||
		</forcedHediffs>
 | 
			
		||||
		
 | 
			
		||||
		<spawnCategories>
 | 
			
		||||
			<li>Dragonian_WildMan</li>
 | 
			
		||||
		</spawnCategories>
 | 
			
		||||
 | 
			
		||||
		<skillGains>
 | 
			
		||||
			<Melee>4</Melee>
 | 
			
		||||
			<Mining>4</Mining>
 | 
			
		||||
			<Shooting>-2</Shooting>
 | 
			
		||||
			<Medicine>2</Medicine>
 | 
			
		||||
			<Social>-2</Social>
 | 
			
		||||
			<Plants>2</Plants>
 | 
			
		||||
		</skillGains>
 | 
			
		||||
 | 
			
		||||
	</AlienRace.AlienBackstoryDef>
 | 
			
		||||
 | 
			
		||||
	<AlienRace.AlienBackstoryDef ParentName="DragonianBackStory">
 | 
			
		||||
		<defName>Dragonian_Warrier</defName>
 | 
			
		||||
		<title>Dragonian Warrier</title>
 | 
			
		||||
 | 
			
		||||
@ -433,18 +433,18 @@
 | 
			
		||||
		<hediffClass>HediffWithComps</hediffClass>
 | 
			
		||||
		<comps>
 | 
			
		||||
		  <li Class="HediffCompProperties_SeverityPerDay">
 | 
			
		||||
			<severityPerDay>0.1</severityPerDay>
 | 
			
		||||
			<severityPerDay>1</severityPerDay>
 | 
			
		||||
		  </li>
 | 
			
		||||
		  <li Class="HediffCompProperties_MessageAboveSeverity">
 | 
			
		||||
			<severity>0.2</severity>
 | 
			
		||||
			<messageType>NeutralEvent</messageType>
 | 
			
		||||
			<message>{0_nameDef} is now suffering from duplicate sickness.</message>
 | 
			
		||||
			<message>{0_nameDef} is now suffering from summon sickness.</message>
 | 
			
		||||
		  </li>
 | 
			
		||||
		  <li Class="HediffCompProperties_SurgeryInspectable">
 | 
			
		||||
			<surgicalDetectionDesc>{PAWN_nameDef} is suffering from duplicate sickness. Psychic interference between this person and their duplicate is causing slow mental deterioration. As long as multiple copies of this person are alive, the condition will keep getting worse.</surgicalDetectionDesc> 
 | 
			
		||||
			<surgicalDetectionDesc>{PAWN_nameDef} is suffering from summon sickness. His body is breaking down.the condition will keep getting worse.this condition can be lethal.</surgicalDetectionDesc> 
 | 
			
		||||
		  </li>
 | 
			
		||||
		  <li Class="HediffCompProperties_KillAfterDays">
 | 
			
		||||
			<days>5</days>
 | 
			
		||||
			<days>1</days>
 | 
			
		||||
		  </li>
 | 
			
		||||
		  <li Class="HediffCompProperties_CauseMentalState">
 | 
			
		||||
			<animalMentalState>ManhunterPermanent</animalMentalState>
 | 
			
		||||
 | 
			
		||||
@ -536,8 +536,7 @@
 | 
			
		||||
    </apparelRequired>
 | 
			
		||||
 | 
			
		||||
    <weaponTags>
 | 
			
		||||
      <li>Gun</li>
 | 
			
		||||
      <li>LongShots</li>
 | 
			
		||||
      <li>DR_BattleStaff</li>
 | 
			
		||||
    </weaponTags>
 | 
			
		||||
    <weaponMoney>
 | 
			
		||||
      <min>900</min>
 | 
			
		||||
 | 
			
		||||
@ -198,4 +198,71 @@
 | 
			
		||||
			<!-- </li> -->
 | 
			
		||||
		<!-- </stages> -->
 | 
			
		||||
	<!-- </HediffDef> -->
 | 
			
		||||
 | 
			
		||||
	<ThingDef ParentName="BaseMeleeWeapon_Sharp_Quality">
 | 
			
		||||
		<defName>DR_BattleStaff_Beam</defName>
 | 
			
		||||
		<label>Dragonian Beam Staff</label>
 | 
			
		||||
		<description>A Staff for Dragonian.</description>
 | 
			
		||||
		<graphicData>
 | 
			
		||||
			<texPath>Dragonian/Things/Weapon/staff</texPath>
 | 
			
		||||
			<graphicClass>Graphic_Single</graphicClass>
 | 
			
		||||
			<shaderType>CutoutComplex</shaderType>
 | 
			
		||||
		</graphicData>
 | 
			
		||||
		<uiIconScale>1</uiIconScale>
 | 
			
		||||
		<techLevel>Medieval</techLevel>
 | 
			
		||||
		<statBases>
 | 
			
		||||
			<WorkToMake>12000</WorkToMake>
 | 
			
		||||
			<Mass>15</Mass>
 | 
			
		||||
		</statBases>
 | 
			
		||||
		<equippedAngleOffset>45</equippedAngleOffset>
 | 
			
		||||
		<costStuffCount>80</costStuffCount>
 | 
			
		||||
		<stuffCategories>
 | 
			
		||||
			<li>Metallic</li>
 | 
			
		||||
		</stuffCategories>	
 | 
			
		||||
		<costList>
 | 
			
		||||
			<WoolDragonian>40</WoolDragonian>
 | 
			
		||||
			<Steel>40</Steel>
 | 
			
		||||
			<ComponentIndustrial>5</ComponentIndustrial>
 | 
			
		||||
		</costList>	
 | 
			
		||||
		<recipeMaker>
 | 
			
		||||
			<skillRequirements>
 | 
			
		||||
				<Crafting>10</Crafting>
 | 
			
		||||
			</skillRequirements>
 | 
			
		||||
		</recipeMaker>
 | 
			
		||||
		<tools>
 | 
			
		||||
			<li>
 | 
			
		||||
				<label>handle</label>
 | 
			
		||||
				<capacities>
 | 
			
		||||
					<li>Poke</li>
 | 
			
		||||
				</capacities>
 | 
			
		||||
				<power>8</power>
 | 
			
		||||
				<cooldownTime>2</cooldownTime>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li>
 | 
			
		||||
				<label>physical-magic</label>
 | 
			
		||||
				<capacities>
 | 
			
		||||
					<li>Blunt</li>
 | 
			
		||||
					<li>Demolish</li>
 | 
			
		||||
				</capacities>
 | 
			
		||||
				<power>45</power>
 | 
			
		||||
				<extraMeleeDamages>
 | 
			
		||||
					<li>
 | 
			
		||||
						<def>EMP</def>
 | 
			
		||||
						<amount>4.5</amount>
 | 
			
		||||
					</li>
 | 
			
		||||
					<li>
 | 
			
		||||
						<def>Stun</def>
 | 
			
		||||
						<amount>1.5</amount>
 | 
			
		||||
						<chance>0.25</chance>
 | 
			
		||||
					</li>
 | 
			
		||||
				</extraMeleeDamages>
 | 
			
		||||
				<cooldownTime>5.2</cooldownTime>
 | 
			
		||||
			</li>
 | 
			
		||||
		</tools>
 | 
			
		||||
		<equippedStatOffsets>
 | 
			
		||||
			<PsychicSensitivityOffset MayRequire="Ludeon.Rimworld.Royalty">0.50</PsychicSensitivityOffset>
 | 
			
		||||
			<PsychicEntropyRecoveryRate MayRequire="Ludeon.Rimworld.Royalty">0.083</PsychicEntropyRecoveryRate>
 | 
			
		||||
		</equippedStatOffsets>
 | 
			
		||||
		<meleeHitSound>DRHammerSound</meleeHitSound>
 | 
			
		||||
	</ThingDef>
 | 
			
		||||
</Defs>
 | 
			
		||||
@ -7,4 +7,7 @@
 | 
			
		||||
  <DR_FireBurst.label>火焰爆发</DR_FireBurst.label>
 | 
			
		||||
  <DR_FireBurst.description>超载龙珠引发爆炸,并在地面形成易燃区域。</DR_FireBurst.description>
 | 
			
		||||
 | 
			
		||||
  <DR_BattleStaffBurner.label>火焰喷射(灵质法杖)</DR_BattleStaffBurner.label>
 | 
			
		||||
  <DR_BattleStaffBurner.description>使用大地魔法的力量,喷射出一片巨大的锥形火焰。</DR_BattleStaffBurner.description>
 | 
			
		||||
    
 | 
			
		||||
</LanguageData>
 | 
			
		||||
@ -13,6 +13,10 @@
 | 
			
		||||
    <Dragonian_Warrier.titleShort>战士</Dragonian_Warrier.titleShort>
 | 
			
		||||
    <Dragonian_Warrier.description>[PAWN_nameDef]是龙娘战士。\n她必须保护聚落不受敌人侵犯。</Dragonian_Warrier.description>
 | 
			
		||||
 | 
			
		||||
    <Dragonian_WildMan.title>野生的 龙娘</Dragonian_WildMan.title>
 | 
			
		||||
    <Dragonian_WildMan.titleShort>野生龙娘</Dragonian_WildMan.titleShort>
 | 
			
		||||
    <Dragonian_WildMan.description>[PAWN_nameDef]是野生的龙娘。\n她来自地下的世界。</Dragonian_WildMan.description>
 | 
			
		||||
 | 
			
		||||
    <Dragonian_Clan_Guard.title>龙娘 村庄守卫</Dragonian_Clan_Guard.title>
 | 
			
		||||
    <Dragonian_Clan_Guard.titleShort>村庄守卫</Dragonian_Clan_Guard.titleShort>
 | 
			
		||||
    <Dragonian_Clan_Guard.description>[PAWN_nameDef]是龙娘村庄守卫。\n她只是负责驱赶野生动物而已。</Dragonian_Clan_Guard.description>
 | 
			
		||||
 | 
			
		||||
@ -53,8 +53,129 @@
 | 
			
		||||
					</weaponTags>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
			<li Class="PatchOperationAdd">
 | 
			
		||||
				<xpath>Defs/ThingDef[defName="DR_BattleStaff"]</xpath>
 | 
			
		||||
				<value>
 | 
			
		||||
					<thingCategories>
 | 
			
		||||
						<li>WeaponsRanged</li>
 | 
			
		||||
					  </thingCategories>
 | 
			
		||||
					  <verbs>
 | 
			
		||||
						<li>
 | 
			
		||||
						  <verbClass>Verb_ShootBeam</verbClass>
 | 
			
		||||
						  <hasStandardCommand>true</hasStandardCommand>
 | 
			
		||||
						  <warmupTime>1.0</warmupTime>
 | 
			
		||||
						  <range>24.9</range>
 | 
			
		||||
						  <minRange>3.9</minRange>
 | 
			
		||||
						  <beamFullWidthRange>6.9</beamFullWidthRange>
 | 
			
		||||
						  <burstShotCount>5</burstShotCount>
 | 
			
		||||
						  <showBurstShotStats>false</showBurstShotStats>
 | 
			
		||||
						  <beamWidth>6</beamWidth>
 | 
			
		||||
						  <ticksBetweenBurstShots>22</ticksBetweenBurstShots>
 | 
			
		||||
						  <beamDamageDef>Beam</beamDamageDef>
 | 
			
		||||
						  <soundCastTail>GunTail_Medium</soundCastTail>
 | 
			
		||||
						  <muzzleFlashScale>9</muzzleFlashScale>
 | 
			
		||||
						  <soundCastBeam>BeamGraser_Shooting</soundCastBeam>
 | 
			
		||||
						  <beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
 | 
			
		||||
						  <beamFleckChancePerTick>0.32</beamFleckChancePerTick>
 | 
			
		||||
						  <beamMaxDeviation>1.5</beamMaxDeviation>
 | 
			
		||||
						  <beamCurvature>0.6</beamCurvature>
 | 
			
		||||
						  <beamMoteDef>Mote_GraserBeamBase</beamMoteDef>
 | 
			
		||||
						  <beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
 | 
			
		||||
						  <beamChanceToStartFire>0.85</beamChanceToStartFire>
 | 
			
		||||
						  <beamChanceToAttachFire>0.85</beamChanceToAttachFire>
 | 
			
		||||
						  <beamFireSizeRange>0.55~0.85</beamFireSizeRange>
 | 
			
		||||
						  <beamLineFleckDef>Fleck_BeamSpark</beamLineFleckDef>
 | 
			
		||||
						  <beamStartOffset>0.8</beamStartOffset>
 | 
			
		||||
						  <beamLineFleckChanceCurve>
 | 
			
		||||
							<points>
 | 
			
		||||
							  <li>(0, 0)</li>
 | 
			
		||||
							  <li>(0.65, 0.4)</li>
 | 
			
		||||
							  <li>(1, 0.75)</li>
 | 
			
		||||
							</points>
 | 
			
		||||
						  </beamLineFleckChanceCurve>
 | 
			
		||||
						</li>
 | 
			
		||||
					  </verbs>
 | 
			
		||||
					<comps Inherit="False">
 | 
			
		||||
						<li Class="CompProperties_EquippableAbilityReloadable">
 | 
			
		||||
						  <abilityDef>DR_BattleStaffBurner</abilityDef>
 | 
			
		||||
						</li>
 | 
			
		||||
						<li Class="CompProperties_Forbiddable"/>
 | 
			
		||||
						<li Class="CompProperties_Styleable"/>
 | 
			
		||||
						<li Class="CompProperties_Biocodable"/>
 | 
			
		||||
						<li>
 | 
			
		||||
						  <compClass>CompQuality</compClass>
 | 
			
		||||
						</li>
 | 
			
		||||
						<li Class="CompProperties_Art">
 | 
			
		||||
						  <nameMaker>NamerArtWeaponGun</nameMaker>
 | 
			
		||||
						  <descriptionMaker>ArtDescription_WeaponGun</descriptionMaker>
 | 
			
		||||
						  <minQualityForArtistic>Excellent</minQualityForArtistic>
 | 
			
		||||
						</li>
 | 
			
		||||
					  </comps>
 | 
			
		||||
				</value>
 | 
			
		||||
			</li>
 | 
			
		||||
 | 
			
		||||
		</operations>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationReplace">
 | 
			
		||||
		<xpath>Defs/ThingDef[defName="DR_BattleStaff"]/tools</xpath>
 | 
			
		||||
		<value>
 | 
			
		||||
			<tools>
 | 
			
		||||
				<li>
 | 
			
		||||
					<label>handle</label>
 | 
			
		||||
					<capacities>
 | 
			
		||||
						<li>Poke</li>
 | 
			
		||||
					</capacities>
 | 
			
		||||
					<power>8</power>
 | 
			
		||||
					<cooldownTime>2</cooldownTime>
 | 
			
		||||
				</li>
 | 
			
		||||
				<li>
 | 
			
		||||
					<label>physical-magic</label>
 | 
			
		||||
					<capacities>
 | 
			
		||||
						<li>Blunt</li>
 | 
			
		||||
						<li>Demolish</li>
 | 
			
		||||
					</capacities>
 | 
			
		||||
					<power>15</power>
 | 
			
		||||
					<extraMeleeDamages>
 | 
			
		||||
						<li>
 | 
			
		||||
							<def>Flame</def>
 | 
			
		||||
							<amount>30</amount>
 | 
			
		||||
							<chance>1</chance>
 | 
			
		||||
						  </li>
 | 
			
		||||
						<li>
 | 
			
		||||
							<def>Stun</def>
 | 
			
		||||
							<amount>1.5</amount>
 | 
			
		||||
							<chance>0.25</chance>
 | 
			
		||||
						</li>
 | 
			
		||||
					</extraMeleeDamages>
 | 
			
		||||
					<cooldownTime>5.2</cooldownTime>
 | 
			
		||||
				</li>
 | 
			
		||||
			</tools>
 | 
			
		||||
		</value>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationReplace">
 | 
			
		||||
		<xpath>Defs/ThingDef[defName="DR_BattleStaff"]/statBases</xpath>
 | 
			
		||||
		<value>
 | 
			
		||||
			<statBases>
 | 
			
		||||
				<WorkToMake>12000</WorkToMake>
 | 
			
		||||
				<Mass>15</Mass>
 | 
			
		||||
				<AccuracyTouch>0.60</AccuracyTouch>
 | 
			
		||||
				<AccuracyShort>0.70</AccuracyShort>
 | 
			
		||||
				<AccuracyMedium>0.65</AccuracyMedium>
 | 
			
		||||
				<AccuracyLong>0.55</AccuracyLong>
 | 
			
		||||
				<RangedWeapon_Cooldown>1.70</RangedWeapon_Cooldown>
 | 
			
		||||
			  </statBases>
 | 
			
		||||
		</value>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
	<Operation Class="PatchOperationReplace">
 | 
			
		||||
		<xpath>Defs/ThingDef[defName="DR_BattleStaff"]/weaponClasses</xpath>
 | 
			
		||||
		<value>
 | 
			
		||||
			<weaponClasses>
 | 
			
		||||
				<li>Ranged</li>
 | 
			
		||||
			  </weaponClasses>		
 | 
			
		||||
		</value>
 | 
			
		||||
	</Operation>
 | 
			
		||||
 | 
			
		||||
</Patch>
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user