레일건 수정 / 텍스쳐 추가 / 디스크럽션 추가

This commit is contained in:
Cocopomel
2022-09-17 22:52:44 +09:00
parent ca3712ec0d
commit 415499bdeb
12 changed files with 114 additions and 115 deletions

View File

@@ -186,6 +186,66 @@
</recipeMaker>
</ThingDef>
<ThingDef ParentName="BodyPartBase">
<defName>PN_BrainCasingAntigrain</defName>
<label>Antigrain core</label>
<description>A brain core used to Railgun.</description>
<graphicData Inherit="false">
<texPath>Things/Item/PNAntigrainCore</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1</drawSize>
</graphicData>
<isTechHediff>false</isTechHediff>
<thingCategories Inherit="false">
<li>PN_BrainCoreCatagory</li>
</thingCategories>
<resourceReadoutPriority>Middle</resourceReadoutPriority>
<statBases>
<Mass>1</Mass>
<WorkToMake>13000</WorkToMake>
<Flammability>0.7</Flammability>
</statBases>
<costList>
<PN_BrainCasing>1</PN_BrainCasing>
<PN_Component>2</PN_Component>
<ComponentSpacer>2</ComponentSpacer>
<Steel>15</Steel>
<Shell_AntigrainWarhead>1</Shell_AntigrainWarhead>
</costList>
<tradeTags Inherit="false">
</tradeTags>
<tradeability>Buyable</tradeability>
<tickerType>Normal</tickerType>
<comps>
<li Class="CompProperties_Explosive">
<explosiveRadius>14.9</explosiveRadius>
<explosiveDamageType>BombSuper</explosiveDamageType>
<explosiveExpandPerStackcount>0.4</explosiveExpandPerStackcount>
<startWickHitPointsPercent>0.7</startWickHitPointsPercent>
<chanceToStartFire>0.22</chanceToStartFire>
<damageFalloff>true</damageFalloff>
<explosionEffect>GiantExplosion</explosionEffect>
<explosionSound>Explosion_GiantBomb</explosionSound>
<wickTicks>60~120</wickTicks>
</li>
</comps>
<recipeMaker>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<unfinishedThingDef>UnfinishedHealthItemBionic</unfinishedThingDef>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<researchPrerequisite>PNRP_Railgun</researchPrerequisite>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
</recipeMaker>
</ThingDef>
<!--==================================== 수리키트 ====================================-->
<ThingCategoryDef>
<defName>PNKit</defName>
@@ -431,9 +491,9 @@
<ThingDef ParentName="ResourceBase">
<defName>PN_OTPCard</defName>
<label>PnL OTP card</label>
<description>...</description>
<description>A disposable OTP card used to connect to a secure line in the PnL industry.</description>
<graphicData>
<texPath>Things/Item/Special/AIPersonaCore</texPath>
<texPath>Things/Item/PNOTPCard</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<stackLimit>50</stackLimit>

View File

@@ -37,6 +37,7 @@
<costList>
<Steel>150</Steel>
<ComponentIndustrial>6</ComponentIndustrial>
<PN_Component>2</PN_Component>
<PN_BrainCasing>1</PN_BrainCasing>
</costList>
<inspectorTabs>
@@ -149,7 +150,6 @@
<filter>
<thingDefs>
<li>PN_Shell_HE</li>
<li>PN_Shell_AP</li>
<li>PN_Shell_CI</li>
<li>PN_Shell_EMP</li>
<li>PN_Shell_FF</li>
@@ -164,7 +164,6 @@
<li>PN_Shell</li>
</categories>
<disallowedThingDefs>
<li>PN_Shell_AP</li>
<li>PN_Shell_EMP</li>
<li>PN_Shell_FF</li>
<li>PN_Shell_Smoke</li>
@@ -179,7 +178,7 @@
<ThingDef ParentName="BuildingBase">
<defName>PN_Railgun_Base_Core</defName>
<label>PnL Railgun</label>
<description>Railgun designed by PnL Industry.</description>
<description>Railgun designed by PnL Industry. It uses an automaton brain core to control antigrain to generate huge amounts of power to charge the railgun.\nHowever, it is necessary to periodically change the brain core due to excessive load in antigrain control.\n\nUnlike PnL Howitzer, there is no aiming correction function. The component built into the shell replace the aiming correction function, but not perfect.</description>
<!--<designatorDropdown>PN_Artillery_Dropdown</designatorDropdown>-->
<thingClass>Building_TurretGun</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
@@ -211,8 +210,9 @@
<constructionSkillPrerequisite>5</constructionSkillPrerequisite>
<costList>
<Steel>150</Steel>
<ComponentSpacer>12</ComponentSpacer>
<PN_BrainCasing>1</PN_BrainCasing>
<PN_Component>6</PN_Component>
<ComponentSpacer>6</ComponentSpacer>
<PN_BrainCasingAntigrain>1</PN_BrainCasingAntigrain>
</costList>
<inspectorTabs>
<li>ITab_Shells</li>
@@ -224,35 +224,36 @@
<li Class="CompProperties_Mannable">
<manWorkType>Violent</manWorkType>
</li>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>3600</basePowerConsumption>
</li>
<li Class="CompProperties_Explosive">
<wickTicks>240</wickTicks>
<explosiveRadius>14.9</explosiveRadius>
<explosiveDamageType>EMP</explosiveDamageType>
<chanceNeverExplodeFromDamage>0.5</chanceNeverExplodeFromDamage>
<explosiveDamageType>BombSuper</explosiveDamageType>
<explosiveExpandPerStackcount>0.4</explosiveExpandPerStackcount>
<startWickHitPointsPercent>0.7</startWickHitPointsPercent>
<chanceToStartFire>0.22</chanceToStartFire>
<damageFalloff>true</damageFalloff>
<explosionEffect>GiantExplosion</explosionEffect>
<explosionSound>Explosion_GiantBomb</explosionSound>
<wickTicks>60~120</wickTicks>
</li>
<li Class="CompProperties_Refuelable">
<fuelLabel>Shots until core overload</fuelLabel>
<fuelLabel>Shots until antigrain core overload</fuelLabel>
<fuelGizmoLabel>Core overload</fuelGizmoLabel>
<outOfFuelMessage>Cannot shoot: Needs new core</outOfFuelMessage>
<outOfFuelMessage>Cannot shoot: Needs new antigrain core</outOfFuelMessage>
<fuelFilter>
<thingDefs>
<li>PN_BrainCasing</li>
<li>PN_BrainCasingAntigrain</li>
</thingDefs>
</fuelFilter>
<fuelIsMortarBarrel>true</fuelIsMortarBarrel>
<fuelCapacity>100</fuelCapacity>
<fuelMultiplier>100</fuelMultiplier>
<initialFuelPercent>100</initialFuelPercent>
<fuelCapacity>10</fuelCapacity>
<fuelMultiplier>10</fuelMultiplier>
<initialFuelPercent>1</initialFuelPercent>
<showFuelGizmo>true</showFuelGizmo>
<minimumFueledThreshold>1</minimumFueledThreshold>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<initialAllowAutoRefuel>true</initialAllowAutoRefuel>
<autoRefuelPercent>0</autoRefuelPercent>
<fuelIconPath>Things/Building/PN_cannoncore</fuelIconPath>
<fuelIconPath>Things/Building/PN_cannonAGcore</fuelIconPath>
</li>
</comps>
<statBases>
@@ -268,7 +269,7 @@
<turretTopDrawSize>3.0</turretTopDrawSize>
<turretTopOffset>(0, 0.35)</turretTopOffset>
<turretBurstWarmupTime>4.5</turretBurstWarmupTime>
<turretBurstCooldownTime>7.0</turretBurstCooldownTime>
<turretBurstCooldownTime>14.0</turretBurstCooldownTime>
<buildingTags Inherit="false">
</buildingTags>
</building>
@@ -296,12 +297,6 @@
<altitudeLayer>MoteOverhead</altitudeLayer>
<weaponTags Inherit="false">
</weaponTags>
<!--<statBases>
<AccuracyTouch>0.20</AccuracyTouch>
<AccuracyShort>0.85</AccuracyShort>
<AccuracyMedium>0.98</AccuracyMedium>
<AccuracyLong>0.80</AccuracyLong>
</statBases>-->
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>

View File

@@ -153,74 +153,6 @@
<!---<workerClass>TorgueAnty.TorgueAnty_DamageWorker_AddInjury</workerClass>-->
</DamageDef>
<!--관통탄-->
<ThingDef ParentName="PN_ShellBase">
<defName>PN_Shell_AP</defName>
<label>PnL AP shell</label>
<description>A special shell that hits a single target with huge damaged. Difficult to hit against moving enemies. Explodes when damaged.</description>
<graphicData>
<texPath>Things/Item/PNShell/PNShellAP</texPath>
</graphicData>
<projectileWhenLoaded>PN_Bullet_Shell_AP</projectileWhenLoaded>
<statBases>
<MaxHitPoints>60</MaxHitPoints>
<Mass>1.25</Mass>
<Flammability>1.0</Flammability>
<DeteriorationRate>1.5</DeteriorationRate>
</statBases>
<comps>
<li Class="CompProperties_Explosive">
<explosiveRadius>3.9</explosiveRadius>
<explosiveDamageType>Bomb</explosiveDamageType>
<explosiveExpandPerStackcount>0.4</explosiveExpandPerStackcount>
<startWickHitPointsPercent>0.7</startWickHitPointsPercent>
<wickTicks>30~60</wickTicks>
</li>
</comps>
<costList>
<Uranium>15</Uranium>
<Steel>25</Steel>
<Chemfuel>30</Chemfuel>
</costList>
</ThingDef>
<ThingDef ParentName="PN_BaseBullet_Shell">
<defName>PN_Bullet_Shell_AP</defName>
<label>AP shell</label>
<graphicData>
<texPath>Things/Projectile/ShellHighExplosive</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
</graphicData>
<thingClass>Projectile_Explosive</thingClass>
<projectile>
<damageDef>PN_APbomb</damageDef>
<speed>205</speed>
<explosionRadius>0.9</explosionRadius>
<soundHitThickRoof>Artillery_HitThickRoof</soundHitThickRoof>
<soundExplode>MortarBomb_Explode</soundExplode>
<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
<soundAmbient>MortarRound_Ambient</soundAmbient>
</projectile>
</ThingDef>
<DamageDef ParentName="Bomb">
<defName>PN_APbomb</defName>
<workerClass>DamageWorker_Stab</workerClass>
<stabChanceOfForcedInternal>1.0</stabChanceOfForcedInternal>
<overkillPctToDestroyPart>0.6~1.0</overkillPctToDestroyPart>
<armorCategory>Sharp</armorCategory>
<defaultDamage>125</defaultDamage>
<minDamageToFragment>200</minDamageToFragment>
<defaultStoppingPower>5.0</defaultStoppingPower>
<defaultArmorPenetration>1.20</defaultArmorPenetration>
<buildingDamageFactorImpassable>0.2</buildingDamageFactorImpassable>
<buildingDamageFactorPassable>0.2</buildingDamageFactorPassable>
<plantDamageFactor>1</plantDamageFactor>
<explosionAffectOutsidePartsOnly>true</explosionAffectOutsidePartsOnly>
</DamageDef>
<!--확산 소이탄-->
<ThingDef ParentName="PN_ShellBase">
@@ -606,12 +538,12 @@
</projectile>
</ThingDef>
<!--레일건-->
<!--레일건-->
<ThingDef ParentName="PN_ShellBase">
<defName>PN_Shell_RG</defName>
<label>PnL Railgun shell</label>
<description>...</description>
<description>A special shell used in railgun.</description>
<graphicData>
<texPath>Things/Item/PNShell/PNShellAP</texPath>
</graphicData>
@@ -619,7 +551,7 @@
<statBases>
<MaxHitPoints>60</MaxHitPoints>
<Mass>1.25</Mass>
<Flammability>1.0</Flammability>
<Flammability>0</Flammability>
<DeteriorationRate>1.5</DeteriorationRate>
</statBases>
<comps>
@@ -628,6 +560,10 @@
<costList>
<Uranium>30</Uranium>
<Steel>50</Steel>
<PN_Component>1</PN_Component>
</costList>
<researchPrerequisites Inherit="false">
<li>PNRP_Railgun</li>
</researchPrerequisites>
</ThingDef>
</Defs>

