Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

Arvyn

Uploaded by

Arvyn10

Virus scan

Safe to use

About this mod

Allows for item storage at inns, at a price, through bed-renting innkeepers.

Requirements
Permissions and credits
Changelogs
INTRODUCTION

Store items at a given inn through the bed-renting innkeeper. The storage requires an account with the innkeeper, which costs 1000 gold to open, but requires no fee to access (to store and withdraw items).

Each innkeeper—and thus, each inn—keeps their own local account and storage that is separate from the account and storage of any other innkeeper, meaning that a storage at one inn cannot be accessed through any thereof.


In the Event of an Innkeeper's Death
The storage under the late keeper's keeping is put into a deposit, which can be redeemed for 500 gold through any other innkeeper.


USER'S PREFERENCE

As of version 1.1.0, fees can be set to the user's preference through Mod Configuration Menu. This requires SkyUI to function, but doesn't break the mod if it is not installed.





APPENDIX


Dialogue Condition/Placement
Dialogues for the storage services are enabled only to NPCs who are in the faction JobRentRoomFaction (i.e. provides room for rent), through the use of GetInFaction Condition in the relevant Topic Info.

Specifically, the dialogues are enabled by attaching the GetInFaction Condition as JobRentRoomFaction == 1 in the Topic Info/Children xx0012CF under the Dialog Topic AVN10_Branch01Start, in the Dialog Branch AVN10_Branch01 of the Quest AVN10.

Further reading on:
Conditions;
GetInFaction;
Topic;
Topic Info; and
How to add Conditions to Topic Infos, video courtesy of Darkfox127.


Consider for
A tracker that requires less checks and doesn't require save state correction on changes to it.
Better dialogue structure.
Contingency for if all innkeepers are somehow dead with items still in storage.


Xbox Release Seem Feasible
Since version 1.1.0, the mod wouldn't present a storage recovery option if the lost storage under keep is empty as there's nothing to recover. This is done through the SKSE function GetNumItems. This was reluctantly done due to the nature of bringing in an entire library just for an edge case.

However, since the update to Skyrim Special Edition at 2023/12/05, new native functions were added: GetAllItemsCount and IsContainerEmpty, either of which should be equivalent to the one currently used for this case. Releasing to Xbox would also be possible then.



ADDENDUM

Tools Used
Creation Kit;
Lazy Voice Finder;
Unfuzer; and
xEdit programs.