Project Zomboid

Project Zomboid

32 个评价
Simple Add Inventory Pages (for Build 41)(dev)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
36.638 KB
2022 年 1 月 22 日 下午 1:01
2022 年 1 月 22 日 下午 1:33
2 项改动说明 ( 查看 )

订阅以下载
Simple Add Inventory Pages (for Build 41)(dev)

描述
これはSimple Add Inventory Pages (for Build 41)の開発版です。
問題なければリリース版を置き換えますが、普段使いには適していません。
基本的な説明はリリース版のページを見てください。

変更内容:
  • 周囲にあるアクセス可能な入れ物の中にある入れ物のページの追加にも対応しました。
    これには車の座席なども含まれます。
    この機能はリリース時には既定では無効になります。

    Modのフォルダーに下記の内容のファイル「SimpleAddInventoryPages.Settings.lua」を作成すれば入れ子をどこまで取り出すか調整可能です。
    ※実際には*.luaになっていればファイル名は何でもよいです。
    require "SimpleAddInventoryPages" SimpleAddInventoryPages["nestLimit"] = 1
    私が言っていることが理解できない場合は触らないでください。

    背負ったバッグの中のバッグや車の後部座席のバッグの中のバッグやに簡単にアクセスできる不自然さがありますが、制御が大変なのでそのままにしています。
  • それに伴い、ソースコードが複雑になったのでメンテナンス性や互換性が低下しました。
    上手く動かない場合はこの開発版を取り下げる可能性もあります。


This is the development version of Simple Add Inventory Pages (for Build 41).
If there are no problems, it will replace the release version, but it is not suitable for everyday use.
See the release version page for basic descriptions.

Changes:
  • Added support for adding pages for containers that are nested in surrounding accessible containers.
    This includes things like car seats.
    This feature will be disabled by default upon release.

    You can adjust how far the nesting is followed by creating a file "SimpleAddInventoryPages.Settings.lua" with the following contents in the mod folder.
    *In fact, the file name can be anything you want, as long as it is *.lua.
    require "SimpleAddInventoryPages" SimpleAddInventoryPages["nestLimit"] = 1
    If you do not understand what I am saying, please do not touch it.

    There is something unnatural about being able to easily access the bags in the bag on my back or in the bag in the back seat of my car, but it is hard to control, so I leave it as it is.
  • As a result, the source code has become more complex, which reduces maintainability and compatibility.
    If it does not work well, this development version may be withdrawn.


Workshop ID: 2728354075
Mod ID: SimpleAddInventoryPages20220123
3 条留言
stk2008 2024 年 2 月 29 日 上午 9:16 
On dedicated server if for example I have tin on a shelf and take some thing from the tin.
and leave server and then safely shut the dedicated server down...upon starting it back up again and joining I see the item I took from the tin in my inventory as expetced but also see a DUPED coppy of it back in the tin :(

Thanks in advance :)
CarmenChimera 2022 年 3 月 25 日 上午 10:56 
Would love to see if this can be updated to the release version and work past B41
Fuyuno 2022 年 1 月 27 日 下午 1:07 
should i use this with the main mod, or JUST this? (i really want that nested inventory feature, especially the car ones)