Skip to content

Commit ee455f4

Browse files
1rst commit
1 parent 8e41def commit ee455f4

6 files changed

Lines changed: 105 additions & 0 deletions

File tree

About/About.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ModMetaData>
3+
<name>Wall Torch Mod V1.1</name>
4+
<url>https://ludeon.com/forums/index.php?topic=25580.0</url>
5+
<author>BaconBits</author>
6+
<targetVersion>0.17.0</targetVersion>
7+
<description>A wall mounted torch for lighting an area. Can be automatically re-fueled with wood. Not a good source of heat. Must be placed on a wall.
8+
9+
Caveman-debugged to A17 by KapTaiN_KaVerN</description>
10+
</ModMetaData>

About/Preview.png

184 KB
Loading

Change Log.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Wall Torch Change Log
2+
3+
V1.1
4+
-Updated to A15
5+
-New Texture
6+
7+
--------------------------------
8+
9+
V1.0
10+
-Initial Release

Defs/ThingDefs/Wall Torch.xml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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>
3.79 KB
Loading
3 KB
Binary file not shown.

0 commit comments

Comments
 (0)