Oblivion

File information

Last updated

Original upload

Created by

Prometheos

Uploaded by

prometheos

Virus scan

Safe to use

Tags for this mod

About this mod

1. Purpose: To set the ownership flag on various crates, barrels and farm and garden produce throughout Cyrodiil. Now the player will observe the \"red container\" icon for barrels and crates, and the \"red hand\" icon for farm and garden produce. 2. What\'s added: All town, settlement, farm and country-inn barrels and crates no lon

Permissions and credits
1. Purpose:
To set the ownership flag on various crates, barrels and farm and garden produce throughout Cyrodiil. Now the player will observe the "red container" icon for barrels and crates, and the "red hand" icon for farm and garden produce.

2. What's added:
All town, settlement, farm and country-inn barrels and crates no longer belong to the player character. It will now be considered theft if the player character is seen removing items from these containers. The majority of sacks and bags, have been left alone, providing some "free" wares for the brand new character.
Farm and garden produce is now owned. However, due to a technical detail, ownership of food-bearing flora in exterior cells would not automatically transfer the ownership flag to the produce. To work around this oversight by Bethesda, the script provides a small, temporary barrel which spawns near the player as a receptacle for the harvested items. This barrel carries an ownership flag and therefore any items removed from the barrel is considered to be theft. This is accomplished by detecting when the player has harvested a food item. Then, after a moment the main script wakes up and creates a half sized barrel near the player's character. The harvested food item is then removed from the player's inventory and collected by the barrel. A newly created barrel will have a timer setting of 30 seconds. Moreover, each item harvested, will re-initialize the timer back to 30. However, if left unattended, this tiny barrel will disappear from the gameworld after the timer reaches zero, taking any uncollected produce with it. Once the player "opens" the barrel, the timer is reset to zero, so that, upon "closure", the barrel will disappear. Once you remove the harvested items from the barrel, the ownership flag is transfered to those items. Consequently, you'll notice that they'll be displayed in your inventory as stolen items.

To assist the player while picking produce, the script switches off the graphic for the plant when it's harvested. To lessen the chance that these switched off graphics become orphaned, I've scripted them to be restored, upon re-entering the cell. It won't mean that the plant can be re-harvested immediately, it's only done to lessen the chance that the graphic is permanently disabled in your savegame, should you decide to delete this mod while any harvested plant's graphic is turned off. To completely solve the problem of orphaned flora graphics, I highly recommend the very excellent work - "Harvest [Flora].esp" by Quarn and Dejaside, found elsewhere on this site.

3. Installation:
Install the Ownership.esp file into the "Oblivion\Data" folder.

4. Possible Conflicts:
To accomplish this, a script had to be created and attached to the food-producing flora. This will immediately conflict with any of the flora harvesting mods that exist out there. So, I've included an overlay file to be used with the highly recommended "Harvest [Flora].esp" by the renowned Quarn and Dejaside. Overlay files for other mods could be crafted per request, if there is enough interest. However, if you are using "Harvest [Flora].esp" then the load order must be as follows:

(1:) Ownership.esp - contains all necessary scripts and mods.( the file's timestamp has been modified to be earlier date than the latest version of "Harvest [Flora]" for those who don't use a mod manager.)
(2:) Harvest [Flora].esp - contains the animation script that controls the two-stage animated meshes (nif files) and textures (dds files).
(3:) Ownership_OVER_Harvest[Flora].esp. - contains an object script marrying the animation script (HarvestFloraAnim) of "Harvest [Flora].esp" with the activation script (OwnershipAnim) of "Ownership.esp".

5. Conditions and Terms of Use:
Notwithstanding the Bethesda Copyrights regarding any scripts, computer codes, documents and graphics, it is asserted that these program scripts are free software; you can redistribute them and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation.

These program scripts are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.