Request - Small Stone Fireplace

Started by captainradish, July 17, 2016, 02:55:27 PM

Previous topic - Next topic

captainradish

I'm playing a tribal playthrough and don't want to have to rush electricity nor keep having to rebuild burned-out campfires. I'd like a one-square stone fireplace that gives off heat and light and can be refueled (like the torch, but hotter). Thanks!

Wex

This is actually a pretty good idea! +1!
"You are not entitled to your opinion. You are entitled to your informed opinion. No one is entitled to be ignorant."
    Harlan Ellison

OtioseNexus

I could make some art up for this if was needed? Would make a good distraction from my own modding attempts. :P

kaptain_kavern

In Buildings_Temperature.xml file in Defs\ThingDefs_Buildings you just have to search for the campfire definition (it's first in the file) and search for :

<li Class="CompProperties_Refuelable">
        <fuelConsumptionRate>10.0</fuelConsumptionRate>
        <fuelCapacity>20.0</fuelCapacity>
        <fuelConsumptionPerTickInRain>0.045</fuelConsumptionPerTickInRain>
        <fuelFilter>
          <thingDefs>
            <li>WoodLog</li>
          </thingDefs>
        </fuelFilter>
        <destroyOnNoFuel>true</destroyOnNoFuel>
      </li>


and just make that <destroyOnNoFuel>true</destroyOnNoFuel> tag go away

kaptain_kavern

I've put something together in 5 min and just test that it doesn't crash.

The campfire doesn't vanished once empty, but i can't promise that everything work fine. I don't know if the campfire will still heating or be able to cook once empty. I just erased the tag <destroyOnNoFuel>true</destroyOnNoFuel>, and that's all

[attachment deleted by admin - too old]