1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Buildings >
3+
4+ <ThingDef Name =" BuildingBase" Abstract =" True" >
5+ <category >Building</category >
6+ <soundImpactDefault >BulletImpactMetal</soundImpactDefault >
7+ <selectable >true</selectable >
8+ <designationCategory >Furniture</designationCategory >
9+ <drawerType >MapMeshAndRealTime</drawerType >
10+ <repairEffect >Repair</repairEffect >
11+ <leaveResourcesWhenKilled >true</leaveResourcesWhenKilled >
12+ <filthLeaving >BuildingRubble</filthLeaving >
13+ <building >
14+ <canPlaceOverWall >true</canPlaceOverWall >
15+ <isEdifice >false</isEdifice >
16+ </building >
17+ </ThingDef >
18+
19+ <ThingDef Name =" WallTorchBase" Abstract =" True" ParentName =" BuildingBase" >
20+ <ThingClass >Building</ThingClass >
21+ <minifiedDef >MinifiedFurniture</minifiedDef >
22+ <AltitudeLayer >PawnUnused</AltitudeLayer >
23+ <fillPercent >0.15</fillPercent >
24+ <constructEffect >ConstructWood</constructEffect >
25+ <tickerType >Normal</tickerType >
26+ <drawerType >RealtimeOnly</drawerType >
27+ <Passability >PassThroughOnly</Passability >
28+ <surfaceType >Item</surfaceType >
29+ </ThingDef >
30+
31+ <ThingDef ParentName =" WallTorchBase" >
32+ <defName >WallTorch</defName >
33+ <label >wall torch</label >
34+ <Description >A wall mounted torch for lighting an area. Can be automatically refueled with wood. Not a good source of heat. Must be placed on a wall.</Description >
35+ <graphicData >
36+ <texPath >Things/Torch/WallTorch</texPath >
37+ <graphicClass >Graphic_Single</graphicClass >
38+ <drawSize >(1.1,1.1)</drawSize >
39+ <drawRotated >true</drawRotated >
40+ <allowFlip >true</allowFlip >
41+ <damageData >
42+ <rect >(0.35,0.35,0.3,0.3)</rect >
43+ </damageData >
44+ </graphicData >
45+ <statBases >
46+ <WorkToBuild >180</WorkToBuild >
47+ <MaxHitPoints >150</MaxHitPoints >
48+ <Flammability >0</Flammability >
49+ </statBases >
50+ <Size >(1,1)</Size >
51+ <costList >
52+ <Steel >5</Steel >
53+ <WoodLog >10</WoodLog >
54+ </costList ><placeWorkers >
55+ <li >PlaceWorker_Heater</li >
56+ </placeWorkers >
57+ <drawPlaceWorkersWhileSelected >true</drawPlaceWorkersWhileSelected >
58+ <comps >
59+ <li Class =" CompProperties_Refuelable" >
60+ <fuelConsumptionRate >2.0</fuelConsumptionRate >
61+ <fuelConsumptionPerTickInRain >0.0006</fuelConsumptionPerTickInRain >
62+ <fuelCapacity >20.0</fuelCapacity >
63+ <fuelFilter >
64+ <thingDefs >
65+ <li >WoodLog</li >
66+ </thingDefs >
67+ </fuelFilter >
68+ <destroyOnNoFuel >true</destroyOnNoFuel >
69+ </li >
70+ <li Class =" CompProperties_Glower" >
71+ <glowRadius >10</glowRadius >
72+ <glowColor >(252,187,113,0)</glowColor >
73+ </li >
74+ <li Class =" CompProperties_HeatPusher" >
75+ <heatPerSecond >2</heatPerSecond >
76+ <heatPushMaxTemperature >20</heatPushMaxTemperature >
77+ </li >
78+ <li Class =" CompProperties_FireOverlay" >
79+ <fireSize >0.6</fireSize >
80+ <offset >(0,0,0)</offset >
81+ </li >
82+ </comps >
83+ </ThingDef >
84+
85+ </Buildings >
0 commit comments