会员登录

自动登录   |    忘记密码 新会员注册

旅馆房间费用

作者:grc472
发布:LUOHUISHU98
发布日期:2019-11-12 23:03:31
更新时间:2019-11-12 23:03:31
头像
1741
791 人收藏
3168 次下载
9391 次浏览
3.1
上古卷轴5:重置版
本地下载 高速下载 需要优先下载下载器,50%提速

总览


这个mod将允许每个旅馆为房间设置不同的价格。毕竟,为什么一个孤零零的旅馆在茫茫荒野中收取的费用与大城市的旅馆相同?对于古朴的Skyrim 32位版本,有一个提供此功能及更多功能的模块,称为Perseids Inns and Taverns。实际上,这就是我的主意。但是,那个mod比这个mod雄心勃勃。我没有实施多晚租金或支付随从房间的费用。更重要的是,我没有编辑任何旅馆的内部单元。我所感动的只是房间出租脚本,因此该模块将与任何其他可增强旅馆内部装饰的模块兼容。


Skyrim SE有一个扩展住宿模块,可提供多晚住宿,并增加了一些其他功能。从2.6版开始,使用该Mod的默认GlobalVariable设置时,此Mod与Extended Stay兼容。这些默认设置仅假设租金的成本和持续时间是一晚租金的值的倍数(即多天不打折)。如果使用SSEEdit自定义这些GlobalVariable设置,则这些新值将被忽略。此mod的2.6版使用一个简单的乘法器来确定您的住宿费用和停留时间,而忽略了这些全局设置。



组态


提供了一个MCM,供您根据需要自定义客栈价格。这些费率存储在外部文件中,因此当您开始新游戏时,这些费率将保留并保留。我使用PapyrusUtil SE实用程序来实现此目的,因此您将找到存储在文件<SSE> \ Data \ SKSE \ Plugins \ StorageUtilData \ InnRoomCosts.json中的费率。



对新旅馆的支持


贝塞斯达(Bethesda)主文件提供的香草旅馆经过硬编码,因此,即使您首次使用此mod运行,当您还没有InnRoomCosts.json文件时,它们仍然会显示在MCM中。每当您与客栈老板交谈时,都会动态发现mods提供的任何客栈。您不需要实际租用房间,只需启动对话框即可,此mod会检测到您在旅馆中。发现新旅馆后,它们会自动添加到MCM中,并且最初会使用默认的客房费用。如果使用MCM更改其费率,则该费率将保留在InnRoomCosts.json文件中。


注意:我不建议删除您的InnRoomCosts.json文件。这样做不会破坏您的游戏,但会丢弃您在MCM中输入的任何自定义房间费用。


以下是一些将为您的游戏提供新客栈的Mod列表。我确定还有更多尚未找到的东西。向我发布链接,我很乐意在此处添加它们。


客栈和小酒馆SE

十字路口旅馆

麻烦之家荒野旅舍

扩大的城镇

天际更多酒店



退房时间


让我感到烦恼的是,房间租用的原始剧本是让玩家在房间里睡两个晚上而只花一个钱就睡了。原因是,当您租用房间时,脚本会从您付费时起24小时内赋予玩家床的所有权。因此,如果您在晚上10点付费,则可以先在那晚然后第二天晚上在那里睡觉,只要您在晚上10点之前入睡,就可以在第二天晚上在那里睡觉。如果您尝试第二天晚上付款,旅店老板会告诉您您已经付款了,他/她不会在晚上10点叫醒您使您再次付款。我知道,这是一件小事,但是我能说什么呢?


这个mod通过设置中午退房时间解决了这个问题。您不必拥有床24小时,而只能拥有到第二天中午为止。为此,我必须对原始的RentRoomScript进行一些更改。这和我的所有脚本源代码都包含在下载的文件中。


此功能当然是可配置的。在MCM中,您可以打开或关闭它,以及设置结帐时间。



要求


SKSE64

天空UI

纸莎草纸



权限


没有。使用它时身体健康,但请不要将其上传到任何其他站点。由于此mod使用SKSE64,因此无法在控制台上使用。

