旅館房間費用

作者 grc472·版本 v3.1·更新於 2019-11-12

允許您爲Skyrim中的每個客棧配置不同的房間費用。

模組介紹 作者原文

允許您爲Skyrim中的每個客棧配置不同的房間費用。

總覽

這個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 …

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
  3. 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
  4. 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。

不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
旅馆房间费用
檔案大小
15.9 KiB