===================================================================================================
Campfire Go to Bed Patch
AUTHOR: Lord Zapharos (www.lordzapharos.com)
DATE: 4 September 2025
===================================================================================================


LICENSE AND CREDITS:
===================================================================================================
Creative Commons Attribution 4.0 International (https://creativecommons.org/licenses/by/4.0/)

You are free to share and transform this work (commercially or otherwise) provided you give proper
credit to Lord Zapharos, provide a link to this license, and indicate if changes were made.


DESCRIPTION:
===================================================================================================

Go to Bed is a popular mod that animates your character getting into a bed before you sleep in it.
However, this mod conflicts with Campfire - users have reported being flung high into the air or
out of dungeon boundaries when attempting to sleep.

Rather than trying to solve the underlying problem, the author of Go to Bed released a "patch" that
simply disables Go to Bed whenever using Campfire bed rolls. Not much of a fix, is it?

This mod gives the REAL patch for Campfire and Go to Bed. Now you can crawl into your tent again!

Specifically, this mod makes two simple changes:

 - The bedroll furniture object in Campfire is no longer placed 2000 world units above your tent
   (this is what causes you to be flung up into the air, often plunging back to your death).

 - The "Sleep" dialog option has been removed when lying down in your tent (with your arms behind
   your head). This change is necessary because Go to Bed cannot safely move you from Campfire's
   lying-down animation to the vanilla Skyrim lying-down animation - you fall through the floor
   when attempting this! Removing the option prevents you from making this mistake.

This mod should be compatible with most other mods. If you are using a custom or newer version of
camptent.psc, you can easily copy my changes into your own - you only need to change a single line.
Look for ";;; LZ" (without quotes) in this mod's camptent.psc for more information on how to make
the changes for yourself.


REQUIREMENTS:
===================================================================================================

Skyrim Legendary Edition
Campfire
Go to Bed


INSTALLATION:
===================================================================================================

1. If you previously installed Go to Bed's patch for Campfire, uninstall it.
2. Copy the "Data" folder from this directory to your main Skyrim directory (this is usually found
   in "C:\Program Files (x86)\Steam\steamapps\Skyrim").
3. If prompted, BACK UP ANY CAMPFIRE SCRIPTS FIRST, AND *THEN* OVERWRITE THEM.
4. Activate "CampireGoToBedPatch.esp" with your mod manager of choice.
5. If you have any placed tents, pack them up first! This mod only works on newly placed tents.

To uninstall, just deactivate the ESP and remove the script added by this mod. If you overwrote any
Campfire scripts, make sure to restore those from backup.


SKYRIM SPECIAL EDITION USERS:
===================================================================================================

This mod was designed in Skyrim Legendary Edition and WILL NOT WORK with Skyrim Special Edition. If
you decide to convert this mod to work in Skyrim Special Edition, I would be happy to bundle your
converted version with this mod and give you due credit -- just send me your conversion.
