Campfires provide warmth, the facility to cook food, dry objects, boil water (in a bucket) to prevent poisoning and also act as a respawn point for the player. Once a fire is started, it's size may be increased by adding broken crates and driftwood to the flames. To start a campfire, you will need flint and dry leaves.