View File

@@ -941,17 +941,24 @@
<thingClass>Projectile_Explosive</thingClass>
<projectile>
<damageDef>PN_BombRG</damageDef>
<speed>410</speed>
<speed>615</speed>
<explosionRadius>1.9</explosionRadius>
</projectile>
</ThingDef>
<DamageDef ParentName="Bomb">
<defName>PN_BombRG</defName>
<workerClass>DamageWorker_Blunt</workerClass>
<stabChanceOfForcedInternal>1.0</stabChanceOfForcedInternal>
<overkillPctToDestroyPart>0.6~1.0</overkillPctToDestroyPart>
<armorCategory>Sharp</armorCategory>
<defaultDamage>550</defaultDamage>
<defaultStoppingPower>2.0</defaultStoppingPower>
<defaultArmorPenetration>1.30</defaultArmorPenetration>
<explosionColorCenter>(0.6, 0.5, 0.4)</explosionColorCenter>
<explosionColorEdge>(0.6, 0.5, 0.4)</explosionColorEdge>
<minDamageToFragment>700</minDamageToFragment>
<defaultStoppingPower>5.0</defaultStoppingPower>
<defaultArmorPenetration>2.00</defaultArmorPenetration>
<buildingDamageFactorImpassable>0.1</buildingDamageFactorImpassable>
<buildingDamageFactorPassable>0.1</buildingDamageFactorPassable>
<plantDamageFactor>1</plantDamageFactor>
<explosionAffectOutsidePartsOnly>true</explosionAffectOutsidePartsOnly>
</DamageDef>
</Defs>

View File

@@ -90,7 +90,7 @@
<ThingDef ParentName="PN_BaseMeleeWeapon_Sharp">
<defName>PN_WarHammer</defName>
<label>PnL warhammer</label>
<description>[caution] : Automaton exclusive weapon.\n\n...</description>
<description>[caution] : Automaton exclusive weapon.\n\nA luxurious war hammer made by PnL industry. There is no special function.</description>
<graphicData>
<texPath>Things/Weapons/PNWarHammer</texPath>
<graphicClass>Graphic_Single</graphicClass>
@@ -405,7 +405,7 @@
<ThingDef ParentName="PN_BaseMakeableGun">
<defName>PN_RoyalHeavySlug</defName>
<label>PnL royal heavy slug rifle</label>
<description>[caution] : Automaton exclusive weapon.\n\nroyal guard rifle produced by PnL industry.</description>
<description>[caution] : Automaton exclusive weapon.\n\nheavy slug rifle produced by PnL industry.</description>
<techLevel>Spacer</techLevel>
<relicChance>1</relicChance>
<graphicData>
@@ -527,7 +527,7 @@
<ThingDef ParentName="PN_BaseMakeableGun">
<defName>PN_RoyalMachinegun</defName>
<label>PnL royal machine gun</label>
<description>...</description>
<description>[caution] : Automaton exclusive weapon.\n\nroyal machine gun produced by PnL industry.</description>
<techLevel>Spacer</techLevel>
<relicChance>1</relicChance>
<graphicData>