Skip to content

Commit

Permalink
more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogliss committed Aug 3, 2021
1 parent d9bc133 commit 67ed0b4
Show file tree
Hide file tree
Showing 4 changed files with 286 additions and 404 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<!--=============== Mini-turret Base ===============-->
<ThingDef Abstract="True" Name="OG_Turret_Base" ParentName="BuildingBase">
<thingClass>Building_TurretGun</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<uiIconScale>0.90</uiIconScale>
<minifiedDef>MinifiedThing</minifiedDef>
<altitudeLayer>Building</altitudeLayer>
<stealable>false</stealable>
<rotatable>false</rotatable>
<thingCategories>
<li>BuildingsSecurity</li>
</thingCategories>
<statBases>
<MaxHitPoints>100</MaxHitPoints>
<Flammability>0.7</Flammability>
<WorkToBuild>1800</WorkToBuild>
<Mass>8</Mass>
<Beauty>-20</Beauty>
</statBases>
<tickerType>Normal</tickerType>
<passability>PassThroughOnly</passability>
<pathCost>50</pathCost>
<fillPercent>0.4</fillPercent>
<hasTooltip>true</hasTooltip>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<designationCategory>Security</designationCategory>
<constructionSkillPrerequisite>5</constructionSkillPrerequisite>
<building>
<ai_combatDangerous>true</ai_combatDangerous>
<!--turretTopDrawSize>2.7</turretTopDrawSize>
<turretTopOffset>(0, -0.05)</turretTopOffset-->
</building>
<placeWorkers>
<li>PlaceWorker_TurretTop</li>
<li>PlaceWorker_ShowTurretRadius</li>
</placeWorkers>
<designationHotKey>Misc2</designationHotKey>
</ThingDef>

<ThingDef Abstract="True" Name="OG_LaserTurret_Base" ParentName="OG_Turret_Base">
<thingClass>AdeptusMechanicus.Lasers.Building_LaserGun</thingClass>
<researchPrerequisites>
<li>OG_Common_Tech_Weapons_Laser</li>
</researchPrerequisites>
</ThingDef>

<!--=============== Heavy-turret Base ===============-->
<ThingDef Abstract="True" Name="OG_HeavyTurret_Base" ParentName="BuildingBase">
<thingClass>Building_TurretGun</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<altitudeLayer>Building</altitudeLayer>
<stealable>false</stealable>
<rotatable>false</rotatable>
<size>(2,2)</size>
<statBases>
<MaxHitPoints>380</MaxHitPoints>
<Flammability>0.7</Flammability>
<WorkToBuild>15000</WorkToBuild>
<Mass>100</Mass>
<Beauty>-20</Beauty>
</statBases>
<tickerType>Normal</tickerType>
<passability>PassThroughOnly</passability>
<pathCost>50</pathCost>
<fillPercent>0.5</fillPercent>
<hasTooltip>true</hasTooltip>
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
<designationCategory>Security</designationCategory>
<constructionSkillPrerequisite>6</constructionSkillPrerequisite>
<building>
<ai_combatDangerous>true</ai_combatDangerous>
<turretTopDrawSize>2.7</turretTopDrawSize>
<turretTopOffset>(0, 0.05)</turretTopOffset>
</building>
<placeWorkers>
<li>PlaceWorker_TurretTop</li>
<li>PlaceWorker_ShowTurretRadius</li>
</placeWorkers>
<designationHotKey>Misc3</designationHotKey>
<uiIconScale>0.95</uiIconScale>
</ThingDef>

<ThingDef Abstract="True" Name="OG_HeavyLaserTurret_Base" ParentName="OG_HeavyTurret_Base">
<thingClass>AdeptusMechanicus.Lasers.Building_LaserGun</thingClass>
<researchPrerequisites>
<li>OG_Common_Tech_Weapons_Laser</li>
</researchPrerequisites>
</ThingDef>

<!--=============== Artillery-turret Base ===============-->
<ThingDef Abstract="True" Name="OG_BaseArtilleryBuilding" ParentName="BuildingBase">
<thingClass>Building_TurretGun</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<minifiedDef>MinifiedThing</minifiedDef>
<altitudeLayer>Building</altitudeLayer>
<hasInteractionCell>True</hasInteractionCell>
<interactionCellOffset>(0,0,-1)</interactionCellOffset>
<stealable>false</stealable>
<size>(2,2)</size>
<passability>PassThroughOnly</passability>
<pathCost>50</pathCost>
<fillPercent>0.4</fillPercent>
<thingCategories>
<li>BuildingsSecurity</li>
</thingCategories>
<stuffCategories>
<li>Metallic</li>
</stuffCategories>
<tickerType>Normal</tickerType>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<designationCategory>Security</designationCategory>
<costStuffCount>75</costStuffCount>
<constructionSkillPrerequisite>5</constructionSkillPrerequisite>
<costList>
<Steel>150</Steel>
<ComponentIndustrial>6</ComponentIndustrial>
</costList>
<inspectorTabs>
<li>ITab_Shells</li>
</inspectorTabs>
<comps>
<li Class="CompProperties_Forbiddable"/>
<li Class="CompProperties_Mannable">
<manWorkType>Violent</manWorkType>
</li>
</comps>
<statBases>
<MaxHitPoints>180</MaxHitPoints>
<Flammability>0.7</Flammability>
<WorkToBuild>2000</WorkToBuild>
<Mass>30</Mass>
<Beauty>-20</Beauty>
</statBases>
<building>
<turretBurstWarmupTime>4.0</turretBurstWarmupTime>
<turretBurstCooldownTime>28.0</turretBurstCooldownTime>
<buildingTags>
<li>Artillery</li>
</buildingTags>
</building>
<placeWorkers>
<li>PlaceWorker_NotUnderRoof</li>
<li>PlaceWorker_TurretTop</li>
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
</placeWorkers>
<researchPrerequisites>
<li>Mortars</li>
</researchPrerequisites>
<uiIconScale>1.1</uiIconScale>
</ThingDef>

</Defs>
Loading

0 comments on commit 67ed0b4

Please sign in to comment.