Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. <ThingDef ParentName="ShipBase">
  2. <defName>SRTSSkip</defName> <!-- defName must be unique, including with other mods so be creative -->
  3. <label>SRTS Mk.I: Skip</label> <!-- name displayed ingame -->
  4. <description>An aerial military vessel designed to scout, quest, and assault. Liable to breakdown.
  5.  
  6. Passenger capacity: Min 1 - 2 Max
  7. Military: 5 bombs
  8. ----------------------------
  9. Speed: Normal
  10. Fuel capacity: 500L
  11. Fuel efficiency: Good
  12. ----------------------------
  13. Cargo capacity: 420kg
  14. Internal power plant: 800w</description> <!-- description of course... -->
  15. <graphicData>
  16. <texPath>Skip</texPath> <!-- filepath starting from Textures folder, our textures our not organized so.. no file path can be noticed lol -->
  17. <graphicClass>Graphic_Multi</graphicClass> <!-- graphic class can be left alone, it's how the game pulls _north, _east, _south textures -->
  18. <drawSize>(4,4)</drawSize> <!-- how much the image is stretched out ingame -->
  19. </graphicData>
  20. <size>(2,2)</size> <!-- hitbox -->
  21. <statBases>
  22. <MaxHitPoints>350</MaxHitPoints> <!-- hitpoints of the building -->
  23. <WorkToBuild>7200</WorkToBuild> <!-- how much work it costs to build, which is more like a base type, as more properties affect it, resulting in a different final number for construction -->
  24. <Flammability>0.7</Flammability> <!-- how easy it is to catch on fire (duh) -->
  25. <Mass>20</Mass> <!-- how much it weighs for a pawn to carry. My guess is they are light in this mod so pawns entering a map will throw it in their inventory rather than lose it, but i can check that later. -->
  26. <Beauty>25</Beauty> <!-- beauty on overlap, and for pawns -->
  27. </statBases>
  28. <costList> <!-- Costs to build, the names are the defNames of items -->
  29. <Steel>1020</Steel>
  30. <Plasteel>125</Plasteel>
  31. <Gold>100</Gold>
  32. <Silver>1250</Silver>
  33. <ComponentIndustrial>12</ComponentIndustrial>
  34. </costList>
  35. <comps> <!-- required for sending as drop pod -->
  36. <li Class="CompProperties_Transporter">
  37. <restEffectiveness>0.75</restEffectiveness>
  38. <massCapacity>420</massCapacity>
  39. </li>
  40. <li Class="SRTS.CompProperties_LaunchableSRTS"> <!-- required for SRTS like functionality (ie. space ship reusable drop pod -->
  41. <travelSpeed>8</travelSpeed>
  42. <fuelPerTile>1.75</fuelPerTile>
  43. <minPassengers>1</minPassengers>
  44. <maxPassengers>2</maxPassengers>
  45. </li>
  46. <li Class="SRTS.CompProperties_BombsAway"> <!-- include this comp if you want it to be able to carpet bomb, remove this comp if you dont -->
  47. <numberBombs>5</numberBombs> <!-- num dropped per run -->
  48. <radiusOfDrop>4</radiusOfDrop> <!-- how many cells out from the center the bombs may drop -->
  49. <speed>1</speed> <!-- How quickly the ship flies over. Default 1 -->
  50. <distanceBetweenDrops>8</distanceBetweenDrops> <!-- Distance in cells from when each bomb is dropped -->
  51. </li>
  52. <li Class="CompProperties_Refuelable"> <!-- comp for allowing to fuel the srts, don't remove -->
  53. <fuelCapacity>500</fuelCapacity>
  54. <targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
  55. <initialConfigurableTargetFuelLevel>500</initialConfigurableTargetFuelLevel>
  56. <fuelFilter>
  57. <thingDefs>
  58. <li>Chemfuel</li>
  59. </thingDefs>
  60. </fuelFilter>
  61. <consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
  62. <initialFuelPercent>0.25</initialFuelPercent>
  63. <autoRefuelPercent>1</autoRefuelPercent>
  64. <showFuelGizmo>true</showFuelGizmo>
  65. <drawOutOfFuelOverlay>false</drawOutOfFuelOverlay>
  66. <drawFuelGaugeInMap>false</drawFuelGaugeInMap>
  67. </li>
  68. <li Class="CompProperties_Power"> <!-- how much power it gives off (gonna be making this cost fuel in the future -->
  69. <compClass>CompPowerPlant</compClass>
  70. <basePowerConsumption>-800</basePowerConsumption>
  71. <transmitsPower>true</transmitsPower>
  72. </li>
  73. <li Class="CompProperties_Breakdownable" />
  74. <li Class="CompProperties_Flickable" />
  75. <li Class="CompProperties_Glower">
  76. <glowRadius>12</glowRadius>
  77. <glowColor>(217,217,217,0)</glowColor>
  78. </li>
  79. </comps>
  80. <researchPrerequisites> <!-- research requirements -->
  81. <li>Research_SRTSSkip</li>
  82. </researchPrerequisites>
  83. <constructionSkillPrerequisite>7</constructionSkillPrerequisite> <!-- construction skill requirements -->
  84. <uiIconScale>0.55</uiIconScale> <!-- UI scaling -->
  85. </ThingDef>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement