Skip to content

ttr/tld-fireAddons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FireAddons

This is mod for TLD 2.27+
It allows to use Lantern as fire starter and at level 3 firestarting tinder can be used as fuel which will add buffs there.
Also adds smoldering fuel (extended embers), flint and steel firestarter and ability to use charcoal as fuel and adjust cooking times based on temperature.

Settings and concepts behind ideas.

Lantern

Thre are two concepts in mind to use Lantern as firestarter:
accelerated - You ignite lantern and use it as fire source
mechanical - You use mechanical igniter to generate spark that you use to start fire - this concept is similar to using flints

Both are possible in real life - cover of lantern is user removable (for refuel, wick replace, cleanig), so it should not even count towards degredation.
However, since there was no easy way to consume fuel while doing this, idea is that as balance You should set degredation to some positive value.

Using Lantern will take most time (more than flint) as you will neet to take it cover off (in theory).

Lenses

This is used to modify fire starting parameters for Magnifing glass and binoculars (if installed).

Tinder.

Tinder can be used as fuel, to burn for small amount of time and temperature.
Idea is that using tinder as fuel does not give long time to burn (in real life, newspaper can burn in few seconds) but quickly emit good portion of heat.
If we look at stick, that gives 7.5 minutes of time and 1 deg temperature increase. One stick is two tinder plugs. If we do follow this idea, that tinder is more efficent in releasing energy, It will be unrealistic, but two tinder plugs would give 10 mins of burn time and 10deg increase (you can still do so).

Additionally, each tinder have separated setting is to have different values for firestarting for tinder (aka TinderMatters).

Flint and steel

(removed - see other mods)

Charcoal

Ability to use charoal as fuel. If any other mod provide this functionlaity it might cause conflicts, so pleae disable it in settings.
Also, core game mechanics do generate one charcoal per hour of burn fire - this could cause infinitive fuel source. So this mod, every time when charcoal is added to fire, can reduce amount of generated charcoal.

Embers / Smoldering ash

Note - This was called embers but more accurate name should be "smoldering ash".
Whole concept is that low temperature burn, would not consume all fuel and in the end, it would be left smoldering. However I've called it wrongly as "embers" (mostly because I've builded on existing vanilla embers), so most of this documentation and in mod it's called "embers".
In short - if you enable new embers mechanics, think of it as smoldering and all in-game references to embers are actually smoldering ash.

Idea is that wood (hard, soft and reclamed) and coal, can create embers if fire temperature is not too high. High temperature will burn all fuel leaving nothing to become embers.
Normally in game, temperature can only increase, so I've added ability to use snow to reduce heat (it's a button in "feed fire window").

Details:
Each fuel have burn time, which on adding fuel is divided, based on "Fuel to embers ratio" setting. That result is substracted from burn time and moved to embers time, with multiplication of "Fuel to embers exchange". This is done up to "Embers max time" - if that time is reached, all fuel time goes to burn time (as in vanilla game).
When temperature of fire (heat increase) is above "Burnout temperature", ember time is being reduced and added back to burn time (convering back using "Fuel to embers exchange"). Rate of this transfer depends on temperature - higher temperature, quicker transfer.
"Burnout ratio" sets how much of "Embers max time" would be burned in 1 hour if fire temperature is 80C or above. This calculated ratio feeds into previous.
"Water fire cooldown" means how many deg (C) will be reduced per each coldown usage (throwinf snow on fire).

Embers timer is showed in hover card, next to burn time.
Embers timer

Cooking time

Cooking time settings can alter how temperature will affect cooking time.

If Fire source is below "Minimal Cooking Temperature" cooking will not be happening (no time will be displayed in hovercard of cooking item).
If temperature is above "Minimal Cooking Temperature" but below "Normal Low threshold" cooking time will be extended, by factor of linear scalling between "Low Temp time factor" and 1.
If temperature is between "Normal Low threshold" and "Normal High threshold", cooking time is same as vanilla (factor of 1).
If temperature is between "Normal High threshold" and "Maximal Boost Temperature", cooking time will be shorten, by factor of linear scalling between 1 and "High Temp time factor".
Any temperature above will cause cooking to be scaled by "High Temp time factor" setting.

This also applies to time until food will be ruined (burned), melting snow, boiling and boiling out water.

Additionally, keeping cooked and hot item on a stove while it's below "Minimal Cooking Temperature" will keep an item hot.
Cooking time

Notes / Issues.

Some code was based off Deus13 Fire_RV mod
Thanks to zeobviouslyfakeacc, and his TinCanImprovemnts mod for ability to create blueprints.
Thanks to Digitalzombie for help with hover card.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages