My game uses Location resting. You can steal what you want.
You get your HD, health,class features, and spell slot backs based on comfort level of the area. Rests at different comfort levels take different of time to short or long rest.
Level 0 areas are impossible to rest in. These are usually planes or places where the environment is too hostile or unstable to rest in. Think a desert under the sun, a ship during a storm, a plane of ice under frigid temperatures, or near a battlefield.
- No Short Rest
- No Long Rest
Level 1 areas are places where you can rest but not drop your guard. There are possible hostiles around and no soft spots to rest on. You can short rest here in a hour but cannot long rest.
- Short Rest Allowed
- Healer's kit dependent
- Cannot spend more hit die than Con modifier per hour (minimum 1)
- No Long Rest
Level 2 areas are places where you can rest but not comfortably. There's no beds. There's no table and candlelight to read books. Food and drink are rationed and poor quality. There is some sort of exposure or a need for a guard. You can short rest and long rest.
- Short Rest Allowed
- Long Rest Allowed
- Healer's kit dependent
- Slower Natural Healing
- Daily Spell slots gained gain in slot levels equal to total spellcasting level.
Level 3 areas are places with proper amenities above a poor level. Beds, tables, quiet, food, and drink of moderate quality is available.
- Short Rest Allowed
- Long Rest Allowed
Level 4 areas are beyond the normal. Physical characters have access to the finest care and medicine. Arcanists have access to magical libraries or laboratories. Divine characters have access to a church of an aligned deity or a sacred natural space.
- Short Rest Allowed
- Long Rest Allowed
- Gain all hit die
- Advantage in one skill or tool ability check for next 24 hours
- Extra Attack grants another attack within next 24 hrs if you long rest 3 days in a row.
- Can cast one spell of level equal to a third your spellcasting level for free within next 24 hrs if you long rest 7 days in a row.
Level 5 areas your specially made headquarters. You must pay 100 gp per cumulative level to stock the area with books, training equipment, sacred items, and other items and rituals personal to you and your skills.
- Short Rest Allowed
- Long Rest Allowed
- Gain all hit die
- Advantage in one skill or tool ability check for next 24 hours
- Extra Attack grants another attack within next 24 hrs if you long rest 3 days in a row.
- Can cast one spell of level equal to a third your spellcasting level for free within next 24 hrs if you long rest 7 days in a row.