Oblivion

File information

Last updated

Original upload

Created by

Uploaded by

Jammer

Virus scan

Safe to use

About this mod

-------------------------------- Primary Needs v1.35 -------------------------------- Description -------------------------------- - Adds mandatory eating and sleeping to The Elder Scrolls IV: Oblivion. Warning -------------------------------- - Any stats drained by this mod will STAY DRAINED if you remove this mod before the st

Permissions and credits
--------------------------------
Primary Needs v1.35
--------------------------------


Description
--------------------------------

- Adds mandatory eating and sleeping to The Elder Scrolls IV: Oblivion.


Warning
--------------------------------

- Any stats drained by this mod will STAY DRAINED if you remove this mod before the stats are restored!!


Notes
--------------------------------
- As of 1.3, hunger and sleep are initialized to their original 24-hour values.

- There should be more than enough food and beds in the tutorial dungeon.


Installation
--------------------------------

- Extract the esp into your Oblivion folder, and make it active from within the Oblivion launcher.


Details
--------------------------------

- Hunger and sleep are represented by counters, ranging from 0 (starving/exhausted) to 24 (stuffed/fully rested).

- The counters decrease by 1 point per hour.

- When one or both of the counters reaches PNxxxxxTime3 (default: 6), you will receive hourly warnings.

- When one or both reaches PNxxxxxStatLossTime (default: 0), attributes will drain by one point per hour.

- Hunger drains Edurance, Speed, and Strength.

- Lack of sleep drains Agility, Intelligence, Personality, and Willpower.

- Both counters will reset to 12 and will not decrease while you are in a jail cell.

- Hunger resets to 12 and will not decrease while you are a vampire.

- If your endurance drops to 0 due to starvation, you will begin to take health damage.

- To increase the sleep counter, and restore lost stats, you must eat and sleep.
*Note: Sleeping while starving will not restore lost stats.

- Every hour slept increases the sleep counter by 3 points, and lost stats by 1 point + the total "food value."
*Hint: Sleep 8 hours per day to fully recharge the sleep counter (8 * 3 = 24).

- Every food item has a "food value", which accumulates while you eat. See the following table.
Apple 2
Beef 8
Blackberry 2
BoarMeat 8
Breadloaf 6
Carrot 2
CheeseWedge 3
CheeseWheel 7
Corn 3
CrabMeat 5
Garlic 2
Grapes 2
Ham 8
Leek 2
Lettuce 2
Mutton 8
Onion 2
Orange 2
Pear 2
Potato 3
Pumpkin 3
Radish 2
Rice 3
Strawberry 2
Sweetcake 6
Sweetroll 3
Tomato 2
Venison 7
Watermelon 4

- The hunger counter is restored immediately, but any stats drained by starvation will restore next time you sleep.

- There are 6 "hunger times", and 6 "sleep times".

- They are all configurable via the console, and are saved out with saved games.

- Hunger is considered to be in a particular "state" when PNHunger is smaller than or equal to one of these times.

- The default values, and state, associated with the timers are:
PNHungerTime0: 0, Starving to death.
PNHungerTime1: 2, Extremely hungry.
PNHungerTime2: 4, Very hungry.
PNHungerTime3: 6, Hungry.
PNHungerTime4: 12, Well fed.
PNHungerTime5: 18, Full.

- There is an additional global variable, PNHungerStatLossTime; it tells the game when to start draining stats.

- There are also 4 "sleep times", which are also configurable.

- Sleep is considered to be in a particular "state" when PNSleep is smaller than or equal to one of these times.

- The default values, and state, associated with the timers are:
PNSleepTime0: 0, Exhausted.
PNSleepTime1: 2, Extremely tired.
PNSleepTime2: 4, Very tired.
PNSleepTime3: 6, Rested.

- There is an additional global variable, PNSleepStatLossTime; it tells the game when to start draining stats.

- Since the player now consumes several food items per day, stores have been given more food.


Changelog:
--------------------------------

**1.35
- Fixed sleep and hunger while in jail

**1.34
- Really fixed Agility not draining.

**1.33
- Fixed Agility not draining.

**1.32
- Fixed a bug that was preventing the sleep counter from decreasing.

**1.31
- Several small bugfixes.
- The food value of meat and a few other items has been increased.
- Vendors now carry less of certain food types (especially meat) than in previous versions.

**1.3
- Hunger and sleep are initialized to their original 24-hour values. There should be more than enough food and beds in the tutorial dungeon.
- Hunger now drains Edurance, Speed, and Strength.
- Lack of sleep now drains Agility, Intelligence, Personality, and Willpower.
- Both counters will reset to 12 and will not decrease while you are in a jail cell.
- Hunger resets to 12 and will not decrease while you are a vampire.

**1.2
- Changed messageboxes to messages.
- Added configurable timers.

**1.13
- Fixed 24-hour waiting/sleeping bug.

**1.12
- Fixed waiting issue.
- This version initializes hunger and sleep to a 3-day surplus, so that new characters don't starve during the tutorial phase.

**1.11
- Fixed some stray messageboxes.

**1.1
- Fixed stat draining/restoring.
- Stores now have 10x more food items than before.
- Bumped up the "food value" of every item by 1 point.


EOF