/
PowerCell.xml
72 lines (69 loc) · 2.47 KB
/
PowerCell.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="utf-8" ?>
<Buildings>
<ThingDef Name="BuildingBase" Abstract="True">
<category>Building</category>
<thingClass>Building</thingClass>
<soundImpactDefault>BulletImpactMetal</soundImpactDefault>
<selectable>true</selectable>
<drawerType>MapMeshAndRealTime</drawerType>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<repairEffect>Repair</repairEffect>
<leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
<filthLeaving>BuildingRubble</filthLeaving>
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>PowerCell</defName>
<label>power Cell</label>
<thingClass>Building</thingClass>
<graphicData>
<texPath>Things/Building/PowerCell</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(3,3)</drawSize>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<pathCost>70</pathCost>
<fillPercent>0.5</fillPercent>
<castEdgeShadows>true</castEdgeShadows>
<statBases>
<MaxHitPoints>200</MaxHitPoints>
<WorkToBuild>4000</WorkToBuild>
<Flammability>1.0</Flammability>
<Beauty>-20</Beauty>
</statBases>
<tickerType>Normal</tickerType>
<description>Harnesses power from the mechanoid powercell it houses. Produces a lot of heat.</description>
<size>(3,3)</size>
<building>
<ignoreNeedsPower>true</ignoreNeedsPower>
</building>
<costList>
<Plasteel>200</Plasteel>
<MechanoidPCell>1</MechanoidPCell>
</costList>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>-2000</basePowerConsumption>
<transmitsPower>true</transmitsPower>
</li>
<li Class="CompProperties_Flickable" />
<li Class="CompProperties_Glower">
<compClass>CompGlower</compClass>
<glowRadius>2</glowRadius>
<glowColor>(0,255,150,0)</glowColor>
</li>
<li Class="CompProperties_HeatPusher">
<compClass>CompHeatPusher</compClass>
<heatPerSecond>30</heatPerSecond>
<heatPushMaxTemperature>210</heatPushMaxTemperature>
</li>
</comps>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<designationCategory>Power</designationCategory>
<staticSunShadowHeight>0.50</staticSunShadowHeight>
<researchPrerequisites>
<li>MechanoidPowerSource</li>
</researchPrerequisites>
</ThingDef>
</Buildings>