PN_Artillery
This commit is contained in:
parent
1b9f31683f
commit
5209d119a6
@ -19,11 +19,14 @@
|
||||
<drawSize>1.0</drawSize>
|
||||
</graphicData>
|
||||
<uiIconForStackCount>1</uiIconForStackCount>
|
||||
<stackLimit>100</stackLimit>
|
||||
<stackLimit>150</stackLimit>
|
||||
<rotatable>false</rotatable>
|
||||
<statBases>
|
||||
<MarketValue>60</MarketValue>
|
||||
<Mass>0.01</Mass>
|
||||
<MaxHitPoints>50</MaxHitPoints>
|
||||
<MarketValue>4.2</MarketValue>
|
||||
<Mass>0.05</Mass>
|
||||
<Flammability>2.0</Flammability>
|
||||
<DeteriorationRate>1.0</DeteriorationRate>
|
||||
</statBases>
|
||||
<techLevel>Neolithic</techLevel>
|
||||
<ingestible>
|
||||
|
@ -99,4 +99,37 @@
|
||||
<workSkill>Crafting</workSkill>
|
||||
<researchPrerequisite>PNRP_Production</researchPrerequisite>
|
||||
</RecipeDef>
|
||||
|
||||
<RecipeDef>
|
||||
<defName>PN_Drum_Subdivision</defName>
|
||||
<label>subdivide drum can</label>
|
||||
<description>...</description>
|
||||
<jobString>Making automaton skin.</jobString>
|
||||
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
|
||||
<effectWorking>Cook</effectWorking>
|
||||
<soundWorking>Recipe_Machining</soundWorking>
|
||||
<workAmount>800</workAmount>
|
||||
<allowMixingIngredients>true</allowMixingIngredients>
|
||||
<recipeUsers>
|
||||
<li>PN_AutomatonBench</li>
|
||||
</recipeUsers>
|
||||
<ingredients>
|
||||
<li>
|
||||
<filter>
|
||||
<thingDefs>
|
||||
<li>PN_Fueldrumcan</li>
|
||||
</thingDefs>
|
||||
</filter>
|
||||
<count>1</count>
|
||||
</li>
|
||||
</ingredients>
|
||||
<products>
|
||||
<PN_AutomatonFuel>10</PN_AutomatonFuel>
|
||||
<Steel>5</Steel>
|
||||
</products>
|
||||
<skillRequirements>
|
||||
</skillRequirements>
|
||||
<workSkill>Crafting</workSkill>
|
||||
<researchPrerequisite>PNRP_Production</researchPrerequisite>
|
||||
</RecipeDef>
|
||||
</Defs>
|
@ -97,6 +97,7 @@
|
||||
<uiIconPath>Things/Building/PN_Artillery_Ui</uiIconPath>
|
||||
<altitudeLayer>Building</altitudeLayer>
|
||||
<minifiedDef>MinifiedThing</minifiedDef>
|
||||
<drawerType>MapMeshAndRealTime</drawerType>
|
||||
<thingCategories>
|
||||
<li>BuildingsSecurity</li>
|
||||
</thingCategories>
|
||||
@ -160,7 +161,9 @@
|
||||
<turretTopOffset>(0, 0.35)</turretTopOffset>
|
||||
</building>
|
||||
<placeWorkers>
|
||||
<li>PlaceWorker_NotUnderRoof</li>
|
||||
<li>PlaceWorker_TurretTop</li>
|
||||
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
|
||||
</placeWorkers>
|
||||
<researchPrerequisites>
|
||||
<li>PNRP_AutoArtillery</li>
|
||||
@ -198,7 +201,6 @@
|
||||
<drawSize>(6.0,6.0)</drawSize>
|
||||
</graphicData>
|
||||
<soundInteract>Interact_Rifle</soundInteract>
|
||||
<menuHidden>true</menuHidden>
|
||||
<destroyOnDrop>true</destroyOnDrop>
|
||||
<tradeability>None</tradeability>
|
||||
<useHitPoints>false</useHitPoints>
|
||||
@ -221,7 +223,7 @@
|
||||
<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
|
||||
<defaultProjectile>PN_Bullet_Shell_HighExplosive</defaultProjectile>
|
||||
<warmupTime>5.0</warmupTime>
|
||||
<forcedMissRadius>3</forcedMissRadius>
|
||||
<forcedMissRadius>8</forcedMissRadius>
|
||||
<requireLineOfSight>false</requireLineOfSight>
|
||||
<minRange>29.9</minRange>
|
||||
<range>500</range>
|
||||
|
@ -332,4 +332,63 @@
|
||||
<li>Paniel_Race</li>
|
||||
</recipeUsers>
|
||||
</RecipeDef>
|
||||
|
||||
<!--==================================== 연료 드럼 ====================================-->
|
||||
<ThingDef ParentName="ResourceBase">
|
||||
<defName>PN_Fueldrumcan</defName>
|
||||
<label>PnL fuel drum can</label>
|
||||
<description>...</description>
|
||||
<graphicData Inherit="false">
|
||||
<texPath>Things/Item/PN_fueldrum</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.0</drawSize>
|
||||
</graphicData>
|
||||
<techLevel>Industrial</techLevel>
|
||||
<stackLimit>25</stackLimit>
|
||||
<uiIconForStackCount>1</uiIconForStackCount>
|
||||
<healthAffectsPrice>false</healthAffectsPrice>
|
||||
<statBases>
|
||||
<MaxHitPoints>200</MaxHitPoints>
|
||||
<MarketValue>51.5</MarketValue>
|
||||
<Mass>5.5</Mass>
|
||||
<Flammability>0.4</Flammability>
|
||||
</statBases>
|
||||
<thingCategories>
|
||||
<li>PN_AutomatonCatagory</li>
|
||||
</thingCategories>
|
||||
<tradeability>Sellable</tradeability>
|
||||
<costList>
|
||||
<PN_AutomatonFuel>10</PN_AutomatonFuel>
|
||||
<Steel>5</Steel>
|
||||
</costList>
|
||||
<recipeMaker>
|
||||
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
|
||||
<workSkill>Crafting</workSkill>
|
||||
<recipeUsers>
|
||||
<li>PN_AutomatonBench</li>
|
||||
</recipeUsers>
|
||||
<researchPrerequisite>PNRP_Production</researchPrerequisite>
|
||||
<skillRequirements>
|
||||
|
||||
</skillRequirements>
|
||||
</recipeMaker>
|
||||
<tradeTags Inherit="false">
|
||||
|
||||
</tradeTags>
|
||||
<tickerType>Normal</tickerType>
|
||||
<comps>
|
||||
<li Class="CompProperties_Explosive">
|
||||
<explosiveRadius>1.1</explosiveRadius>
|
||||
<explosiveDamageType>Flame</explosiveDamageType>
|
||||
<explosiveExpandPerStackcount>0.37</explosiveExpandPerStackcount>
|
||||
<startWickOnDamageTaken>
|
||||
<li>Flame</li>
|
||||
</startWickOnDamageTaken>
|
||||
<startWickHitPointsPercent>0.333</startWickHitPointsPercent>
|
||||
<preExplosionSpawnThingDef>Filth_Fuel</preExplosionSpawnThingDef>
|
||||
<preExplosionSpawnChance>1</preExplosionSpawnChance>
|
||||
<wickTicks>70~150</wickTicks>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
</Defs>
|
@ -167,6 +167,7 @@
|
||||
</alienbodytypes>
|
||||
<headOffset>(-0.09, 0.0)</headOffset>
|
||||
<useGenderedHeads>false</useGenderedHeads>
|
||||
<useGenderedBodies>false</useGenderedBodies>
|
||||
<customDrawSize>(1, 1)</customDrawSize>
|
||||
<customPortraitDrawSize>(1, 1)</customPortraitDrawSize>
|
||||
<headBodyPartDef>PNHead</headBodyPartDef>
|
||||
|
267
1.3/Defs/ThingDef/ThingDef_Security.xml
Normal file
267
1.3/Defs/ThingDef/ThingDef_Security.xml
Normal file
@ -0,0 +1,267 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
<!--==================================== 오토캐논 ====================================-->
|
||||
<ThingDef Name="PN_BaseArtilleryBuilding" ParentName="BuildingBase" Abstract="True">
|
||||
<thingClass>Building_TurretGun</thingClass>
|
||||
<drawerType>MapMeshAndRealTime</drawerType>
|
||||
<graphicData>
|
||||
<texPath>Things/Building/PN_Artillery_Base</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<shaderType>CutoutComplex</shaderType>
|
||||
<drawSize>(3,3)</drawSize>
|
||||
</graphicData>
|
||||
<minifiedDef>MinifiedThing</minifiedDef>
|
||||
<altitudeLayer>MoteOverhead</altitudeLayer>
|
||||
<hasInteractionCell>True</hasInteractionCell>
|
||||
<interactionCellOffset>(0,0,-2)</interactionCellOffset> <!--상호작용 위치-->
|
||||
<stealable>false</stealable>
|
||||
<size>(3,3)</size>
|
||||
<passability>PassThroughOnly</passability>
|
||||
<pathCost>50</pathCost>
|
||||
<fillPercent>0.4</fillPercent>
|
||||
<thingCategories>
|
||||
<li>BuildingsSecurity</li>
|
||||
</thingCategories>
|
||||
<stuffCategories>
|
||||
<li>Metallic</li>
|
||||
</stuffCategories>
|
||||
<tickerType>Normal</tickerType>
|
||||
<designationHotKey>Misc4</designationHotKey>
|
||||
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
|
||||
<designationCategory>Security</designationCategory>
|
||||
<costStuffCount>150</costStuffCount>
|
||||
<constructionSkillPrerequisite>5</constructionSkillPrerequisite>
|
||||
<costList>
|
||||
<Steel>150</Steel>
|
||||
<ComponentIndustrial>6</ComponentIndustrial>
|
||||
<PN_AutomatonFuel>20</PN_AutomatonFuel>
|
||||
</costList>
|
||||
<inspectorTabs>
|
||||
<li>ITab_Shells</li>
|
||||
</inspectorTabs>
|
||||
<comps>
|
||||
<li Class="CompProperties_Forbiddable"/>
|
||||
<li Class="CompProperties_Mannable">
|
||||
<manWorkType>Violent</manWorkType>
|
||||
</li>
|
||||
<li Class="CompProperties_Explosive">
|
||||
<wickTicks>240</wickTicks>
|
||||
<explosiveRadius>5.9</explosiveRadius>
|
||||
<explosiveDamageType>Bomb</explosiveDamageType>
|
||||
<chanceNeverExplodeFromDamage>0.5</chanceNeverExplodeFromDamage>
|
||||
</li>
|
||||
<li Class="CompProperties_Refuelable">
|
||||
<fuelLabel>PnL Fuel</fuelLabel>
|
||||
<fuelGizmoLabel>Fuel capacity</fuelGizmoLabel>
|
||||
<outOfFuelMessage>Cannot shoot: Needs fuel drum can</outOfFuelMessage>
|
||||
<fuelFilter>
|
||||
<thingDefs>
|
||||
<li>PN_Fueldrumcan</li>
|
||||
</thingDefs>
|
||||
</fuelFilter>
|
||||
<fuelIsMortarBarrel>true</fuelIsMortarBarrel>
|
||||
<fuelCapacity>20</fuelCapacity>
|
||||
<fuelMultiplier>10</fuelMultiplier>
|
||||
<initialFuelPercent>0</initialFuelPercent>
|
||||
<showFuelGizmo>true</showFuelGizmo>
|
||||
<minimumFueledThreshold>1</minimumFueledThreshold>
|
||||
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
||||
<initialAllowAutoRefuel>true</initialAllowAutoRefuel>
|
||||
<autoRefuelPercent>0.5</autoRefuelPercent>
|
||||
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
|
||||
<fuelIconPath>Things/Building/PN_cannonfuel</fuelIconPath>
|
||||
</li>
|
||||
</comps>
|
||||
<statBases>
|
||||
<MaxHitPoints>220</MaxHitPoints>
|
||||
<Flammability>0.7</Flammability>
|
||||
<WorkToBuild>15000</WorkToBuild>
|
||||
<Mass>200</Mass>
|
||||
<Beauty>-20</Beauty>
|
||||
</statBases>
|
||||
<building>
|
||||
<turretGunDef>PN_Artillery_Turret</turretGunDef>
|
||||
<turretTopDrawSize>3.0</turretTopDrawSize>
|
||||
<turretTopOffset>(0, 0.35)</turretTopOffset>
|
||||
<turretBurstWarmupTime>2.0</turretBurstWarmupTime>
|
||||
<turretBurstCooldownTime>2.0</turretBurstCooldownTime>
|
||||
<buildingTags Inherit="false">
|
||||
</buildingTags>
|
||||
</building>
|
||||
<placeWorkers>
|
||||
<li>PlaceWorker_TurretTop</li>
|
||||
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
|
||||
</placeWorkers>
|
||||
<researchPrerequisites>
|
||||
<li>PNRP_AutoArtillery</li>
|
||||
</researchPrerequisites>
|
||||
<uiIconPath>Things/Building/PN_Artillery_Ui</uiIconPath>
|
||||
<uiIconScale>0.6</uiIconScale>
|
||||
</ThingDef>
|
||||
|
||||
<ThingDef ParentName="BaseWeaponTurret">
|
||||
<defName>PN_Artillery_Turret</defName>
|
||||
<label>PnL Auto Artillery Turret</label>
|
||||
<description>...</description>
|
||||
<graphicData>
|
||||
<texPath>Things/Building/PN_Artillery_Turret</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>(6.0,6.0)</drawSize>
|
||||
</graphicData>
|
||||
<recoilPower>10</recoilPower>
|
||||
<altitudeLayer>MoteOverhead</altitudeLayer>
|
||||
<weaponTags Inherit="false">
|
||||
</weaponTags>
|
||||
<verbs>
|
||||
<li>
|
||||
<verbClass>Verb_Shoot</verbClass>
|
||||
<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
|
||||
<warmupTime>4.0</warmupTime>
|
||||
<forcedMissRadius>2</forcedMissRadius>
|
||||
<forcedMissRadiusClassicMortars>2</forcedMissRadiusClassicMortars>
|
||||
<isMortar>true</isMortar>
|
||||
<requireLineOfSight>true</requireLineOfSight>
|
||||
<minRange>11.9</minRange>
|
||||
<range>500</range>
|
||||
<burstShotCount>1</burstShotCount>
|
||||
<soundCast>PNCannonSound</soundCast>
|
||||
<muzzleFlashScale>16</muzzleFlashScale>
|
||||
<consumeFuelPerShot>1</consumeFuelPerShot>
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
</targetParams>
|
||||
</li>
|
||||
</verbs>
|
||||
<comps>
|
||||
<li Class="CompProperties_ChangeableProjectile" />
|
||||
</comps>
|
||||
<building>
|
||||
<fixedStorageSettings>
|
||||
<filter>
|
||||
<categories>
|
||||
<li>PN_Shell</li>
|
||||
</categories>
|
||||
</filter>
|
||||
</fixedStorageSettings>
|
||||
<defaultStorageSettings>
|
||||
<filter>
|
||||
<categories>
|
||||
<li>PN_Shell</li>
|
||||
</categories>
|
||||
<disallowedThingDefs>
|
||||
</disallowedThingDefs>
|
||||
</filter>
|
||||
</defaultStorageSettings>
|
||||
</building>
|
||||
</ThingDef>
|
||||
|
||||
<DesignatorDropdownGroupDef>
|
||||
<defName>PN_Artillery_Dropdown</defName>
|
||||
<label>PnL Auto Artillery</label>
|
||||
</DesignatorDropdownGroupDef>
|
||||
|
||||
<ThingDef ParentName="PN_BaseArtilleryBuilding">
|
||||
<defName>PN_Artillery_Base_Brain</defName>
|
||||
<label>PnL Auto Artillery</label>
|
||||
<description>...</description>
|
||||
<costList>
|
||||
<PN_Brain>1</PN_Brain>
|
||||
</costList>
|
||||
</ThingDef>
|
||||
|
||||
<ThingDef ParentName="PN_BaseArtilleryBuilding">
|
||||
<defName>PN_Artillery_Base_Core</defName>
|
||||
<label>PnL Auto Artillery</label>
|
||||
<description>...</description>
|
||||
<costList>
|
||||
<PN_BrainCasing>1</PN_BrainCasing>
|
||||
</costList>
|
||||
</ThingDef>
|
||||
|
||||
<ThingCategoryDef>
|
||||
<defName>PN_Shell</defName>
|
||||
<label>PnL Shell</label>
|
||||
<parent>PN_AutomatonCatagory</parent>
|
||||
<resourceReadoutRoot>true</resourceReadoutRoot>
|
||||
<iconPath>UI/Icons/ThingCategories/Manufactured</iconPath>
|
||||
</ThingCategoryDef>
|
||||
|
||||
<ThingDef ParentName="ResourceBase">
|
||||
<defName>PN_Shell_HighExplosive</defName>
|
||||
<label>PnL high-explosive shell</label>
|
||||
<description>...</description>
|
||||
<graphicData>
|
||||
<texPath>Things/Item/PNShellHE</texPath>
|
||||
<graphicClass>Graphic_StackCount</graphicClass>
|
||||
<drawSize>1.0</drawSize>
|
||||
</graphicData>
|
||||
<techLevel>Industrial</techLevel>
|
||||
<stackLimit>25</stackLimit>
|
||||
<uiIconForStackCount>1</uiIconForStackCount>
|
||||
<healthAffectsPrice>false</healthAffectsPrice>
|
||||
<soundInteract>Metal_Drop</soundInteract>
|
||||
<soundDrop>Standard_Drop</soundDrop>
|
||||
<projectileWhenLoaded>PN_Bullet_Shell_HighExplosive</projectileWhenLoaded>
|
||||
<statBases>
|
||||
<MaxHitPoints>60</MaxHitPoints>
|
||||
<MarketValue>55</MarketValue>
|
||||
<Mass>1.25</Mass>
|
||||
<Flammability>1.0</Flammability>
|
||||
<DeteriorationRate>1.5</DeteriorationRate>
|
||||
</statBases>
|
||||
<thingCategories>
|
||||
<li>PN_Shell</li>
|
||||
</thingCategories>
|
||||
<tradeability>Sellable</tradeability>
|
||||
<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>
|
||||
<tickerType>Normal</tickerType>
|
||||
<costList>
|
||||
<Steel>25</Steel>
|
||||
<PN_AutomatonFuel>15</PN_AutomatonFuel>
|
||||
</costList>
|
||||
<recipeMaker>
|
||||
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
|
||||
<effectWorking>Cook</effectWorking>
|
||||
<soundWorking>Recipe_Machining</soundWorking>
|
||||
<workAmount>800</workAmount>
|
||||
<targetCountAdjustment>5</targetCountAdjustment>
|
||||
<workSkill>Crafting</workSkill>
|
||||
<recipeUsers Inherit="false">
|
||||
<li>PN_AutomatonBench</li>
|
||||
</recipeUsers>
|
||||
<researchPrerequisite>PNRP_AutoArtillery</researchPrerequisite>
|
||||
<skillRequirements>
|
||||
<Crafting>4</Crafting>
|
||||
</skillRequirements>
|
||||
</recipeMaker>
|
||||
</ThingDef>
|
||||
|
||||
<ThingDef ParentName="BaseBullet">
|
||||
<defName>PN_Bullet_Shell_HighExplosive</defName>
|
||||
<label>high-explosive shell</label>
|
||||
<graphicData>
|
||||
<texPath>Things/Projectile/ShellHighExplosive</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<shaderType>TransparentPostLight</shaderType>
|
||||
</graphicData>
|
||||
<thingClass>Projectile_Explosive</thingClass>
|
||||
<projectile>
|
||||
<damageDef>Bomb</damageDef>
|
||||
<speed>100</speed>
|
||||
<explosionRadius>3.9</explosionRadius>
|
||||
<flyOverhead>true</flyOverhead>
|
||||
<soundHitThickRoof>Artillery_HitThickRoof</soundHitThickRoof>
|
||||
<soundExplode>MortarBomb_Explode</soundExplode>
|
||||
<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
|
||||
<soundAmbient>MortarRound_Ambient</soundAmbient>
|
||||
</projectile>
|
||||
</ThingDef>
|
||||
</Defs>
|
BIN
Textures/Things/Building/PN_cannonfuel.png
Normal file
BIN
Textures/Things/Building/PN_cannonfuel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
Textures/Things/Item/PN_fueldrum.png
Normal file
BIN
Textures/Things/Item/PN_fueldrum.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
Loading…
x
Reference in New Issue
Block a user