————————————————————————————————

Overview

This mod will allow each inn to set a different price for renting a room.  After all, why should a lonely inn out in the middle of nowhere charge the same rate as the inns in the big cities? For the quaint 32-bit version of Skyrim there is a mod that provides this functionality and more, called Perseids Inns and Taverns. In fact, that is where I got the idea from. That mod is much more ambitious than this one, however. I have not implemented multi-night rentals or paying for followers rooms. More importantly, I have not edited the interior cells of any of the inns. All I have touched is the room rental script, so this mod will be compatible with any other mod that enhances the interiors of the inns.

There is an Extended Stay mod for Skyrim SE which provides for multi-night stays, and adds some other features as well.  Starting with version 2.6, this mod is compatible with Extended Stay when using the default GlobalVariable settings of that mod.  These defaults simply assume that the cost and time duration of the rental are multiples of the values for a one-night rental (i.e. no discount for multiple days).  If you use SSEEdit to customize these GlobalVariable settings, those new values will be ignored.  Version 2.6 of this mod uses a simple multiplier to determine the cost and duration of your stay, ignoring those global settings.


Configuration

An MCM is provided for you to customize the inn rates as you please.  These rates are stored in an external file so they will be retained and carried over whenever you start a new game.  I used the PapyrusUtil SE utility to implement this, so you will find the rates stored in the file <SSE>\Data\SKSE\Plugins\StorageUtilData\InnRoomCosts.json.


Support for New Inns

The vanilla inns provided by the Bethesda master files are hard-coded so that even the first time you run with this mod, when you do not yet have an InnRoomCosts.json file they will still show up in the MCM. Any inns that are provided by mods will be dynamically discovered whenever you speak to the innkeeper. You don't need to actually rent the room, just initiate dialog and this mod will detect that you are in an inn. New inns are automatically added to the MCM as they are discovered, and will initially use the default room cost. If you use the MCM to change their rate, then this will be preserved in the InnRoomCosts.json file.

NOTE:  I do not recommend deleting your InnRoomCosts.json file.  Doing so will not break your game, but it will throw away any customized room costs you have entered in the MCM.

Here is a list of a few mods that will provide new inns to your game. I'm sure there are more out there that I haven't found yet. Post me a link and I'll be happy to add them here.

Inns and Taverns SE
The Crossroads Inn
The House of Troubles Wilderness Hostel
Expanded Towns and Cities
Skyrim More Inns


Checkout Time

One thing that bothered me about the vanilla script for room rental was that it allowed the player to sleep in the room two nights while only paying for one. The reason is that when you rent a room the script gives the player ownership of the bed for 24 hours starting at the time you pay for the room. So, if you pay for a room at 10 PM you can go ahead and sleep there that night and then the following night, as long as you go to bed before 10 PM, you can sleep there a second night. If you try to pay for the second night the innkeeper will tell you that you've already paid, and he/she won't come wake you up at 10 PM to make you pay again. I know, this is a small thing to be bothered by, but what can I say?

This mod solves that problem by instituting a noon checkout time. Instead of owning the bed for 24 hours, you will only own it until noon of the following day. In order to do this I had to make a small change to the vanilla RentRoomScript. This and all of my script source code is included in the downloaded file.

This feature is of course configurable. In the MCM you can toggle it on or off, as well as set the checkout time.


Requirements

SKSE64
SkyUI
PapyrusUtil SE


Permissions

None. Use it in good health, but please do not upload it to any other site. Since this mod uses SKSE64 it will cannot be used on consoles.

原贴地址
1.版本号: 3.1   更新时间: 2019-11-12 23:28:20

选择快速回复内容:
  • 感谢
  • 支持
  • 疑问
  • 卖萌
  • 关心
  • 傲娇
评论


    ta的精品
    logo

    旅馆房间费用


    Mod大小:15.9 KB
    上传时间:2019-11-12 23:03:32

    Mod简介:

    暂无更多介绍


    选择快速回复类型:
    • 感谢
    • 支持
    • 疑问
    • 卖萌
    • 关心
    • 傲娇
    回复

    closeAD