Advertisement
Guest User

Untitled

a guest
Dec 13th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ThingDefs>
  3.  
  4. <ThingDef Name="BuildingBase" Abstract="True">
  5. <category>Building</category>
  6. <soundImpactDefault>BulletImpactMetal</soundImpactDefault>
  7. <selectable>true</selectable>
  8. <drawerType>MapMeshAndRealTime</drawerType>
  9. <terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
  10. <repairEffect>Repair</repairEffect>
  11. </ThingDef>
  12.  
  13. <ThingDef ParentName="BuildingBase">
  14. <defName>EnergyTurretGun</defName>
  15. <eType>Building_Turret</eType>
  16. <label>Energy Turret</label>
  17. <thingClass>Building_TurretGun</thingClass>
  18. <graphicPath>Things/Building/EnergyTurretGun</graphicPath>
  19. <graphicClass>Graphic_Single</graphicClass>
  20. <altitudeLayer>Waist</altitudeLayer>
  21. <statBases>
  22. <MaxHealth>800</MaxHealth>
  23. <Flammability>1.0</Flammability>
  24. <WorkToMake>2000</WorkToMake>
  25. <Beauty>-60</Beauty>
  26. </statBases>
  27. <tickerType>Normal</tickerType>
  28. <comps>
  29. <li>
  30. <compClass>CompExplosive</compClass>
  31. <explosiveRadius>3.9</explosiveRadius>
  32. <explosiveDamageType>Bomb</explosiveDamageType>
  33. </li>
  34. <li><compClass>CompForbiddable</compClass></li>
  35. <li>
  36. <compClass>CompPowerTrader</compClass>
  37. <basePowerConsumption>700</basePowerConsumption>
  38. </li>
  39. </comps>
  40. <description>A heavily armoured turret that automatically fires 12 burst rounds of concentrated energy at nearby enemies. Explodes when damaged. 800 health. </description>
  41. <size>(1,1)</size>
  42. <researchPrerequisite>EnergyWeapons</researchPrerequisite>
  43. <passability>Impassable</passability>
  44. <castEdgeShadows>true</castEdgeShadows>
  45. <fillPercent>0.4</fillPercent>
  46. <graphicOverdraw>true</graphicOverdraw>
  47. <stuffCategories>
  48. <li>Metallic</li>
  49. </stuffCategories>
  50. <costStuffCount>400</costStuffCount>
  51. <costList>
  52. <Steel>400</Steel>
  53. </costList>
  54. <combatTargetBuilding>true</combatTargetBuilding>
  55. <filthLeavings>
  56. <SlagRubble>3</SlagRubble>
  57. </filthLeavings>
  58. <leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
  59. <terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
  60. <designationCategory>Security</designationCategory>
  61. <specialDisplayRadius>24</specialDisplayRadius>
  62. <building>
  63. <turretGunDef>Gun_EnergyTurret</turretGunDef>
  64. <turretBurstCooldownTicks>100</turretBurstCooldownTicks>
  65. <turretTopgraphicPath>Things/Building/EnergyTurretGun_Top</turretTopgraphicPath>
  66. </building>
  67. </ThingDef>
  68.  
  69. </ThingDefs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement