Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <ThingDefs>
- <ThingDef Name="BuildingBase" Abstract="True">
- <category>Building</category>
- <soundImpactDefault>BulletImpactMetal</soundImpactDefault>
- <selectable>true</selectable>
- <drawerType>MapMeshAndRealTime</drawerType>
- <terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
- <repairEffect>Repair</repairEffect>
- </ThingDef>
- <ThingDef ParentName="BuildingBase">
- <defName>EnergyTurretGun</defName>
- <eType>Building_Turret</eType>
- <label>Energy Turret</label>
- <thingClass>Building_TurretGun</thingClass>
- <graphicPath>Things/Building/EnergyTurretGun</graphicPath>
- <graphicClass>Graphic_Single</graphicClass>
- <altitudeLayer>Waist</altitudeLayer>
- <statBases>
- <MaxHealth>800</MaxHealth>
- <Flammability>1.0</Flammability>
- <WorkToMake>2000</WorkToMake>
- <Beauty>-60</Beauty>
- </statBases>
- <tickerType>Normal</tickerType>
- <comps>
- <li>
- <compClass>CompExplosive</compClass>
- <explosiveRadius>3.9</explosiveRadius>
- <explosiveDamageType>Bomb</explosiveDamageType>
- </li>
- <li><compClass>CompForbiddable</compClass></li>
- <li>
- <compClass>CompPowerTrader</compClass>
- <basePowerConsumption>700</basePowerConsumption>
- </li>
- </comps>
- <description>A heavily armoured turret that automatically fires 12 burst rounds of concentrated energy at nearby enemies. Explodes when damaged. 800 health. </description>
- <size>(1,1)</size>
- <researchPrerequisite>EnergyWeapons</researchPrerequisite>
- <passability>Impassable</passability>
- <castEdgeShadows>true</castEdgeShadows>
- <fillPercent>0.4</fillPercent>
- <graphicOverdraw>true</graphicOverdraw>
- <stuffCategories>
- <li>Metallic</li>
- </stuffCategories>
- <costStuffCount>400</costStuffCount>
- <costList>
- <Steel>400</Steel>
- </costList>
- <combatTargetBuilding>true</combatTargetBuilding>
- <filthLeavings>
- <SlagRubble>3</SlagRubble>
- </filthLeavings>
- <leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
- <terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
- <designationCategory>Security</designationCategory>
- <specialDisplayRadius>24</specialDisplayRadius>
- <building>
- <turretGunDef>Gun_EnergyTurret</turretGunDef>
- <turretBurstCooldownTicks>100</turretBurstCooldownTicks>
- <turretTopgraphicPath>Things/Building/EnergyTurretGun_Top</turretTopgraphicPath>
- </building>
- </ThingDef>
- </ThingDefs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement